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
all groups > vb.net > january 2006 > threads for monday january 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

Flow layout possible?
Posted by VB Programmer at 1/9/2006 10:15:16 PM
I have user controls that I'm going to place on the form. There could be from 0 - 20. I want the user to be able to resize the window and have the controls relocate automatically, but like FLOW LAYOUT in ASP.NET. Any idea how I can do this in VB.NET 2005, the latest version? Thanks! ...more >>


Chat server - tcp/ip wisock
Posted by Paul at 1/9/2006 9:20:32 PM
Hello, I nead to create chat server but i cannot find any sample can you show me how i can craete multirhread chat server. ?? Regards PM ...more >>

number of lines in Richtextbox
Posted by LeAnne at 1/9/2006 8:40:57 PM
If the user types some text into a rich textbox, i need to know how many lines there are in the control. Note, I'm not interested in counting the number of the carriage returns or line feeds. Suppose, the rich text is the height of a textbox (can view only one line at a time), then if the ...more >>

Converting from VB6 to VB.NET 2003
Posted by Marty at 1/9/2006 8:31:09 PM
Hi, I have a very big VB6 program to convert to VB.NET 2003. When I use the ..NET converter, it convert up to a point where the converter just hang and never finish the job. The converter is not freezing, it is at approx. 80% that the converter just hang (with almost 0% CPU from task ma...more >>

how to check computername exists, before logon remotely
Posted by James at 1/9/2006 5:15:11 PM
vb.net 2003 i wrote a windows service that does threading. My codes are a) the service thread will read a list of machine from a text file (machines.txt). b) it then logon using the below Dim returnValue As Boolean = LogonUser(m_ntid, m_domain, m_pwd, LOGON32_LOGON_INTERACTIVE, LOGON32_...more >>

VS.Net 2003
Posted by Dennis at 1/9/2006 5:09:02 PM
Is there a Service Pack out for VS.Net 2003? If so, where can I get it. -- Dennis in Houston...more >>

Old value of a datagridview combobox cell
Posted by Bob at 1/9/2006 5:09:00 PM
I need to check if there has been a difference between the old value in a call of a datagridview and the new value after the user changed a selection in a combobox in the datagridview. I can find my new value OK. Me.datagrid1("MyColumn", e.rowindex).value.tostring The datagrid view is boun...more >>

Sending E-Mail from User's Machine
Posted by Dennis at 1/9/2006 4:55:02 PM
Is there any way that I can send an e-mail from a user's machine when he clicks on a button ("Contact Us") in my applicaiton that he is running? Bottom line is that I need to get his Mail Server name from VB.New code. -- Dennis in Houston...more >>



Printing Problem
Posted by Shmuel Shulman at 1/9/2006 4:12:01 PM
Hi I set the printing paper to A4 and on my preview screen it seems fine but on the preview screen of the others it doesn't look the same Also once it is sent to the printer it doesn't print the same as it shows on my screen. Any suggestions? Shmuel Shulman ...more >>

How can I send mail on windows 98 using vb.net
Posted by Walter CF at 1/9/2006 3:44:12 PM
Hi, I develop an application that send mail using system.web.mail namespace, It work without problems over Windows Xp, but in windows 98 it dont't work, I've read from http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebmailsmtpmailclasstopic.asp requiremen...more >>

changing where clause in datagridview
Posted by The Other Mike at 1/9/2006 3:20:36 PM
VS 2005 Is their a way to dynamically change the where clause in a datagridview or dataset? I have a search window where the user can enter a part number or description or customer etc... and would like to change the where clause based on what the user has filled out. ...more >>

vs2005 - Why all the errors? yet the code works.
Posted by dbuchanan at 1/9/2006 3:12:08 PM
Hello, >From time to time my vb2005 form disappears and is replaced by the following errors. Rebuilding the application never helps. However the errors never affects the operation of my application that I notice, but it is very anoying. To get rid of the errors I must close the form, close ...more >>

Sockets!
Posted by Tull Clancey at 1/9/2006 3:02:36 PM
Hi, I'm currently trying to write an app to send data to an RF portable, 102.11b. I've found some samples, I think they came from Microsoft some time ago. I have a simple server and client application, I've modified the client app to run on the portable, which it does, but the portable han...more >>

Releasing a loaded assembly in ASP.NET 2.0
Posted by Oenone at 1/9/2006 2:05:40 PM
I've an ASP.NET 2.0 project into which various Plug-In DLLs can be installed. I'm running it in the ASP.NET Development Server. In order to load one of the PlugIn DLLs I'm using System.Reflection.Assembly.LoadFrom(filename) to load the DLL and then calling CreateInstance on the assembly that...more >>

Cell validating event problem.
Posted by Bob at 1/9/2006 1:49:28 PM
In a datagridview (vs2005, VB.net) I have two columns that are checkboxes. I need to check that only one of the two can be checked. Its not permissible to have the two selected to true, but they can both be false. I wrote code in the cellvalidating event as follows. Private Sub Datagrid1_CellV...more >>

Refresh Data
Posted by Hardik Shah at 1/9/2006 1:08:58 PM
Hi, I have a combobox for city name help , which uses dataset as datasource , when other user from network add any other city or edit city, it is not reflect in my current form (in run mode) , as ado.net is disconnected data. How can I refresh my data. Any hints please. Thanks in advance. ...more >>

Reading Binary File in VS2005
Posted by al jones at 1/9/2006 1:01:10 PM
I picked a good project to try to learn to use VS - and up till now everything has worked the way I expect. The code is from a VS.net class, which I picked up on the web, from which I've extracted portions to fulfill my immediate needs. I hsve the following: Structure OFFSETTABLE ' (page...more >>

Foreign Characters in XML
Posted by Hugh Janus at 1/9/2006 11:40:42 AM
Hi all, I posted a couple of weeks ago with what I thought was a problem with the file system reading accented characters however, after debugging line by line I have now found the true problem. I am storing a list of files in an XML file as a sort of database. Some of these filenames have ...more >>

Code Sample To Change Remote Registry Key
Posted by scorpion53061 at 1/9/2006 11:17:36 AM
hi all, I thought I would give this back and see if anyone could improve on it. I was working with the remote registry class. This code opens the ScreenSaverIsSecure registry setting and changes it to not require a password prompt anymore. One change that would be helpful is to somehow f...more >>

Bind dinamicly dlls without createobject
Posted by Halimaji Nijazi at 1/9/2006 11:17:28 AM
Hi I like to bind dll (which were written in .net) on runtime without using createobject. What I am trying to do is following: I have a folder where I like to store some dlls. My program must be able to read the dlls a call known functions from these dlls, without installing them and ...more >>

ObjectContext problem
Posted by Matt at 1/9/2006 11:07:04 AM
I have below object and while i am debuging i am getting error Run time error 91 Object variable or with block variable not set error. If i comment out the Context.SetComplete Context.SetAbort itworks fine. Also object was working fine. now giving this error and not compling..I am using MDAC 2....more >>

Multiple columns in Combobox list
Posted by Keith G at 1/9/2006 11:05:04 AM
I am using Visual Studio 2003. In the standard combobox control it would appear that only 1 column of data can be displayed in the list (as stipulated in the DisplayMember property). In VBA it was always possible to specify a column count and then set the width for each column (setting 0 width...more >>

sending Fax from vb.net with Microsoft Fax Service Extended COM Type Libary
Posted by Michael Welz at 1/9/2006 10:54:39 AM
Daer NG, with the following code snippet i try to send a fax. in a vb6 application it works fine. From my .net app i get no response. Can enybody help? Dim objFaxDocument As New FAXCOMEXLib.FaxDocument Dim objFaxServer As New FAXCOMEXLib.FaxServer Try objFaxDocument.Body = "c:\te...more >>

Sending mail
Posted by Adriano at 1/9/2006 10:43:51 AM
Hello, I'm using VS.NET 2003, can anyone please send me a code for sending emails/ thanks in advance! Adriano ...more >>

VS.NET 2005 hotfixes?
Posted by Pieter at 1/9/2006 9:55:31 AM
Hi, I've read there are some VS.NET 2005 hotfixes out there, but I can't find them. apparently You must first call Microsoft to obtain them? Does anybody knows where I can download them? thanks a lot in advance, Pieter ...more >>

Timers quit working in a service..
Posted by at 1/9/2006 9:40:41 AM
Frustrated.. (I have seen other posts regarding this problem with no resolution..) I am using dotnet 1.1 with latest SP on a Win2KP box (actually 2 boxes), have even run the service on WinXP SP2 box.. I have created a service to grab data off a receive socket (small packets), place in a queue ...more >>

Insert Column in Excel in VB .NET
Posted by kmercer46 NO[at]SPAM yahoo.com at 1/9/2006 8:49:25 AM
Unable to Shift Excel Colums to the Right. Portion of my current VB .NET code is: Dim oXL As Excel.Application Dim oWBook As Excel.Workbook Dim oWSheet As Excel.Worksheet Dim oRng As Excel.Range Dim oCell As Excel.Range .. .. I have code here that successfully opens the excel file cons...more >>

Migration of MSFLEXGRID to DATAGRID in vb.net...
Posted by zoneal NO[at]SPAM yahoo.com at 1/9/2006 8:47:15 AM
Hi, I am involved in the process of migrating vb(6.0) application to vb.net. My application contains only vb controls namely MSFLEXGRID. I want to migrate my application to vb.net completely without any OCX(MSFLEXGRID) controls. I found datagrid to be an equivalent control of MSFLEXGRID in v...more >>

What version of SQL Server can I install in my Windows XP PC and..
Posted by Eduardo78 at 1/9/2006 7:41:07 AM
Hello everybody, I would like to know which version of SQL Server could i install in my Windows XP Pro. Laptop, and be able to work with the enterprise manager locally? thanks for any suggestions. Ed...more >>

Threads
Posted by gad at 1/9/2006 7:32:03 AM
When I sync threads and wating for a thread to finish (like dialing to modem) then my user interface is stuck. What can i do to release it? ...more >>

How to change a VB solution/project name?
Posted by Bill nguyen at 1/9/2006 7:04:32 AM
I made a copy of an existing VB.NET project to a new folder and would like to change the solution name to something else to avoid confusion. What is the best way to do this so that I won't run into referencing problem? Thanks Bill ...more >>

DateTimePicker Control
Posted by MarkS at 1/9/2006 6:51:08 AM
I am trying to use the above control in my VB App. I have looked for the control in components but its not appearing. I have made a reference to MSCOMCT2.OCX but when I check Microsoft Windows Common Controls 2 I get a "Name Conflict Error" - What do I need to do to make the DTPicker availab...more >>

Setting the Font and the color to my message
Posted by Husam at 1/9/2006 6:00:05 AM
Hi EveryBody: I am doing windows application project by using Vb.Net. The function of this project is to send e-mail by adding system.web.dll as refrance to my project and using system.web.mail class to do so. My question is: When I write the message and I change the font to Verdana and...more >>

Bug or By Design...
Posted by Moshazu at 1/9/2006 4:13:58 AM
Take a look at the following code... dim newLabel as new Label with newLabel .autosize = true .text = "-00.00" .autosize = false end with Previously, in VB.NET 2003, if I were to look at the WIDTH property after I executed the above lines of code, I would be returned a widt...more >>

end sub and breakpoints
Posted by guy at 1/9/2006 4:09:02 AM
is there a reason why VB2005 does not let me put a breakpoint on an end sub? guy...more >>

LRC Calculation algorithm
Posted by Sankalp at 1/9/2006 3:12:49 AM
Does anyone know how to calculate Longitudinal Redundancy Check(LRC) in VB.NET? I am trying to send Visa-II formatted even parity message to a credit card processor and am not sure how to calculate the LRC which needs to be appended to the message. Any pointers would be most helpful. Thanks ...more >>

How set datasource of combobox to xml file
Posted by VB Programmer at 1/9/2006 12:12:21 AM
I have an XML file. In VB.NET 2005 is there any easy way to set the datasource of the combobox to this xml file without using code? Thanks! ...more >>


DevelopmentNow Blog