Running Program Directly From CD Drives

Mar 10, 2010

I am writing a program and want to run the program from the cd drive rather than installing it. What I want to know is how can I work out someones cd drive path, and code it to the rest of the file location so that I wont get errors. Also where would I put this code. So my hard drive path is
C:Moonshine
Obviously users drive letters change, hence my problem.

View 7 Replies


ADVERTISEMENT

IDE :: Publish Directly To Server Would It Disrupt Running Program?

Jun 19, 2009

I have a running program which is installed in the server side and this program is running 24hrs a day. Now I made some enhncements on this program and would like to publish it. I tried to publish first in my local disk but after publishing Im having some errors "Critical error: Required processing file is missing" after clicking the setup.exe file. Now Im thinking of publishing this directly to my server. If I publish it directly to my server would it disrupt the running program? is it safe to do that? or is there something that I need to do it first?

View 6 Replies

Running Powershell Directly From Visual Basic?

Apr 1, 2011

I followed Ziannb article on involking powershell from visual basic. It works great but it doesnt allow me to run scripts with [URL]

- how can i run powershell scripts with arguments from VB

- how can i run one powershell command line at a time from VB. When i use below two command, it pipes the first command to the second one..instead of running them individually :

MyPipeline.Commands.Add("get-childitem")
MyPipeline.Commands.Add("get-date")

View 2 Replies

How To Change Program So That It Runs Off Of All Drives

Apr 18, 2010

For some reason, I can only run my program at college where I created it. It runs off of E:/ (usb port) so when I take it home, it won't run as at home, my E:/ is a CD Drive. How can I change my program so that it runs off of all drives?

View 4 Replies

VS 2008 Cannot Run This Program Directly?

Feb 10, 2010

Instead of having 1 exe file running..everything. I'd like to split it up, and allow to have multiple things running.Now, to help fight piracy, etc. In this main program, will verify an account, etc. Then if they have the program installed, cool. Allow them to run it

View 2 Replies

CRD Files - Importing Directly Into Program?

Dec 17, 2010

We use a program, called CFPS (a flight planning program) and it creates different flights. I can export this file to a CRD-type. When I open it in Wordpad or something, it looks very familiar to a XML-file ("<item></item>...")...but I don't find a way to read it. What is the best way to handle this problem? It would be time saving if I can import these files directly in my program.

View 1 Replies

Creatc Tifs Directly From Program?

Mar 14, 2010

The current applications uses .net printdocument to create print jobs which it sends to a standard printer. We use the blackice tif print driver to capture the output and manage it from there. The problem is that some print jobs take 30 seconds to come out of the queue, and blackice will not allow you to change settings on the driver (like output filename) until the job is complete. This means the application has to wait 30 seconds until it can print the next job. Is there a better way? Can I create/print tif images directly from .Net without a 3rd party print driver?

View 2 Replies

Fill Dictionary(Of TKey, TValue) Directly In Program?

Jul 21, 2010

Is there any way to do the same in VB.NET?[code]...

View 1 Replies

Program Directly Into Crystal Reports Or Need Visual Studio?

Aug 4, 2011

Can i use vb or c# in crystal reports? Or do I need visual studio + plugin? It seems crystal reports only has a math function window.

View 2 Replies

Import All Files With Same Extension Directly In Listbox As Program Loads?

Feb 20, 2012

How do import all files whit the same extension (whit extension i mean all for example .exe files or .avi files) directly in an listbox as the program loads. [code]...

View 4 Replies

Start Learning/using Modules Instead Of Integrating The Code Directly Into The Program?

Jun 22, 2010

I want to start learning/using modules instead of integrating the code directly into the program. So, I tried to make an example. Basically, what I wanted the program to do, is I click button1 and it lists details about my computer. So, I added 7 labels to the form, and a button. Then, I added a module (Module1.vb)

[Code]...

View 8 Replies

VS 2010 : Program To Save Settings To Another Program Without Running The Program That Is Being Edited?

May 5, 2012

is it possible by 1 program to save settings to another program without running the program that is being edited?

View 6 Replies

Prevent Program From Running When It Is Already Running?

Jan 20, 2010

I want to prevent my program from running when it is already running.How can I do that in my vb2008 Code?

View 1 Replies

VS 2010 Program Crashes As Published Executable, Not As Program Running In Studio Or Express?

Jun 6, 2012

I wrote this VB program to be able to throw a device we developed into programming mode where we use an ATMEL Flip installer to upload new firmware. I can program one device after another running the application off of Visual Studio Express 2010 or Visual Studio 2010, but when I go to publish this file and run it on another machine, it becomes unstable and crashes after each upload. On those same computers if I run the raw unpackaged program under Visual Studio Express, the system does not crash, and I can program devices repeatedly.

View 5 Replies

See The Program Running In The Task Manager After Closing The Program?

Oct 10, 2011

have you of any ideas in why does my software in vb 2010 still exist in the task manager (process tab), after i closed the program? i noticed it when i want to delete the .exe file.

