Answer Questions
chachu207 WebClient and ports other than 80
How do i get WebClient functions to work with web pages that are not port 80 1. Your assertion of WebClient not working with ports other 80 is *NOT CORRECT* Mike Flasko and I wrote earlier that we tried that and it works. Can you send us a sample that does not work with ports other than 80 Earlier you said that it is not working with ports other than 80 but in fact it is working and the server is not sending ...Show All
AnnaF Where gets Intellisense the descriptions of methods, properties, ...????
Is it possible to add a discription to my methods so the intellisense can display it Hi Michael! Thank you very much! This one helps! can someone tell me how to use the <summary> tag, I can't find any reference to it! Thanks Link to MSDN XML code documentation ( http://msdn.microsoft.com/library/default.asp url=/library/en-us/ ...Show All
beezleinc Saving User Preferences
I am writing a piece of software in VB .NET 2002 and I need to save user settings. I want the settings to be accessible (read) by any account (Administrator -> Guest). I do not need all accounts to be able to modify the preferences. I have tried the Registry but only certain users can access the variables. I have used .txt/.dat/.xml files in the C:\Documents and Settings\All Users\Application Data\MYCOMPANY\MYSOFTWARE\ folder but the files ...Show All
Grant_csi SerialPort OnDataReceived prob
hi, i'm developing an app wich communicates through rs-232, i want to use an event oriented approach to the reception of data, so i tie my port OnDataReceived event to it's delegate method, and here's where i'm having a problem, my connection is 38400,8,n,1 and sometimes the event gets fired (like for the first 5 characters received) and then it stops; it shouldn't since the frames of data are 1900 bytes long; no more bytes received, i rea ...Show All
Frank Cazabon File name validation method
I have a web application where the users can provide the name of a file in a field. I want to make sure the syntax of that filename is valid before using it. I browsed the methods in various .Net 2.0 framework assemblies and there does not seem to be any to specifically validate the syntax of a string representing a filename. Is there a method I can use to validate the syntax of a NTFS file name regards, Gaetan. ...Show All
kpvgiri Table Adapter Insert return value
Hi, I am using the new table adapter in Visual Studio 2005 and C#. Its GREAT! I just can not figure out how to configure the Visual Designer to return an @@Identity value to me from a newly inserted row. My code fragment is OrderDataSetTableAdapters.OrdersTableAdapter orderAdapter = new OrderDataSetTableAdapters.OrdersTableAdapter(); orderAdapter.InsertOrderHolder ( OrderDS.Orders[0].EmployeeID, OrderDS.Orders[ ...Show All
John J. Adams PublisherIdentityPermissionAttribute
I don't understand. . . . ok. . .first I created a certificate using this command line: makecert -sv fubar.pvk fubar.cer and it is in ".\cert" relative to the current solution. I then created a class library (ObjTec.Proprietary.dll) with the following code: using System; using System.Security.Permissions; [assembly:PublisherIdentityPermission( SecurityAction.RequestMinimum, CertFile = @".\cert\fubar ...Show All
Steve Whitford WinVerifyTrust to get digital signature details
Hi all, I'm looking for a tutorial of using the WinVerifyTrust function to get the degital signature details of a certain file. a How can I use it Please help... Best regards... ...Show All
C Stephens TransactionScope and TableAdapters
Hi people, I'm having the following error when wrapping my TableAdapter updates inside a TransactionScope: using (TransactionScope ts = new TransactionScope()) { tableAdapter1.Update(); tableAdapter2.Update(); ts.Complete(); } <--- CODE FAILS AT THIS POINT All seems well until I get to the dispose of the using clause. At this point I get a NullReferenceException: Object reference not set t ...Show All
RowdyData Memory issue
Hi buddies, I am facing serious issues on memmory release. Issue is after disposing the objects also the memory is not releasing. It may be my code issue. I am using IDisposable to dispose and using, [System.Runtime.InteropServices.DllImport("Kernel32")] private extern static Boolean CloseHandle( object ClientList) to release the objects to memory, but still the app is holdin the allocated memory. Please help&nbs ...Show All
Dr Sneki can write but cant read :(
hello! i'm working on a project for pocket pc, which is an app that registers customers, suppliers, stocks and orders. all this is stored in the ppc itself using the SQL CE server. i'm programming with VS2005, which is great, the tableadapters make the work lot easier. i'm just having some problems importing and exporting data from the sql tables to files. the export function works quiet well, i just load the data from the table ...Show All
omni96 SecurityAction.DemandeChoice is obsolete ?
I'm working with Beta 2 (v2.0.50215) and I'm using PrincipalPermissionAttribute. As I wished to use more than 1 attribute on a single method, I tried the new SecurityAction.DemandeChoice flag. To my surprise, the compiler said this flag is obsolete ! I've not found anything about that on the web (nothing about that on MSDN2 for example) except in a Mono mailing list. Has this new feature been removed Is there other removed feat ...Show All
Debasish Bose Sort a datatable
Hi I have a datatable that i would like to sort by a column (not the key column). How should one sort a table Can the sorted table have the same name as se unsorted table I don't know now the the name of the current column (the column that should be the index for the sorted table, only the number of order ex. aRow[120]), will that be a problem Br Matt You can try using the Select meth ...Show All
arvas Problems bring the MEM USAGE down on my program...
Hi I'm using VB.NET, and I think that some of my objects have to many open references, and instances, but I don't know which one holds a reference to the other one. Is there a way that I can dynamically program it to show me which connection is still open, whick datareader is still open, which StreamReader, or StreamWriter is still open. My program was running at almost 450MB MEM USAGE, and while the program are open, the memory usages ...Show All
alpstar01 Write to XML NEed Help !
I'm trying to create a xml style error logging. Whenever error occur, it'll be recorded in the xml file; it won't overwrite, but will keep adding. I'm now testing on using the code below. However, I just can't get the data write to the xml file. There is no error, but i'm not quite sure what's my mistake. Does anyone have any idea or would you be able to give me some advise on the best way to write data to xml that would not overwritten the pre ...Show All
