Execute Two .exe File As Option?
Oct 17, 2010
i am just trying to invoke a service through console application file. for that
Process.Start((CurDir() +"" +
"installutil.exe" +
" " + CurDir() +
"" + ("money.exe"))).
Which gives error..?
where "installutil" and "Money" are vb.net exe files. "money" is a windows service file.
2, Or is anyother way to add these exe's as referrence and how to invoke ?
3, or is anyother method to invoke a windows service on single mouse click.?
View 9 Replies
ADVERTISEMENT
May 20, 2011
I need to write VB program to open and read text file, store each field (separated by comma) into an array. In the first array, it's an excel file and I need to execute it, and once opened in excel, there is a macro program inside and i need also to exceute using VB.
sample content of textfile:
C:principalsinventory.xls, MacroInventoryReport, 1, 3:00AM
----------
C:principalsinventory.xls, MacroNearExpiringReport, 1, 4:00AM
View 4 Replies
Feb 22, 2011
I really like the coding speed that vb.net provides, but I don't like the possibility to forget to declare variable types, return types of functions, etc. and that is why in each class I use[code]..
Is there a way to define those two options on the project/solution level?
View 2 Replies
Jan 26, 2010
the combo box style 1 has both the drop down option but also a manual entry option. I need to know how to code it so that when you manually enter data, it takes that data and places it in a text message "The shipping charges for "data" is $15" displaying in a text box. Shouldn't be hard but have developed a mind block.
View 4 Replies
Dec 15, 2011
if we need to browse a file from a open file option than how to select a file from the open option and only name of the file should be written on the button and by clicking on the button u should be able to open file the file can be .exe, .doc and any type of file
View 1 Replies
Oct 4, 2005
xecute a exe filwhich is stored as an isolatedstoragefile.In thebelow i stored file.exe from c: solatedfile.exe. i want to execute isolatedfile.exe like this.
Process.Start(isolatedfile.exe).How can i do it?Regards,Senthil.
Dim file_name As String = "c:file.exe"Dim isolated_file_name As String = "isolatedfile.exe"
[code].....
View 2 Replies
Nov 24, 2010
I have a sample.cmd file that has the following code.
dir/b/p D:Satheesh > TableOfContents.txt
When I run the bathc file seperately I can able to get a text file that contains all files in the folder.
But when I execute the cmd file from VB code using Shell function, I am not getting the text file created.
View 2 Replies
Jun 3, 2010
I created a *.bat file : osql -Usa -Paugust -SNgocThach -iMYDATABASE.SQL When it run at cmd, it ok. My database has just been setup. Now, I want to setup my database use VB.NET. How can i do
View 1 Replies
Aug 31, 2010
For example I got Form1. And I want to get a jarfile inside it just like its possible for .swd and .pdf files.I thought of something like a webbrowser, going to a page with the jar file, but that Isnt really brilliant as the webbrowser might be slow, or cause problems.
View 1 Replies
Feb 24, 2010
what does these two code means in vb.net: Option Explicit on Option strict on i think option explicit means the compiler is not going to do any kind of conversion and i need to do all of them by the code;also it becomes case sensitive i.e;
[Code]...
View 8 Replies
Jun 4, 2011
i hve build 1 system inventory using vb.net 2008.can i run execute file from browser...maybe like in asp.net..
View 5 Replies
Mar 2, 2012
I have vs 2008. I have a VB project with lots of stuff. I want to do a little program to test out some ideas. I also, separately, want to execute a little .cmd script.
What I would like, is a way to execute my little test program, or the little .cmd script directly from within VS, bypassing the debug information set up for the project.
View 5 Replies
Oct 9, 2009
I want to deploy a VB6 application along with all the dependencies using VB.net installer (MSI). So can I execute VB6 Setup.exe (created using Package and Deployment Wizard) from the VB.NET installer (MSI).
View 2 Replies
Jan 9, 2011
I need to execute a .lnk file in vb.net (lnk file that points at an exe file).[code]...
View 1 Replies
Feb 25, 2009
Im right now working on a "notepad" type application, that i want to be able to save a code as a .vbs (I know how to save it as that), and then run/execute it. (the same as double click on it)[code]....
View 3 Replies
Jun 3, 2010
Im trying to make a simple execute button but i cant get it work and no ide to add codes in the ""
0
If "Loocks if hte exe fil is runing" = True Then
"kills the exe file"
Else
[Code]....
View 8 Replies
Jun 3, 2010
I want the program exe file should be used as a dos command with options. ex: dir /p
same way myapp.exe /auto. Iam using visual studio 2008,
View 3 Replies
Oct 11, 2009
Im creating a program that stores usernames/passwords for different devices which will require a login to get into the program but I need to save the usernames/passwords somewhere. Is there a more secure way to store this than in a text file? Or I could try encryption which could be quite fun.
View 3 Replies
Oct 12, 2011
I'm looking for opinions on the safest/best way to append to a text file.These are my two current methods:)
Try
FileOpen(1, RecordingPath & "Log.txt", OpenMode.Append)
PrintLine(1, strAnalogOutput)
[code].....
View 2 Replies
May 21, 2009
In vb.net 2008 I want to execute a batch file that resides on another computer. There is no error, but nothing happens. Here is the code:
[Code]...
View 3 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
Nov 11, 2010
assuming that I have form and a button, clicking the button,how can I create bat file and execute the command inside and then delete the bat file?
View 4 Replies
Sep 12, 2011
I want to execute autoit script using vb.net in vs 2010. While executing it keeps prompting. Is it possible to embed a manifest file in a class lib type project in vb.net. As currently I cant see any option to add a manifest. How to disable that prompt to occur while executing a script from code.
View 1 Replies
Oct 7, 2009
can anyone tell me if this option is available in VB.NET 05/08, I want to add Win32 resource file (.res) to project but i can't find any option to do that, and the option was in C#. This not a regular resource, it was created using native resources template. Below are the screenshots of Application tab in project property from C# and VB IDE. The option that im looking for is in red box on C# screenshot
View 5 Replies
Jan 15, 2011
I was created ".cta" file for my project that file was loaded into my Richtextbox control so I created File associations option into registry all was done but I just double click that file in explorer, my application will run but that file was not loaded into my Richtextbox control. How can I do that...
View 4 Replies
Sep 23, 2009
I want to execute a command on DOS prompt with getting the file name at run time. I tried the following command, it didnt work.[code]...
View 1 Replies
May 4, 2010
I have been added a file setup of SQLExpress into a new folder of vb project (solution explorer) but i don't know how to get that file to execute in runtime. how to Execute that file ?
View 3 Replies
Jun 7, 2011
am currently writing a program that uses multiple scripts we use to diagnose software we use in our environment. Currently, the only we retrieve our information is going to the local machine, and running the script locally, and retrieving the output results. The script is an batch file.The goal of the program I am currently creating is to automate the process by specifying which machines need to have the script ran on, generating the script, dispatching it, executing it, and retrieving the output results from the machine the program is ran on...
View 3 Replies
Jul 20, 2010
I am trying to execute a program with switches that ends up with a shortcut being too long and exceeds the 260 character limit for shortcuts in windows XP:
[Code]...
View 8 Replies
Jun 1, 2010
with vb.net05 + access 03;how can i execute a bunch of SQL statements against a connectionwhich are written in a text file (as like we do in reading from backup file in MySQL)
View 9 Replies