Search:

Type: Posts; User: Stealth1337

Search: Search took 0.02 seconds.

  1. Re: [2005] Notepad-like New/Open/Save/SaveAs/Exit behaviour

    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...
  2. Re: [2005] Notepad-like New/Open/Save/SaveAs/Exit behaviour

    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 = ""
    ...
  3. Re: [2005] Notepad-like New/Open/Save/SaveAs/Exit behaviour

    Private Sub SaveToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveToolStripMenuItem.Click
    Dim Save As New SaveFileDialog()
    Dim...
  4. Re: [2005] Notepad-like New/Open/Save/SaveAs/Exit behaviour

    e.Cancel issue solved.. forgot the edit the executing thing.. but this still gives me errores

    If DocumentSaved = True Then
    SaveFile()
    Else
    ...
  5. Re: [2005] Notepad-like New/Open/Save/SaveAs/Exit behaviour

    hi.. i have problems with this:

    If DocumentSaved = True Then
    SaveFile()
    Else
    SaveFileAs()
    End If
    ElseIf...
  6. Replies
    12
    Views
    1,300

    VS 2008 Re: Message box issue

    Thanks, i'll check it out ;)
  7. Replies
    12
    Views
    1,300

    VS 2008 Re: Message box issue

    kk.. i'll do that.. thank u very much for ur help :)
  8. Replies
    12
    Views
    1,300

    VS 2008 Re: Message box issue

    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...
  9. Replies
    12
    Views
    1,300

    VS 2008 Re: Message box issue

    do u mean something like this?

    Dim MsgBox As Boolean
    MsgBox = False
    If RichTextBox1.Text = "()" Then
    MsgBox = True
    Else : Me.Close()
    End If
  10. Replies
    12
    Views
    1,300

    VS 2008 Re: Message box issue

    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...
  11. Replies
    12
    Views
    1,300

    VS 2008 Re: Message box issue

    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 :)
  12. Replies
    12
    Views
    1,300

    VS 2008 Message box issue

    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...
  13. Replies
    2
    Views
    674

    VS 2008 Re: Backspace button and % button

    works like a charm x).. thank you very much

    PROBLEM SOLVED!! THANKSS
  14. Replies
    2
    Views
    674

    VS 2008 Backspace button and % button

    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...
  15. Thread: Test

    by Stealth1337
    Replies
    4
    Views
    855

    Poll: Re: Test

    sig is good.. yay
  16. Thread: Test

    by Stealth1337
    Replies
    4
    Views
    855

    Poll: Re: Test

    siug
  17. Replies
    5
    Views
    925

    Re: Transfering text

    txtDisplay.Text = Result worked for me alone.. cus i already erased the other useless stuff in the code :D thanks though..
  18. Replies
    5
    Views
    925

    Re: Transfering text

    ok guys first post updated :D thanks for the help
  19. Replies
    5
    Views
    925

    Transfering text

    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...
Results 1 to 19 of 19



Click Here to Expand Forum to Full Width