Find Out If An URL Is Already Launch From A Windows App?
Feb 12, 2009
I have a windows app written in Visual Basic (Visual Studio 2005) where different URLs are launched in a new windows when every time a different button is clickedHowever, if it has already been launched, I would like to bring it to front instead of opening up several windows for the same url.
View 1 Replies
ADVERTISEMENT
Oct 29, 2010
I need help on how to launch the normal windows desktop. I have a TCP Client/Server application where the client should start before any other application starts. To do this, I replaced explorer.exe with my application file path in the registry. What I want to do is the client minimizes when it receives a command from the server, and start windows as normal.
View 4 Replies
Aug 19, 2010
I am having an issue with a .net application launching another application using Shell On Windows 7 the app will not launch at all. I am assuming UAC is preventing this?
View 2 Replies
Mar 8, 2011
We have a company intranet and the powers that be think it would be nice to have a collection of icons/links representing the applications that most reps use (Outlook, Excel, few other apps).
The idea would be that if the application is installed, clicking the link/icon would launch the application on the client machine.
Anyone ever had a requirement like that and been successful implementing it?
View 3 Replies
May 3, 2012
The problem is as follows: If Windows starts up in Safe Mode, no applications I make with VS 2010 will run. Even if I try to launch them, doubleclicking, running, almost everything I tried, the problem is that the application just doesn't show up. There is no window there, and I don't know (haven't checked) if a process related to the application is running.
[Code]...
View 1 Replies
May 9, 2009
We are running XP workstations in an Active Directory domain. I used gpedit.msc to setup a startup script that launchs Spy++. This works, and just before the login screen comes up, Spy++ pops up. The only problem is, the Spy++ window then goes away just before the login window loads.
I want to use Spy++ to find the attributes of the XP (Active Directory) login window. Is there a way to do this?
View 1 Replies
Jun 24, 2009
I am trying to allow the user to launch the Windows Screen Saver by clicking on a button. I have the following code:
Code:
Option Explicit On
Public Class Form1
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd
[Code].....
View 3 Replies
Aug 26, 2010
I run the app under current logged in user from the service.To give you background, I have a VB.NET Windows service whose sole functionality is to run a Winform App at a specified time. Apart from that it also sets a system wakeup timer so that the system can be woken up at the specified time, if it goes into standby/sleep, to run the app. This service has to cater to XP/Vista/Win7 desktops on our network. This service won't run on servers and laptops.
The Winform App shows a UI for the user to provide some inputs. If the user does not provide the input within 15 minutes, then it defaults the value and then goes into system tray icon. The user can click on the icon and change the values later (within in a specified time frame and that too only twice).
There is absolutely no interaction between the service and the winform app apart from the service starting the app. It also monitors if the app has been killed by the user/crashed. If it has been killed/crashed, then a new instance is run after 30 mins from previous run.
If there is no user logged on, then also I want the app to be run at the specified time. As I said before, the app has a default timer. So if some user has just logged off from the system, then defaults would be set by the winform app.Now coming to why I am stuck with this design - I cannot use TaskScheduler because it has been disabled on all machines and security team is not willing to change it. TaskScheduler had the option to wakeup the machine from sleep and other things. So basically I ended up creating a service which is acting like task scheduler.
Currently when I run the app.exe via process.start() within the service, its running under SYSTEM account as the service is also running under LOCAL SYSTEM. So basically I am not getting any UI. Is there anyway to run it under the current logged in user? I am not worried about multiple user login as we wont be running it on servers and switch user is not enabled on our desktops. Even if somebody has done a remote login via mstsc, then also I need the run the app and show the UI to the user.
View 1 Replies
Jul 16, 2009
I have seen various applications that can be launched from a link embedded in a web page. example: irc ://irc .freenode.net/#roomname Opens IRC and joins the room.
View 1 Replies
May 8, 2012
I am running Microsoft Visual Basic 2010 Express. I created a simple program that is nothing more than dozens of Windows Forms that are linked together by the various clickable buttons I put on each form. The program is like a "book" with several pages, and you jump to a specific page by clicking on specific buttons on the current page ("Windows Form").
My question is, how do I change my program so that when it is launched, instead of just 1 Windows Form opening, the program opens up several Windows Forms (of my choosing) automatically? In other words, instead of my "book" (VB program) opening "page 1," when I run it, I want it so that pages 4, 7, 8, 10, and 15, are "opened" whenever I run my "book."
Is there some code I need to insert into each Windows Form I wanted opened automatically when the program is loaded? Or is this a MS VB 2010 Express environment option I need to set?
View 7 Replies
Nov 1, 2010
I can launch Excel with the document I want using VB.Net 2010:
Dim p As New System.Diagnostics.Process
p.StartInfo.FileName = "c: empmyfile.xlsx"
p.Start()
Excel starts OK with the file opened. I edit the file, but when I close it down, Excel doesn't ask if I want to save changes. So it closes and loses my edits.
If I do the same with a text file:
Dim p As New System.Diagnostics.Process
p.StartInfo.FileName = "c: empmyfile.txt"
p.Start()
It opens (in Notepad++), I edit it and close it, and Notepad++ asks if I want to save changes.
I've now tried similar code with a Word document - and that's OK. Also with an OpenOffice Sheet document and that works as well.
This behaviour is happening in Windows 7 with Excel 2010. It works as expected in Windows XP with Excel 2007.
What am I doing wrong with Excel? Is it me?
View 2 Replies
Feb 16, 2010
Can I programmatically change the startup form on application launch in VB.Net?
View 2 Replies
Aug 18, 2011
I want to allow a user to click a button that will launch Windows Explorer and go straight to the My Pictures folder when I don't know who the current user is.
[Code]...
View 1 Replies
Apr 22, 2011
I have developing application to Remote Control Winamp. I want to know What number of the Windows Handle Message to Launch Winamp automatically?
I have been search in many forums, but I have no get anything.
I only several Window Handle Message about Winamp :
CODE:
View 3 Replies
Mar 22, 2011
I started a task pointing to CMD.exe with windows XP task Scheduler as a non-interactive process and I can't seem to locate it here with this list, I looks like it populates the same list three times?
Code:
Imports System.Runtime.InteropServices
Imports System.Text
Public Class Form1
[code]....
View 1 Replies
Sep 12, 2010
How do find windows xp product key with wmi in vb.net?
View 3 Replies
Sep 21, 2010
I lost my Form. All I see is the underling code I can't find the tab that alow me to draw objects and labels to my form.
View 9 Replies
May 24, 2010
I am using Visual Basic 2010 Express. I have a program that I need to have work in conjunction with the scanner software that our company uses. how to get my program to watch for when the space bar is hit and I have also figured out how to make sure that my program's "spacebar trigger" only works when the scanner software is running.
The problem is this: If for some reason the user decides to use some other program while the scanner software is running, my program still watches for any time the user hits the spacebar. As a result that triggers the "spacebar trigger." I only want that trigger to fire when the scanner software has focus. How do I do that?
View 2 Replies
Jun 17, 2010
I have downloaded the windows 7 sdk but samples are in c++ Where can I find the windows media services9 sdk, I have read that there are vb.net samples?Where can I find vb.net samples, regarding to how to add publishingpoint on the server and fill them with files or playlist?How to make or add files to playlist etc?Are there samples in vb.net using SMIL?
View 5 Replies
Mar 10, 2011
I have a VB 6 SP6 application that uses DirectX 7 to interface to a USB joystick (Logitech Extreme 3D Pro).The application works under Windows XP Pro (32-bit).I've got Visual Studio and the application running under Windows 7 Pro SP1 (32-bit).
I've calibrated the joystick under Windows 7.The VB 6 application does not find any DirectX 7 joystick device to connect to.Otherwise, the VB 6 application works (GUI, embedded video, serial channel, Ethernet connections).The VB 6 application must be accessing the dx7vb.dll or it would crash.The joystick disc did not provide a driver.I installed the latest joystick Profiler vendor software from the Web.This is my first attempt to use Windows 7 as a platform.I'm not sure what to try from a Windows 7 perspective.
View 1 Replies
Aug 25, 2010
On a recent project I stumbled across a page of code that looked unfamiliar, but which evidently was the code behind my form design. I'll copy and paste an excerpt to show you what I mean:
'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Windows Form Designer
[code]....
I thought this was a useful way to back up my project via email because it's in text form. But now I can't find the same information. I've looked in the Object Browser but couldn't find it anywhere. I think I stumbled on it the first time by right clicking Go to definition, but now that doesn't take me anywhere if I click on say form1. So where will I find this mysterious page that has all the form items information in text, not graphic form? Can't find it anywhere.
View 2 Replies
Mar 22, 2010
I need to find the system date change made by the user, i can find out this by checking the event log, and the event log can be deleted so it is not good idea.Can anyone suggest a method to find out the system date change in windows?
View 3 Replies
Mar 17, 2011
Is there an easy way to find the screen resolution in Windows?
View 2 Replies
Jul 5, 2010
[code]It is for ASP.NET, i want to run it in Windows Application. I get an error says FileUpload reference doesn't exist or so. FileUpload resides in System.Web.UI.WebControls which doesn't belong to Winforms family.Please note that the file will be saved from desktop to remote file server (not ~/Uploads).
View 2 Replies
Nov 3, 2011
Windows 7, 64 Bit Windows search 4.0 VB.NET Code running on local machine but destined for a 2003 server serching in a local folder. Using the following code to search through a folder filled with PDFs for a single key word. The search word is not found. ETSResumes is the name of a catalog listed in the Indexing Services. It points to the folder with the PDFs. Desktop search or search can find the correct files.
[Code]...
View 3 Replies
Jul 12, 2009
I have a checkbox "Run at startup"
Private Sub chkStartup_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkStartup.CheckedChanged
If chkStartup.Checked = True Then
Dim AppPath As String = "C:Documents and SettingsSamMy DocumentsVisual Studio 2008ProjectsImageShack vb.netImageShackAPIWrapperClientobjReleaseWebRequest.exe"
[Code] .....
Works great but, what happens when I want to release it? How can I get the application to auto find its apppath??? So I dont have to write C: .....
View 3 Replies
Jun 18, 2010
Im currently working on a taskbar, in which you can totally control:
* Processes
* Services
* This feature I want to add: Windows, that are currently being runned like in the taskbar. or e.g. when you open your taskmanager under applications.
View 1 Replies
Oct 13, 2011
how do you find the default temporary folder in windows xp, vista and windows 7?
View 1 Replies
Dec 12, 2011
I have an application that allows the user to conduct database backups and restores. The users had been using Windows XP, with network security that allowed users to read the registry. For restores, the installation path to the SQL Server named instance was easily found by looking up the instance name in the registry using
restoreDir = My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\" & m_DatabaseInstanceName & "\Setup", "SQLPath", Nothing).ToString
They have recently upgraded to Windows 7, and locked down the registry so that users can not read values from it. Is there a way (via code) to find the path to a named instance of SQL Server, so that the app can automatically place the database files (mdb & ldb) in the correct folder?
View 2 Replies
Jun 25, 2010
We have a VB .Net application that is targeted to the .Net Framework version 2, over the past couple of days users have been reporting that they are getting the following error message when running the program?
View 8 Replies