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


all groups > vb.net > july 2006 > threads for tuesday july 11

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

Barcode Reader
Posted by Samuel Shulman at 7/11/2006 10:20:54 PM
I would like to add barcode functionality to my POS program How does one attach barcode reader is it usually USB port How can the program get the data read by the device Thank you, Samuel ...more >>

Cumbersome Solution
Posted by Garth at 7/11/2006 8:47:00 PM
I ran into a small issue and I found a solution however it is cumbersome = to use.=20 The problem and solution is describe within the MSDN article = http://msdn2.microsoft.com/en-us/library/ms171728(d=3Dide).aspx I would like to create one subroutine for all my textboxes and not one = for...more >>

DLL Callback
Posted by Nigel Walton at 7/11/2006 7:51:56 PM
I am trying to read some data from a dll via a callback. I have a deligate and all imformation is correct except for an array. This is the original struct in c: typedef void (*PutSampProc)(short samples[], int arraylen, int nrsamples,void *userData); This does not work: <StructLayout(L...more >>

access mp3 header
Posted by iwdu15 at 7/11/2006 7:49:01 PM
hi, how can i access the header of MP3 files? like i want to access the Version, layer, if it has error protection, the bit rate, frequency, if its copywritten, etc....would i need to use a binary reader or how would i achieve this? thanks -- -iwdu15...more >>

override menu drawing?
Posted by iwdu15 at 7/11/2006 7:19:01 PM
hi, im making my own menustrip control since i want to add a few things to it. but now im stuck on how when you click on for instance a main node of "File", it always is highlighted in one color....i cant figure out how to change this, be it on the normal one or how to override this by making ...more >>

Sending a command to a COM port...
Posted by Stu Lock at 7/11/2006 6:20:30 PM
Hi, I am trying to write a script that sends a code to a COM port to open a till draw. The code at the bottom of the page (written in C) is what the suppliers sent as an example. I have used the SerialPort class in .Net 2.0 to try and send the same message. So far I have this on a button cl...more >>

Properties with generics
Posted by Carlos Maggiotti at 7/11/2006 4:11:23 PM
Hello I'm building a UserControl in VS2005. How to make an editor for a collection of generics property for design time in property grid? Thanks ...more >>

Help! have no idea what this is about! No symbols are loaded for any call stack frame ...
Posted by Bill Nguyen at 7/11/2006 4:02:05 PM
This popped up during the execution of a routine that accesses data from 2 different system. Increase connection timeout won't help! ContextSwitchDeadlock was detected Message: The CLR has been unable to transition from COM context 0x1af9b8 to COM context 0x1afb28 for 60 seconds. The thre...more >>



How to get checkedlistbox to display horizontal
Posted by BostonNole at 7/11/2006 2:47:52 PM
Does anyone know how to get the checkedlistbox to display items horizontally on a windows form? It seems that it only displays its check box items vertically (up and down), which is not what I want. I want to be able to use the CheckedListBox to display the days of the week going across (ho...more >>

Copy file
Posted by Leszek at 7/11/2006 1:59:39 PM
Hello! I have a folder with few big files (about 1GB). I would like to copy them to other folder. But "one after one". How can I now, that first copy of first file ended? I would like to run my special event (like writing to the eventlog) and then start to copying second file. Leszek ...more >>

Application KeepAlive?
Posted by Webbyz at 7/11/2006 1:28:03 PM
Hello everyone. I would like to develop a program in VB.NET that will look for an instance of a running application and if the application is not running, the new program will execute the application and open it. There is a program out there called KeepAlive that does this but the thing is tha...more >>

Combobox Population (VB 2005 Express)
Posted by Jerry at 7/11/2006 12:26:47 PM
Prewarning: I'm a newbie at VB. I just got done reading _Beginning Visual Basic 2005_ (wrox) and I'm trying to put some of the things in there to use. I have a form where I can page through the records of a database, one at a time. This form allows me to add new records, update records and de...more >>

MouseHover doesn't work?
Posted by Ronald S. Cook at 7/11/2006 10:51:22 AM
I have a label on a Windows form. I have the following code which doesn't work when I mouse over the label. Any idea why? If I change MouseHover to MouseEnter it works. So, what good is MouseHover? Private Sub Label1_MouseHover(ByVal sender As System.Object, ByVal e As System.EventArgs)...more >>

adding a console application
Posted by kress1963nov22 NO[at]SPAM yahoo.com at 7/11/2006 10:50:35 AM
I have VB Studio .net 2003 Standard and I'm having trouble with two issues. First I'm trying to add a Console Application to my solution and I don't find an icon under Add New Item. On another similar issue I can't add a new Class Library object. Thanks for any clues! ...more >>

Form_Keydown being overridden
Posted by Jeffy210 at 7/11/2006 10:06:01 AM
I'm having a weird problem with the Keydown event. - I have a form with the KeyPreview property set to true - I have a Form_KeyDown sub that does a bit of code for me - I have a few control buttons on the form Now comes the weird part. When I first launch the form, it intercepts the key pr...more >>

Can not create 2 properties with same signature.
Posted by Mythran at 7/11/2006 9:27:55 AM
Why can't we create 2 properties with the same signature .. one on a base class and one on a derived class, even though both properties are shared? Public Shared ReadOnly Property MyProperty() As Integer Thanks, Mythran ...more >>

Infragistics UltraWinGrid programatically select all rows
Posted by Ettenurb at 7/11/2006 8:18:35 AM
I was hoping someone has come across this and came up with a solution. We have upgraded our custom software to us Infragistics UltraWinGrid 2006 CLR 2.0. The code below worked with a previous release of the UltraWinGrid. When the user clicks on the 'Select All' button this code is selecting...more >>

circular left shift in VB
Posted by sandhya at 7/11/2006 8:16:41 AM
Hello Folks, i hava a problem in coding of circular left shift of 25 bits in my program...how do i perform it, and how do i use unsigned in VB. My program (IDEA algorithm implementation in VB) requires unsigned bits...so how do i go thro this ,since VB does not support unsigned operations ...more >>

Servlet Counterpart in VB.NET
Posted by samadams_2006 NO[at]SPAM yahoo.ca at 7/11/2006 8:12:54 AM
In the Java world you create a Servlet that extends the HttpServlet Class, as in: ---------------------------------------------------------------------------------------------------------------- public class ExampServlet extends HttpServlet { public void doPost(HttpServletRequest request, ...more >>

Servlets in .NET??
Posted by samadams_2006 NO[at]SPAM yahoo.ca at 7/11/2006 8:00:12 AM
I hear a lot about Servlets running in Web Containers in the Java arena. I believe that the Web Container in question is the Web Server, like Apache Tomcat, or IIS in the .NET arena, but what about the Servlets? Is the counterpart to the Servlet in the Java arena a .NET "Web Form" written in V...more >>

Updating a specific cell in a SQL database
Posted by zoneal NO[at]SPAM yahoo.com at 7/11/2006 6:47:59 AM
Here's what's happening. I need to take a value, and insert it into an already-created row in a SQL database. The methods I know of only add rows to the end, therefore I cannot edit information. If I know the index for the row to be edited, how can it be done? Help would be much appreciated. ...more >>

Parsing a string that contains HTML ?
Posted by Erland at 7/11/2006 6:26:54 AM
Hi all, I have a string variable that contains HTML such as str = "<html><body>hi there</body></html>" now from above string variable I want to retreive the string between <body> and </body> tags. Can anybody please enlighten me as to how can I solve this problem. Any help and insights will b...more >>

About threading
Posted by Jordi Rico at 7/11/2006 6:26:35 AM
Hi, I'm developing a new app. I'm using threads, I have used it before, but I'm not sure of some issues when threading as I'm not an expert with this. I'll go with a direct example of what I'm doing, I know that is not very correct, but it's the only way I know, so if someone knows how to do i...more >>

WithEvents
Posted by Water Cooler v2 at 7/11/2006 4:31:50 AM
Am I right in guessing that there is no direct C# equivalant for the 'WithEvents' VB keyword. The substitute is to add event handlers to the delegate instances that are the public members of the class. For instance, Public WithEvents ObjFoo As New ClassFoo Public Sub ObjFoo_FooDone(ByVal ...more >>

Design related question
Posted by Water Cooler v2 at 7/11/2006 2:36:53 AM
I want my application to do three tasks simultaneously. Each of the three tasks must be performed at a periodic interval of time. Each of the three tasks is somewhat complicated and is thus composed of a number of sub-tasks that are to be performed in a linear sequence. The three tasks are ind...more >>

Timers run on the creating thread?
Posted by Water Cooler v2 at 7/11/2006 2:13:47 AM
Do timers run on the same thread that creates them or (internally) a new thread is spawned per timer? ...more >>

Sorting a datagrid
Posted by reidarT at 7/11/2006 12:00:00 AM
I have a datagrid on a windows form that is updated with new records. When I add a new record to the table I want to automatically update the datagrid by filling it and refreshing it and in addition I want to sort a date column in the datagrid Descending (without clicking the column) reidarT...more >>


DevelopmentNow Blog