microsoft.public.dotnet.framework Archive - January 2002
Post a message to this list
Messages
Page: 12345
HOWTO: Browse for Folder (2 replies)
microsoft.public.dotnet.framework
Hi All, I'd like to display the 'Browse for Folder' dialog (SHBrowseForFolder) in my C# application. How can I do that? Any help is appreciated. Markus
Serialization - "No Assembly Associated" Error (2 replies)
microsoft.public.dotnet.framework
I am checking a directory at runtime for .NET assemblies containing types that inherit from an application defined class. Using Reflection, I can instantiate and use objects from these "dynamically found" assemblies by using Activator.CreateInstance(). However, when I serialize and then DEserialize object models that contain objects from these assemblies, I get the following SerializationException...
Weak Key... (2 replies)
microsoft.public.dotnet.framework
Hi guys... I'm having some problems to use the DES class to encrypt things... When i pass a Key to the CreateEncryptor method of the DES class, i get a "System.Security.Cryptography.CryptographicException: Specified key is not a valid size for this algorithm." Well this is the Key that i'm using to Criptography the text: "s2@$vKT, 0~ L lo*&^(lo)[*k] 0xb q] |!^ kjf ] [ ?/1" is this a weak key..? if...
Security Question... (3 replies)
microsoft.public.dotnet.framework
I have a specific question that hopefully somebody can answer. I have a Windows Forms application that loads assemblies from an Intranet IIS Server. This works fine. Those assemblies then call web services themselves. However, each time one of these assemblies makes the call to the web service, I receive a security exception. I know I must make the computer "trust" my downloaded assemblies, but I ...
HOWTO Cancelling keyevents in ComboBox (8 replies)
microsoft.public.dotnet.framework
Hello, I'm getting crazy of this. In VB it used to be simple KeyAscii 0... In .NET I haven't find a way to do it. I virtually tried everything but with no success. Any ideas on how to solve. Or better, I just want an AutoComplete combobox style. Thanks Stefan de Vogelaere
HOWTO: Enumerate all drives? (3 replies)
microsoft.public.dotnet.framework
Hi All, I'd like to find out which drives are available during runtime (C: D: etc.). How can I do that? Also, how can I find out details about a volume (file system, cluster size, free clusters etc.)? Any help is appreciated. Markus
GDI+ Equiv of RoundRect? (2 replies)
microsoft.public.dotnet.framework
Is there a GDI equiv of RoundRect? Keep Smilin' Ed Stegman
Recordset (2 replies)
microsoft.public.dotnet.framework
How can we handle ADO recordset? can we use the same recordset for multiple fetching of records... if means then when we have to close the recordset and when to open the recordset?
System.Net.CookieContainer Namespace! (2 replies)
microsoft.public.dotnet.framework
It seems, System.Net.CookieContainer class is not yet implemented (Fully) in BETA2... Are there any work arounds? Class Updates? I am trying to connect to a HTTP server (IIS) which requires cookies... using HttpWebRequest class. Thanks, hkim
Sleep() doesn't sleep for correct time (6 replies)
microsoft.public.dotnet.framework
On one of our computers when we run the line: System.Threading.Thread.Sleep(10000) it only sleeps for 6 seconds rather than 10. Any ideas on why this should happen ? Thanks, Neil
Execute a local process (2 replies)
microsoft.public.dotnet.framework
Is there any way to execute a local process in using .Net framework? I used to call the ShellExec() method in Win32 API for this. Is there any equivalent function for this in .Net? Thanks! Thomas.
DateTime.Ticks (3 replies)
microsoft.public.dotnet.framework
Why is DateTime.Ticks a non static method, while DateTime.Now is static? I think I'm missing something about DateTime.Ticks. The doc reads "The number of ticks that represent the date and time of this instance. " but also "The value of this property is the number of 100 nanosecond intervals that have elapsed since 12:00 A.M., January 1, 0001." Given the latter statement, I don't see how Ticks coul...
How to let StreamWriter not to write UTF-8 BOM? (2 replies)
microsoft.public.dotnet.framework
Hi All, I use StreamWriter to create an UTF 8 text file using following statement (in C#) output new StreamWriter( path, false, System.Text.Encoding.UTF8); This works well, except, I'd like StreamWriter not to write BOM; i.e., first 3 bytes automatically written to mark the file is UTF 8 (EF BB BF). I'd like to send a UTF 8 file to an application that does not understand this scheme. Anyone has an...
Memory leak when calling ServicedComponent (2 replies)
microsoft.public.dotnet.framework
I notice a severe memory leak when I call a serviced component from a simple c# application. Here is the code : * COMPONENT RUNNING UNDER COM namespace TestMsmq { using System; using System.Messaging; using System.EnterpriseServices; [Transaction(TransactionOption.Required)] [EventTrackingEnabled(true)] [JustInTimeActivation(true)] public class MsmqTx : ServicedComponent { public void GetMessage(s...
Change System Date and Time!? (5 replies)
microsoft.public.dotnet.framework
How the HECK do you change the local system date/time? In VB 6 it was a simple as Time myNewTime. Or Date myNewDate. I was writing an atomic clock program, and was forced to make an API call to do this. Is there no way to change the date/time via .NET?! RMD
CodeDom: Identifying a literal string (3 replies)
microsoft.public.dotnet.framework
I am wanting to build a statement that passes a literal string as an argument. Like: myfunc( "hey there" ); However, I'm not sure what CodeDom object to use for a string literal. I'm hesitant to use literal quotes because some languages do not use quotes as literal string delimiters. Any help is greatly appreciated. Thank you. Bryce
.NET equivalent of popen() (8 replies)
microsoft.public.dotnet.framework
I've been looking through the .NET framework documentation for the support for launching another process and reading its output, but so far haven't found it. Like popen() in C or Python, or command in Perl. Any clues?
Beta 2 To RC 4 (2 replies)
microsoft.public.dotnet.framework
In porting our Webb App from Beta 2 to RC 4 we have run accross the following. #1 Upon Compilation in the IDE Global.asax httpHandlers add verb "*" path "*.vb" type "System.Web.HttpNotFoundHandler,System.Web" / /httpHandlers System.Web.HttpNotFoundHandler does not exist anymore. Is there a replacement? #2 Upon Running Our Web App has a start page of Index.aspx. When the browser tries to load the p...
.NET version of Win32 GetSystemMetrics() ? (2 replies)
microsoft.public.dotnet.framework
Hi, Is there a .NET function to replace the Win32 GetSystemMetrics() function? Specifically I want to determine the size and location of the virtual screen (or desktop). Thanks, Maxwell Sayles
API (9 replies)
microsoft.public.dotnet.framework
I'm tried from a lot of time of use the Windows API CryptAcquireContext(pointer, string, string, long, long) inside a windows form but i can't.The princiaple reason it's that this API don't return i good value of the pointer. There is someone that can help me ? Thanks a lot Enrico
Using Printer Escape Sequences in VB.Net (2 replies)
microsoft.public.dotnet.framework
I am trying here because I never received the advertised 72 hr response to my posting of this question to the MSDN support newsgroup microsoft.public.dotnet.languages.vb, and I am unable to find an answer in any of MS's other online or published resources. My question: Is it possible to use HP Printer Escape Sequences (aka Printer Passthrough Codes) in VB.Net? Our current code relies heavily on pa...
.NET Replacement for XMLHTTP object (3 replies)
microsoft.public.dotnet.framework
I used the MSXML.XMLHTTP object extensively before I started working with .NET. Is there a direct replacement for this object? I just want to be able to make HTTP requests and retrieve an XML document back. Yes I know that web services does this for you. But I want to do it manually.
Creation of file links and searching .NET help files (2 replies)
microsoft.public.dotnet.framework
With the help of some kind and knowledgeable souls on this newsgroup I learned that the Process class was mysteriously tucked away in the System.Diagnostics namespace. Is there a similar hiding place in the .NET Framework for the APIs for creating hard links or shortcuts to files (or mounting directories "junctions," I think Microsoft calls them for that matter)? On a closely related note, is ther...
Exception Listener (2 replies)
microsoft.public.dotnet.framework
Hi All, I would like to know if there is a way I can write an exception listener in other words, trap all exceptions in on location... There must be a ways, since that dialog appears when a exception is thrown... Thanks, moses
How to add / remove attributes ? (4 replies)
microsoft.public.dotnet.framework
If I have a certain property inside a certain class , Is it possible to add/remove an attribute to the propery dynamically ? To clarify I have stated an example For Example... Class XYZ { ................ ......... public string A { } public string B { } } Suppose I want to add an Editor attribute to A when B acquires a certain value ( ie some way of adding an attribute to A in the set method of B...
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