Answer Questions
Matthijs Krempel how to embed child datagrid from its parent
Hi, All, posted a thread earlier regarding nested tables on .net data grid, guess, the simple goal that I am looking for is: for a .net datagrid on a win form app, how can I embed a child datagrid for each data row - so I ca ...Show All
Luis E popup text box?
I have a findows form that has a lot of textboxes, but is short on real estate. I was wondering if there's a way to pop up the text boxes into another window, I guess using the onclick or focus events So that I can m ...Show All
Steve Meister 'System.Security.SecurityException' when running .exe file from other than developermachine
I've developed a small console application that gathers systeminformation about the machine. I can run this from a shared network drive, and it works fine. But when i implement 2 more functions that writes a key to the registry and creates a desktop icon on the machine that runs the app, i get a System.Security.SecurityException. I have also made a .cmd file that copies the .exe file onto the user's c: and runs it from there, but i still get th ...Show All
AndrewKnight app.path ?
Hi, What's the alternate of App.Path in VB.NET Here is the VB 6.0 example of App.Path. fileName = App.Path & "\Debtors.INI" Thanks in advance:-) Kash Not sure what's the conversion in VB.NET, but in C# it's Application.StartupPat ...Show All
Reymarx Gereda Window drag from client area
Hello, I want a code snippet that enables me to drag a window with the left mouse button from the client area (not using the title bar). Here is what I've wrote, but the results are wrong: case WM_MOUSEMOVE: x = LOWORD(lParam);y = HIWORD(lParam); if (wParam & WM_LBUTTONDOWN) { //Move the window GetCursorPos(&pos); SetWindowPos(hWnd, 0, pos.x - x, pos.y - y, 0, 0, SWP_NOSIZE | SWP_NOZORDER | SWP_NOOWNERZORDER); } break; ...Show All
ErikEJ Making a scrollable panel scroll with mousewheel just by hovering mouse
Hi, I have a particular problem with a possible solution and I am interested in hearing peoples opinions if it is the right way to go about it (or not ) Some applications I have come across, such as Firefox, will allow the user to scroll the document window just by hovering the mouse over the display area and using the mouse wheel. You don't have to focus / select the display area first. With Firefox, the address bar can have the foc ...Show All
HeroCat App takes forever to load... how to put a loading window...
Hi, My app takes forever to load.... how do I put like a loading window that basically lets the user know that the app is loading Just like popular apps like Dreamweaver or Photoshop... they all have a loading window first and then the app app ...Show All
peysche Merge Menu Nightmare
MergeMenu behaves strangely - the documentation is extremely skimp, behaviors are unexpected, MergeType - add, remove, replace, mergeItems are extremely confusing. Question: Does anyone have their own methods for doing this I have my own merge menu routine, but ...Show All
mbfromit How To Open A File In Its Native Program
Does anyone have some example code or a pointer to an article of how to open a file in its native program from VB.Net I've done this with the help of a great article... <a href="http://www.devx.com/dotnet/Article/7914/1954 pf=true">http://www. ...Show All
Play4sure Walkthrough: Using a Custom Action to Create a Database at Installation
I am studying the Walkthrough about Using a Custom Action to Create a Database at Installation in ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_deploy/html/2527c071-bf97-4f66-8e64-10e9b67a0569.htm There are codes: Private Sub ExecuteSql(ByVal DatabaseName As String, ByVal Sql As String) Dim Command As New SqlClient.SqlCommand(Sql, sqlConnection1) ..... End Sub I can't figure out how the variable sqlConnection1 co ...Show All
Mike Mozhaev textbox
Hi everyone. i am new to this vb stuff and i was wondering if anyone can help me out, the problem is that i have a textbox and want to convert the input to uppercase, which is fine but when i type the text into the box at&nb ...Show All
Shivu P Process.Start of xcopy doesn't work under winforms, same code DOES work in a console app
I am working on an application that I want to have run several command-line tools and capture their console out, etc. I am using .net 2.0, Visual Studio 2005 Team Edition for Dev. I was very happy with the System.Diagnostics.Process class (much much nicer than CreateProces()) up until I tried out xcopy. For no apparent reason, when application type is windows forms doing a Process.Start on xcopy immediately returns with exit code 0 and no ...Show All
ayala Problem Clearing Elements in Code
Hi There! I am creating an app in VB.NET that, when the user clicks a choice from the menu, labels and textboxes either appear or disappear accordingly. The problem appears when: one selection makes 5 or more textboxes visible and writes to 5 ...Show All
amcclendon Cells Merging in DataGridView
Does DataGridView support cells merging If not, any workaround for this Thanks. The grid doesn't support merging of cells. You can simulate this to some extent by overridding painting events. This can work fairly easily for simple things,&nb ...Show All
ZokaBL only 1 record
I have VS 2003. I'm using VB.NET to connect to a SQL database. When I fill the dataset, I only get 1 record returned. I went thru the walkthrough in the Samples, and the connection to the Pubs database works fine. I did the same thing to a live database, and only get the one record returned, no matter what table I try to read. The only difference I can see is that in the Pubs database, the author_id field has a data type of ID ...Show All
