View Single Post
  #1 (permalink)  
Old June 12th, 2003, 10:16 AM
Shoedat Shoedat is offline
Registered User
Join Date: Jun 2003
Location: , LA, .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Opening a .doc file for view

I have a variable named StrJobNum that i get from a list box that the user selects. On my hard drive are .doc files that each match one of the given selections from the list box. So what I need is for my program to then open the .doc files in word with something like "C:\My Documents\StrJobNum.doc" and I have each file for every given situation for StrJobNum. So if my StrJobNum is A1024, I want it to open C:\My Documents\A1204.doc in word, or if possible then make it splash up onto the screen. Thanks guys :) I wish i was smart enough but i haven't got there yet :(
Reply With Quote