Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
all groups > dotnet general > march 2004 > threads for tuesday march 9

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Closing a form in VB.NET
Posted by E9 at 3/9/2004 11:10:14 PM
I'm trying to do something I thought was simple. I have a form which I use as a login screen. Once the user successfully supplies the password, I want to open another form and then close the login form. I can open the second form, however, if I try to close the login form by writing code in th...more >>


interfaces and abstract classes
Posted by ichor at 3/9/2004 10:51:27 PM
what is hte difference between the 2? i am reading wrox professional c# and fail to understand the difference between teh 2? ...more >>

SQLConnection
Posted by Jnanesh at 3/9/2004 10:06:07 PM
I have a single Windows form, in which I am using a connection object. I need the connection in many places in the form to execute commands. I need to know which of these is a better option and why 1. open and close the connection whenever i execute a command 2. pen the connection in the beginning...more >>

boxing
Posted by ichor at 3/9/2004 9:47:22 PM
hi what is the use of boxing i understand that it is converting from value types to reference types.. but why would i want to do that? can anyone explain? ...more >>

How do I check if SQL string is a copy?
Posted by Doug at 3/9/2004 8:21:06 PM
I'm working in VB.net with an ADOBD connection to an Access database. With a SAVE button click I want to be able to check if there is an instance of the file already in the database before it is saved in the database. How can I do this? I've played around with this and can not figure it out. I'v...more >>

