Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Dispatch error
Message
 
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01155551
Message ID:
01155588
Views:
22
>>My point is that you may need to set visible before setting width and other properties. Anyway, I'm not familiar with this particular syntax. What is your goal for this program?
>
>Well I set the names of the columns to more meaningful names than the exported table. I put the .Visible at the end so that the shifting and resizing of columns and text, etc. doesn't flash (like setting .LockScreen on and off). Now I've put the visible back near the top, it looks bad as everything resizes but I don't get the same OLS dispatch error.
>
>However, now I get different dispatch errors as I come out of the s/s. I wish I could just do some dev. instead of firefighting all day!
>
>Are you sure that putting .visible up front is necessary? It worked fine for me on my m/c till today.

No, I'm not sure about all these errors. I think Borislav's response should help you.

Since you're using VFP7 you would have to resort to ON ERROR approach...
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform