microsoft.public.dotnet.faqs Archive - August 2002
Post a message to this list
Messages
Page: 12
How To deliver SOAP directly? (2 replies)
microsoft.public.dotnet.faqs
Hi, I want to call a web service directly by supplying the SOAP content, without invoking the proxy object. It is because I already have the soap formatted data and don't need the framework to do the job of deserializing the data into the proxy for serializing it again to call the service. So, where I should look in the framework to bypass this mechanism and deliver the SOAP directly by initiating...
CIL instruction length FAQ (2 replies, VIP)
microsoft.public.dotnet.faqs
Like many 'real' assembly languages, CIL includes short, medium, and long versions of many instructions. For example, a one byte push constant command that can push 0..7; a two byte version that can push 0..255; and a five and nine byte version that can push 32 bit and 64 bit values. Question: Why? When IL will be compiled to native code, what's the point to short forms? Is it a matter of smaller ...
check runtime version (3 replies)
microsoft.public.dotnet.faqs
How do I check the version of the .NET runtime on my machine?
asynchronous method calls and NUnit test framework (2 replies)
microsoft.public.dotnet.faqs
Any have any problems making asynchronous delegate calls from the NUnit test framework The NUnit framework is throwing the following error: at System.Runtime.Remoting.Messaging.MethodCall.ResolveMethod(Boolean bThrowIfNotResolved) at System.Runtime.Remoting.Messaging.MethodCall.ResolveMethod() at System.Runtime.Remoting.Messaging.MethodCall..ctor(IMessage msg, Boolean needAccessCheck) at System.Ru...
Only getting first letter when reading data of SQL Server (2 replies)
microsoft.public.dotnet.faqs
Hello, This is a weird problem. Am attempting to extract information of a database and display it on a ASPX web page. The information extracts ok but it seems that not the whole word is displayed. For example, when user logs in, the main page should say, "Greetings Joe Bloggs", instead it says "Greetings J B". When in the database, the column for first name is in full "Joe" and column for second n...
Interesting idea, but I can't get it to work yet. (2 replies)
microsoft.public.dotnet.faqs
I'm setting up a few data mapping utilities, I've currently only got one which maps data from a page to an object (so when a user registers it automatically fills a User object with the data from the form for me). I want to also do the reverse, fill a form with data from a specified object. The first one is a ToObject(ClassInfo classInfo, Control parentControl) method which creates a dynamic insta...
System Event Sync (2 replies)
microsoft.public.dotnet.faqs
I am trying to write a Task Manager type application in C#. The only problem that I am having is recieving the system events for process start and process end. I went down the road of the WMI ManagementEventWatcher class, but because of processor intensity of polling and because, if a process starts and stops in between polling intervals, you do not get the events, I am trying to find a better way...
Error when calling Update function of OleDbDataAdapter class (2 replies)
microsoft.public.dotnet.faqs
Dear All, Each time when I try to call the OleDbDataAdapter Update() function to update data in Access table I got the following error message caught with the help of exception mechanism: "Characters found after end of SQL statement". How can I solve this problem ? Where is my mistake in code ? I use the following Update command: string myUpdateString @"UPDATE bookdoc SET AC CR 1 ?, AC DB 1 ?, AR ...
IEnumerator interface (6 replies)
microsoft.public.dotnet.faqs
How do I implement my own IEnumerator interface for a custom strongly typed Dictionary inherited from DictionaryBase? When I do: Dim d as New IntegerDictionary Dim de as **DictionaryEntry** For Each de In d ... blah ... Next de I have to declare de as DictionaryEntry, I need a type with Value as Integer. Currently I Have this much: Public Class IntegerDictionary Inherits System.Collections.Diction...
trying to use Reflation but getting weird exception message... (2 replies)
microsoft.public.dotnet.faqs
Hi all, I am creating one distributed application where I have Server Side Component(dll) A Web Service and A Client Side Component(dll). The server side data component tries to create an object of class ServerBusinessLogic which is inside the 'iConnectFrameworkTestServer' assembly. The code written inside the constructor of the ServerController (which uses the reflection to create the object of S...
How do I do FileMove and FileDelete in VB.NET ? (4 replies)
microsoft.public.dotnet.faqs
I'm trying to delete a file from my app. I found something about the "FileSystemObject", but I can't seem to get it working. Any suggestions? Thanks Soren
I hate Microsoft Sample Code...Never Works..Error from smtpMail.send Example (3 replies)
microsoft.public.dotnet.faqs
I am using the following code to send smtp mail and I am getting the error: "Could not access 'CDO.Message' object." Can anyone Help? Private Function EmailSender() As Boolean Dim obj As New MailMessage() Try obj.To "Jamin.Mace@dolaninfo.com" obj.Subject "DG Test" obj.Body "DataGen Test" SmtpMail.Send(obj) Return True Catch e As Exception MsgBox(e.Message.ToString) Return False End Try End Functio...
Cryptography question. (3 replies)
microsoft.public.dotnet.faqs
It's a pain writing 4 or 5 lines of code to encrypt a piece of text into SHA1 so I created a class called Company.Global.Security.Cryptography.Crypter which exposes a method ToSHA1(string toEncrypt) that automatically encrypts the string for me. Is using this any less secure that doing it manually in each project? Does anyone else have any ideas on the topic? Also, what other types of encryption a...
How to Delete Ad's user in csharp? (3 replies)
microsoft.public.dotnet.faqs
How to Delete Ad's user in csharp? I use DirectoryEntry.DeleteTree(),but it is not succeed.
Server button controls not reacting (3 replies)
microsoft.public.dotnet.faqs
Hi, I have what appears to be a bizarre problem. I have been using server button controls throughout my .Net web application for the past few months. Suddenly on one of my pages one of my buttons wouldn't work (I did nothing out of the ordinary that I'm aware of). Now I am finding that some of the button controls that I add to the site are not interacting with the development server (localhost) ei...
Clearing of Session Variable in DotNet (3 replies)
microsoft.public.dotnet.faqs
Hi, Need help urgently on this issue. Currently i am having to project in 1 solution. what i mean here is that my solution consist of 2 diff project 1 is C# and the other is VB. I am developing a ASP.Net application. Currently what happen is that when i click a button on 1 of the pages in the C# project it suppose to remove all the Session(Session.RemoveAll()) but this only remove the sesion that ...
Controlimage with attribute ? (7 replies)
microsoft.public.dotnet.faqs
Hi there, I try to asign a custom image to my control (webcontrol, winform control) with the ToolboxImage attribute as following [ToolboxImage(typeof(MyControl))] public class MyControl : Control { ... } within the project I have an image MyControl.bmp even if I don't know how to assign the image to my type. But my image is not displayed within the toolbox when I load my control. Does anybody know...
.Net config file in HTA (6 replies)
microsoft.public.dotnet.faqs
How do I specify the .NET Config file for my HTA application?
How do you specify help strings? (7 replies)
microsoft.public.dotnet.faqs
I have a few custom interfaces and classes I'd like to provide help strings for (which should show up as intellisense information in the VS.NET IDE.) In COM, this is done using the "helpstring" keyword in the IDL. How is an equivalent thing accomplished in the .NET environment? Thanks, Wade
DataRelation for one to many relations (4 replies)
microsoft.public.dotnet.faqs
Can we have a DataRelation for table that has one to many mapping?
How to set Target? (3 replies)
microsoft.public.dotnet.faqs
Hello all, In my web app, there are two frames, LeftFrame and RightFrame, on the main frame. What I want is when transfering a page, its target should be the RightFrame and the LeftFrame should remain the same. Could anyone give me some hints how to set the target? Regards, Esther
VB Compiler: Can this be done ? (5 replies)
microsoft.public.dotnet.faqs
Hi, I was wondering, Is there a way to just like a ProductVersion have a compileID which is different each time the sourcecode is compiled so that 2 compilations of the same code would still generate a different ID Thnx. Outgoing mail is certified Virus Free. Checked by AVG anti virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 Release Date: 2/08/2002
Windows Installer/Office XP Install on starting VS.NET IDE (4 replies)
microsoft.public.dotnet.faqs
I have Visual Studio.NET ENterprise Architect installed on Windows XP Professional, and it seems to work fine, but every time I start the Visual Studio.NET IDE, I get two message boxes... 1) Windows Installer...Preparing to install followed by 2) Microsoft Office XP Professional with FrontPage...Please wait whilw Windows configures Microsoft Office XP Professional with FrontPage The IDE starts ok ...
Assembly.Load doesn't work (2 replies)
microsoft.public.dotnet.faqs
Hello, eveyone. I have tried to run the following sample code: Assembly sampleAssembly Assembly.Load("System.Data"); And it doesn't work It generates the following error: System.IO.FileNotFoundException: File or assembly name System.Data, or one of its dependencies, was not found. I tried to load my own library and got the same, it can load library only from local path, not from GAC. What I'm doin...
udpClient.Receive Question (3 replies)
microsoft.public.dotnet.faqs
Let's say this is part of a bigger function: 'Listen for a response Dim ServerIpEndPoint As New IPEndPoint(IPAddress.Any, 0) 'Receive the response Dim receiveBytes As Byte() objUDP.Receive(ServerIpEndPoint) Dim returnData As String Encoding.ASCII.GetString(receiveBytes) Now this code runs and then it waits until data is received, but it waits forever, and I don't want it to do that. I want it to t...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com