Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error message
Message
From
12/06/2007 04:29:59
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Error message
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01232179
Message ID:
01232179
Views:
57
hi all,
i try to convert excel sheet to dbf via this code...
i got erorr message OLE error code 0x80030020:ashare violation hase occurred.

thanks for help
CLOSE all
SET DATE BRITISH
SET CENTURY on
thisform.text9.Value=GETFILE('xls')
**************************************************
   declare long ShellExecute in "shell32.dll" ;
	long hwnd, string lpszOp, ;
	string lpszFile, string lpszParams, ;
    string lpszDir, long nShowCmd
ShellExecute(0,'Open',thisform.text9.Value,'','',1)
********************************************************
IMPORT FROM (thisform.text9.value) TYPE xls &&&erorr message 
Next
Reply
Map
View

Click here to load this message in the networking platform