Click here to Skip to main content
16,005,473 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionhow to send emails using vb6.0(not through outlook) Pin
psiva198418-Dec-06 18:50
psiva198418-Dec-06 18:50 
AnswerRe: how to send emails using vb6.0(not through outlook) Pin
Johan Hakkesteegt18-Dec-06 20:33
Johan Hakkesteegt18-Dec-06 20:33 
GeneralRe: how to send emails using vb6.0(not through outlook) Pin
Eric Georgiades18-Dec-06 22:22
Eric Georgiades18-Dec-06 22:22 
Questioncontrol resetting Pin
Pradip Kishore18-Dec-06 17:40
Pradip Kishore18-Dec-06 17:40 
AnswerRe: control resetting Pin
Tarakeshwar Reddy18-Dec-06 19:04
professionalTarakeshwar Reddy18-Dec-06 19:04 
GeneralRe: control resetting Pin
Pradip Kishore18-Dec-06 19:30
Pradip Kishore18-Dec-06 19:30 
AnswerRe: control resetting Pin
Martin.Smith19-Dec-06 1:31
Martin.Smith19-Dec-06 1:31 
Questioncrystal report help Pin
Pradip Kishore18-Dec-06 17:25
Pradip Kishore18-Dec-06 17:25 
hi i am having a problem in crystal report.
in the combobox1,i have a list of table name.when i select one name ,then all the data in that table will be inserted into the report table and i ll map all those data to the crystal report.after the report is shown ,then the report table will be blanked..now the problem is that when ever i am accessng the crystal report 1st tme,i can view all the data in the selected table from the combobox1.but on subsequent access to crystal report i cant get the all records inserted(means i always get one record less than the actual value).the code i used is something like below:

Private Sub ButtonReport_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
da = New OleDb.OleDbDataAdapter("select * from " & ComboBox1.SelectedItem & "", cn)
ds.Clear()
ds.Reset()
da.Fill(ds)
Dim i As Integer
For i = 0 To ds.Tables(0).Rows.Count - 1
Try
cm = New OleDb.OleDbCommand("insert into report values ( '" & ds.Tables(0).Rows(i)(0) & "','" & ds.Tables(0).Rows(i)(1) & "','" & ds.Tables(0).Rows(i)(2) & "','" & ds.Tables(0).Rows(i)(3) & "','" & ds.Tables(0).Rows(i)(4) & "','" & ds.Tables(0).Rows(i)(5) & "' )", cn)
cm.ExecuteNonQuery()
Catch ex As Exception
MsgBox(ex.Message)
End Try
Next
Dim frm As New LedgerShow()
frm.CrystalReportViewer1.ReportSource = "E:\Accounts_swt\Accounts\Ledger.rpt"
frm.Update()
frm.Show()
'frm.Update()
frm.Refresh()
ds.Clear()
ds.Reset()

Try
cm = New OleDb.OleDbCommand("delete from report", cn)
cm.ExecuteNonQuery()
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
thanks in advance..

its urgernt please..

i m pradip kishore

AnswerRe: crystal report help Pin
jadaar19-Dec-06 7:22
jadaar19-Dec-06 7:22 
GeneralRe: crystal report help Pin
Pradip Kishore19-Dec-06 17:40
Pradip Kishore19-Dec-06 17:40 
GeneralRe: crystal report help Pin
Pradip Kishore19-Dec-06 21:21
Pradip Kishore19-Dec-06 21:21 
QuestionNeed Help Pin
momooomooomomo18-Dec-06 14:37
momooomooomomo18-Dec-06 14:37 
AnswerRe: Need Help Pin
Paul Conrad18-Dec-06 14:51
professionalPaul Conrad18-Dec-06 14:51 
GeneralRe: Need Help Pin
momooomooomomo18-Dec-06 15:15
momooomooomomo18-Dec-06 15:15 
GeneralRe: Need Help Pin
Dave Kreskowiak18-Dec-06 17:32
mveDave Kreskowiak18-Dec-06 17:32 
GeneralRe: Need Help Pin
momooomooomomo18-Dec-06 18:23
momooomooomomo18-Dec-06 18:23 
QuestionLinking MS Access to vb.net Pin
jady8418-Dec-06 11:56
jady8418-Dec-06 11:56 
AnswerRe: Linking MS Access to vb.net Pin
Dave Kreskowiak18-Dec-06 13:30
mveDave Kreskowiak18-Dec-06 13:30 
AnswerRe: Linking MS Access to vb.net Pin
Eric Georgiades18-Dec-06 22:36
Eric Georgiades18-Dec-06 22:36 
GeneralRe: Linking MS Access to vb.net Pin
jady8419-Dec-06 1:39
jady8419-Dec-06 1:39 
AnswerRe: Linking MS Access to vb.net Pin
Eric Georgiades19-Dec-06 1:46
Eric Georgiades19-Dec-06 1:46 
GeneralRe: Linking MS Access to vb.net Pin
jady8419-Dec-06 1:58
jady8419-Dec-06 1:58 
GeneralRe: Linking MS Access to vb.net Pin
Eric Georgiades19-Dec-06 2:06
Eric Georgiades19-Dec-06 2:06 
QuestionSimple timer help needed Pin
BMackKC18-Dec-06 9:20
BMackKC18-Dec-06 9:20 
AnswerRe: Simple timer help needed Pin
Dave Kreskowiak18-Dec-06 9:34
mveDave Kreskowiak18-Dec-06 9:34 

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.