Click here to Skip to main content
15,915,864 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionms installer Pin
steve_rm7-Oct-06 23:40
steve_rm7-Oct-06 23:40 
AnswerRe: ms installer Pin
Christian Graus7-Oct-06 23:53
protectorChristian Graus7-Oct-06 23:53 
QuestionRe: ms installer Pin
steve_rm8-Oct-06 4:08
steve_rm8-Oct-06 4:08 
QuestionReading cursor position with a timer Pin
re infecta7-Oct-06 22:17
re infecta7-Oct-06 22:17 
AnswerRe: Reading cursor position with a timer Pin
Christian Graus7-Oct-06 23:42
protectorChristian Graus7-Oct-06 23:42 
Questionwhat is this Pin
Xmen Real 7-Oct-06 17:51
professional Xmen Real 7-Oct-06 17:51 
AnswerRe: what is this Pin
Guffa7-Oct-06 20:12
Guffa7-Oct-06 20:12 
GeneralRe: what is this Pin
Xmen Real 7-Oct-06 20:23
professional Xmen Real 7-Oct-06 20:23 
this is the function

Private Function SaveFile() As Boolean
Try
Dim value1 As String = Text1.Text
Dim fName As String
If lblmsg.Text = "IPL NOT LOAD" Then
Save.ShowDialog()
fName = Save.FileName
If Save.FileName <> "" Then
Dim fSave As New StreamWriter(fName)
fSave.WriteLine("# File Created By ABC")
fSave.WriteLine(value1)
fSave.Flush()
fSave.Close()
lblmsg.Text = fName
lblmsg.TextAlign = ContentAlignment.MiddleLeft
lblmsg.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!)
savechk = False
End If
Else
fName = lblmsg.Text
Dim fSave As New StreamWriter(fName)
If InStr(Text1.Text, "# File Edited By ABC") = True Then
fSave.WriteLine(value1)
fSave.Flush()
fSave.Close()
lblmsg.Text = fName
lblmsg.TextAlign = ContentAlignment.MiddleLeft
lblmsg.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!)
savechk = False
ElseIf InStr(Text1.Text, "# File Created By ABC") = True Then
fSave.WriteLine(value1)
fSave.Flush()
fSave.Close()
lblmsg.Text = fName
lblmsg.TextAlign = ContentAlignment.MiddleLeft
lblmsg.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!)
savechk = False
Else
fSave.WriteLine("# File Edited By ABC")
fSave.WriteLine(value1)
fSave.Flush()
fSave.Close()
lblmsg.Text = fName
lblmsg.TextAlign = ContentAlignment.MiddleLeft
lblmsg.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!)
savechk = False
End If
End If
Catch
End Try
End Function
AnswerRe: what is this Pin
Guffa7-Oct-06 23:11
Guffa7-Oct-06 23:11 
GeneralRe: what is this Pin
Xmen Real 7-Oct-06 23:42
professional Xmen Real 7-Oct-06 23:42 
AnswerRe: what is this Pin
Guffa8-Oct-06 0:05
Guffa8-Oct-06 0:05 
GeneralRe: what is this Pin
Xmen Real 8-Oct-06 0:13
professional Xmen Real 8-Oct-06 0:13 
AnswerRe: what is this Pin
Guffa8-Oct-06 2:07
Guffa8-Oct-06 2:07 
Questionhow to make an application to program Pin
Xmen Real 7-Oct-06 17:45
professional Xmen Real 7-Oct-06 17:45 
AnswerRe: how to make an application to program Pin
nlindley77-Oct-06 18:26
nlindley77-Oct-06 18:26 
GeneralRe: how to make an application to program Pin
Xmen Real 7-Oct-06 19:16
professional Xmen Real 7-Oct-06 19:16 
GeneralRe: how to make an application to program Pin
Christian Graus7-Oct-06 23:39
protectorChristian Graus7-Oct-06 23:39 
GeneralRe: how to make an application to program Pin
Dave Kreskowiak8-Oct-06 2:18
mveDave Kreskowiak8-Oct-06 2:18 
QuestionToolstripcomboBox Pin
Socheat.Net7-Oct-06 16:34
Socheat.Net7-Oct-06 16:34 
AnswerRe: ToolstripcomboBox Pin
nlindley77-Oct-06 18:21
nlindley77-Oct-06 18:21 
GeneralRe: ToolstripcomboBox Pin
Socheat.Net10-Oct-06 17:45
Socheat.Net10-Oct-06 17:45 
QuestionVB Cleanup Program - In (Context Menu) SendTo Pin
RickMagenta7-Oct-06 6:52
RickMagenta7-Oct-06 6:52 
AnswerRe: VB Cleanup Program - In (Context Menu) SendTo Pin
Ray Cassick7-Oct-06 16:13
Ray Cassick7-Oct-06 16:13 
GeneralRe: VB Cleanup Program - In (Context Menu) SendTo Pin
RickMagenta8-Oct-06 0:12
RickMagenta8-Oct-06 0:12 
Questionhow to make a layout designer in crystal report without using wizard Pin
vidyashankar7-Oct-06 4:58
vidyashankar7-Oct-06 4:58 

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.