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 have made an alternative OS and i wan't it to open Windows Explorer. I have tried Shell (C:WindowsExplorer.exe) and it works,but the startbar appears at the bottom of the screen when I dont want it to.
I got this chunk of code off the internet, i think the sample program was called "store images and files on sql server" i added the delete routine, so it is a little better than when i found it, but it opens pictures in big picturebox at the very last line, i was wondering if there's a way to call windows photo editor or something newer instead of the form it's calling
i am making mp3 player. i didn't wanted to use open buttons so i've associated my app with .mp3 filetype (with If (My.Application.CommandLineArgs.Count > 0) Then...)
The problem is when i want to play next song while the first one is playing it opens my program again so it plays 2 songs at the same time.
I want to do is when im opening new mp3 make it shut down the old one
I guess there is more methods that open in same app but just change the url.
I have published an application. On some computers it is working very well but on others when we run setup files, windows throws error "Windows does not know what program to use to open this file"
This error comes for application.manifest. Also I checked the icon for this manifest was like the icons that are given when no associated program is installed for a certain file.
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 am currently working on a menu driven console program that so far has 4 menu options of checking internet connection, decrypting/encrypting a message, calculator, and a logout, and i am wondering about a few current things.
1. How do i make it to where, when a program starts for the first time, it asks for a user to enter in his data, like signing up for a site for the first time?
2. How do i make it to where the program will save the data entered, and does not delete when the user closed the program.
3. How can i make it to where when a user signs in, his/her data is read correctly? Like an array search for a multidimensional array.For my "New user" sign data i created a function...
Function createNewUser() As String() Dim name As String Dim userName As String[code]...
I am working on moving applications from Windows 2000 to new server Windows 2003 R2(64 Bit). I noticed that there are some VB programs and config files for those programs have been placed in Windows 2000 Registry. Some other applications are using them from different servers.Why do we use registry here? How can i move these to registry in windows 2003? Can I just move these or do I have to write VB programs to place them in 2003 registry?
I have a .net Windows Service developed in VB.net. I have a settings file in the root directory called Connections.XML and I am setting the basedirectory [code]...
When I schedule the service this is working absolutely fine in my Windows XP machine. But when I installed the same service in our development server (Windows 2003 64 bit Server) for some reason it is not able to locate this file.
I'm developing a program which would be the only program user will use. What i mean by this is once the windows is up, my program will run and blocks users from accessing any other program installed or comes with Windows such as internet explorer, email client, games, etc.. unless user puts password for getting out of my program.
BTW, the OS will be Windows XP.What i want to accomplish by having this is like below:
1. No one would be able to use internet (= no virus)
2. No one would be able to change system time (= no record corruption)
3. No one would be able to install any program (= less system maintenance)
My program is Kind of interactive Kiosk program only certain user can access windows and other programs.Also when it comes to system maintenance, I will remotely access the computer using pcAnywhere or teamviewer like remote access tool.So after exiting the program, i should be able to use entire system w/o any restriction.
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.
Is it possible to only make a program open when another program opens it? so when someone tries to open it themselfs by clicking on it, it pops up a error message?if so then how would someone go about doing this in VB 2008?
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'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 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?
I want to list all open Windows Explorer windows with their active path in a ListBox. The app should refresh the ListBox if the explorer window is navigated to a different path.
For e.g. two explorer windows are open. One is navigated to C:Windows and the other is navigated to D:Stuff. When the app it run, it adds C:Windows and D:Stuff to the ListBox. Then, the user navigates to a different folder in one of the open explorer windows like C:Windowssystem32. The app should then refresh the ListBox and list C:Windowssystem32 and D:Stuff instead.
I have an MDI parent within which are contained several mdi child windows. when I close the MDI parent window, I need to check for any open MDI child windows (they may not be in the foreground) and check if they need saving. the saving part I'm ok on, but I can't get a stable system for checking if there are any open MDI children, when I click the button that closes the application. any suggestions?