473,378 Members | 1,564 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,378 software developers and data experts.

vb6 Shell no longer works on Vista

I have an vb6 app that calls another vb6.exe. All works fine until installed on Vista. The code is:

Shell App.path & "\trigger.exe" & procstring

I receive error 5 Invalid procedure call or argurment!

Shell app.path & "\trigger.exe" works on Vista, but I cannot find a way to pass the parameters the executable needs on Vista.
Apr 14 '10 #1
1 1916
vb5prgrmr
305 Expert 100+
It just may be because you do not have a space between exe and the string you are passing... exe" & somestring = exethisparameterbeingpassed and thus your error. Now if that is a typo, then try shellexecute API...



Good Luck
Apr 14 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: dave m | last post by:
I have a small application that launches an application via the shell function when a listening socket receives data from another PC. This works fine using a WinForms environment. However, I...
12
by: Dixie | last post by:
Is there a way to shell to Microsoft Word from Access and load a specific template - using VBA? dixie
4
by: emin.shopper | last post by:
Emacs seems to freeze when doing certain shell commands on Microsoft Windows. The following is a simple example with Xemacs: ---------------------------------------------------------- ...
1
by: Randy | last post by:
I'm using VS 2003. I have a c# ASP project. Lately, when I've been running the project in the IDE, I get a dialog which says... "This source file has changed. It no longer matches the version of...
21
by: Tom Gur | last post by:
Hi, It's seems that csh and tcsh acts a bit different when handling special characters in quotes. i.e: if i'll supply my program with the following arguments: -winpath "c:\\temp\\" tcsh will...
25
by: dennijr | last post by:
ok, shell always used to be easy for me, now its starting to get annoying cause i dont know wats wrong heres the simplist code possible: Private Sub IExplorer_Click() a = Shell("C:\Program...
4
by: nagar | last post by:
On certain occasions I get COM exceptions errors when enumerating the Windows Explorer active windows Some customers reported the error System.OutOfMemoryException: Retrieving the COM class...
4
by: Rinaldo | last post by:
Hi, when I trying to open the form designer in 2008 I get the following error: The service Microsoft.VisualStudio.Shell.Interop.ISelectionContainer already exists in the service containter....
2
by: =?Utf-8?B?Vi5DaG9ja2FsaW5nYW0u?= | last post by:
IDE : VS .NET 2003, Platform : .NET 2.0, Hi All, I have my project in VS.Net 2003 (VB.Net). The OS is Vista Ultimate. In a form's Button_Click() event i call a dll which calls another dll and...
6
by: ARC | last post by:
Hello all, 2 questions: 1) I'm trying to write my own html file using the following statement, where "pastetext" is set with the proper html code. filena = outputfolder &...
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
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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.