Launching Programs From DVD?

Sep 24, 2010

I was wondering if someone could help. I have a little vb.net program, an exe, a pdf and a pps all burned on a DVD.My vb.net program will autorun and I have command buttons to open each of the other items from the DVD.I can open all items if I use the proper path but not all rom drives are the same. I have searched for this a lot and there are a lot of inguiries regarding the same but none of the solutions seem to work.I have a work around for D:\ and E:\ drives:

Try
Process.Start("D:\MyPresentation\BHW.pps")
Catch
Process.Start("E:\MyPresentation\BHW.pps")
End Try

I use this for each command button.I have tried Process.Start(Application.Startuppath & "\MyPresentation\BHW.pps") to no avail.

View 9 Replies


ADVERTISEMENT

Build A Class Or A Part Of A Program That Can Be Add Into Other Programs To Be Used In That Programs?

May 27, 2011

I am sure this can be done, as Visual Studio is basically built this way. What I want to do is simply make a class that my other workmates can use. But rather than have it in a code form, I want to build it (partially), and then my workmate can add it into their programs (sort of, like the add reference for the .NET stuff).

View 4 Replies

Coding Programs That Interacted With Other Programs?

Feb 2, 2010

I started with VB 6.0 back when i was 14, I was mostly into coding programs that interacted with other programs. Recently I installed VB.net 2005 pro i got from school, and i grabbed few source codes that teach show interaction, I feel so dumb, i dont remember anything lol. It be great if you guys can share some source codes and other stuff in this field. also other day i was in dream spark and i am able to get copy of VS.net 2010 ultimate edition, are there a lot of major changes, cause i got 2 thick book for VB.net 2005..

View 1 Replies

Distributing Programs: Getting Programs To Users Who Might Want Them?

Feb 23, 2009

When you've finished a program and you're trying to distribute it to the mass public. How is the best way to go about doing this? What sites would you post your program on and getting the word out that there is a new program on the block and it does xyz. This is directed to freeware so there wouldn't be any advertising.

Sorry for not explaining it very well the first time.

View 2 Replies

Launching Another .msi From Within .msi?

Feb 26, 2009

I'm using VB.Net 2005 Pro and have created an .msi for my app using the built-in installation deployment project.When the installation is running however (or at the end of the process) I need it to run another .msi which I'll include in my distribution.How would I go about that? I've tried adding a custom dialog to the installer but that won't run another .msi.

View 3 Replies

Launching Exe Using VB?

Apr 6, 2012

i am having difficulty in lunching an application using vb the application i am trying to launch is a "MicroAppache" a distro of the Appache http server Background When the application is launched, it loads also some dll files and other dependencies.When i use this vb

Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
System.Diagnostics.Process.Start("C:UsersvidhuDesktopwebserverinDebugMicApamapache.exe")
End Sub

to launch the exe. it doesnt load. instead it throws an error the it cannot find its dependencies. BUT When i place the vb app which launches the appache exe in the same directory as the appache exe. it works fine! It seems that the mapache.exe tries to find its depenancies in the directory where the launcher is and not in the directory he is in.Example If the launcher is located in:

C:launcher
and the Apache Server is located in
C:launcherapache
it will not work because it tries to find the other files it needs in
C:launch

If the launcher is located in:

C:launcherapache
and the Apache Server is also located in
C:launcherapache
it Will work

View 2 Replies

Launching A .lnk Using Shell

Jul 26, 2010

I can create a shortcut using this code:

Dim sFolder As String, sTarget As String, sAppName As String
Dim oShell As New WshShell
Dim oShortcut As WshShortcut

[Code]....

View 5 Replies

Launching A Application Using A .vbs?

Dec 14, 2011

This is probaly a simple question, I am not a programmer I am a systems admin. I am trying to launch a application from a visual basic script. Everytime I run the script looks for the application in whatever folder the script is sitting in. If ut the script in the folder where the executable is it works. Unfortunatley this script need to run from users temp directories. What am I doing wrong'

' *****Declaring variables*****
Option Explicit
' Comment the next line out if you are not getting this to work and you need to debug.

[code]....

View 2 Replies

Launching An App With Parameters?

Mar 8, 2009

Okay, I know how to launch a file with its associated app:Process.Start("File.mp3")And I know how to launch an executable: Process.Start("program.exe")This is the best I've been able to come up with for starting an executable with parameters:Process.Start("program.exe", "@ 'List of command line parameters'")Will that work?

View 2 Replies

Launching Applications Using WMI?

Mar 12, 2010

