microsoft.public.dotnet.framework.sdk Archive - August 2002
Post a message to this list
Messages
Page: 1
How To deliver SOAP directly? (2 replies)
microsoft.public.dotnet.framework.sdk
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...
How to overlay one bitmap on the other (2 replies)
microsoft.public.dotnet.framework.sdk
Hi Anyone any sample code for overlaying one bitmap onto another? Thanks Jon
HTML standard character (2 replies)
microsoft.public.dotnet.framework.sdk
Dear Friends, In .NET framework or windows class library, does it have any class to convert a standard HTML character code to ASCII like this? From   to SPACE From < to Sara T.
how to get computer printer name through asp.net (2 replies)
microsoft.public.dotnet.framework.sdk
.
Could not access CDO.Message (3 replies)
microsoft.public.dotnet.framework.sdk
Hi, my app employs System.Web.Mail namespace and all works well on my machine. But, on the customer's machine calling SmtpMail.Send fails with 'could not access CDO.Message object'. On the customer's machine, Outlock is installed. What is needed else? Thanks for any response Paul
Late Binding and events (8 replies)
microsoft.public.dotnet.framework.sdk
I wants to load and instantiate instances of objects from DLL (Written in ..NET). I only know the name of DLL,s. All the DLL's will be implementing a defined interface and the main application knows about it. Also I need to listen to events from those DLL's. Can I do all using Assembly.Load, CreateInstance etc. Please Help. Thanks Anil Gupta
set computer time in VB.NET (2 replies)
microsoft.public.dotnet.framework.sdk
Does anybody know of a way to set the local computer time using a .NET class rather than resorting to the SetLocalTime API call.
Dropping an Image to a PictureBox (2 replies)
microsoft.public.dotnet.framework.sdk
I'm trying to drop a bitmap image to a Picture Box and it is not working. I'm using C#. Can someone give me an example on how to do this. /thanks
codeDOM question (2 replies)
microsoft.public.dotnet.framework.sdk
How do I build a debuggable assembly using CodeDOM? See my example code: ICodeCompiler iCodeCompiler new CSharpCodeProvider().CreateCompiler(); CompilerParameters compilerParameters new CompilerParameters(); compilerParameters.IncludeDebugInformation true; compilerParameters.GenerateInMemory false; compilerParameters.OutputAssembly "test.dll"; generation of the codeDOM CompilerResults compilerResu...
How to get full size of directory? (3 replies)
microsoft.public.dotnet.framework.sdk
I'm trying to use System.IO to get the full size of a directory (all files and all files in subdirectories). I can't find a class like DirectoryInfo that will do that. So far, I'm recursively iterating the folders and collecting that information. Any help would be appreciated... Thanks, Chris
Where is ADSI (or similar) in the DotNet Framework? (4 replies)
microsoft.public.dotnet.framework.sdk
I'm returning a DataTable listing of domain users. This works in VB6 but with the conversion to DotNet we're trying to eliminate external references other than what is provided by the framework itself. Right now ActiveDs.IADsComputer is an external COM object accesed via InterOp. Is there a native .Net class which will provide this functionality? Any sample code would also be helpful. Dim Computer...
IEnumerator interface (6 replies)
microsoft.public.dotnet.framework.sdk
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...
CS0013: Unexpected error writing metadata to file... (2 replies)
microsoft.public.dotnet.framework.sdk
Please, I need help... This error ocurs when the initial page has invoked in the browser... Complete information: Server Error in '/MercadorWeb' Application. Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS00...
How to get the Type of a Logical Drive (2 replies)
microsoft.public.dotnet.framework.sdk
Hello I want to know how i can find out what kind of drive a drive is that i got from Directory.GetLogicalDrives() like Cdrom, Disk Drive, Harddisk whatever ... something that i can make a difference between removeable media and fixed drives. thx daniel
"Requested registry access is not allowed" received using EventLog in secondary domain (9 replies)
microsoft.public.dotnet.framework.sdk
Stuck on what appears to be a security problem. I'm creating a second domain in my NT Service and have loaded an assembly into this new domain. One of my classes in the new domain attempts to write to the EventLog but fails with a "Request registry access is not allowed" (which is written to the event log :) The code that creates the AppDomain is: AppDomainSetup setup; Evidence baseEvidence; Evide...
is there a method in framework that do the same thing as Win32 function GetVolumnInformation? (6 replies)
microsoft.public.dotnet.framework.sdk
is there a method in framework that do the same thing as Win32 function GetVolumnInformation?
Binary to String Encoding (11 replies)
microsoft.public.dotnet.framework.sdk
I am trying to convert the data from a Byte Array to a string. I used to have this working fine under VB6, but I am having some data problem with ..NET. The VB6 Source is : Dim sNumber As String, bNumber() As Byte bNumber rs("Number").Value sNumber bNumber The VB.NET Source is : sNumber BinaryToString(rdr.Item("Number")) Private Function BinaryToString(ByVal bNumber as Byte()) As String Dim enc as...
Array.IndexOf works differently when called from VB/C# (3 replies)
microsoft.public.dotnet.framework.sdk
I had a problem getting Array.IndexOf to work when the array contained user defined structures. There were some examples in C#, so I wrote the exact thing in C# to test it. I get very different behaviors. In the C# version, it works as expected. Array.IndexOf iteratively calls the Equals method of each item in the array as it searches, and returns the correct index. In the VB version, the debugger...
webrequest using POST (2 replies)
microsoft.public.dotnet.framework.sdk
In vb6 I used to do a post with the inet control like this: Inet1.Execute strUrl, "POST", strOut In VB.NET I can't weem to find the same functionality. I am using the WebRequest object. Any ideas?
TimeZone.StandardName retrival error? (2 replies)
microsoft.public.dotnet.framework.sdk
Hi, I need to find the current timezone name of the machine. I used the TimeZone class as follows: private void getTimeZoneName() { TimeZone tz TimeZone.CurrentTimeZone; MessageBox.Show(tz.StandardName); } It works just fine. But when the program is running, and if I change the timezone manually from control panel, the program does not get the new StandardName. Any solution/work around for this? T...
Current Thread Id (2 replies)
microsoft.public.dotnet.framework.sdk
How does one get the current thread id without restoring to calling the unmanaged function GetCurrentThreadId? Thanks! Ajay Agrawal
Variable # of single line edit boxes in Dialog Box? (2 replies)
microsoft.public.dotnet.framework.sdk
How do I write a little GUI dialog box that displays a variable number of edit controls: one for each ";" in my path environment variable? I would want to be able to scroll up and down if there were too many ";"'s in the path to fit on the current display. I want to push a button and add a new edit box when I want to add a directory to my path variable.
Problem with Transparent Labels (2 replies)
microsoft.public.dotnet.framework.sdk
Hi, i got this problem, i have 32 Transparent Labels on a from , that has an image as background. My problem is that the labels, loads in gray on the form , and turn to Transparent, when the form is just loaded, so the user can see how this is happening... and is not a good thing... How can avoid this to happend? and have my background with an image and my labels transparents, without secondary ef...
How to use a .config file for a dll ... (4 replies)
microsoft.public.dotnet.framework.sdk
Hi, Can I have application config settings in a .config file for a DLL? I am building a data access layer dll (dal.dll) which needs to read the database connection string from a config file. I tried setting up a config file called dal.dll.config & used the Appsettings method to read the value. It does'nt seem to work. This seems to work if I change my dll to an .exe. Can anybody help me please? Th...
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification