Where Is The Executable - Can't Find The .exe File Anywhere On The Harddrive
Oct 20, 2009
I installed my app on a computer. I can launch it from the shortcut and it works fine but I can't find the .exe file anywhere on the harddrive. The shortcut created by the install just shows the location of the shortcut. how I can find the executable for my app? I'm using VB8 Express
View 6 Replies
ADVERTISEMENT
Nov 17, 2010
I'm trying to open a .txt file from my harddrive by just clicking a button.
I've tried the following:
If System.IO.File.Exists("C:Test.txt") = True Then
File.OpenRead("C:Test.txt")
End If
[Code]....
View 3 Replies
May 17, 2012
I have a program that outputs a file. I want the user to be able to just double-click the output file and launch the program, just like Word and Excel. In Word for instance, one doesn't necessarily have to open WORD then click on File--> Open and locate another Word doc. He can just go to the folder and open the Word doc. I want to implement the exact scenario in my program.
So far I have tried creating TextFile and added it to the Resources. On FormLoading, I simply I stream-read the Resouce file, but I can't write to the Resource on FormClosing, since the Resource is ReadOnly. Also, the Resource is built & compiled so I suppose you can't add anything to it at run time.How you lunch an output file without launching the Executable program that created it?
View 1 Replies
Jun 26, 2010
How can I find the location of my application's executable in WPF (C# or VB.Net)?
I've used this code with windows forms:
Application.ExecutablePath.ToString();
But with WPF I received this error from Visual Studio:
System.Window.Application does not contain a definition for ExecutablePath.
View 3 Replies
Jun 1, 2009
I have an executable that I was able to get working on all XP machines by registering all the .dll's associated with it.On Vista, however, I go through the exact same registration process but right when I open the executable it goes to a "WindowsApplication1 has stopped working" dialog. I registered the DLLs in the SysWOW64 folder. I also ran Dependency Walker which came up with IEFrame.dll as flagged, don't know if that is relevant though.
View 6 Replies
Dec 30, 2010
I want to get letters to each harddrive I have recognized in WMI . I give an example:I have:
1x HDD (400 GB) Samsung (fixed) - 4 partitions (one of them is for Linux, the biggest problem!)
1x HDD (250 GB) Seagate (external) - 1 partition
And in Windows I can see 4 harddrives. So the thing: How can I get exact letters belonging to Samsung, and letter(s) belonging to Seagate? Make sure, that user can have more drives and more partition (maybe Linux too) ... I can divide my Seagate too, like 20 GB and 230 GB ... you know. I've checked much things in WMI like Win32_DiskPartition, but it does not help me so much ...
View 16 Replies
Sep 7, 2009
i have several files that are resources in my program and i would like to be able to copy them to the users hard drive for later use for the user. I have tried everything that i can think of, i just can seem to find one that works, the code below is the closest i have gotten, but i get an error on the first part about My.resources.iPad just to let you know, ipad is an exe file.
FileCopy(
My.Resources.iPad, InstallDir.Text)
The error i get says: Error 1 Value of type '1-dimensional array of Byte' cannot be converted to 'String'.
View 19 Replies
Apr 29, 2010
This Thread is like [URL] but its already answered so i made a new:
If i want to get the USB or external harddrive string path??If you donīt Believe in it, Then it Doesnīt Exist!
View 1 Replies
Dec 14, 2010
I have created my windows from app. and published it. but i was wondering if there is any way to publish it so that the user doesnt have to install to there hard drive so when they click the .exe file it just runs the program Does anyone know of any good walkthrough's or could you let me know how to do this?
View 7 Replies
Jul 7, 2009
I am currently working on a program that only I can use to send and retreve files from an external harddrive through my older laptop. But I have only just started and need help with the login form. I want my password and user on labels placed on form 2 and need form 1 to retreive them then I click the login button, however I want form1 to close if the user or password are incorrect. How could I go about placing an if then statment for if correct then it opens a new window if wrong then end program. Heres my login code so far.
Private Sub Login_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Login.Click
If User.Text = "*********" And Pass.Text = "*******" Then
MessageBox.Show("Welcome")
[Code]...
View 2 Replies
Feb 17, 2009
I'm using visual studio 2008 and I'm almost done on my project. My problem now is it's possible to convert aspx.net to an executable file?
View 1 Replies
Aug 20, 2009
I develop my application with VBNET2008 express and SQL server express 2005 but a little problem appears,my executable file is always READONLY.However,I make modifications in my code file,it stills unchangeable in the Executable File How can i do for this?
View 6 Replies
Sep 15, 2010
I'm trying to make a program that has command buttons, each running a different file. I have added some files so far, but I encountered a problem with a couple of them.
For example, I want to run Zuma's Revenge! right from the program, but it is not working. If I run the game from outside the program, it runs perfectly, but when I try running it from the program, it keeps saying "Zumas Revenge! - Adventure has stopped working."
What really confused me, is that the game is running normally if I run it from its folder or by using the shortcut, while from the program it isn't.I'm using Windows 7, with Visual Basic 2010 Express.
'Here's the code I'm using:
Private Sub Zumas_Revenge_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Zumas_Revenge.Click
Process.Start(My.Application.Info.DirectoryPath & "umas Revenge! - AdventureumasRevengeAdventure.exe")
End Sub
View 1 Replies
Nov 2, 2010
show me the steps to create a executable file of my project
View 3 Replies
Dec 28, 2011
How do i download a executable file like andrews done here with the image:[url] and would like to do get the response data and save that into a file instead of directly downloading it.Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - "Sherlock holmes" "speak softly and carry a big stick" - theodore roosevelt.
View 4 Replies
Aug 4, 2011
i need to run a dos command with parameter and write out on text file from my win form , i am not using shell command and the code is -
[Code]...
View 1 Replies
Jul 12, 2009
I am trying to start an executable file, example.exe. When I run this code I get the fallowing error.
Dim start As String
Dim location As String = TextBox1.Text
start= Shell(location & "example.exe", vbNormalFocus)
AppActivate(start)
Error:AppActivate(Result) --> Process '5476' was not found.
Every time I start the program I get a new Process error, like 5572 or 5252. What is the reason for this error? Also how can I error trap this so I can find out what the error really is.
View 13 Replies
Jan 12, 2011
Ok how do I add a text file to a codedom executable?
I don't mean adding a resource file like this ".resources"
I mean adding a textfile to the already existing resources.
View 1 Replies
Jun 21, 2010
Part of the app I am writing allows users to create an encrypted, password-protected output file that they can email safely to a central store. I can't have the users choose their own password for the encryption as the central store needs to access the contents of all the output files emailed to it. So there is one password that gets set within my vb app.I am worried that security will be compromised if the vb executable is somehow deconstructed? Is it possible to read the contents of an exe file (and thus find out the password)?
View 3 Replies
Sep 3, 2010
I am facing the following error in my VB.NET web app:
compiler executable file vbc.exe cannot be found.
I installed .net framework again and even the IDE, but this error remains.
View 3 Replies
Dec 16, 2009
i need some help in creating vb.net executable file that can be used on any other workstation
View 1 Replies
Apr 12, 2009
I am looking for a way to execute a file (executable) using GetManifestResourceStream. Either that or load it into a Stream or Byte. edit: I've noticed that sometimes you need certain names for this to work, so here is what I currently have:
[Code]...
View 3 Replies
May 21, 2012
I wonder if you can open a file .exe inside the Form. And this .exe file does not exit the Form. E.g. create a process that clicking on the button will open the Windows calculator, but the calculator will is stuck in the Form.
View 5 Replies
Dec 1, 2009
I would like to write a sub routine to kill an executable file called 'dfsvc.exe'. I'll call this subroutine when I exit my application to kill this file. When I exit my application this file is still running and takes around 15 minutes before it disappears. I would like to kill it to remove the delay.. The following code below doesnt work..
[Code]...
View 13 Replies
May 4, 2009
I want to know if possible to run executable file and delete itself without using script. Im creating uninstaller, i want to delete the uninstaller executable file after uninstallation finished. if that is what you want, just mark it as answer so that we can move on
View 2 Replies
Jun 28, 2010
I'm very new at using Visual Studio (about 3 days!). I want to create a project that I created into an executable file. The help menu states that I should go under the 'File' drop down menu and select 'Make' to convert into an .exe format. However, the 'Make' selection is not present under the 'File' drop down menu. How can I make a project into an executable file??
View 9 Replies
Jan 20, 2012
How to open Executable File in VB.Net 2005
View 2 Replies
Jan 25, 2011
I was wondering if it is possible to have persistent changes to resources in an executable. I am using VB 2010. I don't know how to be much clearer than that but I will try.
> User opens program and picks 'File A'
> 'File A' is now copied into the executable, thus storing it forever (or until deletion of .exe
> .exe is now slightly larger because 'File A' is inside the program
> User can extract or delete 'File A'
View 2 Replies
May 12, 2011
I have created window service and one window application which is running as notify application in VS2010 using vb.net both are different project.
I want to pop up message in notify application when window service download some file to local system.
means,i want to send message to notify application when ever window service application download file to local system.
View 2 Replies
Oct 12, 2011
how to write/read a file in the same directory as the executable? I know how to read and write files, I just need to know how to read/write files in the same directory as the EXE.
View 19 Replies