Click here to Skip to main content
15,913,486 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionresize problem in listbox Pin
emailthiaga15-Jul-08 3:01
emailthiaga15-Jul-08 3:01 
AnswerRe: resize problem in listbox Pin
John_Adams15-Jul-08 3:16
John_Adams15-Jul-08 3:16 
GeneralRe: resize problem in listbox Pin
emailthiaga15-Jul-08 3:42
emailthiaga15-Jul-08 3:42 
RantRe: resize problem in listbox Pin
Smithers-Jones15-Jul-08 22:08
Smithers-Jones15-Jul-08 22:08 
QuestionBackup & Restore SQL Server database Pin
Rupsaa15-Jul-08 0:30
Rupsaa15-Jul-08 0:30 
AnswerRe: Backup & Restore SQL Server database Pin
Colin Angus Mackay15-Jul-08 3:05
Colin Angus Mackay15-Jul-08 3:05 
GeneralRe: Backup & Restore SQL Server database Pin
Rupsaa15-Jul-08 4:35
Rupsaa15-Jul-08 4:35 
QuestionCompare And copy data Pin
zzsoulzz14-Jul-08 23:39
zzsoulzz14-Jul-08 23:39 
Hi, I am now working on a data compare and copy for datagrid. Below i have the codes the open up this csv file and attached it to the datagrid1.

I am now finding a way to
1. Type in "123123" into the textbox
2. Click a button
3. Compare it with the datagrid1(which has the opened csv file) or compare directly with csv file
4. Copy the whole row on which the "123123" is found and paste into another field or datagrid for display

Public Function Import()<br />
<br />
Dim myPath As String = "c:\testing.csv"<br />
<br />
 Try<br />
<br />
            Dim objDataSet As System.Data.DataSet<br />
            Dim objAdapter As System.Data.OleDb.OleDbDataAdapter<br />
<br />
            strConnection = New System.Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source='" & myPath & " '; " & "Extended Properties=Excel 8.0;")<br />
            objAdapter = New System.Data.OleDb.OleDbDataAdapter("select * from [sheet1$]", strConnection)<br />
            objDataSet = New System.Data.DataSet<br />
            objAdapter.Fill(objDataSet)<br />
            DataGrid1.DataSource = objDataSet.Tables(0).DefaultView<br />
            strConnection.Close()<br />
<br />
        Catch ex As Exception<br />
<br />
            Dim er As String<br />
<br />
            strConnection.Close()<br />
<br />
        End Try


thanks
AnswerRe: Compare And copy data Pin
just3ala215-Jul-08 0:57
just3ala215-Jul-08 0:57 
Questioncan't attach to process when debugging (error code 0x8013134b) Pin
stephan_00714-Jul-08 23:33
stephan_00714-Jul-08 23:33 
QuestionBiometric Device Pin
rajesh_ncc14-Jul-08 23:20
rajesh_ncc14-Jul-08 23:20 
AnswerRe: Biometric Device Pin
jzonthemtn15-Jul-08 2:15
jzonthemtn15-Jul-08 2:15 
QuestionMemory of Hardisk.... Pin
Subjugate14-Jul-08 22:23
Subjugate14-Jul-08 22:23 
AnswerRe: Memory of Hardisk.... Pin
jzonthemtn15-Jul-08 2:17
jzonthemtn15-Jul-08 2:17 
QuestionProxy Sever Coding Pin
Anubhava Dimri14-Jul-08 22:07
Anubhava Dimri14-Jul-08 22:07 
AnswerRe: Proxy Sever Coding Pin
Paul Conrad27-Jul-08 11:06
professionalPaul Conrad27-Jul-08 11:06 
QuestionVB6 NT Services with arguments Pin
a.vehbi14-Jul-08 22:00
a.vehbi14-Jul-08 22:00 
AnswerRe: VB6 NT Services with arguments Pin
ChandraRam14-Jul-08 23:04
ChandraRam14-Jul-08 23:04 
QuestionHi All! i need your help on "How does Open source cater for what Microsoft’s ADO.Net provide". Pin
za4maurice14-Jul-08 22:00
za4maurice14-Jul-08 22:00 
AnswerRe: Hi All! i need your help on "How does Open source cater for what Microsoft’s ADO.Net provide". Pin
Colin Angus Mackay15-Jul-08 13:38
Colin Angus Mackay15-Jul-08 13:38 
QuestionSuprees keyboard input..allow barcode scanner(gun) input Pin
Virani14-Jul-08 21:17
Virani14-Jul-08 21:17 
AnswerRe: Suprees keyboard input..allow barcode scanner(gun) input Pin
Abhishek Sur14-Jul-08 21:36
professionalAbhishek Sur14-Jul-08 21:36 
AnswerRe: Suprees keyboard input..allow barcode scanner(gun) input Pin
ChandraRam14-Jul-08 23:17
ChandraRam14-Jul-08 23:17 
AnswerRe: Suprees keyboard input..allow barcode scanner(gun) input Pin
Dave Kreskowiak15-Jul-08 7:40
mveDave Kreskowiak15-Jul-08 7:40 
AnswerRe: Suprees keyboard input..allow barcode scanner(gun) input Pin
Luc Pattyn15-Jul-08 7:52
sitebuilderLuc Pattyn15-Jul-08 7:52 

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.