Answer Questions
Roger Tan - MS Issue with SetDlgItemText (Win API) function
Dear, I want to set text to one of the textboxes on one exe. For that, I am using SetDlgItemText Win API function in my vb.net console app. The declaration is : Public Declare Function SetDlgItemText Lib "user32.dll" Alias "SetDlgItemTextA" (ByVal hDlg As Integer, _ ByVal nIDDlgItem As Integer, _ ByVal lpString As String) As Integer Iam calling this function in my app like this : API.SetDlgItemText(hWnd, 201, "5.55") where hWnd=ma ...Show All
Rajesh Choudhary Adding nodes to a treeview dynamically
Hi I have a main Form with a treeView...and some nodes which are populated from a database....I have an Add New Node Form with an add method that adds a new node to the database...Obviously I have to reload from the database before I ...Show All
Larry Mason UserControl Terminate, Close, Exit, etc.
Does anyone know of a way to determine when a UserControl is being closed by the user in C# There used to be a Terminate event in VB6 that you could capture. I can't find anything like that for UserControl. Yeah I had noticed the two different properties. If I understand correctly my control could be contained by another control such as a tab control or a panel which is contained by a form. Thanks for the clarification. UserControl ...Show All
erico maia Form Opacity
Hi, I have the following question: May I have areas with different opacity on a form (I read about the transparency key but it makes the areas completely transparent and need some opacity, not transparency) Because when you specify the opacity for a form ...Show All
casp Designing .NET control with real time interface
I'm looking for examples for coding a .Net control that has a real time interface for dynamic configuration in the .NET visual studio IDE. Something like the crystal reports designer. Any help would be much appreciated. Frank ...Show All
rkpetersen Using Inherited Forms
Hi- My goal is to be able to use forms, created with VB .Net, in Mathematica, using NETLink. I'm experimenting first in .Net, with a simple Windows application, that uses an inherited form, defined in a DLL. I can run the project OK&nbs ...Show All
Stefano Padovan DetailsView Template Fields Problem
I have a Gridview and Details View Grid is setup for select and DetailsView is setup to key from the Grid SelectedIndex. All that works great. Problem: In my DetailsView I have setup three fields that are template fields. In-Time: dateTime (in sql database) out-Time: dateTime (in sql Database) Total-Time: Int (in Sql Database) In Edit mode I have a masked control to accept a date-time format in the in-time and out-time. But Once that ...Show All
TheHighKing Windows XP issues - program throws exception
Hi I've been building a standalone forms app that communicates with an Access DB. It installs and runs fine on Win2k (with the .NET framework 1.1 installed) but when I try to run it on XP, it crashes. Am I missing something that needs to be&nbs ...Show All
Greg P. Starting out
Could anyone recommend a good reference (either book or web) for building windows apps with multiple forms I have experience doing this with java ( although I haven't dusted that off for awhile ), and some maintaining a VB 6 app, but am looking ...Show All
ronin_xie Why VisibleClipBounds not return with pagunit?
I put a breakpoint to the following code from a form method to see whenever I change GraphicsUnit from any one like inch,millimeter,pixel, It always return the sizef with pixel unit.why VisibleClipBounds should return rectangle with pageunit private void OnPaint(object sender, PaintEventArgs e) { Graphics grfx = e.Graphics; grfx.PageUnit = GraphicsUnit.Inch; SizeF sizef = grfx.VisibleClipBounds.Size; Pen pen = n ...Show All
Sabita Drage and drop image into imagebox.
hey, can anyone tell me how to make it so I can drage a image into a image box What I want is so once you click on the image it stays there but creates it self to be dragged in to imagebox59 and it will center it automaticly to make it fit perfectly... It is a program that will let you make emotion icons, and I need it so you can do this stuff...so thanks I using Visual Basic 2005 express Thanks a lot for this knowl ...Show All
saflier Datagrid goes back to default parent view when dataset refreshes
Hi, I have a datagrid with childrows. DataGrid is bound to a dataset. Whenever I refresh the dataset using DataAdater.Fill() the datagrid goes back to its default parent view. Sometimes if a user is looking at the child rows in the datagrid and if the dataset refreshes at the same time, the child view closes down and the datagrid goes back to parent view. Is there any way I can stop this from happening so that if a user is viewing child rows ...Show All
nightsoul94r how to give different values (display, actual) in a combobox ?
Hi all, I am new to Windows Forms application. how to give different values in a combo box - i mean, a value to display and another value to pass to another form or table eg: equallant to asp code: -------------------------------------------------- <select> <option value = "<%=rs(0)%>"><%=rs(1)%></option> </select> --------------------------------------------------------- please mail me the answer at s ...Show All
David Clavey Display Data in Datagrid From Other Tables by Using VB.NET
Hello all, I am new to vb.net and have a problem in datagrid validation. I follow the below link: http://support.microsoft.com/default.aspx scid=kb;en-us;319082 and make a datagrid which the column First Name and Last Name is from other tables. It works fine if I  ...Show All
bwechner parent form event which should trigger a routine in each child form without changing the focus
I have an MDI app (VB.NET) that allows the user to create as many children as they want. Each child is basically a panel that draws graphs depending on the properties the user chooses. In addition, a TCPIP connection (in the parent ...Show All
