Click here to Skip to main content
15,887,373 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionTime in and time out windows form in vb.net Pin
NOORULLA KHAN8-Apr-13 23:16
NOORULLA KHAN8-Apr-13 23:16 
Question[SOLVED] Word 2010 VBA - Change font color by RGB by find and replace Pin
Bart Van Eyndhoven8-Apr-13 22:31
Bart Van Eyndhoven8-Apr-13 22:31 
AnswerRe: Word 2010 VBA - Change font color by RGB by find and replace Pin
Kenneth Haugland9-Apr-13 2:01
mvaKenneth Haugland9-Apr-13 2:01 
GeneralRe: Word 2010 VBA - Change font color by RGB by find and replace Pin
Bart Van Eyndhoven9-Apr-13 3:42
Bart Van Eyndhoven9-Apr-13 3:42 
GeneralRe: Word 2010 VBA - Change font color by RGB by find and replace Pin
Bart Van Eyndhoven9-Apr-13 21:07
Bart Van Eyndhoven9-Apr-13 21:07 
Questionconversion to exe Pin
karthick.RR8-Apr-13 21:12
karthick.RR8-Apr-13 21:12 
QuestionRe: conversion to exe Pin
Richard MacCutchan8-Apr-13 21:25
mveRichard MacCutchan8-Apr-13 21:25 
QuestionFileNotFoundExpection Error! Pin
Member 99702866-Apr-13 22:59
Member 99702866-Apr-13 22:59 
I have installed the Crystal report for vs 2010. I want to generate the crystal report for my project. I have written the following code on button click event.

VB
Private Sub btnPreview_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPreview.Click
        Dim sqlQRY As String = "SELECT * FROM Customers"

        Dim cmdExec As SqlCeCommand = New SqlCeCommand(sqlQRY, conn)

        'create data adapter
        Dim da As SqlCeDataAdapter = New SqlCeDataAdapter(sqlQRY, conn)

        'create dataset
        Dim ds As DataSet = New DataSet

        'fill dataset
        da.Fill(ds, "Customers")

        Dim Report As frmReports = New frmReports

        Dim mReport As rptCustomers = New rptCustomers

        mReport.SetDataSource(ds)

        Report.CrystalReportViewer1.ReportSource = mReport

        Report.ShowDialog()
    End Sub


But when i run the program I got the following error. What to do?

"Could not load file or assembly 'file:///C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll' or one of its dependencies. The system cannot find the file specified."
AnswerRe: FileNotFoundExpection Error! Pin
Kenneth Haugland7-Apr-13 1:21
mvaKenneth Haugland7-Apr-13 1:21 
QuestionShare local/network printer Pin
Robert Kadar5-Apr-13 4:09
Robert Kadar5-Apr-13 4:09 
AnswerRe: Share local/network printer Pin
Eddy Vluggen5-Apr-13 7:12
professionalEddy Vluggen5-Apr-13 7:12 
AnswerRe: Share local/network printer Pin
Bernhard Hiller7-Apr-13 21:00
Bernhard Hiller7-Apr-13 21:00 
QuestionPlease help me, this program does not work. Pin
Zubair Khalid4-Apr-13 20:44
Zubair Khalid4-Apr-13 20:44 
AnswerRe: Please help me, this program does not work. Pin
Tim Carmichael5-Apr-13 3:08
Tim Carmichael5-Apr-13 3:08 
AnswerRe: Please help me, this program does not work. Pin
Eddy Vluggen5-Apr-13 7:10
professionalEddy Vluggen5-Apr-13 7:10 
JokeRe: Please help me, this program does not work. Pin
Mycroft Holmes6-Apr-13 23:31
professionalMycroft Holmes6-Apr-13 23:31 
GeneralRe: Please help me, this program does not work. Pin
Eddy Vluggen7-Apr-13 6:51
professionalEddy Vluggen7-Apr-13 6:51 
QuestionArgumentOutOfRangeException Pin
IgaBaro4-Apr-13 17:51
IgaBaro4-Apr-13 17:51 
AnswerRe: ArgumentOutOfRangeException Pin
David C# Hobbyist.5-Apr-13 5:55
professionalDavid C# Hobbyist.5-Apr-13 5:55 
Questionsearch a excel document Pin
staticstate2-Apr-13 7:00
staticstate2-Apr-13 7:00 
AnswerRe: search a excel document Pin
Kenneth Haugland2-Apr-13 9:13
mvaKenneth Haugland2-Apr-13 9:13 
GeneralRe: search a excel document Pin
Maciej Los10-Apr-13 3:38
mveMaciej Los10-Apr-13 3:38 
AnswerRe: search a excel document Pin
Maciej Los10-Apr-13 5:10
mveMaciej Los10-Apr-13 5:10 
QuestionSearching Data Pin
Ahmad Rifai Yusuf2-Apr-13 3:45
Ahmad Rifai Yusuf2-Apr-13 3:45 
AnswerRe: Searching Data Pin
Kenneth Haugland2-Apr-13 9:15
mvaKenneth Haugland2-Apr-13 9:15 

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.