can VB automate processes? 
Author Message
 can VB automate processes?

Hello all,
I am from he unix world. For a change I am working in company which has
windows environment.

since i m new to windows, I have a few question. but let me start with
one that is confronting me rite now.

on unix people rite script to do anything, even automate intallation
processes. so in the unix world i would rite scripts which would read
plain text files and feed the input various installation programs.

i was just wondering if there is something like that in the windows
world. i was told VB can do this. but i wasnt told HOW?

so here goes my problem:
i have a program, which needs to be intalled on 20,000 computers. the
program comes with the automated setup program, which prompts the user
several times. now i want to write a VB program which will start this
setup program, and feed in the information to the setup program,
without any user interaction. so the user is not prompted at all. I was
told macros in VB can easily do this for me. I was also told that
macros can be easilty recorded

Can anyone give me more information on how to perform the above stated
tast in VB or any any other language.

Thanks
Saqib Ali

--
God Bless you all
Saqib Ali
http://www.*-*-*.com/
http://www.*-*-*.com/

Sent via Deja.com http://www.*-*-*.com/
Before you buy.



Wed, 18 Jun 1902 08:00:00 GMT  
 can VB automate processes?
ali
you might want to search thru

http://msdn.microsoft.com/default.asp

and search for
"wsh"
and/or
"scripting"

hth, pal
--
andrea dot palazzi at tin dot it
free vb/sw: http://www.comune.modena.it/cittadini/apal/html/


Quote:
> Hello all,
> I am from he unix world. For a change I am working in company which has
> windows environment.
> since i m new to windows, I have a few question. but let me start with
> one that is confronting me rite now.
> on unix people rite script to do anything, even automate intallation
> processes. so in the unix world i would rite scripts which would read
> plain text files and feed the input various installation programs.
> i was just wondering if there is something like that in the windows
> world. i was told VB can do this. but i wasnt told HOW?
> so here goes my problem:
> i have a program, which needs to be intalled on 20,000 computers. the
> program comes with the automated setup program, which prompts the user
> several times. now i want to write a VB program which will start this
> setup program, and feed in the information to the setup program,
> without any user interaction. so the user is not prompted at all. I was
> told macros in VB can easily do this for me. I was also told that
> macros can be easilty recorded
> Can anyone give me more information on how to perform the above stated
> tast in VB or any any other language.
> Thanks
> Saqib Ali
> --
> God Bless you all
> Saqib Ali
> http://www.c0r3dump.com
> http://www.aikia.com/LDP Linux Documentation Project



Wed, 18 Jun 1902 08:00:00 GMT  
 can VB automate processes?
There are deployment systems available to just this sort of thing.
Unfortunately, I can't remember of the acronyms these products go
by--perhaps another reader can augment this with a specific example?


Quote:
> Hello all,
> I am from he unix world. For a change I am working in company which has
> windows environment.

> since i m new to windows, I have a few question. but let me start with
> one that is confronting me rite now.

> on unix people rite script to do anything, even automate intallation
> processes. so in the unix world i would rite scripts which would read
> plain text files and feed the input various installation programs.

> i was just wondering if there is something like that in the windows
> world. i was told VB can do this. but i wasnt told HOW?

> so here goes my problem:
> i have a program, which needs to be intalled on 20,000 computers. the
> program comes with the automated setup program, which prompts the user
> several times. now i want to write a VB program which will start this
> setup program, and feed in the information to the setup program,
> without any user interaction. so the user is not prompted at all. I was
> told macros in VB can easily do this for me. I was also told that
> macros can be easilty recorded

> Can anyone give me more information on how to perform the above stated
> tast in VB or any any other language.

> Thanks
> Saqib Ali

> --
> God Bless you all
> Saqib Ali
> http://www.c0r3dump.com
> http://www.aikia.com/LDP Linux Documentation Project

> Sent via Deja.com http://www.deja.com/
> Before you buy.



