C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




opening wordpad applicaiton thru vb.net


Posted Date: 01 Feb 2008    Resource Type: Code Snippets    Category: File Operations

Posted By: rpm77       Member Level: Silver
Rating:     Points: 7



This code will allow user to open wordpad application along with file on button click.
u can open any other application by changing exe file path in this code.



use this code on button_click event. import namespace as


Imports System.Diagnostics


This will store processStart info in "value'
    
Dim value As ProcessStartInfo


This code will accept value i.e. path of exe & file

value = New ProcessStartInfo("wordpad.exe", "C:\\a\xyz.rtf")


This will start above process & take parameter as exe file

Process.Start(value)









Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Vb.net  .  ProcessStartInfo  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: How to Create Folder with Sharing Permisson Using C#
Previous Resource: Writing file through javascript
Return to Discussion Resource Index
Post New Resource
Category: File Operations


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design

it outsourcing

Contact Us    Privacy Policy    Terms Of Use