View 10 Replies

When Program Executes Must Show An Notification That Program Is Running

May 1, 2009

I want to create a program that will run every start of computer and will check if it is 9:00 AM and can only be seen at the bottom right cornner besides the clock. When the program executes must show an notification that the program is running.

View 4 Replies

Make A Program That Read The File Information Directly From A Specified File?

Oct 10, 2011

I am making trying to make a program that can read the file information directly from a specified file, but I am having a lot of difficulty reading things like file comments.An example of this can be found in windows XP when you alternate / right click on any file and click on properties. You'll get a lot of extra information.Now I have a few questions about this.

1.Can this information even be read in VB.NET
2.If so how
3.If not do I need to create some kind of data file to store the file information

Here is what I did so far

[Code]...

View 4 Replies

Program Not Running Same

Oct 12, 2011

I had the battle system 60% worked out. Went to play some Dragon Age, when I came back nothing was working as the way I left it. I don't know what happened.The richtext box is supposed to disaply the attack monster description, and then it's name, the amount of damage it does. I had it so that I could attack, be attacked, and display damage, and attack discription of both player and monster. when I opened my project to work on it again, hardly anything was working right.[code]

View 9 Replies

Running Cmd From Program

Apr 26, 2011

im a wrtiting a simple vb.net problem that when a button is clicked it launches the command prompt.all i need it to do is open cmd on a buttonclick. i have used [code]this works fine if i substitute iexplore.exe for cmd.exe but when i try to run cmd i get an error message below.

View 1 Replies

Running One Program From Another?

Sep 11, 2009

I am writing a program (that i have recieved a lot of help with) that creates input files for another program. The bridge between the two programs is a program that has been named the task manager as like the windows task manager it shows what tasks are being done/have been done/are about to be done (or executed)

What i would like to know is how can i run the already installed bridge program from my program? Do i need to run it by opening the executable that contains it? Or by declaring the bridge program as a type/structure/class and going from there to open it?If you're not living on the edge, you're taking up too much room

View 2 Replies

Allow Only One Program Running At Specified Time?

Jan 21, 2010

we have this situation, we need to 'force' user to do stock opname at specified time, so when the time has arrived..the stock opname program will run while their current running is'freeze' until the opname is done..

View 10 Replies

Best Speed Up Running Of My Program?

Sep 5, 2011

How do I best speed up running of my program?Once I have simplified code as much as possible, made it smaller. By using loops were appropriate etc.

View 7 Replies

Best Speed Up Running Of Program?

Sep 5, 2011

How do I best speed up running of my prog?Once I have simplified code as much as possible, made it smaller. By using loops were appropriate etc.

View 1 Replies

Block A Program From Running Twice?

Jun 14, 2011

How to block a program from running twice. Show a message box when the program is executed twice

View 1 Replies

Check If A .exe Program Is Running?

May 28, 2010

Although I signed up a year ago I didnt have enough free time to carry on programming, but have now made some time.

I have spent the past 2 hours trying to look for a code for visual basic 2008 that will check if a program is running.

It would be really helpful if someone wrote the whole code out and made it clear exactly where I put them name of the .exe file

View 2 Replies

Check If A Program Is Running

Feb 3, 2009

I am creating a program that will check if a program is running, by checking its window title (NOT THE FILENAME, ITS WINDOW TITLE) and seeing if it is currently running.
So far I was only able to check if the program was running by its filename

[Code]...

View 6 Replies

Check If A Program Is Running?

Sep 13, 2008

I'm making a program in VB to check if a certain program is running, and if not, to start it up, because I'm hardly ever at my computer and sometimes the program that is being checked for existence tends to close down often, so I need something that will check for the existence of the program in question, and start it if it's not running

View 4 Replies

Check If Someone Is Running Program?

Mar 5, 2012

I have a program that 10-20 people use throughout the day. Because things are rapidly fluctuating I occasionally have to take the database offline, or restart the server for other reasons. I'd like to have a better way to make sure no one is currently in the program than walking to each person and asking them.

I don't want to re-invent the wheel if something like this already exists.

The thoughts I had were:

Create a database "history" entry each time users open or close the program to see who is currently using the system. Use WCF to have the clients "tell" the server that they are connected every X seconds.

View 2 Replies

Checking To See If Another Program Is Running?

Feb 3, 2010

I have a program that when youpress a button it opens another program then after that it opens a 2nd program. How can get my program to check the system processes and wait until the first program closes before the 2nd one runs?

View 5 Replies

Close A Running Program?

Jan 3, 2012

I would like to be able to close a running program (service) from another program.I know I can use...

Process.Start("C:XxxYyyProg.exe")
to start program: - Prog.exe
Located at: - C:XxxYyy.

But is there any way to also stop (close) Prog.exe from within another program ? The same one that started it for example...PS I should mention that in this case, Prog.exe is a third party program which I can't alter. It does have an Exit option from a right click.

View 8 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved