Click here to Skip to main content
15,891,033 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: need help in visual basic.net Pin
nishkarsh_k24-Jun-08 18:57
nishkarsh_k24-Jun-08 18:57 
AnswerRe: need help in visual basic.net Pin
Christian Graus24-Jun-08 19:08
protectorChristian Graus24-Jun-08 19:08 
QuestionHow to call RegEx from compiled .DLL Pin
Er2345624-Jun-08 15:55
Er2345624-Jun-08 15:55 
AnswerRe: How to call RegEx from compiled .DLL Pin
Christian Graus24-Jun-08 16:17
protectorChristian Graus24-Jun-08 16:17 
QuestionHow to integrate VB.NET with C++ Pin
boyindie24-Jun-08 8:32
boyindie24-Jun-08 8:32 
AnswerRe: How to integrate VB.NET with C++ Pin
Christian Graus24-Jun-08 11:49
protectorChristian Graus24-Jun-08 11:49 
QuestionDatabase Login window... Pin
CCG324-Jun-08 7:50
CCG324-Jun-08 7:50 
AnswerRe: Database Login window... Pin
Kschuler24-Jun-08 12:11
Kschuler24-Jun-08 12:11 
I've had a similar issue and was only able to get around it with a rather complicated work around. It has to do with the database you designed the report with no longer being located in the same file structure as it was during design time...which is NEVER once you've deployed it and the report is being run on your client's machine.

I got past the issue by including an access database that contained the same table and field structures as I used during design of my crystal report. Then, before I set the report documents datasource or the crystal viewer's ReportSource property, I do the following:

'My schema database has been downloaded to the CurrentUserApplicationData folder via ClickOnce publish settings
Dim strSchemaPath As String = My.Computer.FileSystem.SpecialDirectories.CurrentUserApplicationData & System.IO.Path.DirectorySeparatorChar & "SchemaDB.mdb"
'This will set the login info to the schema DB, even though it has no passwords set, so the login screen will not display
cdReportDocument.DataSourceConnections.Item(0).SetConnection(strSchemaPath, "", False)


This workaround seems very silly, and requires the user to download a good sized file when they really shouldn't have to. But I've posted this question in several forums and no one has been able to help me with a better fix. If you find anything better please let me know.
QuestionHow to call netapi32.dll and extract data from buffer? Sigh... Pin
Jon_Boy24-Jun-08 5:27
Jon_Boy24-Jun-08 5:27 
QuestionIs there any way(s) to do this? Pin
cshong24-Jun-08 3:47
cshong24-Jun-08 3:47 
AnswerRe: Is there any way(s) to do this? Pin
jzonthemtn24-Jun-08 6:34
jzonthemtn24-Jun-08 6:34 
QuestionHow can I set my simple VB.NET program to start in minimized mode? Pin
cshong24-Jun-08 2:47
cshong24-Jun-08 2:47 
AnswerRe: How can I set my simple VB.NET program to start in minimized mode? Pin
Christian Graus24-Jun-08 2:51
protectorChristian Graus24-Jun-08 2:51 
AnswerRe: How can I set my simple VB.NET program to start in minimized mode? Pin
Ahamed Azeem1-Jul-08 23:44
Ahamed Azeem1-Jul-08 23:44 
Questionview in design time but problem in runtime using Infragistic [modified] Pin
rohit tiwary24-Jun-08 1:58
rohit tiwary24-Jun-08 1:58 
AnswerRe: view in design time but problem in runtime using Infragistic Pin
Ashfield24-Jun-08 3:15
Ashfield24-Jun-08 3:15 
GeneralRe: view in design time but problem in runtime using Infragistic Pin
rohit tiwary24-Jun-08 4:26
rohit tiwary24-Jun-08 4:26 
Questionvb6 migration to .net Pin
costavo24-Jun-08 1:54
costavo24-Jun-08 1:54 
AnswerRe: vb6 migration to .net Pin
Christian Graus24-Jun-08 2:51
protectorChristian Graus24-Jun-08 2:51 
AnswerRe: vb6 migration to .net Pin
Chaitanya kumar CVSS25-Jun-08 2:59
Chaitanya kumar CVSS25-Jun-08 2:59 
Questionconverting from SQL server to MySql Pin
ttilque24-Jun-08 1:49
ttilque24-Jun-08 1:49 
AnswerRe: converting from SQL server to MySql Pin
Christian Graus24-Jun-08 1:53
protectorChristian Graus24-Jun-08 1:53 
AnswerRe: converting from SQL server to MySql Pin
jzonthemtn24-Jun-08 6:38
jzonthemtn24-Jun-08 6:38 
GeneralRe: converting from SQL server to MySql Pin
ttilque24-Jun-08 10:42
ttilque24-Jun-08 10:42 
GeneralRe: converting from SQL server to MySql Pin
jzonthemtn24-Jun-08 10:54
jzonthemtn24-Jun-08 10:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.