CreateFieldDefFile in Windows 98
Hi,
I was wondering why the following code does not want to work in Win 98:
Declare Function CreateFieldDefFile Lib "p2smon.dll" (lpUnk As Object, ByVal fileName As String, ByVal bOverWriteExistingFile As Long) As Long
This creates a text file of the database structure for Crystal Reports, but an error message says that p2smon.dll is not found. It is in the system directory, but it does not want to register.
Any solution to this?
Thanks
Re: CreateFieldDefFile in Windows 98
ahh win98, is this ur comp? if so, UPGRADE!?
what kind of register error are you getting? have u googled?
Re: CreateFieldDefFile in Windows 98
No, I have XP on my computer, but I am trying to accomodate users that may still be using 98.
I did figure out that I don't need to create the file once I have created the report in CR and have attached the data structure to it. So my original question is not an issue.
But I am having a problem getting a "Physical database not found" error message when I try to view the report with crviewer. I have tried loading other dlls, but I still can't get past the error.
Re: CreateFieldDefFile in Windows 98
Physical Database Not Found error is because of a few reasons. If you dont have all
the required dependencent dlls, LogOn to the server via CR code in VB, have a corrupt
dll in memory, etc.
If you have the Developer version of CR you will have a help file called
Runtime.hlp. It contains all the required dlls/ocxes for each method/function/
and control used in your vb project.
It is located -
?:\Program Files\Seagate Software\Crystal Reports\Developer Files\Help\Runtime.hlp
:thumb: