Solved

shell an exe

Posted on 1998-06-17
1
305 Views
Last Modified: 2010-05-03
I have several programs zipped into a self  extracting exe format  [ done in winzip [win 3.1]16bit ] called "xyz.exe"
What coding do I use [ in vb5 ] for a command button to unpack this file. I use the following code

dim retval
retval = shell("c:/test/xyz.exe", 1)
Nothing happens
is the 16 vs 32 bit the problem?.
0
Comment
Question by:hjaycox
1 Comment
 

Accepted Solution

by:
topol earned 50 total points
ID: 1463594
Nothing happens because you don't specify the directory where to unzip. Probably, you can do it passing arguments in a command line.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question