Advertisement

250 organizations, including eBay, Ericsson and Lockheed Martin, now work smarter with Corporate Accounts. Save up to 42%

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested MS Visual C# Solutions: 101 - 125 of 1465
null
Hi all, coding C# in VS.Net 2003 I am binding a dataset to a datagrid that I allow the user to sort.  I am able to remember the sorting of the data grid by doing a hit test when the user cl...
I'm trying to populate a repeating table from the code behind in Infopath 2007.  I have looked all over and had no luck finding any examples online.  If you have a good example or know where I...
I am writing this piece of code in a C# application in MS Visual studio. I want to use GMT (or UTC) time throught in the application. I do not want to use the local time to show up anywhere in...
I have a C# Form Application. I want to place a rectangle border around the entire form that will stay with the form as I move it [I do not want to customize the form border - keep the form bo...
i want to have an owner drawn checkbox that will have the color and then the color name also another combobox that will have the font name styled acoording to the font selected.how can i do that
I have a series of collapsible panels on a page. I start the page with the panels collapsed, but when the page loads initially, I see all of the content for a second before it collapses. ...
I am trying to send an email that contains multiple paragraphs explaining to users a process.  How do I create an email message body that will force a line break between pargraphs.  Right now ...
I need to write a custom validator for my c# app (possibly using javascript with a popup telling user that the date entered is invalid). I would need it to do date validation...I have don't wa...
Hello experts. How can I get all of the installed software in WinXp/Vista (same as the Add/Remove list in windows). I need the App name and the App's exe path. I'm using VS2005 C#.
Hello, Does anyone know how to select the last item in a ListBox control on a windows form in using C#?? I have a form with a listbox bound to a SQL table. The listbox displays data from...
Utilizing SQL Server 2005 and C#.NET 2005 or 2008 how can I create a new dataset and view that in a datagridview or something.  Here is the SQL i have and it seems to work correctly using the ...
I have an ASP.NET 2.0 web application project. I need to import an Excel spreadsheet or possibly a csv file and store it in a SQL database. I have no problem with the SQL database connection p...
I am opening a form in a mdi parent.  I show the form in the parent and the window state of the new form in the designer is maximized.  For some reason, the form appears in the top left corner...
hello ... i have no problem consuming a web service in a c# windows forms project.. i tried to do it from a clas library, and its baffled me for at least an hour, probably 2... It will add...
I need a regular expression for ASP.NET C# to check and make sure that there are at least 2 non alpha-numeric characters and that the whole string is at least 5 characters long.  How do I do t...
I'm working with C# 2005. Currently I have a project utilizing an Access database, and my company has recently upgraded everything to Access 2007. I tried to open the new Access database (.acc...
I have a C# Application with a menustrip that contains one command ("myCommand"). When I click "myCommand" ... [1a] Should there be a windows message in the message loop? [1b] How can I tr...
I'm having trouble figuring out how to load a XSD string parameter to verify a XML file. I know how to load the XSD from a file (or url) but I can't seem to figure out how to stream the string...
How can I get External IP Address and location from C#.NET windows application? I have a windows application that has access to the internet, but I just want to get the user's external IP a...
Hello All, I am converting an excel file to a C# program. Some of the functions are not in the .net math library. So I want to use the Excel function using excel interop from my code without ...
Hi fellow Xperts! I'm trying to populate a listview control with files selected by the user. The application will use SHGetFileInfo Interop routine to get its native windows icon. But when I...
I would like to call JavaScript from a c# component (dll) embedded in an html page with the  object tag. So far I have got the following sample code that I have taken from other forums and ...
Hi, In my console application using C#, I have a infinite loop to process a task. I want to use some methods to catch a specific key pressed (ex: Alt+B) to break from the loop, and do some ...
I have a gridview that I am adding columns to and using TemplateFields.  I am able to get the columns added but I can't get the data to bind.   Here is my code:
Hi All,, I want to know the difference between: Show(); ShowDialog(); ShowDialog(owner); This is in visual c# .Net 2.0 When to use each of them? Cheers,