Running Application Can Know Name Or Other Info Of Desktop-shortcut That Started Application?
Apr 9, 2011
Let's say 10 desktop shortcuts, all with different names/icons, point to and can start the same exe application from the same directory. Is there any means for the application to know the distinct name of the shortcut that was doubled_clicked. Also is there any means for a running application to know if it was started by command line, by a double_click on the exe, by a double_click on a shortcut that points to it, or by another process' call?
View 4 Replies
ADVERTISEMENT
Oct 21, 2010
I am trying to use Setup project. Want my setup to create a desktop shortcut with my application.I donot understand how to do it. Clicked on User's desktop, I created Shortcut to User's desktop, changed the properties Target and Working Folder as 'Application Folder'But it does not connect with MyApplication.exe When I ran the setup and tested Desktop short cut, it took me to the folder where application was installed, instead of running the application.How to make the application run using this shortcut?
View 1 Replies
Dec 22, 2009
How do I create a desktop shortcut to my application when the user presses setup to install?
View 7 Replies
Aug 12, 2009
I would like to create a desktop shortcut for my clickonce deployed application.The IDE is VS2005 and there is no need for upgrading to 2008 yet.
View 3 Replies
Jan 15, 2010
I have a project that I've published to a network drive with a setup file that works great but I cannot get it to create a Desktop shortcut. I don't have the option in the publish settings to allow this and I cannot find code that will work for me. Does anyone have any suggestions how to have the setup file automatically create a desktop shortcut? I'm using Visual Studio 2008.
View 1 Replies
Oct 27, 2009
Is there a way to determine if the application is running from an RDP session or not? Our staff has VPN access and use Microsoft's RDP Client to connect to their computers at the office. They mostly interract with software we've written. I'd like to identify those people that use our applications via RDP as opposed to being physically at their computer.
View 1 Replies
Oct 21, 2009
I recently came across a problem for image file storage in network.I have developed a desktop application. It runs in network. It has central database system. Users log in from their own computer in the network and do their job.Till now the database actions are going fine no problem. Users shares data from same database server.
View 7 Replies
Aug 5, 2010
I recently came across a problem for image file storage in network.I have developed a desktop application. It runs in network. It has central database system. Users log in from their own computer in the network and do their job.Till now the database actions are going fine no problem. Users shares data from same database server.
View 3 Replies
Jul 18, 2012
Im planning to create a Remote Desktop Application and I'm having problem with viewing other computers monitor or screen.
Im not asking for the code on how to do it. and one more thing is it safe to use winsock in creating a client/server application?
View 3 Replies
Jul 7, 2010
Question: I created an ASP.NET web application. Now it originally was meant for deployment on a webserver.That is working, so, so far so good.My question now is: Is it possible to deploy it as a desktop-application, too? That is to say the installer installs some kind of server, plus the web application, configures the server to run this application on a localhost URL, and then creates a link in the start menu/desktop, where it opens that url (website, the application) on localhost in a web browser?
I think it should be possible, though the server wouldn't be IIS, because this is a windows component which can't be separately installed. Is there anything like this already out there The nonplusultra would be that it only starts the server when you click on the shortcut.
View 4 Replies
Mar 9, 2011
I have an application that is written in VB.NET, using the System.Windows.Forms.Form as the front-end GUI. It runs perfectly on my Windows machine however recently there is a business requirement to convert this application to run as a web application so that people could view them in their blackberries when they go to the URL. Is there any quick way to perform such a conversion or I will have to translate the code line-by-line for such cases?
View 1 Replies
Jun 22, 2009
the system is going to have two front-ends - one web application and one desktop application.The desktop application is going to be coded using VB.NET, and the web application in PHP. There's really no reason why the desktop application can't be replaced by a web application as well - except that one of the programmers seem to really want to code it in VB...However none of us have experience working with either of these pairs .
P.S. hosting service will be gotten from some provider and not be on the client's own server.
View 3 Replies
Jun 11, 2012
We have a Windows Forms VB.NET application running on Windows Server 2008. Users access this app using Remote desktop.The app displays information in Excel, but Excel opens on the server.Is there a way for the .NET app to launch Excel on the users local desktop?
View 1 Replies
Jul 12, 2011
Which is the best way to store application and user settings of an application running with multiple instances?My problem is that using the vb's "Application Settings" one instance would overwrite the other one.I want to identify each instance with a number passed via command line argument. I could use this number to identify the appropriate settings of the running instance, but I see in a local INI o XML file a better way to handle that.
View 1 Replies
Dec 4, 2009
I'm having troubles finding a way to retrieve informations about which program started my own application. The situation is this: I have a VB .net application which launch another VB .net application (both made with the .net framework 2.0) using process.start(), the second application need to know which software or process started it, if it was started by another software and not directly by the user, and I can't access to the source code of the first application so there's no way I can send a specific command line to the second application.
View 2 Replies
Dec 14, 2010
I have a desktop and web application connected to same database. Which is the most preferred method to make them communicate with each other?
View 1 Replies
Sep 14, 2007
There is another closed post about this problem but it didn't solve the problem for me...Error occurs trying to run a ClickOnce app. In my case the app previously works and just stopped working with the error"the application cannot be started please contact the vendor"Add/Remove didn't remove the app and Re-installing didn't work either.To solve the problem:-Create a new user with Admin rightsLog in as new userGoto directory C:Documents and SettingsoriginaluserLocal SettingsApps2.0Delete any 'strange' folders, i.e. 9JN9HTAJ.Q0WLog offLogin as original userRe-installThis worked for me.
View 4 Replies
Jan 29, 2010
So I need everything from declarations of variable to the actual code.When you answer it in high level that destroys the chance of others answering the same.I would like to get the drive letter of where my application is started in VB2008.
View 2 Replies
Jun 16, 2010
web app that has been created using VB.NET, nothing major, just a normal site. His original programmer couldn't continue so he wants me to finish it. Problem is I don't program using VB.NET nor have I any intention of learning it for a project this small. Usually I would run from something like this but I need the cash.Should I take the project and continue it using C# or just leave it. Has anyone had a similar experience and how did it turn out.
View 10 Replies
Sep 6, 2011
under my project I have the following
However when I use this code.
lblABOUT3.Text = "Version : "
lblABOUT3.Text += My.Application.Info.Version.Major.ToString()
lblABOUT3.Text += "." & My.Application.Info.Version.Minor.ToString
[Code]....
View 8 Replies
May 22, 2009
This is my first post..and it is a question. Hope some day I will be able to provide also answers... I started a third-party external application using Process.Start function. Does anybody know how I can code a click of a certain button in that application (the name of which I know)?
View 2 Replies
May 18, 2011
I have been investigating this for several hours. I have found numerous links, including several here on SO which claim to show how to find the startup path, or the application directory. All of the solutions suggested return a location:
C:Users<my user name>AppDataLocalApps2.0XO8PWL8B.5HH1GZX7M0H.N1J<temp location>
When my WPF xbap is run from a remote location. I need to determine the actual folder of the remote location. I am deploying this to an internal server ABCDEF, so in order to run this application I am entering:
\ABCDEFmyApp.xbap
I want to programmatically determine the server and folder. My reason for this is that each time you publish a WPF with "automatically increment revision with each publish" turned on. The folder where additional DLL's are located changes, additional programs that this program depends on. I want to be able to dynamically determine the correct folder to look at.
I have tried:
'Dim path As String = Reflection.Assembly.GetEntryAssembly().Location
'Dim Path As String = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location)
'System.IO.Path.GetDirectoryName(System.Reflection. Assembly.GetExecutingAssembly.Location)
'application.StartupPath
All of which did not work.These links suggested many of the methods I have tried:
Link1
Link2
Link3
Link4
Link5
View 1 Replies
Jul 13, 2006
I have an application that is distributed with click-once. One of my users already makes use of it for quite some time without any problems. Only recently, he is not able to launch the application anymore. During the check that is made to see if there is a new version of the software, he gets the message: "Application cannot be started, contact vendor" If I copy my application manually, he is able to launch it without any problem.I included the detailled log below.
PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfdll.dll : 2.0.50727.42 (RTM.050727-4200) dfshim.dll : 2.0.50727.42 (RTM.050727-4200)
[code]....
View 1 Replies
Sep 4, 2009
how to use Visual Basic to pass arguments to an application after said application was started. Example, "myapp.exe -d" enables debug mode, I want to be able to start myapp.exe then have a checkbox labeled "Debug mode" in Visual Basic. Upon "Debug Mode" being checked, it passes the argument -d to myapp.exe. Upon it being unchecked, it withdraws that argument from myapp.exe.
View 4 Replies
Dec 25, 2011
I need to run an external JAR file (which is minecraft) within the window (form) of a VB.NET application, so like having the program in the center and additional text I like around it.
Is this possible, and if so, how?
View 1 Replies
Jan 9, 2012
I am having trouble getting the path of my application's executable file at runtime. This application is being started by another executable and whenever I try to use Application.ExecutablePath I get the path to that application instead of mine.
[code]...
Neither of these give me the path of the program in which those two lines are exectured, they only tell what program started this program.
View 3 Replies
Feb 3, 2010
On form load how would i create a shortcut of my .exe (application) and place it in c:my shortcut ?
View 14 Replies
Mar 15, 2012
Is it possible to reload a form of the running application from one computer when I executed a function from my other computer with the same application? co'z I want to see the changes of data on my datagrid view?
View 2 Replies
Jun 22, 2009
[code]....
View 3 Replies
Oct 27, 2011
I'm a VB beginner and trying to create a Setup installer for my first freeware titleThe installer is almost complete.If I execute it, and it will install the application with a Desktop shortcut and a Startup shortcut.
View 12 Replies