Click here to Skip to main content
15,899,679 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: site templating... how? Pin
Dave Kreskowiak29-Apr-05 2:02
mveDave Kreskowiak29-Apr-05 2:02 
GeneralTips of a class Pin
roberto1979es28-Apr-05 9:19
roberto1979es28-Apr-05 9:19 
GeneralRe: Tips of a class Pin
rudy.net28-Apr-05 17:39
rudy.net28-Apr-05 17:39 
GeneralClose form Pin
ADY00728-Apr-05 8:12
ADY00728-Apr-05 8:12 
GeneralRe: Close form Pin
Anonymous29-Apr-05 3:31
Anonymous29-Apr-05 3:31 
GeneralClose form Pin
ADY00729-Apr-05 4:32
ADY00729-Apr-05 4:32 
GeneralRe: Close form Pin
Dave Kreskowiak29-Apr-05 5:38
mveDave Kreskowiak29-Apr-05 5:38 
GeneralRe: Close form Pin
ADY00729-Apr-05 5:51
ADY00729-Apr-05 5:51 
THIS IS THE PROGRAM FORM:

Private Sub frmBudget_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim strLoadText As System.IO.StreamReader
Dim strtext As String
strLoadText = New System.IO.StreamReader("C:\Documents and Settings\PsYcHo_A\My Documents\Visual Studio Projects\Budget Program\Registration.txt")
Dim obj As New Register

strtext = strLoadText.ReadLine
strLoadText.Close()

If strtext = "" Then
obj.ShowDialog()
strLoadText.Close()
End If

If strtext = "" = False Then
strLoadText.Close()
Dim sr As New System.IO.StreamReader("C:\Documents and Settings\PsYcHo_A\My Documents\Visual Studio Projects\Budget Program\Transactions.txt")

Do While sr.Peek <> -1
lbLM.Items.Add(sr.ReadLine())
Loop

sr.Close()

End If

strLoadText.Close()
strLoadText.Close()

End Sub

Private Sub frmBudget_Activated(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Activated
Dim strLoadText As System.IO.StreamReader
Dim strtext As String
strLoadText = New System.IO.StreamReader("C:\Documents and Settings\PsYcHo_A\My Documents\Visual Studio Projects\Budget Program\Registration.txt")
Dim obj As New Register

strtext = strLoadText.ReadLine
strLoadText.Close()

If strtext = "" Then
obj.ShowDialog()
strLoadText.Close()
End If

If strtext = "" = False Then
strLoadText.Close()
Dim sr As New System.IO.StreamReader("C:\Documents and Settings\PsYcHo_A\My Documents\Visual Studio Projects\Budget Program\Transactions.txt")
Do While sr.Peek <> -1
lbLM.Items.Add(sr.ReadLine())
Loop

sr.Close()
End If

strLoadText.Close()
strLoadText.Close()
End Sub
GeneralVB.NET to Open, Edit and Save As New Word .doc or .dot Pin
alcowboy28-Apr-05 7:13
alcowboy28-Apr-05 7:13 
GeneralRe: VB.NET to Open, Edit and Save As New Word .doc or .dot Pin
nidhishri4-May-05 20:49
nidhishri4-May-05 20:49 
GeneralShortcuts and Deployments Pin
Meatnog28-Apr-05 6:09
Meatnog28-Apr-05 6:09 
GeneralRe: Shortcuts and Deployments Pin
rwestgraham28-Apr-05 9:03
rwestgraham28-Apr-05 9:03 
GeneralProblem with db in Access and VBA Pin
David Fawn28-Apr-05 5:42
David Fawn28-Apr-05 5:42 
GeneralRe: Problem with db in Access and VBA Pin
Dave Kreskowiak28-Apr-05 6:29
mveDave Kreskowiak28-Apr-05 6:29 
GeneralRe: Problem with db in Access and VBA Pin
David Fawn28-Apr-05 6:34
David Fawn28-Apr-05 6:34 
Generalto close a form Pin
ADY00728-Apr-05 5:15
ADY00728-Apr-05 5:15 
GeneralRe: to close a form Pin
Joey Picerno28-Apr-05 7:46
Joey Picerno28-Apr-05 7:46 
GeneralRe: to close a form Pin
ADY00728-Apr-05 8:00
ADY00728-Apr-05 8:00 
GeneralTransparent Form Pin
Joey Picerno28-Apr-05 3:31
Joey Picerno28-Apr-05 3:31 
QuestionHow to fetch database names Pin
Suman Singh28-Apr-05 3:13
professionalSuman Singh28-Apr-05 3:13 
AnswerRe: How to fetch database names Pin
Colin Angus Mackay28-Apr-05 3:55
Colin Angus Mackay28-Apr-05 3:55 
GeneralRe: How to fetch database names Pin
Suman Singh28-Apr-05 20:28
professionalSuman Singh28-Apr-05 20:28 
GeneralFreehand drawing in vb.net Pin
meghadwivedi28-Apr-05 3:09
meghadwivedi28-Apr-05 3:09 
GeneralRe: Freehand drawing in vb.net Pin
Fernando Soto28-Apr-05 8:06
Fernando Soto28-Apr-05 8:06 
GeneralNullable types in vb.net Pin
Anonymous28-Apr-05 1:07
Anonymous28-Apr-05 1:07 

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.