microsoft.public.dotnet.framework Archive - August 2004
Post a message to this list
Messages
Page: 1234567891011121314151617181920
212223242526272829
Multiline tooltip (5 replies)
microsoft.public.dotnet.framework
How can i make a tooltip multiline? \n doesnt seem to do it
"An existing connection was forcibly closed by the remote host" (14 replies, VIP)
microsoft.public.dotnet.framework
Only when I use a proxy server, I'm getting this error when attempting to write data to a Stream object from an HTTPWebRequest object. (System.IO.Stream.Write() raises the exception):"An existing connection was forcibly closed by the remote host" VB .NET 2003, Pocket PC 2003, CF 1.0 SP 2 Can anyone help with this problem?
Decrypt RSA using D (4 replies, VIP)
microsoft.public.dotnet.framework
Hi, I was wondering if there was a way to decrypt something using the RSACryptoServiceProvider class if you only know the modulus, exponent and d parameters? Theoretically, this is all the algorithm needs, as far as I understand it, but when I try to create the class using just these parameters I get a 'bad key' exception. Why does it seem that to decrypt something the class needs P, Q (which shou...
How can I force the reload of a .config file (4 replies, VIP)
microsoft.public.dotnet.framework
Hi, I want to use the System.Configuration.ConfigurationSetting.AppSettings member function to retrieve settings from the my .config file. I have an option form that change the some values and save them in the .config file via a XML DOM document. When I read back values from System.Configuration.ConfigurationSetting.AppSettings member function it is the original one, is there a way to force readin...
HttpWebRequest to ASPX for Postback (4 replies)
microsoft.public.dotnet.framework
I am working with the HttpWebRequest agains a simple aspx page that I created. The page has two panels one for the input of two html input boxes and the secone panel that displays the values of the input boxes on postback. I make my first web GET request like this: objRequest1 (HttpWebRequest)System.Net.HttpWebRequest.Create(uri); objRequest1.Method "GET"; objRequest1.ContentType "text/html"; objR...
Why won't this config file work? (5 replies)
microsoft.public.dotnet.framework
I'm attempting to use the following application configuration file: configuration system.diagnostics trace listeners add name "DebugEventLogListener" type "System.Diagnostics.EventLogTraceListener,System" initializeData "myDebugLog"/ /listeners /trace /system.diagnostics /configuration Very standard, right? Well, when I call methods on the trace class, I get the following error: An unhandled excep...
Active Directory Query with unique identifier (8 replies)
microsoft.public.dotnet.framework
I am querying and getting usernames from the AD using VB.NET. This is working well for me. Now one user is selected out of all the users from AD. After this selection is made, I want to get other information (like email, phone etc) from AD for that user. My question is that how can I then query AD for that user. Should I use the objectguid. Is that the unique identifier? A code sample or the way t...
TcpClient vs Socket... (4 replies)
microsoft.public.dotnet.framework
I want to use stream access to a socket returned via TcpListener.AcceptXXX. I also need to be able to discern the remote endpoint for said socket... I have two choices of socket types to get from TcpListener: TcpClient or Socket... I cannot find how to get the remote endpoint from a TcpClient, or attach a StreamReader/Writer to a Socket... Help!
Help! Client pi**ed off that we're using .NET Framework! (8 replies, VIP)
microsoft.public.dotnet.framework
We just completed a project that includes a Windows Forms application. Unfortunately the client wasn't aware of the .NET Framework requirement on client computers, and now says that the 22 MB download (for computers w/o the framework) is unreasonable. It is obviously not possible for us to rewrite the entire application using VB6 or C at this point, but the client insists that requiring the downlo...
Synchronising files (3 replies)
microsoft.public.dotnet.framework
I want to synchronise files between directories as part of my .NET application. Ideally I'd like to invoke an XCOPY like operation which copies only new and changed files from source to target. Is anything like this available as part of the framework ? If not how do I invoke a windows command from within a .NET application and capture the output ?
"Application Domain"..... (3 replies)
microsoft.public.dotnet.framework
Is there a tool that will allow me to look at a .Net executable and list the currently existing app domains at runtime?
mixing .NET and .NET Compact DLL's on a PocketPC (5 replies, VIP)
microsoft.public.dotnet.framework
Hello, I'm working on an application which depends on XPath queries. I would like to port it to the .NET Compact framework though. Is it possible to replace the usual .NET Compact DLL by a full .NET framework DLL (System.Xml in this case)? I would also like to know the procedure for doing this. I noticed that Visual Studio .NET does not allow me to deploy and "overwrite" the Compact System.Xml dll...
If... Else or Case? when use one or the other (8 replies, VIP)
microsoft.public.dotnet.framework
Somebody know when is recommended to use If Else condition and when is recommended to use Case? Thanks a lot AA
MAC Address? (4 replies)
microsoft.public.dotnet.framework
Does the framework provide a way to obtain the application users MAC Address? David Young
how to know the MIME type associated with an extension. (2 replies, VIP)
microsoft.public.dotnet.framework
for example, for a .gif extension, the MIME is "image/gif" How can I get from .NET? Thanks a lot AA
Failure installing .NET v2.0 Beta1 (2 replies, VIP)
microsoft.public.dotnet.framework
On a system with the .NET Framework v1.1 (w/o the patches) already installed and working well, I attempted to install the 2.0 .NET Framework after downloading the 24Mb package. I have full administrator permissions on the machine. There aren't any other versions of Visual Srtudio installed (.NET or otherwise). The failure is always at the point of installation of Microsoft.VisualBasic.vsa.dll (siz...
Can't run aspnet_regiis -i (2 replies)
microsoft.public.dotnet.framework
Hi, I'm trying to change/update my local IIS 5.1 to .NET Framework 1.1 so I can work w/Visual Studio .NET. The instructions (which have worked fine in another computer) ask me to issue the following command from the DOS prompt: "%windir%\Microsoft.NET\Framework\v1.1.4322\aspnet regiis.exe" i But every time I run it the OS errs out with the message: "You must have administrative rights on this mach...
DockPanel Suite and DockManager Control (3 replies)
microsoft.public.dotnet.framework
Hi, I want to use the "DockPanel Suite" or "DockManager Control" from Weifen Luo (http://www.freewebs.com/weifenluo/DockManager.htm). Did anybody here used them once? And did they work fine? And what about the DockPanel Suite? It is indicated as the new version of the dockManager, but it's also a Beta: Is it reliable? Would you recommend the DockPanel suite or the DockManager control? Your input w...
How to copy an MS Excel graphic from the system clipboard to an image control and obtain its source reference in .Net with either VB.Net or C# (2 replies, VIP)
microsoft.public.dotnet.framework
Hello, Here is what I'm trying to do: Make sure both MS Excel and MS Word are running Create an Excel chart Save the Excel file Copy the Excel chart onto the clipboard using Ctrl C Go to Word and look under Edit Paste Special Note there is a source reference and an option to paste the chart as a metafile, etc. I would like to take this same information and make it available in a C# or VB.Net app F...
Print the ClassView of VS.NET (2 replies)
microsoft.public.dotnet.framework
I don't want to generate Visio UML class diagram. Is it possible to print the class view out? Or is it possible to generate a UML class diagram into Jpeg or other Bitmap formats (I can afford a class diagram without any association)
VS 2005 "Quality Tools" (9 replies, VIP)
microsoft.public.dotnet.framework
I just upgraded to the beta 1 of 2005 from the May preview. It appears to be missing some of the features I enjoyed the most. For example, the performance profiler, unit test integration, FxCop integration, etc. are all missing from this build. Is this just for this build? Are you (MS) creating a different SKU for these tools? I want them back!
iSCSI target implemented in .Net (2 replies)
microsoft.public.dotnet.framework
I am interested in developing an iSCSI target component, but instead of writing it as a device driver, I wish to implement it as a Windows service developed in .Net (and C#). I understand that Microsoft provides an iSCSI client, but they do not provide the target code at all. Basically my iSCSI target service, at least in the first version, will simply direct the I/O requests to a local disk parti...
Windows Form Validation (2 replies)
microsoft.public.dotnet.framework
On an application, I have several boxes and I want to validate such that someone can't enter a number too big. However, once they do enter a number in that box, I want to immediately do something else (dynamically populate a list box). I have been able to use Text1Validating with e.Cancel True to stop then from leaving the field, but when I do Text1Changed it is still called. Am I perhaps using th...
Communicating with a windows service (2 replies)
microsoft.public.dotnet.framework
I created and successfully installed a windows service so I want to import it so that I can reference it in my project. I need to make us of the System.ServiceProcess, so I used the Imports System.ServiceProcess at the top of my Class file, but when building my project, a build error occurs: Namespace or type 'ServiceProcess' for the Imports 'System.ServiceProcess' cannot be found. Can somebody pl...
RegularExpretion for negation of expression? (2 replies)
microsoft.public.dotnet.framework
High ALL, in MSDN for .NET is the following: [^aeiou] Matches any single character not in the specified set of characters. Is it possible to constract Regular Expression that will do something like this: ^ EXPR Matches any expression (sequence of symbols) does not equal the given EXPR ?? E.g., for part of HTML code " td... ..... td... .... /td .... /td " RegExp " td[^ ]* .*? /td " matches HTML cod...
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