|
Subject:
|
develop VB6 application under Win2000 for Win98
|
|
Posted By:
|
pavel
|
Post Date:
|
11/14/2003 11:03:08 AM
|
Hi to everyone. We are developing our application with VB6 under Windows 2000. It looks like there is a problem to run it under Windows 98. Is there known problem and how to fix it?
Thanks a lot for your help Pavel
|
|
Reply By:
|
Yehuda
|
Reply Date:
|
11/14/2003 11:04:51 AM
|
What error are you getting? What is your program doing?
|
|
Reply By:
|
pavel
|
Reply Date:
|
11/14/2003 1:33:31 PM
|
Dear Yehuda. Hi. In the part of application which is not working under Win 98 we use Framecontrol to display and modify word document. Error message is "Name of our application" in the Title and "This program has performed and illegal operation and will be shut down" Pavel
|
|
Reply By:
|
Yehuda
|
Reply Date:
|
11/14/2003 1:38:08 PM
|
Do you have error handling? Are you incorporating the word API? If so, what version of word? Do you know what line of code it dies at?
|
|
Reply By:
|
pavel
|
Reply Date:
|
11/14/2003 5:15:22 PM
|
Yes, No, Word 2000. And Code it dies is:
Set oWordApp = CreateObject("Word.Application") oWordApp.Documents.Open fname Set docFile = oWordApp.Documents(1)
|
|
Reply By:
|
BrianWren
|
Reply Date:
|
12/10/2004 5:25:21 PM
|
Pavel, you said that you have a frame control. I don’t see that in your code snippet?
|