I am writing a basic little program. Amongst everything, my program will let you install printers remotely, To cut a long story shot I don't want to use the rundll32 shortcut to install as you can only remove the printer using rundll32 again which I don't want.

The way I wanted to do it is create a VBS script and execute it remotely using psexec. This didn't work for some reason, locally the script works fine but when executing it remotely the script runs but doesn't perform any of the actions inside the script.

The only other option I can think of is launching the VBS via WMI. I have done a bit of research and I cant seem to find any VB code that does anything similar.

View 2 Replies

[2005] Launching Another .msi From Within .msi!?

Feb 25, 2009

I'm using VB.Net 2005 Pro and have created an .msi for my app using the built-in installation deployment project.

When the installation is running however (or at the end of the process) I need it to run another .msi which I'll include in my distribution.

View 3 Replies

Folderbrowserdialog No Launching And Closing App?

Apr 2, 2012

my folder dialog windows isnt opening. its odd cause its been working for a long time.app closes soon as i click on my button

'Open Folder Dialog
Dim folderDlg As New System.Windows.Forms.FolderBrowserDialog
Dim selectedFolder As String

[code]....

View 7 Replies

Launching A Program With A Button?

Aug 24, 2009

I was looking to launch a program, such as MS Word, by pressing a button on particular form. Is there a way for me to do this?

View 1 Replies

Launching Application On Other Computer

Jan 27, 2011

I created an application in Visual Studio 2010 - visual basic. It works great on computer1 and computer2, but on computer3 and computer4 it crashes when its launched. It says that the program has crashed and more information can be found in 3 files named WER.But in these files i can not see an error.

View 8 Replies

Launching Multiple Files From Just One EXE Possible?

Nov 18, 2010

When I click a button to Shell something, instead of having to specify where the exe (or whatever file it might be) is, i was wondering if I could combine it with VB to make it something like this. Shell ("Internet Explorer.exe"). Also, have VB save the file so anywhere I take that single exe file i made with VB, the exe file I want to shell goes with me. So that way I can launch multiple files from just one exe file and not have any directories to worry about.

View 7 Replies

Multiple Monitors Launching?

May 15, 2010

I have a dual-monitor setup. When I launch the main program, I need to make sure that it always launches in "Screen 1". I have a button within the program that launches another fullscreen window and I need this to always launch in the next available screen (read: not covering the main program window)I am using the System.Windows.Forms.Screen class to try to accomplish this and have have had about 80% success. I can successfully test for multiple monitors (which enables the button). When they click it, I can get it to always launch in the second screen. The problem I'm encountering while testing is the main program is launching in Screen 2, so the second window covers it.

Here's what I'd like to accomplish ultimately: I would like to always launch my program in Maximized stated (and disable resizing,
minimizing/maximizing is ok, just not double-clicking titlebar to resize) in the primary monitor (where Taskbar is being displayed). Then, when the button within the program is pressed, it launches the new window in the NEXT available monitor in Maximized stated.

View 15 Replies

No JIT Debugger Has Been Specified When Launching Application

Nov 19, 2010

I have a vb.net application that I compiled and all, I took the EXe and all and placed it on another pc that has only visual studio express on it.

When I open my .exe I get a message saying No debugger has been found, no Jit Debugger has been specified I can either select retry to find a debugger or click on cancel to forget about the debugger.

If I press cancel, my application launches correctly without any problem.

View 1 Replies

Alarm Clock - Launching App @ Certain Time

Dec 4, 2010

I would like to make an alarm clock application, however I am having some problems in the brainstorming phase.

My main problem is the fact that I dont know how to ensure the application will be able to calculate the time and thus set off the alarm. For example, when the application is closed, how will the alarm go off?

Ideally I would like to make this app a system startup item, so if the system is rebooted, the application will automatically relaunch - but again, I dont know how to do that.

If the system is sleeping, how can I wake it up? These kind of problems.

Another dilema I have, is if this application is always running, how could I have it go to my taskbar hidden icon menu (the right section of the taskbar next to the time).

View 4 Replies

How To Display Off Image Of 'Application Is Launching'

Jul 26, 2009

I have build a small project in vb.net 2008 and after publishing, when I check from the users machine first it's showing the image for connectivity and showing the image "Launching Application" and then my program is running...So how to display off this first image?

View 2 Replies

Launching Process Path That Is Into Textbox?

Mar 25, 2009

Well I just want to make a button that will run the path that is in the textbox I started to add a textbox and a browsing button and than when the path is selected it change the textbox.text to the path name..

Code:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

[Code]....

So Yea I just want to make my other button launch the textbox1.text path and open the process...I dont know if I need to sue shell comand but I tryed many thing and did not get anything working

View 6 Replies

Launching Program Through Textbox And Button?

Jun 17, 2009

I want to launch a program with the program path on the textbox typed in and i will press the button to launch it.

View 3 Replies

Network Connections Disconnected After Launching .NET App?

Feb 17, 2011

I shipped a VB .NET app to my customer. They installed the app in program files folder. The app starts and everything works ok. Now my customer reports that some intranet TCP/IP connections are interrupted after starting the app. Sometimes they are not available after starting my app, sometimes the intranet connections are still available after my app has been started. After my app has been started, there are connection error messages to their intranet services. After re-starting the machine, they still can't connect to the intranet services. A fix is to login with another user name or re-load the profile from the server after they have been logged in on another machine.

Do you have any ideas where to start further investigations? Is it possible that my .NET app interrupts or blocks intranet connections? Could you recommend any trace tool that gives me a hint when and why the intranet connections are blocked? Why could it work for them after they login on another machine?I am wondering if my .NET app could disable the intranet connections. Do you have any recommendation for testing that?

View 5 Replies

Unable To Launching Form Project?

Jan 16, 2012

Just after some quick advise. I have a console application that I've written, its basicly a script that uses arguments passed into it. I have also created a form application which creates pre defined links (.lnk) containing the arguments. I would like these to both be a part of the same exe. So if the are no arguments passed in.

View 7 Replies

VS 2008 Launching A Program Automatically?

Feb 7, 2010

Is it possible to open/start a program at a specific time/date ?

View 2 Replies

VS 2008 Launching A Program On Any Computer?

Feb 7, 2010

Im trying to launch a program from any computer by using Application.StartupPath & "firefox.exe", but i cat get it to open , heres what im using atm.[code]I dont wanna use the full path names as they may be different on other computers, i know Firefox and IE etc will be the same , but im loooking to open any program regardless of its location.

View 2 Replies

.net - Error Launching .NET Application Compiled To Target 'Any CPU'

Nov 2, 2011

I have a .NET application that is shared to around 30 different computers, (mix of 32-bit and 64-bit machines).When compiled, the application is set to target 'Any CPU'.It runs fine on all machines except one that is Windows 7 64 bit.The error message is:

[Code]...

View 1 Replies

.net - IManage ImportCmd Launching New Instance Of Word?

Apr 3, 2009

I'm trying to save a Word document into iManage using ImportCmd from IMANEXTLib and I'm getting a new instance of Word every time I run it.I've saved the document to doc1.doc, and then:

'Connects to WorkSite
Dim dmsConnection As IManage.IManDMS = New IManage.ManDMSClass()
dmsConnection.ApplicationName = "My Application"

[code]....

And at this point, I get a new instance of Word, on top of the one I was saving from (ie, on top of Application).

View 2 Replies

.net - Launching A Child Process And The Windows 7 Taskbar

Sep 30, 2010

We have an application that self-updates using a Laucher.exe process which copies down new App.exe and DLLs from a server then runs them in a separate process. This was all working very well until the arrival of the Windows 7 taskbar... Problem is in Windows 7, if the user pins the Launcher.exe to the task bar (by right-clicking the shortcut to Launcher.exe) then this happens... When you start the program the "pinned" taskbar icon momentarily gets focus while the launcher is running but then a totally separate new icon appears when App.exe is running. If the user then decides to right click the icon from the running App.exe and pin that to the taskbar, they bypass the application update part of the process.

[Code]...

View 1 Replies

Keep Shell Window Open When Launching A Process?

Sep 6, 2011

I would like to launch a command line exe I created. For now it's a test program that writes Hello World to the console. I can launch it, but the shell window it displays it in only stays for a split second.

I know I can add a line to my console mode program (readline). But I would like to control it from the process launch. I will be using console mode programs that I did not write myself, and many of them don't stall the output. I can't find the right properties and methods to control the default shell behavior!

View 5 Replies

Launching Deployed App Error: Stopped Working

Apr 5, 2010

I deployed a VB.Net app and ran it and I get 'AppName has stopped working" "Windows is checking for a solution to the problem" along with a Cancel button under Windows 7. Under XP I am only getting the option to Send the error report to Microsoft or not. There is no apparent way to hook into a debugger. I am not getting any exception data. I have put msgboxes at the very start of my code and they are not hit so it is failing before any of my code is even executing. I have checked all dependencies that I can think of. I developed the app on VS2008 Windows 7 and deploying to Windows 7 and WinXP. I need some advice - how do I debug this?

View 2 Replies







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