Click here to Skip to main content
15,909,939 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: date time matching Pin
_tasleem8-Jul-06 1:44
_tasleem8-Jul-06 1:44 
GeneralRe: date time matching [modified] Pin
Guffa8-Jul-06 2:07
Guffa8-Jul-06 2:07 
GeneralRe: date time matching Pin
_tasleem8-Jul-06 2:15
_tasleem8-Jul-06 2:15 
AnswerRe: date time matching Pin
Guffa8-Jul-06 5:20
Guffa8-Jul-06 5:20 
GeneralRe: date time matching Pin
Asif Sayed8-Jul-06 6:17
Asif Sayed8-Jul-06 6:17 
QuestionWebClient + How to? [modified] Pin
alexvw7-Jul-06 14:54
alexvw7-Jul-06 14:54 
QuestionCrystal report asking for UserName & Password Pin
Syed Ali Raza7-Jul-06 10:17
Syed Ali Raza7-Jul-06 10:17 
AnswerRe: Crystal report asking for UserName & Password Pin
Dave Sexton7-Jul-06 21:53
Dave Sexton7-Jul-06 21:53 
i had the same problem, this is basically how i solved it.

use this code to generate your report -

<br />
Private Function SetDataSource _ <br />
(ByVal conn As String, ByVal query As String, _<br />
ByVal dataSet As DataSet)<br />
<br />
   ' create a new connection & data adapter object <br />
   Dim oleConn As New OleDbConnection(conn)<br />
   Dim oleAdapter As New OleDbDataAdapter()<br />
   'pass your query to the data adapter<br />
   oleAdapter.SelectCommand = New OleDbCommand(query, oleConn)<br />
<br />
   ' Connect to the data source, fetch the data, and disconnect <br />
   ' from the database.<br />
   Try<br />
     oleAdapter.Fill(dataSet, "Books")<br />
   Catch ex as Exception<br />
     Messagebox.Show(ex.InnerException.ToString)<br />
   End Try<br />
<br />
   ' Pass the populated data set to the report.<br />
   Report.SetDataSource(dataSet)<br />
   <br />
   ' Set the report viewer to show the report (if you have<br />
   ' multiple reports for the same viewer and haven't set<br />
   ' the ReportSource property of the viewer)<br />
   Form1.CrystalReportViewer1.ReportSource = Report<br />
<br />
End Function<br />
<br />

Questionproblem using LVM_SETTEXTBKCOLOR to change color of listview text [modified] Pin
method0077-Jul-06 6:20
method0077-Jul-06 6:20 
AnswerRe: problem using LVM_SETTEXTBKCOLOR to change color of listview text Pin
Dave Kreskowiak7-Jul-06 7:05
mveDave Kreskowiak7-Jul-06 7:05 
GeneralRe: problem using LVM_SETTEXTBKCOLOR to change color of listview text Pin
method0077-Jul-06 7:07
method0077-Jul-06 7:07 
GeneralRe: problem using LVM_SETTEXTBKCOLOR to change color of listview text Pin
Dave Kreskowiak7-Jul-06 7:18
mveDave Kreskowiak7-Jul-06 7:18 
GeneralRe: problem using LVM_SETTEXTBKCOLOR to change color of listview text Pin
method0077-Jul-06 7:35
method0077-Jul-06 7:35 
GeneralRe: problem using LVM_SETTEXTBKCOLOR to change color of listview text Pin
Dave Kreskowiak7-Jul-06 9:46
mveDave Kreskowiak7-Jul-06 9:46 
GeneralRe: problem using LVM_SETTEXTBKCOLOR to change color of listview text Pin
method0077-Jul-06 9:58
method0077-Jul-06 9:58 
GeneralRe: problem using LVM_SETTEXTBKCOLOR to change color of listview text [modified] Pin
Dave Kreskowiak7-Jul-06 10:09
mveDave Kreskowiak7-Jul-06 10:09 
GeneralRe: problem using LVM_SETTEXTBKCOLOR to change color of listview text [modified] Pin
method0077-Jul-06 10:17
method0077-Jul-06 10:17 
GeneralRe: problem using LVM_SETTEXTBKCOLOR to change color of listview text [modified] Pin
Dave Kreskowiak7-Jul-06 10:20
mveDave Kreskowiak7-Jul-06 10:20 
GeneralRe: problem using LVM_SETTEXTBKCOLOR to change color of listview text Pin
method0077-Jul-06 10:34
method0077-Jul-06 10:34 
GeneralRe: problem using LVM_SETTEXTBKCOLOR to change color of listview text Pin
Dave Kreskowiak7-Jul-06 10:37
mveDave Kreskowiak7-Jul-06 10:37 
GeneralRe: problem using LVM_SETTEXTBKCOLOR to change color of listview text Pin
method0077-Jul-06 10:41
method0077-Jul-06 10:41 
GeneralRe: problem using LVM_SETTEXTBKCOLOR to change color of listview text Pin
Dave Kreskowiak8-Jul-06 4:59
mveDave Kreskowiak8-Jul-06 4:59 
QuestionMultiple Hashtable Pin
BlueKooZZZZZZZZ7-Jul-06 5:01
BlueKooZZZZZZZZ7-Jul-06 5:01 
QuestionRe: Multiple Hashtable Pin
BlueKooZZZZZZZZ7-Jul-06 6:20
BlueKooZZZZZZZZ7-Jul-06 6:20 
AnswerRe: Multiple Hashtable Pin
Jun Du7-Jul-06 7:23
Jun Du7-Jul-06 7:23 

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.