Lost Password?

Go Back   CodeCall Programming Forum > Software Development > Visual Basic Programming

Visual Basic Programming Discussion forum for Visual Basic, an event driven programming language and associated development environment from Microsoft for its COM programming model.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-06-2008, 07:02 PM
nickahs18 nickahs18 is offline
Newbie
 
Join Date: May 2008
Posts: 1
Rep Power: 0
nickahs18 is on a distinguished road
Default Help with visual basic 2008

Hello all,
I was wondering how to code a button that can open a different program such as notepad or any other program.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 05-07-2008, 02:23 PM
Xav's Avatar   
Xav Xav is offline
Guru
 
Join Date: Mar 2008
Location: London, England
Posts: 3,190
Last Blog:
The Windows Registry
Rep Power: 28
Xav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to all
Send a message via MSN to Xav
Default Re: Help with visual basic 2008

This is certainly possible using the .NET Framework. You use a Process object, as in:
Code:
Dim app As Process
Experiment with its object members and constructor to find out how to set the program, because I've forgotten. I think you call the Start() method to begin the process, i.e. start the program.
__________________
Xav, the power of youth
Worship the Creator... not his creations
Web Site | Beta Site
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



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

Advanced Search
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Just got visual studio 2008, now i need some books! K3Y Visual Basic Programming 4 03-07-2008 08:41 PM
Visual Studio 2008: C# Hello World Tutorial Jordan CSharp Tutorials 1 02-27-2008 07:48 AM
Tutorial: Visual Studio 2008 Obfuscating with Dotfuscator Jordan Tutorials, Classes and Code 0 02-08-2008 02:01 PM
Visual Studio 2008 Express Beta 2 Download Jordan Programming News 2 08-03-2007 01:05 PM


All times are GMT -5. The time now is 06:16 PM.

Contest Stats

dargueta ........ 128.00000
John ........ 127.00000
Xav ........ 107.00000
gaylo565 ........ 18.00000
Johnnyboy ........ 3.00000
navghost ........ 1.00000

Contest Rules

Ads