Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Automatically Open Pword With A Word File


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-26-2008, 01:48 PM
Newbie
 
Join Date: Mar 2008
Posts: 4
Default Automatically Open Pword With A Word File

hi all..

can someone guide me how to open pword with my file automatically. here is my situation:

i have a button..when i click the button..i want to open my help file (pword format)..

currently i just manage to open pword then have to browse the file.

thanx in advance
Reply With Quote
  #2 (permalink)  
Old 03-26-2008, 02:06 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

Did you try to pass the file name as an argument?
Reply With Quote
  #3 (permalink)  
Old 03-26-2008, 03:24 PM
Newbie
 
Join Date: Mar 2008
Posts: 4
Default

im not quite sure the sytanx

shell("pword","help.doc") <-- like this?
Reply With Quote
  #4 (permalink)  
Old 03-26-2008, 03:31 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

Yes. You should supply the full path:
Code:
shell("pword",AppPath & "\help.doc") 'Assuming that the help file is in the same folder of your code.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

vB 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
Word wrap problem agraham Beta Versions 1 08-27-2008 11:02 AM
file open question scott93727 Questions & Help Needed 4 05-30-2008 10:07 AM
automatically send a csv file via active-sync sunnyboyj Questions & Help Needed 3 12-22-2007 02:35 PM
open a text file with Word mwaite Questions & Help Needed 6 06-16-2007 10:03 AM
Screen orientation changes automatically? mwaite Questions & Help Needed 3 05-01-2007 07:53 PM


All times are GMT. The time now is 02:28 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0