Click here to Skip to main content
15,916,288 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to create DLL with vb.net to run with rundll32.exe Pin
Reuven Elliassi26-Apr-07 22:08
Reuven Elliassi26-Apr-07 22:08 
AnswerRe: How to create DLL with vb.net to run with rundll32.exe Pin
Christian Graus26-Apr-07 23:09
protectorChristian Graus26-Apr-07 23:09 
GeneralRe: How to create DLL with vb.net to run with rundll32.exe Pin
Reuven Elliassi26-Apr-07 23:40
Reuven Elliassi26-Apr-07 23:40 
QuestionZModem Code Pin
tomtom7626-Apr-07 21:46
tomtom7626-Apr-07 21:46 
QuestionDataGrid View Control Doubt Pin
A.Muthunagai26-Apr-07 21:39
A.Muthunagai26-Apr-07 21:39 
QuestionGetting the path of a selected file thats is to be copied Pin
aasim baltee26-Apr-07 20:27
aasim baltee26-Apr-07 20:27 
QuestionProblem while reading from CSV file in VB 6.0 Pin
virendra_00726-Apr-07 19:40
virendra_00726-Apr-07 19:40 
AnswerRe: Problem while reading from CSV file in VB 6.0 Pin
manowj26-Apr-07 21:08
manowj26-Apr-07 21:08 
Hi,

Check this out.

Private Sub cmdGo_Click()
Dim file_name As String
Dim fnum As Integer
Dim whole_file As String
Dim lines As Variant
Dim num_rows As Long
Dim the_array() As Variant
Dim R As Long
Dim C As Long

file_name = App.Path
If Right$(file_name, 1) <> "\" Then file_name = _
file_name & "\"
file_name = file_name & "test.csv"

' Load the file.
fnum = FreeFile
Open file_name For Input As fnum
whole_file = Input$(LOF(fnum), #fnum)
Close fnum

' Break the file into lines.
lines = Split(whole_file, vbCrLf)

' Dimension the array.
num_rows = UBound(lines)
ReDim the_array(num_rows)

' Copy the data into the array.
For R = 0 To num_rows
the_array(R) = Split(lines(R), ",")
Next R

' Prove we have the data loaded.
For R = 0 To UBound(the_array)
For C = 0 To UBound(the_array(R))
Debug.Print the_array(R)(C) & "|";
Next C
Debug.Print
Next R
Debug.Print "======="
End Sub


Regards,
Manowj

GeneralRe: Problem while reading from CSV file in VB 6.0 Pin
virendra_00726-Apr-07 22:39
virendra_00726-Apr-07 22:39 
GeneralRe: to Manoj Pin
virendra_00727-Apr-07 1:34
virendra_00727-Apr-07 1:34 
QuestionQuestions on Data Reports [modified] Pin
Kumaran21cen26-Apr-07 18:07
Kumaran21cen26-Apr-07 18:07 
QuestionToo many Filewatches! Pin
rudemusik26-Apr-07 16:58
rudemusik26-Apr-07 16:58 
AnswerRe: Too many Filewatches! Pin
KevinMac26-Apr-07 17:12
KevinMac26-Apr-07 17:12 
GeneralRe: Too many Filewatches! Pin
rudemusik27-Apr-07 1:34
rudemusik27-Apr-07 1:34 
GeneralRe: Too many Filewatches! Pin
KevinMac27-Apr-07 5:21
KevinMac27-Apr-07 5:21 
GeneralRe: Too many Filewatches! Pin
rudemusik27-Apr-07 15:43
rudemusik27-Apr-07 15:43 
QuestionC# convert problem Pin
Xmen Real 26-Apr-07 15:29
professional Xmen Real 26-Apr-07 15:29 
AnswerRe: C# convert problem Pin
MatrixCoder26-Apr-07 16:05
MatrixCoder26-Apr-07 16:05 
GeneralRe: C# convert problem Pin
Xmen Real 26-Apr-07 16:13
professional Xmen Real 26-Apr-07 16:13 
QuestionAbsolutely URGENT help needed - Collections Pin
new_rez26-Apr-07 13:11
new_rez26-Apr-07 13:11 
AnswerRe: Absolutely URGENT help needed - Collections Pin
Christian Graus26-Apr-07 13:36
protectorChristian Graus26-Apr-07 13:36 
GeneralRe: Absolutely URGENT help needed - Collections Pin
new_rez26-Apr-07 14:19
new_rez26-Apr-07 14:19 
GeneralRe: Absolutely URGENT help needed - Collections Pin
new_rez26-Apr-07 14:24
new_rez26-Apr-07 14:24 
GeneralRe: Absolutely URGENT help needed - Collections Pin
Christian Graus26-Apr-07 14:36
protectorChristian Graus26-Apr-07 14:36 
GeneralRe: Absolutely URGENT help needed - Collections Pin
new_rez26-Apr-07 14:45
new_rez26-Apr-07 14:45 

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.