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 > may 2004 > threads for saturday may 1

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

form useable area
Posted by Paul Mars at 5/1/2004 10:32:57 PM
How can I get the useable dimensions or coordinates of the working area of a form? All that I can find return the monitor screen area, but I need the usable area inside the open form. Not incl. menu, toolbar, status bar. Dim x As Integer = MdiParent.Height Me.SetDesktopBounds(0, 0, 0, 0...more >>

multiple childs in MDIParent
Posted by Paul Mars at 5/1/2004 8:33:06 PM
FormParent load opens FormChildA. FormChildA btn click opens FormChildB. (FormChildA and FormChildB are both children of FormParent) (FormChildA and FormChildB are different forms) Problem: FormChildA btn click can only open one instance for FormChildB. I need multiple instances of FormChildB...more >>

How set the location of MDI child window...
Posted by G.Ashok at 5/1/2004 6:46:38 PM
Hi, When MDI child window is initially shown it is displayed at the location determined by the windows - this is OK. But once the child is hidden using hide() method and showing it again it displays at another/some times the same location. My concern is once the child window is displayed it...more >>

COnversion or Pointer
Posted by Sumit Gupta at 5/1/2004 6:27:42 PM
Hi.. Can Anyone tell me the Vb .Net equivalent code of C# code : (Intptr)HTcpation where IntPtr is system structure and HTCAption is Integer type const. What will be return value Sumit ...more >>

Forms question
Posted by Mark at 5/1/2004 5:56:36 PM
Hi all, I have just started using VB.Net 2003 and I am having problems setting property's of a form. Below is a simplified explanation of what my problem is. I have 2 forms (FormA and FormB). FormA opens a new instance of FormB (dim frmB as New FormB, frmB.Show). How can I make FormB set...more >>

send report by email
Posted by toufik at 5/1/2004 5:46:23 PM
Hi, I've a crystal reports Report, Is it possible to send it by email? how? Thanks ...more >>

Automatically generating Update and Delete commands
Posted by JJ at 5/1/2004 5:34:12 PM
Hi All, is there a limit to the size of an update or delete command that a data adapter will automatically create. I have just added another varchar field to my table and when I attempt to now add the modified data adapter to my form the wizard informs me that it can not generate the code fo...more >>

explorer like controls
Posted by Bruce H at 5/1/2004 4:11:00 PM
Hello, where can I find the explorer like treeview (left) and fileview (right) for browsing for files? I've found something similar drivelistbox, dirlistbox, filelistbox but that isn't a very fancy layout. Thanks ...more >>



Update changes
Posted by simon at 5/1/2004 4:08:27 PM
I have this example: Dim myConn As New SqlConnection(myConnection) Dim myDataAdapter As New SqlDataAdapter() myDataAdapter.SelectCommand = New SqlCommand(mySelectQuery, myConn) Dim cb As SqlCommandBuilder = New SqlCommandBuilder(myDataAdapter) myConn.Open() Dim ds As ...more >>

help this n00b
Posted by logick NO[at]SPAM ananzi.co-dot-za.no-spam.invalid at 5/1/2004 4:03:40 PM
This following piece of code wont work, i have no idea what i did wrong. Data.mdb is the database file Admin is the table username and password are fields oldpasstxt.Text and newpasstxt.Text are from input boxes. The error vs.net gives me is olecmd.ExecuteNonQuery() on the 3rd last li...more >>

Application configuration
Posted by Mike at 5/1/2004 3:08:39 PM
Hi, How I can create an configuration file for showing the app.exe where the DLL files located. I do not what to add my DLL to the assembly or copy them to the same location with EXE file. Thanks ...more >>

Debugging code....
Posted by Sam Marrocco at 5/1/2004 2:12:14 PM
I have an app which has intermittent pauses--menus stop working, etc--for a second or two at a time. Short of purchasing a profiler (expensive) is there a way of viewing which method/function my code is in at any given time *live* while it is running? I realize this might be a little slower ...more >>

Printdocument hadmorepages
Posted by Stijn Vanpoucke at 5/1/2004 1:59:49 PM
Hallo, i'm having troubles by printing on more pages. I have a counter in the PrintDocument1_PrintPage(..) and i would like to start a new page every 3 counts. If tried it this way: If (i + 1) Mod 3 = 0 Then e.HasMorePages = True End If Part of my code: Private Sub PrintDoc...more >>

Working WIth Files
Posted by Tiraman at 5/1/2004 1:51:32 PM
Hi , I m Using The File.CreateText(sFilePath) Function And From Time To Time I m Getting This Error The process cannot access the file "c:\Temp\Test.txt" because it is being used by another process and after refresh every thing ok and after one more refresh i m getting the error once aga...more >>

Hiding a form's Close ControlBox button
Posted by Lance at 5/1/2004 1:21:03 PM
Is there a "best" technique for hiding a form's Close ControlBox button (i.e., the button with an "X" in the top-right corner of a form) but still show the minimize and maximize buttons? I've found several techniques for doing this on the web, but they all are different. This makes me wonder which...more >>

Deactivate all MDI child forms
Posted by Lance at 5/1/2004 1:16:04 PM
By default it seems that there always must be an active MDI child form. But, I want to deactivate all of the MDI child forms when the user clicks on a control that is owned by the MDI parent. This is similar to how the MDI child forms in Visual Studio are deactivated when a docking window is selec...more >>

About Events in datagrid!
Posted by Lars Netzel at 5/1/2004 12:23:32 PM
I have used a TableStyle to add a ComboBox column in a cell in a datagrid. Now I need to catch the SelectedIndexChanged from the datagrid cell... but I have no clue at all on how to do this! /Lars ...more >>

Typed dataset and the grid control
Posted by JJ at 5/1/2004 11:43:04 AM
Hi All, I have a typed data set that I that two tables joined in a one-to-many relationship. I have added the relationship to the dataset schema and all seems to be working well. The parent table is displayed in a datagrid. However, since a realtionship exists the datagrid insists on sh...more >>

DCOM Example
Posted by Andreas Hecker at 5/1/2004 11:23:45 AM
Hello, does anybody know a little DCOM example or tutorial in VB.Net which runs on two seperate machines to simulate the network communication. I couldnt find any useful samples in the web but we have to develop a dcom component and i dont know the steps necessary to connect over the wire. th...more >>

Default Access Key Behavior
Posted by Seigfried at 5/1/2004 11:23:42 AM
I've been reading the Microsoft Press book "Visual Basic .NET Step by Step" (Michael Halvorson). I've noticed something about menu items while reading chapter 4 that I didn't know before. Please try this: 1 - Create a new Windows Application 2 - Add a MainMenu component and then a single top...more >>

Most accurate timing in VB .NET??
Posted by Howard Kaikow at 5/1/2004 10:34:49 AM
In VB, I've developed the habit of using the API QueryPerformanceCounter to achieve the most accurate timings. In VB .NET, one can use TotalMilliseconds and Ticks to convert time to milliseconds. Is this as accurate as using the QueryPerformanceCounter? What is the resolution of Now in VB ....more >>

Tables with relations in a Dataset?
Posted by Lars Netzel at 5/1/2004 10:20:49 AM
I have a VB.NET application based on MS access 2000 db. I have a 1 to many relation between 4 tables... tbl1 -> tbl2 -> tbl3 -> tbl4 (all with "one to many" relations) I need to create a Dataset that includes all these tables and keeps the realtion When I use an OLEdb Adapter and genera...more >>

Create data capture forms ...
Posted by saturnius NO[at]SPAM gmx.net at 5/1/2004 3:26:30 AM
Hello, I have to create data input forms to capture data (for sql server). I was just wondering weather there is an automated way (like using the datagrid) to link the "textbox.text" with the update command of the data adapter …. Many thanks in advance!...more >>

MDI Parent child
Posted by Paul Mars at 5/1/2004 12:29:15 AM
I have a Parent form that opens a child form. Now I need this child to open another form and have it as a child of the original parent. How can I assign it as a child? tx, Paul ...more >>


DevelopmentNow Blog