Devlopment Some great tutorials regarding devloping a software. Some tutorials on C++,Java and Visual basic. This section also includes Web Development.


Reply
 
LinkBack Thread Tools
Old 15-09-08, 04:00 PM   #1
Hitterman Chopper Challenge Champion
TOTM Winner Feb
 
Hitterman's Avatar
 
Nick Name: Hitty
Join Date: April 2008
About Me: I like to play all the Sports.
Location: India
Posts: 1,533
tSCash: 362968
Hitterman is a splendid one to beholdHitterman is a splendid one to beholdHitterman is a splendid one to beholdHitterman is a splendid one to beholdHitterman is a splendid one to beholdHitterman is a splendid one to behold
Default VB Tutorial for Opening Another application from your EXE.

Requirement:
Visual Basic 6.0
API Viewer (Comes with VB6)


1) First start Visual Basic 6.0.
2) As we know that by default Form1 is created.
3) Add a module to the project .
Quote:
(Select Project>Add Module)

4) Add another new module.
5) Rename the original form to frmMain.
6)Rename the second module to modFunc. (This pace is for our functions

Now comes the Main Part:

Open modFunc module and write the folowing Sub

Code:
Sub OpenApp(File As String)
    'Shells to another program
    X = Shell(File)
End Sub
Calling this sub:

OpenApp (x)

Where 'x' is the Patch or Filename of the file you want to open.
You can put full patch or short filename like
Code:
OpenApp(C:\Windows\shutdown.exe)
(Don't execute this otherwise your PC will shut down.)

That's all Folks!
Hope you liked this. With this you can make a Application via which you can open many programs at once.

Actually i too learned this somewhere else andi remembered some part of it.

__________________
CricketGaming.net .
Hitterman is offline   Reply With Quote
Old 15-09-08, 04:06 PM   #2
shalin_hitter
Global Moderator
 
shalin_hitter's Avatar
 
Nick Name: SRS
Join Date: May 2008
About Me: I love playing
Location: In the mumbai I love one India
Posts: 564
tSCash: 150
shalin_hitter is a glorious beacon of lightshalin_hitter is a glorious beacon of lightshalin_hitter is a glorious beacon of lightshalin_hitter is a glorious beacon of lightshalin_hitter is a glorious beacon of lightshalin_hitter is a glorious beacon of light
Default

Great tutorial
__________________



shalin_hitter is offline   Reply With Quote
Old 15-09-08, 04:21 PM   #3
Hitterman Chopper Challenge Champion
TOTM Winner Feb
 
Hitterman's Avatar
 
Nick Name: Hitty
Join Date: April 2008
About Me: I like to play all the Sports.
Location: India
Posts: 1,533
tSCash: 362968
Hitterman is a splendid one to beholdHitterman is a splendid one to beholdHitterman is a splendid one to beholdHitterman is a splendid one to beholdHitterman is a splendid one to beholdHitterman is a splendid one to behold
Default

Its pretty usefull too.
__________________
CricketGaming.net .
Hitterman is offline   Reply With Quote
Old 15-09-08, 10:58 PM   #4
EliteX
Novice
 
Join Date: June 2008
Location: Dreamland
Posts: 67
tSCash: 738
EliteX is on a distinguished road
Default

good work hitty
__________________
EliteX is offline   Reply With Quote
Old 06-01-09, 07:00 PM   #5
Shreyas
Novice
 
Join Date: April 2008
Location: India
Posts: 42
tSCash: 1020
Shreyas will become famous soon enough
Default

Why not just use the shell function? And API isn't needed, is it?
Shreyas is offline   Reply With Quote
Reply

Bookmarks

Tags
execution, shell, visual basic



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Print the users custom text in VB Hitterman Devlopment 2 30-08-08 05:18 AM




All times are GMT +5.5. The time now is 03:41 AM.


Network: Tutorialistic.net | CricketGaming.net | Down The Wicket | CricketGaming.org | AshesGaming | Wrestle Gaming

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright © 2008 - 10, Tutorialistic.net