Wed, 18 Jun 1902 08:00:00 GMT  
 can VB automate processes?
Try this line:
dim x as long
X = Shell("d:\Setup.exe")

(The shell function will open and run another program)

-Robb



Quote:
> Hello all,
> I am from he unix world. For a change I am working in company which
has
> windows environment.

> since i m new to windows, I have a few question. but let me start with
> one that is confronting me rite now.

> on unix people rite script to do anything, even automate intallation
> processes. so in the unix world i would rite scripts which would read
> plain text files and feed the input various installation programs.

> i was just wondering if there is something like that in the windows
> world. i was told VB can do this. but i wasnt told HOW?

> so here goes my problem:
> i have a program, which needs to be intalled on 20,000 computers. the
> program comes with the automated setup program, which prompts the user
> several times. now i want to write a VB program which will start this
> setup program, and feed in the information to the setup program,
> without any user interaction. so the user is not prompted at all. I
was
> told macros in VB can easily do this for me. I was also told that
> macros can be easilty recorded

> Can anyone give me more information on how to perform the above stated
> tast in VB or any any other language.

> Thanks
> Saqib Ali

> --
> God Bless you all
> Saqib Ali
> http://www.c0r3dump.com
> http://www.aikia.com/LDP Linux Documentation Project

> Sent via Deja.com http://www.deja.com/
> Before you buy.

Sent via Deja.com http://www.deja.com/
Before you buy.


Wed, 18 Jun 1902 08:00:00 GMT  
 can VB automate processes?


Quote:
> Try this line:
> dim x as long
> X = Shell("d:\Setup.exe")
> (The shell function will open and run another program)
> -Robb

yes but it wont automate all subsequent required clicks.
it'll just launch the setup.

best, pal
--
andrea dot palazzi at tin dot it
free vb/sw: http://www.comune.modena.it/cittadini/apal/html/



Wed, 18 Jun 1902 08:00:00 GMT  
 can VB automate processes?
Well, your first problem is :-

   Do you have VB installed on all the computers ?
   If not you are half stuffed - as you need to setup VB first

What is the App you are installing written in ?

How much information do you need to enter - is it the same for each
installation ?

Also what happens to the information - is it stored in an INI file -
or the registry.

Do you have to go through a question and answer routine ?
Are there message boxes popping up ?

If this is a typical Windows Installation,  I would be inclined to
jigger the SETUP.EXE to install OCXs , DLLs etc, using a minimal
Delphi program to force in a few keys.

Then another to write to the registry/INI files.

If VB is definately present then it is easier - just jigger SETUP1.EXE
which is written in VB.

It all depends what your problem really is.

However I would say that if you are installing 20,000 of these things
then you should be able to get the software vendors to provide you
with some assistance.



Wed, 18 Jun 1902 08:00:00 GMT  
 can VB automate processes?
Hello!

Yes, you can automate Setup program using another program, but you need to
install this another program to all computers. Every VB program requires
installation because not all computers have required Runtime libraries. You
can build executables which don't require installation on other programming
languages.
The simplest way to automate Setup program is to simulate keyboard input (VB
SendKeys statement). There are some freeware utilities which use this
method. The more complex but more reliable way consists of using Windows API
(see FindWindow, SendMessage and other API functions).

Sergey Merzlikin
http://smsoft.chat.ru


Quote:
> Hello all,
> I am from he unix world. For a change I am working in company which has
> windows environment.

> since i m new to windows, I have a few question. but let me start with
> one that is confronting me rite now.

> on unix people rite script to do anything, even automate intallation
> processes. so in the unix world i would rite scripts which would read
> plain text files and feed the input various installation programs.

> i was just wondering if there is something like that in the windows
> world. i was told VB can do this. but i wasnt told HOW?

> so here goes my problem:
> i have a program, which needs to be intalled on 20,000 computers. the
> program comes with the automated setup program, which prompts the user
> several times. now i want to write a VB program which will start this
> setup program, and feed in the information to the setup program,
> without any user interaction. so the user is not prompted at all. I was
> told macros in VB can easily do this for me. I was also told that
> macros can be easilty recorded

