I am wondering if it is possible to re open windows application again in visual studio.Use case:User of the form needs to make some changes to current application and the changes will take affect next time when the application starts, how to close the application and re start it after user clicked ok, so that user settings will take affect immediately without asking him/her to restart application?
is there code to tell if your form is on top of all the other windows open ? or if its the active window.i have a bit of code that just brings one form to the front, then another, but i dont want it to perform this action if its already the active window
I have two windows forms,say frm1 and frm2. I have to open frm2 from frm1 and frm1 from frm2.when one form opens other hide. But the the problem is that everytime when i open the form new object of the form is created which increase the memory usage of the application.What should be the efficient way to switch from one window form to another in vb.net.
I'm trying to figure out the script needed being executed by a button element (or some kind of element) to launch another windows form from the same project when being in another windows form? I'm a bit of a beginner with this language, so I don't know simple scripts like this one
I want to open a web page that was created by me, by passing parameters to that web link,I try to open it like this:
Dim aaa As String = String.Format _ ("C:Documents and SettingsuserDesktopweb site 1HRMSExport1.aspx", _ "?_mchno={0}&_batch={1}&_Points={2}&_ovrpt={3}&_gstrID={4}& _
As part of a new program, I need 2 forms and an openfiledialog. On Form1, a button event opens Form2. Form2 has an openfiledialog triggered by a button shown below.
'Form1's button to open Form2 Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
I have use VS2005, I have open windows explorer from code. when i click on search button it open New windows, and in this I click on All files and folders in Look in : combo by default C: and D: drives are set.
How do I open a Windows 7 Library like Documents, Pictures, Music, Videos and all other custom libraries from my app? I tried opening explorer.exe LibrariesDocuments but it doesn't work.
I had created a windows forms application in vb.net. It contained several windows. Now the users of that application are telling me to display all in one main form. They want to see all the details in one form. I had implemented MDI but they want something like tabs. On different tabs different forms should be displayed. How shall I implement this.
Im trying to use a global mouse hook to check and see if the mouse location is in the title bar of any open form. I have the hook, so how would I get the rectangle of the NC (Non-Client) area of every open form in windows?
I am developing a WPF project in vb.net and have multiple windows in it. When user selects a menu item a new windows opens and the problem is when the user clicks on other menu item the current window should close by itself.
It is possible to create windows service using windows form control in vb.net. give me the url or links. The windows forms control such as, Timer control, list-box, notify-icon control etc.
I have seen this happen before but am not sure how I resolved it in the past. On runtime the controls of my form change from the windows 7/vista format to an older version format as shown in the attached image.
How to display the controls in the format on the left (new windows format)
I would like to have a way of getting all of the open windows in a windows system. I need an array for all of the active windows (what you see in the taskbar). I just want a function to do this please. Its the core of a program I am writing, and its where i am starting from, so no code yet.
I'm creating a program that will hide/show windows. I am stuck on getting a list of all the open windows. I can get the window's handles, but I would like the actual window title...
Here is my source so far:
- My variables/imports/required functions Imports System.Runtime.InteropServices Imports System.Diagnostics
[code]....
As you can see it just lists the window's handle in my listview control just by calling GetActiveWindows()So how do I get the window's text?
I have use VB.Net 2005, I want to create an application , in this I want to open a particular Folder (for example D:/MyFolder) , in windows explorer and windows explorer open in some one vb.net control(which I can not know, it may be Panel) and control windows explorer tool bar by vb.net( enable and disable).
At my job, there are multiple web based tools we use. I'm trying to make a program that opens them all with one click, all in separate IE windows.
The code below, once executed, will produce 1 IE window. I'm pretty sure I understand why it's doing this, but not sure how to fix it. What I want is 3 IE windows open, at the respective sites.
VS 2008 & IE 8 Private Sub Button8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button8.Click OpenURL("http:www.google.com")
[Code]....
Also, the way my GUI's set up I have buttons for each individual tool, when clicked they open a new tab in the same IE window, as opposed to a new IE window.
I have mdi application, on main form which is mdi container and has a tree view. i open the child form on afterselect even of treeview. the issue i'm facing that i open the form but focus remain on tree view until i click on the the form. my question is how i can give focus to form rather it stays on treeview. i tried frm.focus also activatemdichild(frm) no sucess.
i am doing project of Order Accepting system for five star hotels.Scenario is Waiter will accept order using Window Mobile which is Connected to WiFi present in hotel.I want to communicate to database(Sql Server) present on My Machine (Computer present in kitchen) through WiFi and Add order into table present inside database. This should notify my application present on Compter and should print order. After completion of Order Application from kitchen will notify to waiter about completion. My problem is How to Communicate with database present on Remote computer using WiFi from windows Mobile.
I have a MDI Parent form created with a MenuList, I also have the MDI child form created.ow do I go about using the MenuList to open the MDI child form within the parent form?