delegates
Posted by ichor at 3/9/2004 7:42:09 PM
hi i created an example to demonstrate the use of delegates DoubleOp []op= {new DoubleOp(MathOp.MultiplyBytwo), new DoubleOp(MathOp.Square)}; for (int i =0 ; i<op.Length ; i++) { MessageBox.Show ("using operation " + i ); double result = op[i](10); //here i want to see the value of op[i] h...more >>

Forms and shortcuts
Posted by Sandra at 3/9/2004 5:47:28 PM
I need to be able to capture ctrl+L when a user is anywhere in a form as once this is pressed I need to do something else. What is the code to capture the ctrl+L keypress? Thanks in advance Sandra ...more >>

Pass Windows Form value from Module problem
Posted by Eric at 3/9/2004 4:26:05 PM
Hello, I have a form called FrmMain that calls a function(LoadAllFormData()) from its formload event. The function is in a module called ProcessFunctions.vb. The function loads all of the frmMain dropdowns with data from a DB. the function is below. The function runs, but no dropdowns are populati...more >>



Retrieving calendar entries from Exchange 2003 via .NET
Posted by Chris Spurgeon at 3/9/2004 3:05:59 PM
For a .NET intranet application I'm building, I need to look at each employee's calendar to see if they have any "out of office" appointments scheduled for the day. If they do, I need to display the info in a custom web control. Using .NET, how do I go about querying the Exchange 2003 server ...more >>

Windows Service Cannot Accept Connections
Posted by hdomer NO[at]SPAM cesco.com at 3/9/2004 1:25:35 PM
I have written a Windows service in c#. The service is supposed to accept connections using a Tcplistener. The windows service works perfectly on the development machine running WindowsXP but when installed on machine with Windows 2000 Advanced Server it does not work properly. When running on ...more >>

Quick Tabcontrol question
Posted by Tonya at 3/9/2004 12:51:10 PM
Hi I have a tabcontrol on my form with 4 tabpages What i want to do is to add 2 textbox values together and put the result in a labe Im not sure what event i should put this under however I only want this addition to be performed when tabpage1 is selected I tried using the TabPage1.click eve...more >>

Urgent Question in Custom Paging User Control
Posted by Andy Eshtry at 3/9/2004 11:37:30 AM
Dear Friends I try to use the following user control from Mr. Olovyannikov http://www.freevbcode.com/ShowCode.asp?ID=5574 but I think there is a bug. When I put DG.PageSize = 2 and dgPager.PagesToDisplay = 5, it shows the first 5 buttons correctly but when I click on "Next 5" link, it shows 7...more >>

How To Create a Resource file that contains wav resources?
Posted by sharp NO[at]SPAM homerlex.mailshell.com at 3/9/2004 11:08:44 AM
How do I use resgen to create a resource file that contains a bunch of wav files? I've seen examples for creating ones with text but not images. Regards...more >>

Do not see Web Service Extensions
Posted by CW at 3/9/2004 10:41:10 AM
Hi I have been given a new hard drive with .net 2003 installed on XP I get this error when trying to create a new project “Visual Studio has detected that the specified web server is not running ASP .Net version 1.1†I have tried changing localhost to my computer name and it does not help ...more >>

VB.NET and SQL
Posted by Pepehammer at 3/9/2004 10:04:58 AM
Hi there guys! i'm using this query in VB.NET: Dim sSQLFirstAvailable As String = _ "SELECT TOP 1 * " & _ "FROM Mi_Table "& _ "WHERE Status IN (0,3) AND WTN > '" & sLastWTN & "' " & _ "ORDER BY WTN" This query it's used in a multi user program, BUT in the same moment 2 ...more >>

Making an Imagelist from an Imagelist handle
Posted by Solx at 3/9/2004 8:56:11 AM
Is there any way to make an ImageList from an Imagelist handle? I am using SHGetFileInfo to get an imagelist handle of the icons that are used by explorer, but I cannot figure out how to put them into an image list so I can use them in a tree control....more >>

EnableVisualStyles and Windows 2000
Posted by PaulM at 3/9/2004 8:25:33 AM
Is EnableVisualStyles only for on WindowsXP? Does it work on Windows 2000? Thanks ...more >>

How to Remove SourceSafe dependencies from a solution project in Visual Studio
Posted by anonieko NO[at]SPAM hotmail.com at 3/9/2004 6:23:30 AM
Opening Source safe controlled projects. Removing SourceSafe dependencies from a solution/project Situation: Your buddy has created a cool VB.NET application that you want to use. He sends you the source code and it consists of a solution (MySolution) containing a single project (MyProject). ...more >>

NewRow() method is filling SQL fields with trailing spaces
Posted by LoC at 3/9/2004 5:46:05 AM
I know this is probably a stupid question but I can't find any threads anywhere regarding this I have a SQL table that has largely char type columns and I use the following code to add a new row Once added, all the fields in the new row are filled up to their limit with trailing spaces. So a 5 c...more >>

Computers - PixelFormat
Posted by Michael Geier at 3/9/2004 5:41:08 AM
Hello I want to draw in a System.Drawing.Bitmap and then represent this bitmap with a System.Windows.Forms.PictureBox. The PixelFormat of the bitmap should be compatibl with the adjustment in the Computer-Control-Panel, because I think, that this guarantees best performance In Non-DotNet-Softwa...more >>

Raw write to serial or lpt port
Posted by crgmoody NO[at]SPAM yahoo.com at 3/9/2004 3:41:29 AM
I want to set a pin on the serial port high or low, or maybe the lpt port. I see that the serial port has 25 pins, so maybe that would be best. Two questions: 1) Can I set all 25 pins individually to either high or low? 2) Can I do this with programming in Dotnet? I have heard that you can ...more >>

Charge one dropdownlist from aspx file
Posted by Marisa at 3/9/2004 1:56:06 AM
I have the next definition of one dropdownlist in an aspx file: <td class="WBC_styclsTextColor0" colspan="2"><asp:DropDownList ID="MimeTypeList" autopostback="false" Runat="server" /></td Where can I change the values for the dropdownlist?...more >>

C#.NET verse C++.NET
Posted by Fabio at 3/9/2004 1:36:07 AM
H I would like to know the key differences between c#.NET and c++.NET as I am currently evaluating which one of these two products to invest in Many thank Fabio ...more >>

Remoting in Windows Services
Posted by Manikandan P S at 3/9/2004 1:08:24 AM
Hi, I have created a Windows Services project and I succesfully installed using InstallUtil.exe utility. Then I went to Service Control Manager and started the service successfully, but when I try to access the service which is hosted from my web application, it is throwing the follow...more >>

Making frame with GDI+
Posted by James Steward at 3/9/2004 12:36:06 AM
Hi In one of my programs, I want to paint a frame around some controls via GDI+. The frame should have rounded corners But as I'm really a newbie to programming, I just don't know how to do this via GDI+ and .net. Could anyone help me Thank Jame ...more >>


DevelopmentNow Blog