Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to modify the path in the OLECONTROL
Message
From
23/11/2001 08:50:15
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
To
23/11/2001 08:29:44
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00585086
Message ID:
00585117
Views:
22
Sandra you can do the following:
CREATE TABLE mytable FREE (myfile G)
APPEND BLANK
lcfile = GETFILE()
IF !EMPTY(lcfile)
  SELECT mytable
  APPEND GENERAL myfile FROM (lcfile)
  THISFORM.olebound.ControlSource = "mytable.myfile"
  Thisform.Refresh()
ENDIF
>The user in the application select a file to open in the form. could be an xml, txt, doc etc. so after selecting it, I have to open the file in the form. I am doing it with oleobjects but I dont know how is using the path+filename that the user selected
>
>Kind regards!!!!!!!
Alexandre Palma
Senior Application Architect
Previous
Reply
Map
View

Click here to load this message in the networking platform