|
-
Feb 8th, 2005, 03:12 PM
#1
Thread Starter
New Member
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
-
Feb 14th, 2005, 08:13 PM
#2
Fanatic Member
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?
-
Feb 16th, 2005, 11:47 PM
#3
Thread Starter
New Member
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.
-
Feb 17th, 2005, 12:43 AM
#4
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

VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|