473,383 Members | 1,785 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Shelled Program and wait for running the third application

In my application I wait for a shelled application to
finish and
continue to work. Everything works fine but when the
shelled program is
up and user tries to open other applications (outside of
my
application) they will not be opened till the shelled
program finishes.

I tested both following methods:

'----(Method 1)----
If File.Exists(lsCasewareAppLocation) Then
Shell(lsCasewareAppLocation + " " + Chr(34) +
lsSelectedFile +
Chr(34), AppWinStyle.NormalFocus, True)
...
Else
....
End IF

'----(Method 2)----
If File.Exists(lsCasewareAppLocation) Then
Dim pInfo As New ProcessStartInfo()
pInfo.FileName = lsSelectedFile
Dim p As Process = Process.Start(pInfo)
p.WaitForInputIdle()
p.WaitForExit()
....
Else
....
End IF
------------------------

Actually this problem happens on client site when they
try to run an
accounting software and it never happens in development
area or with regular applications.

I appreciate you help on this issue.
Thanks,
Mohsen

Nov 20 '05 #1
0 1200

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: J Bunton | last post by:
ShellStr = "C:\temp\wzzip " & ZipOptions & " " & ZipTo & " " & ZipFrom ShellRet=Shell(ShellStr) .. . . . . . msgbox "Done" How can I determin whether the Shelled process is still running.
7
by: Joecx | last post by:
Hi Does anyone have the code or maybe give me a start on how to detect if my program is already running if someone tries to run it again while it's already running? I know I could do this with a...
1
by: John Baker | last post by:
I have an Access frontend that controls the running of several MS SQL Server DTS packages (among other things). I dynamically build a command line for dtsrun, and then use the ShellWait command...
2
by: Ewa Sowa | last post by:
I'm using CeCreateProcess to run a program that installs myApp.exe on my Pocket PC. If myApp is already installed, a dialog box pops up asking if you want to reinstall. Right after myApp.exe is...
4
by: Mohsen Aghazadeh | last post by:
In my application I wait for a shelled application to finish and continue to work. Everything works fine but when the shelled program is up and user tries to open other applications (outside of my...
8
by: koorb | last post by:
I am starting a program from a module with the Sub main procedure and I want it to display two forms for the program's interface, but when I run the program both forms just open and then program...
6
by: Ken | last post by:
When running a program in the debugger, what would cause it to crash without any error messages? I get "The program has exited with code 0 (0x0)". The program is a MDI app with threading for...
27
by: cj | last post by:
I run this program and to exit click the X in the upper right corner. But apparently it isn't really ending the program. If I return to VB and make changes then try to rebuild the app it says the...
6
by: rdemyan via AccessMonster.com | last post by:
Is there a way, in code, to move a shelled application on the screen. I've got the shelled app to open and it centers itself. I would like to move it to the right using code, but I don't know...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.