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

Visual Basic

 
GeneralRe: get handlers from existing events in vb in an easy way Pin
christoph331-Apr-08 20:54
christoph331-Apr-08 20:54 
QuestionExcel VBA for each non-empty row? Pin
devvvy31-Mar-08 3:30
devvvy31-Mar-08 3:30 
AnswerRe: Excel VBA for each non-empty row? Pin
Dave Kreskowiak1-Apr-08 2:59
mveDave Kreskowiak1-Apr-08 2:59 
GeneralActiveCell.Row --- Re: Excel VBA for each non-empty row? Pin
devvvy1-Apr-08 5:28
devvvy1-Apr-08 5:28 
GeneralFound it! =) Re: Excel VBA for each non-empty row? Pin
devvvy1-Apr-08 5:56
devvvy1-Apr-08 5:56 
Questionhow to store time and date into database... [modified] Pin
Member 444291631-Mar-08 2:47
Member 444291631-Mar-08 2:47 
GeneralRe: how to store time and date into database... Pin
Mitch F.31-Mar-08 9:46
Mitch F.31-Mar-08 9:46 
GeneralProblem reading from excel Pin
AHeavey31-Mar-08 2:33
AHeavey31-Mar-08 2:33 
I'm geting an error message saying that "no value given for one or more required parameters"
e.fullPath is correct and the feild names are identical to the ones in excel apart from 'reason mobilised'. I have put it in [] because of the space. I would do a select * but there are many other feilds that don't need to be read at this stage.

Here's the code:
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
MyConnection = New System.Data.OleDb.OleDbConnection("provider=Microsoft.Jet.OLEDB.4.0;" _
& "data source=" & e.FullPath & "; " & "Extended Properties=Excel 8.0;")
Dim DtSet As System.Data.DataSet
Dim MyCommand As System.Data.OleDb.OleDbDataAdapter
' Select the data from Sheet1 of the workbook.
MyCommand = New System.Data.OleDb.OleDbDataAdapter("select INCIDENT_NO," _
& "INC_TYPE,ESTATE,TOWN,COUNTY,NAME_AND_PHONE_NO,CALLSIGN,[REASON MOBILISED]," _
& "MOBS_DT,MTI,INATT,STOP,MAV,AHS,OPERATOR_INFO from [sheet1$]", MyConnection)
DtSet = New System.Data.DataSet
MyCommand.Fill(DtSet)
MyConnection.Close()
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

As always any help you can provide will be appreciated. Wink | ;)
Colonel-yum-yum WTF | :WTF:
GeneralRe: Problem reading from excel Pin
Dave Kreskowiak2-Apr-08 3:10
mveDave Kreskowiak2-Apr-08 3:10 
GeneralInline images for emails Pin
yaronbo31-Mar-08 1:45
yaronbo31-Mar-08 1:45 
GeneralRe: Inline images for emails Pin
Dave Kreskowiak2-Apr-08 2:53
mveDave Kreskowiak2-Apr-08 2:53 
GeneralDatagridview Column header allignment Pin
Guru_yogi31-Mar-08 1:08
Guru_yogi31-Mar-08 1:08 
GeneralRe: Datagridview Column header allignment Pin
Rupesh Kumar Swami31-Mar-08 1:14
Rupesh Kumar Swami31-Mar-08 1:14 
GeneralRe: Datagridview Column header allignment Pin
Guru_yogi31-Mar-08 1:27
Guru_yogi31-Mar-08 1:27 
GeneralRe: Datagridview Column header allignment Pin
Xmen Real 31-Mar-08 1:38
professional Xmen Real 31-Mar-08 1:38 
GeneralRe: Datagridview Column header allignment Pin
Guru_yogi31-Mar-08 2:13
Guru_yogi31-Mar-08 2:13 
GeneralRe: Datagridview Column header allignment Pin
Rupesh Kumar Swami31-Mar-08 3:48
Rupesh Kumar Swami31-Mar-08 3:48 
Generalword macro Pin
ritu432130-Mar-08 23:03
ritu432130-Mar-08 23:03 
GeneralImporting Data From MS Access Table to SQL Server Table Pin
salman_syed_0130-Mar-08 21:55
salman_syed_0130-Mar-08 21:55 
GeneralRe: Importing Data From MS Access Table to SQL Server Table Pin
John_Adams31-Mar-08 22:57
John_Adams31-Mar-08 22:57 
Questionhow to make the pictures scroll from database (like banner ad's) in vb.net windows applications Pin
Justin Pravin30-Mar-08 21:22
Justin Pravin30-Mar-08 21:22 
GeneralRe: how to make the pictures scroll from database (like banner ad's) in vb.net windows applications Pin
Dave Kreskowiak2-Apr-08 2:45
mveDave Kreskowiak2-Apr-08 2:45 
Questionneed help code for save and update time and stil can retrieve the previous date ad time [modified] Pin
Member 444291630-Mar-08 20:27
Member 444291630-Mar-08 20:27 
GeneralRe: need help code for save and update time and stil can retrieve the previous date ad time Pin
Dave Kreskowiak2-Apr-08 2:42
mveDave Kreskowiak2-Apr-08 2:42 
GeneralRe: need help code for save and update time and stil can retrieve the previous date ad time Pin
Member 44429162-Apr-08 2:49
Member 44429162-Apr-08 2:49 

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.