Search:
Type: Posts; User: Stealth1337
Search:
Search took 0.02 seconds.
-
I think i have got everything working.. except one thing.. even if i don't write anything in a new file.. when i close.. it still asks if i want to save.. :S
edit: issue fixed.. it was a mistake...
-
i guess you are speaking of this:
Private Sub NewFile()
'// Open a new file
'// Clear RTB text and set the filetitle/path
RTB.Clear()
sFilePath = ""
...
-
Private Sub SaveToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveToolStripMenuItem.Click
Dim Save As New SaveFileDialog()
Dim...
-
e.Cancel issue solved.. forgot the edit the executing thing.. but this still gives me errores
If DocumentSaved = True Then
SaveFile()
Else
...
-
hi.. i have problems with this:
If DocumentSaved = True Then
SaveFile()
Else
SaveFileAs()
End If
ElseIf...
-
Thanks, i'll check it out ;)
-
kk.. i'll do that.. thank u very much for ur help :)
-
I'm sorry but i'm so confused..
assuming this is what u said:
Dim dataSaved As Boolean = True
i cannot put that as an universal declaration.. (at the top of the code)
so i put it in the...
-
do u mean something like this?
Dim MsgBox As Boolean
MsgBox = False
If RichTextBox1.Text = "()" Then
MsgBox = True
Else : Me.Close()
End If
-
ok.. the thing is. idk how to declare a boolean, or.. where and how to use it.. what is a boolean variable?
where should i declare it? in the richtextbox1 code? or the form code? i tried
Dim...
-
hi.. thanks for ur answer, but u can explain me with more details on how to do all that? i'm a beginner and i couldn't understand well, thanks :)
-
Hey guys.. I've been building a notepad following some tuts and stuff.. and well, I would like my notepad to show a msgbox or something when it closes and something hasn't been saved.. like "Would...
-
works like a charm x).. thank you very much
PROBLEM SOLVED!! THANKSS
-
hey guys.. ok i'm building a simple calculator.. i'm a beginner at vb.net and well i think this is very useful for future experiences.. anyways, everything i have now is working so far.. and well i...
-
-
-
txtDisplay.Text = Result worked for me alone.. cus i already erased the other useless stuff in the code :D thanks though..
-
ok guys first post updated :D thanks for the help
-
whats up guys.. ok i'm working on a calculator in vb.net 2008
the calculator has division/multiplication/dot/ +/- /subtraction and adding buttons.. plus the numbers of course.. it has, Clear all, a...
|
Click Here to Expand Forum to Full Width
|