> Can anyone give me more information on how to perform the above stated
> tast in VB or any any other language.

> Thanks
> Saqib Ali

> --
> God Bless you all
> Saqib Ali
> http://www.c0r3dump.com
> http://www.aikia.com/LDP Linux Documentation Project

> Sent via Deja.com http://www.deja.com/
> Before you buy.



Wed, 18 Jun 1902 08:00:00 GMT  
 can VB automate processes?
well you don't need vb installed on all pc's at all. you just need the run
time files :)

Smac.


Quote:
> Well, your first problem is :-

>    Do you have VB installed on all the computers ?
>    If not you are half stuffed - as you need to setup VB first

> What is the App you are installing written in ?

> How much information do you need to enter - is it the same for each
> installation ?

> Also what happens to the information - is it stored in an INI file -
> or the registry.

> Do you have to go through a question and answer routine ?
> Are there message boxes popping up ?

> If this is a typical Windows Installation,  I would be inclined to
> jigger the SETUP.EXE to install OCXs , DLLs etc, using a minimal
> Delphi program to force in a few keys.

> Then another to write to the registry/INI files.

> If VB is definately present then it is easier - just jigger SETUP1.EXE
> which is written in VB.

> It all depends what your problem really is.

> However I would say that if you are installing 20,000 of these things
> then you should be able to get the software vendors to provide you
> with some assistance.



Wed, 18 Jun 1902 08:00:00 GMT  
 can VB automate processes?
this way is definitely the way to do it but requires a bit of knowledge.
Smac.

Quote:
> Hello!

> Yes, you can automate Setup program using another program, but you need to
> install this another program to all computers. Every VB program requires
> installation because not all computers have required Runtime libraries.
You
> can build executables which don't require installation on other
programming
> languages.
> The simplest way to automate Setup program is to simulate keyboard input
(VB
> SendKeys statement). There are some freeware utilities which use this
> method. The more complex but more reliable way consists of using Windows
API
> (see FindWindow, SendMessage and other API functions).

> Sergey Merzlikin
> http://smsoft.chat.ru



> > Hello all,
> > I am from he unix world. For a change I am working in company which has
> > windows environment.

> > since i m new to windows, I have a few question. but let me start with
> > one that is confronting me rite now.

> > on unix people rite script to do anything, even automate intallation
> > processes. so in the unix world i would rite scripts which would read
> > plain text files and feed the input various installation programs.

> > i was just wondering if there is something like that in the windows
> > world. i was told VB can do this. but i wasnt told HOW?

> > so here goes my problem:
> > i have a program, which needs to be intalled on 20,000 computers. the
> > program comes with the automated setup program, which prompts the user
> > several times. now i want to write a VB program which will start this
> > setup program, and feed in the information to the setup program,
> > without any user interaction. so the user is not prompted at all. I was
> > told macros in VB can easily do this for me. I was also told that
> > macros can be easilty recorded

> > Can anyone give me more information on how to perform the above stated
> > tast in VB or any any other language.

> > Thanks
> > Saqib Ali

> > --
> > God Bless you all
> > Saqib Ali
> > http://www.c0r3dump.com
> > http://www.aikia.com/LDP Linux Documentation Project

> > Sent via Deja.com http://www.deja.com/
> > Before you buy.



Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 9 post ] 

 Relevant Pages 

1. line graph in vb (canned routine)

2. 'Canned' data in VB program

3. Automate Process

4. Automating the Setup Process

5. Automating Account Creation Process?

6. * Automating Process

7. Automated file name processing...

8. Automate right-click...Properties...Hide process

9. Automating a repetitive process in Excel

10. How to automate multi-programs processing in Win 2K Professional (like Batch for DOS)

11. isolating if/then statements - automate process?

12. how to automate an ftp process ?

 

 
Powered by phpBB® Forum Software