|
-
Jul 25th, 2003, 09:20 AM
#1
Thread Starter
Frenzied Member
NT login screen
When running my Crystal Report from my app, I had an issue with a login screen poping up before my report would open. I used this code to solve the problem:
VB Code:
'get userid/password to access DB
Dim tbl As CrystalDecisions.CrystalReports.Engine.Table
For Each tbl In rpt.Database.Tables
Dim tbllogin As New CrystalDecisions.Shared.TableLogOnInfo()
tbllogin.ConnectionInfo.UserID = LogonInfo.Mx_Logon
tbllogin.ConnectionInfo.Password = LogonInfo.Mx_Password
tbl.ApplyLogOnInfo(tbllogin)
Next
but this only solved the problem in XP. NT still askes for a login screen...any suggestions?
It's tough being an unhandled exception...
___________
VB.NET 2008
VB.NET 2010
ORACLE 11g
CRYSTAL 11
-
Jul 25th, 2003, 02:20 PM
#2
Thread Starter
Frenzied Member
It's tough being an unhandled exception...
___________
VB.NET 2008
VB.NET 2010
ORACLE 11g
CRYSTAL 11
-
Jul 25th, 2003, 02:45 PM
#3
-
Jul 27th, 2003, 07:10 PM
#4
Thread Starter
Frenzied Member
I don't think a .NET app will run on 98. I thought it was NT or >. The odd thing about this is, a report will open in NT, if it's only one table, but once I link to more than one table, the logon screen appears...doesn't matter what you put in wither...login always fails...damn!
It's tough being an unhandled exception...
___________
VB.NET 2008
VB.NET 2010
ORACLE 11g
CRYSTAL 11
-
Jul 28th, 2003, 02:58 AM
#5
Hyperactive Member
.NET will run on Win98 and newer.
Remember, in order to run a .NET application, you must install the .NET Framework first.
-
Jul 28th, 2003, 07:18 AM
#6
Thread Starter
Frenzied Member
It's tough being an unhandled exception...
___________
VB.NET 2008
VB.NET 2010
ORACLE 11g
CRYSTAL 11
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
|