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 > august 2004

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

callback function in AVISAVE API
Posted by Subhash Bhartiya via .NET 247 at 8/31/2004 11:41:35 PM
hi all, can anyone help me how to implement callback functin in AVISAVE API function in VB.NET -------------------------------- From: Subhash Bhartiya ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>DXMRiR2lf0y8xgHW23x7pA==</Id>...more >>


Any quick method to replace 'class name' ??
Posted by Agnes at 8/31/2004 11:21:20 PM
I need to change one class's name, However, it involves over 30 forms. Any quick/short way to let me "find and replace" ??? Thanks ...more >>

Big replys on UDP
Posted by Richard (MrBonus) at 8/31/2004 10:13:15 PM
I have made a project using a UDP client in VB.NET but am experiencing problems with receiving datagrams beyond a certain size (between 1300 and 1500 bytes). I'm contacting a gaming server (Medal Of Honor Allied Assult), and the command console are running udp, and it works fine until there are ...more >>

String to DateTime
Posted by koorb at 8/31/2004 9:30:50 PM
I am trying to read a line from a text file and store it in a DateTime veritable. Below is a cut down version of my problem code (in my actual version I am using a try and catch, and I am receiving each line in a loop to store into the Array) If I write the string directly into the array it wo...more >>

Form communication, run time!!
Posted by VJ at 8/31/2004 9:26:25 PM
Private Sub GetData() 'Starting to fetch Master Data Set dsData = GetDataSet() 'Show Cancel dialog form frmCancel.show() For each dtRow in dsData.Tables(0).Rows if frmCancel.CancelClicked then 'CancelClicked is a property in the frmCancel, it is ...more >>

TreeView And ContextMenu Question
Posted by Tiraman :-) at 8/31/2004 8:54:23 PM
Hi Everyone, i have a treeview that look like this. Node1 nodechild1.1 nodechild1.2 nodechild1.3 Node2 nodechild2.1 nodechild2.2 and so on and i would like to bind one contextmenu to the root nodes (Node1, Node2) and other contextmenu to the Childs. how can ...more >>

deny keystroke Textbox Tab key not Working?
Posted by gerards_ NO[at]SPAM hotmail.com at 8/31/2004 8:21:28 PM
Hi, I am trying to allow users to only be able to enter numeric numbers into a textbox. The problem is that I cannot move focus with the tab key even if I allow it as an allowable key stroke. I have successfully achieved this thanks to abit of code I found from within these forums (thanks who...more >>

API function not working in .NET (works well in VB 6)
Posted by Sakharam Phapale at 8/31/2004 6:38:46 PM
Hi All, ..NET application does not give correct result when I used following API function . { Declare Function waveInGetNumDevs Lib "winmm.dll" () As Long MsgBox(waveInGetNumDevs) } ..NET gives it as 855400533...... VB6 gives it 1 VC++6 gives it 1 So why .NET is not giving co...more >>



Excel Process ID
Posted by gerards_ NO[at]SPAM hotmail.com at 8/31/2004 6:16:11 PM
Hi all, I am looking for a way to get the Process id (or a handle) of an EXCEL process created from within my code. For example when the following code is executed: Dim EXL As Excel.Application = New Excel.Application a new instance of EXCEL.EXE is created in the task manager. I am l...more >>

Microphone detection
Posted by Vikash Yadav at 8/31/2004 5:25:12 PM
hi Can any body tell me how to detect microphone in VB.Net or is there any resdy made application for this. Thanks and regards vikas ...more >>

How can I make my VB .Net program sleep for 5 minutes?
Posted by Roger Solano at 8/31/2004 5:09:19 PM
How can I make my VB .net program sleep or pause for say 5 minutes? Any help would be much appreciated. Roger ...more >>

Maximize Window Size
Posted by Wayne Wengert at 8/31/2004 4:50:47 PM
How can I maximize the window size of a form when it loads? Wayne ...more >>

Callback functions
Posted by Sakharam Phapale at 8/31/2004 4:47:02 PM
Hi All, How to catch the events of unmanaged DLL using API function call or callback function? Regards Sakharam Phapale ...more >>

sending a keycode to a webservice
Posted by Brian Henry at 8/31/2004 4:44:36 PM
How do you send a keycode or a passcode to a webservice interface (they are stored as parameters)? So I guess I am asking how do you send parameters to web services.. thanks ...more >>

How do I get the column index of a datagrid from the column title?
Posted by disaia NO[at]SPAM earthlink.net at 8/31/2004 4:18:43 PM
I am referencing a datagrid item like this: strItemNo = grdItems.Item(grdItems.CurrentRowIndex(), 0) The Item Number is in the first column; column 0. It works fine except this is not a very good programming practice. What if someday someone decides to move the "item number" colum...more >>

VB.Net - Multi-Threaded Model Having Problems..
Posted by richard.berg NO[at]SPAM delphi-dot-com.no-spam.invalid at 8/31/2004 4:03:15 PM
Salutations! New to the forums but have gotten many an idea from lurking over the past few months but alas it's time to begin positing; posting to a problem I cannot seem to resolve. This is a long description but my hopes are the more information the better someone may be able to help :) ...more >>

Problem Creating Dataset
Posted by ssdangelo NO[at]SPAM earthlink-dot-net.no-spam.invalid at 8/31/2004 4:03:14 PM
Dear Sir - I have spent several days (p/t) trying to create a Dataset using V.B. Net on my Laptop Sony. I have tried using both a Access and a SQL Server database and the same problem occurs. I would prefer to use .Net's wizzards to create insert, update, delete and SQL statements.....to save...more >>

Is a Service not allowed to write to a network share?
Posted by felechaji NO[at]SPAM yahoo-dot-com.no-spam.invalid at 8/31/2004 4:03:13 PM
I'm working on a system that has a several computers that run an alerting system. There are 2 "Host" machines that have no user interface, and one "Admin" station that has an Administrator's application for configuring and reporting. They are on a simple local network, just the 3 machines, no ...more >>

Datagrid sorting problem
Posted by iamkennethlfd NO[at]SPAM hotmail-dot-com.no-spam.invalid at 8/31/2004 4:03:13 PM
I encountered a problem that after I fill up a datagrid, and if I sort the grid b4 I press "Update", it will throw out exception. Is there anyone that can give me a hand? Thanks! ...more >>

Printing headers and footers in vb.NET
Posted by Jim at 8/31/2004 3:33:08 PM
This should be easy, but I have not found much that makes sense. My application creates a document, of indeterminate length, and prints the document. I am printing from a saved document in RTF format or directly from a RichTextBox. I need to add a footer to the document that displays the p...more >>

Calling a "Setup.exe" using Process.Start()
Posted by Wardeaux at 8/31/2004 2:19:35 PM
All, I've written a "setup" wrapper that calls a sequence of "setup.exe", and all works except when I call the setup.exe for the MSDE, then it gets about half way through and then hangs... The MSDE setup works fine from a CMD prompt... anyone know of articles or known issues with this techn...more >>

Webrowser control threads... please read ;)
Posted by Chase Gale at 8/31/2004 1:48:37 PM
Hello, I am developing a large financial application... In a section of the app I host a Microsoft Webbrowser control which connects to a bank and displays thier Java Applet. The problem I am having is occasionally (and excuse my bias against JVM's) the applet locks up for 10 - 30 seconds....more >>

How to read xml string in vb.net?
Posted by Terrence Chan at 8/31/2004 1:45:41 PM
I have a string with xml syntax. <department> <employee name="ABC" age="31" sex="male"/> <employee name="CDE" age="40" sex="male"/> </department> How do I get the value from the xml string? Thanks! *** Sent via Developersdex http://www.developersdex.com *** Don't just participa...more >>

how to insert a file into sql server 2k
Posted by Jake at 8/31/2004 12:46:18 PM
Hello, I have a file, (either .jpg, .doc, etc.) how can I insert this file into sql server and retrieve it, instead of storing it in the folder. Thanks in advance. Jake ...more >>

Printing question
Posted by Mika M at 8/31/2004 12:45:20 PM
Hi! I have barcode printer attached to the printing server's COM1-port, and this printer is shared in path like \\MyServer\Intermec I have text-file containing barcode script in file barcode.txt, and I can print it using DOS-window from XP like ... copy barcode.txt \\MyServer\Intermec ....more >>

Speaking of Whidbey
Posted by CJ Taylor at 8/31/2004 12:39:27 PM
So yeah... finally started playing with Whidbey full on this weekend... anyone else notice that Web Developer gave you pretty much every tool you could ever want? I prototyped an entire data driven web site in 14 hours...yeah, with roles and what not. Oh.. and then I only needed to write ...more >>

Load image into a variable and this set it = to picturebox image.
Posted by peter NO[at]SPAM mclinn.com at 8/31/2004 11:44:04 AM
If I have the image 'Myimage.gif' in my application directory, how do I load this image into a variable, and then... set this = to a picturebox image property. I do not want to directly assign the image....more >>

Scanning: TWAIN or WIA ?
Posted by Peter Stojkovic at 8/31/2004 10:46:54 AM
I have a .NET VB project and I must scan some documents Should I use TWAIN or WIA ( Windows Image A.) Is there a free Example availabe for :NET in VB ?? Thanks for any help ...more >>

Shell, Process.start cannot find file
Posted by Nikolas via .NET 247 at 8/31/2004 10:41:08 AM
Hello All, I am trying to start some processes from a VB=2ENET application= window=2E BUT; I dont want to hardwire the filenames by using the whole= pathname of the =2Eexe eg: Shell(c:\windows\calc=2Eexe")=2E The reason being that I want the= application to be universal and not to rely on...more >>

Compile errors in VS.Net 2003 - VB.Net solution
Posted by Ravi Chaudhary at 8/31/2004 10:04:06 AM
Hi, We are using VS.Net 2003 and coding in VB.net. The solution has 38 projects; most of the projects in the solution reference other projects (without any circular references) and all the references were added to using the Projects tab on the Add Reference dialog and not by browsing to...more >>

ComboBox remains selected after databind
Posted by dm2 NO[at]SPAM rcs.urz.tu-dresden.de at 8/31/2004 9:37:57 AM
I use several Comboboxes on my Windows Forms that are programmed with VB.NET and VS 2002. For reasons of convenience, the Comboboxes are filled by databinding them to a dataset. Everything works fine, except that all Comboboxes are by default marked (or better: the text shown is selected). Only ...more >>

Detect when Win2000/XP becomes Locked
Posted by Eric Rupp via .NET 247 at 8/31/2004 9:03:19 AM
I am designing a program that will detect when a computer becomes locked (screen saver comes on/Ctrl+Alt+Del). I am looking to detect that and update a database for a custom Time Tracker program. Much the same way Windows Messanger will update a person's status to Away when their computer locks....more >>

Determinig if a handler exists from code
Posted by Doug at 8/31/2004 8:44:39 AM
Hi all, Does anyone a way to determine if a handler has been assigned to a delegate, at runtime? I'm converting some C# code and it tests whether or not the handler has been assigned. Unfortuntely, VB doesn't support the technique. Thanks, Doug ...more >>

Redraw problem with .NET Datagrid.
Posted by Kevin Hodgson at 8/31/2004 8:23:24 AM
I'm having a strange problem with a VB.NET App, and the built in Windows.Forms.Datagrid I have a tabbed interface, and a DataGrid (along with other controls) on each of my two Tabs. If the Datagrid on my first Tab has a horizontal scrollbar automatically drawn because the table is too wide,...more >>

VB6 - VB.Net equivalents
Posted by Harry Strybos at 8/31/2004 8:05:30 AM
Hi All This question has probably been asked before. Is there somewhere that I could get all the VB6 - VB.Net keyword preferred equivalents e.g. VB6 VB.Net Mid .Substring Len .Length etc I am trying to use the VB.Net equivalent method as much as ...more >>

Contaxt Menu
Posted by BrianDH at 8/31/2004 8:03:37 AM
Is it possible, need examples, to format the menus? As in font size and color & background color. Thanks Brian ...more >>

ListViews Setting the selected Item How???
Posted by StriderBob at 8/31/2004 7:48:04 AM
In a list box, lbox1.SetSelected(0, True) or lbox1.SelectedIndex = 0 all work fine but how do you set the selected line in a ListView, is it possible? The ListView is being used in Details-View mode, in each line the first item is a line No. (1 - 150 in this instance). I can get an index n...more >>

Accessing Databases
Posted by Debbie Carter at 8/31/2004 5:53:56 AM
I have a few questions about databases. I would like to load only certain records into a datagrid. For an example, with a list of customers I want to only load the customers from California so in my SQL statement I say.. SELECT * FROM customers WHERE state = 'CurState' I want CurState to be ...more >>

Find Every Other Friday
Posted by peter NO[at]SPAM mclinn.com at 8/31/2004 5:42:17 AM
Has anyone written any code to find the date of every other Friday of the year? Is there an easy way of doing this?...more >>

Previewing PDF docs in .NET
Posted by Matthew Jones via .NET 247 at 8/31/2004 3:59:13 AM
I'm trying to display/Preview a PDF file in a vb.NET form, a little like a RichTextBox Control but a PDF instead. Any Suggestions? I don't want to edit it, just print it. -------------------------------- From: Matthew Jones ----------------------- Posted by a user from .NET 247 (http://...more >>

ANN: Final .NET Framework 1.1 SP1
Posted by Thomas Scheidegger [MVP] at 8/31/2004 12:38:36 AM
..NET Framework 1.1 SP1 Date Published: 8/30/2004 http://www.microsoft.com/downloads/details.aspx?familyid=a8f5654f-088e-40b2-bbdb-a83353618b38 Download http://download.microsoft.com/download/8/b/4/8b4addd8-e957-4dea-bdb8-c4e00af5b94b/NDP1.1sp1-KB867460-X86.exe For Server 2003:...more >>

string problem - please help
Posted by Tiraman :-) at 8/30/2004 10:19:29 PM
hi, i have a little problem to concat a string with some "," sign. this is my code: Dim mystring as string = "" for i=1 to 3 mystring = mystring & "," & otherstring next i and i m getting the result like this "a,b,c," and with numbers i m getting this result ",1,2,3" h...more >>

Mdi Child Form Resize
Posted by Rohan Fernandes via .NET 247 at 8/30/2004 9:11:32 PM
Hi I am new to VB=2Enet=2E I have developed a application using the MDI= Parent -MDI Child Concept=2E My problem is the MDI Child form= works fine on all systems accept on 1 Client=2E The form shows= smaller to the size of other clients, resulting in hiding of= some controls on the clients=...more >>

change the password of a service
Posted by at 8/30/2004 4:47:58 PM
i have a problem. i'm writing a programma that change the password of a Service Account in Active Directory. after that the program stop the service and than i want to change the password in the properties of the service. the only problem is that i can't find examples or documentation how to do...more >>

Getting Image Compression Info in VB.NET
Posted by Corey Ellsworth at 8/30/2004 4:32:16 PM
I have an existing TIFF file on disk. I need to be able to read the image compression information for this file using VB.NET. I am trying to verify that all files coming into my system are CCITT Group 3 or Group 4 TIFFs. I have found the methods to use to write Group3 and Group4 TIFFs, but I c...more >>

DropDownList Im sure Im just missing something
Posted by Jeff Buller at 8/30/2004 4:03:02 PM
I am new to vb.net here is my problem: In a windows form I am populating a dropdown list with the DropDownList1.Items.Add(SomeString) command. the list populates and looks good however when I attempt to read what the user has selected it always reads back the first item. I am attempting t...more >>

how to see if data changed in DataGrid
Posted by DraguVaso at 8/30/2004 2:57:28 PM
Hi, How can I see if the Data is changed by the user in my DataGrid so I can ask him to save the changes or not? Thanks, Pieter ...more >>

Can't write to file
Posted by Microsoft at 8/30/2004 2:39:59 PM
I am trying to use the streamwriter to write to a text file I declare the streamwriter publically at the beginning im filename As String Dim Drive As String Dim oFile As System.IO.File Dim ofile2 As System.IO.File Dim nopatch As System.IO.StreamWriter Dim error1 As System.IO.Str...more >>

Whidbey - Extending "My."
Posted by M O J O at 8/30/2004 12:46:00 PM
Hi, I want to extend the My (like My.Application, My.Forms and so on) with some DataBase methods. If I write this.... Namespace My Public Class DataBase End Class End Namespace Then My.DataBase will (logically) show in My as a Class. All other methods in My is listed as Pr...more >>

Is something like this Class available
Posted by Mika M at 8/30/2004 12:37:07 PM
Ealier I have found Class called as Rs232. After importing it into project, it was easy to use for printing string to the COM-port like ... Dim p As Rs232 = New Rs232 p.Open("MyPortSettings ...") p.Write("MyStringToPort ...") p.Close() .... but it there somekind of Class like this availab...more >>


DevelopmentNow Blog