Answer Questions
CSharpCoder Form look and feel after upgrade
I have just completed an upgrade of an application written with VS .NET 2003. My forms have the new look and feel when I am viewing them in the IDE, but when I run them they still have the old look and feel to them. Is there a way to get VS to upgrade the look of the controls Howdy stack.. with VS2003, you should always use a manifest re, the attached url: http://msdn.microsoft.com/library/default.asp ur ...Show All
Henk van Andel Web Services Port
I hope this is the correct group to post this in. I have a client that was developed in C#. It connects to a server using Web Services. I am having difficulties connecting to the server in some situations because of firewalls or ISPs blocking ports. Is there a class or technique that can be applied to scan for open ports Also, once this is accomplished, how can one reconfigure the Web Services ( System.Web.Services.Protocols. Soap ...Show All
dianascherff How get data from device usingb RS232 in C#.Net 2003
Could u tell me How get data from device usingb RS232 in C#.Net 2003 i m using MscommLib There is another option than reply me.like using API than how please reply with small example You can see one sample in: http://msdn.microsoft.com/netframework/programming/interop/default.aspx pull=/msdnmag/issues/02/10/NETSerialComm/TOC.ASP ...Show All
Cutty How do you add controls to a form during runtime?
Now I know all about Controls.Add, but I'm having problems adding a control that's supposed to dock as fill. My form looks like this: Nav Bar docked on the left, Splitter docked on the left, and then I want to add my custom control as fill, so that it would be located to the right of the nav bar, as expected. So I try this: mainPanel = new WelcomeControl(); mainPanel.Dock = System.Windows.Forms.DockStyle.Fill; Controls.Add(mainPanel) ...Show All
ZZ Top How to extract files from a zip archive using C#.Net
Hi.I want to extract a zip archive using C#.Net. CAn anyone help in here http://www.icsharpcode.net/OpenSource/SharpZipLib/ do you have a open source library for use with .net it extract Zip, GZip, BZip2 and Tar files... it is easy to use... in the page are some examples.... The .NET Framework can't do directories. However there is a free zip/unzip library below that can: http://www.ke ...Show All
Arul Ram Validation Philosophy
I am working with a Winform in VS 2005. I have been reading some books lately that say that using the error provider and checking it when you save or exit a form is a better, (less intrusive) way of doing validation than putting up dialog boxes. I see the wisdom to it but I wonder what should happen when you have many records in a form That is, lets say I have a winform with the Standard menu and toolbar on it that VS creates automatically, b ...Show All
J M Integration of MSDN Library with Visual Studio 2005
I have installed two versions of MSDN Library, and still my VS2005 doesn't recognise any local help at all. Because of some legacy code I need to keep VS2002, VS2003 and VS2005 on my system. My VS2005 is Team Edition for Software Developers. My installed versions of MSDN Library are Octover 2005 DVD for VS2003, and 8.0.50727.137. Thank you. Could you elaborate What do you mean by "doesn't re ...Show All
Farmer11243 How to Avoid String.split
Hello All, I have one code which reads a large file into a string and then using pre-defined seperator seperates string using String.Split, but now I came to know that it is very heavy operation for GC so I want to replace same. So is there any efficient option for String.Split If yes please reply back.. You can go and write your own implementation of the Split function. But I guess that it will be even slower thatn the .NET version. ...Show All
David Spilling Types and namespaces can't be found
Ok, This is an elaboration of a previous post I've made about VS2005 not being able to locate namespaces and classes. I have one file containing a page, in the namespace Timesheet.Pages , and a control in another file in the namespace Timesheet.Controls . When I add a " using " reference to the Timesheet.Pages in the file containing my control, I get the error " The type or namespace name 'Pages' does not exist in the namespace ' ...Show All
mech55 No intellisense with nullable enum values?!
One of nice new things in C# 2.0 is that, as in VB, variables of type enum automatically have there enum values displayed by Intellisense. This is great! However, when the enumeration is nullable, this isn't working anymore. Ok, I can understand that of course the value "null" is also correct in this case, but it should be nice still that the enum values are shown in the intellisense, maybe even with the option null. Is this by d ...Show All
! Search-Engines-Web convert from 'ref double[]' to 'ref object'
I developed a c++ ATL com dll. I'm trying to use it in C#. In C# I have a method with a parametr of "ref object" type (in C++ is a VARIANT* I convert it to SAFEARRAY of doubles). For use this method I create a double[] variable but it throws me this error: Argument '3': cannot convert from 'ref double[]' to 'ref object' If I create object x =null; And after call to method I execute: double[] myarray = (double ...Show All
Xavier Divini VS.NET 2005 RC1 -- Is clipboard ring missing from IDE?
It used to be one of my favorite features! Formerly, from the C# (for example) code editor in the IDE, open the 'Tool Box' tab, and there was a stack of all the things you'd put on the clipboard while editing. I can't seem to figure out where it went too...hopefully not the bit bucket... TIA, Howard Hoffman That's pity that Clipboard ring is not visible in VS 2005. Why the convinient functionalit ...Show All
Alexxey WebServiceUrl Validation RegularExpression
Hello Everybody, anybody give me the webserivceurl validation regular expression thanks Hi, Here is a link with an example: http://www.cambiaresearch.com/cambia3/snippets/csharp/regex/uri_regex.aspx Regards, If you google for Expresso, you'll find it's a program that's excellent for building your own regex. What do you want here If a regex to validate if a string is a URL, the web is full of those as well, j ...Show All
tgorrie DataReader Table and Column names
Hi all, I have a little problem when I use a DataReader. Here is a simple SQL Query :"select t1.c1 as Column1, t2.c1 as Column2 from t1, t2" I want to iterate on each column and get : - The table name (t1, t2) - The column name (c1, c1) - The alias (Column1, Column2) I get only the alias for the moment... ==> dataColumn.ColumnName; dataColumn.DataTable return null... And I don't know how to have access to the reel column name... Thank you... ...Show All
Newsha ADOX in c#
Hi, I need to create the Access File for temporary data. I checked by google and get that I need to use ADOX. But it's activex. Questions: 1) If I am using ADOX, I need Access installed or Access runtime installed 2) How can I use ADOX If I need that Access or their runtime must be installed, I need to know how can I create Access File programatically (in c#) Thank's Alexei Here's an example of how to use ADOX to create an empty database ...Show All
