Click here to Skip to main content
15,895,084 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to Open a notepad from VBA....Urgent Pin
winpoorni23-Feb-06 20:22
winpoorni23-Feb-06 20:22 
AnswerRe: How to Open a new notepad from VBA....Urgent Pin
Divya Rathi23-Feb-06 20:33
Divya Rathi23-Feb-06 20:33 
QuestionHow to Open a new notepad from VBA....Urgent Pin
winpoorni23-Feb-06 22:10
winpoorni23-Feb-06 22:10 
AnswerRe: How to Open a new notepad from VBA....Urgent Pin
sathish s24-Feb-06 1:10
sathish s24-Feb-06 1:10 
AnswerRe: How to Open a new notepad from VBA....Urgent Pin
Divya Rathi24-Feb-06 9:17
Divya Rathi24-Feb-06 9:17 
QuestionHow to set the form with a fixd style? Pin
cylix200023-Feb-06 19:06
cylix200023-Feb-06 19:06 
Question2 Important but basic questions. Pin
ThePmanLives23-Feb-06 18:13
ThePmanLives23-Feb-06 18:13 
AnswerRe: 2 Important but basic questions. Pin
Joshua Quick24-Feb-06 8:05
Joshua Quick24-Feb-06 8:05 
You can access files via the System.IO.File class.
Here's a quick example on how to read a text file.
Dim sr As System.IO.StreamReader
Dim text As String = String.Empty
Try
   sr = System.IO.File.OpenText("c:\text.txt")
   text = sr.ReadToEnd()
Catch
Finally
   If (Not (sr Is Nothing)) Then sr.Close()
End Try

And right, the standard TextBox doesn't take a DataSource. You'll either have to push your database info into it yourself or use a different control.
GeneralRe: 2 Important but basic questions. Pin
ThePmanLives24-Feb-06 17:19
ThePmanLives24-Feb-06 17:19 
AnswerRe: 2 Important but basic questions. Pin
Joshua Quick24-Feb-06 20:24
Joshua Quick24-Feb-06 20:24 
GeneralRe: 2 Important but basic questions. Pin
ThePmanLives25-Feb-06 3:09
ThePmanLives25-Feb-06 3:09 
GeneralRe: 2 Important but basic questions. Pin
Joshua Quick25-Feb-06 7:29
Joshua Quick25-Feb-06 7:29 
QuestionMapping Excel columns with XML data (XML data integration) programmatically Pin
winpoorni23-Feb-06 17:22
winpoorni23-Feb-06 17:22 
QuestionA connection was successfully established with the server, but Pin
pandapatin23-Feb-06 15:31
pandapatin23-Feb-06 15:31 
AnswerRe: A connection was successfully established with the server, but Pin
Dave Kreskowiak24-Feb-06 16:50
mveDave Kreskowiak24-Feb-06 16:50 
GeneralRe: A connection was successfully established with the server, but Pin
pandapatin25-Feb-06 0:44
pandapatin25-Feb-06 0:44 
GeneralRe: A connection was successfully established with the server, but Pin
Dave Kreskowiak25-Feb-06 3:40
mveDave Kreskowiak25-Feb-06 3:40 
Questionhow to save image file into sql database Pin
thepityone23-Feb-06 14:07
thepityone23-Feb-06 14:07 
AnswerRe: how to save image file into sql database Pin
Rana Muhammad Javed Khan23-Feb-06 17:53
Rana Muhammad Javed Khan23-Feb-06 17:53 
GeneralRe: can save image file into text or dat..? Pin
campbells23-Feb-06 18:13
campbells23-Feb-06 18:13 
AnswerRe: how to save image file into sql database Pin
alien viper23-Feb-06 18:15
alien viper23-Feb-06 18:15 
QuestionAutonumeric byte column wont increment Pin
AlexeiXX323-Feb-06 13:59
AlexeiXX323-Feb-06 13:59 
AnswerRe: Autonumeric byte column wont increment Pin
Dave Kreskowiak24-Feb-06 1:13
mveDave Kreskowiak24-Feb-06 1:13 
QuestionRe: Autonumeric byte column wont increment Pin
AlexeiXX324-Feb-06 4:26
AlexeiXX324-Feb-06 4:26 
AnswerRe: Autonumeric byte column wont increment Pin
Dave Kreskowiak24-Feb-06 9:06
mveDave Kreskowiak24-Feb-06 9:06 

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.