Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Program Hyperlink to Word Document
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00878059
Message ID:
00878790
Views:
20
Thank you very very much!

Tai Fei Pao

>>oWord = CREATEOBJECT("Word.Application")
>>oWord.Documents.Add()
>>WITH oWord.ActiveDocument
>> .Hyperlinks.Add(oWord.Selection.Range, "http://www.levelextreme.com/","", "", "Your Text To Display of Hyperlink")
>>ENDWITH
>>oWord.Visible = .t.
>>
>
>..... && Your code here
>
>oWord.DisplayAlerts = 0
>oWord.Close(0)
>oWord.Quit()
>oWord = NULL
>
Previous
Reply
Map
View

Click here to load this message in the networking platform