Search:

Type: Posts; User: StudNewf

Search: Search took 0.03 seconds.

  1. Replies
    5
    Views
    633

    Re: [02/03] What is wrong with my code?

    No, It still doesn't work. I had it working a couple of days ago before I changed the code, and I need it to be with File.AppendText anyway. Any other ideas?
    Thanks
  2. Replies
    5
    Views
    633

    [02/03] What is wrong with my code?

    An error always comes up at the IO.StreamWriter line. Can anyone help me?
    PS. I know there is a SaveFileDialog but I'm trying it this way first.
    Thanks

    Dim dialog As String
    dialog =...
  3. Replies
    4
    Views
    580

    Re: Opening Notepad

    I am using IO.StreamWriter = IO.File.AppendTextA(file & ".txt")
    to write the information the user gave to notepad. So when they user clicks print on my application, I just want notepad to open up...
  4. Replies
    4
    Views
    580

    Opening Notepad

    Im using VB.NET 2003.
    Im using a program that when the user inputs information and clicks save, it saves the data in notepad. When all of the information is in notepad, I want the user to be able...
  5. Replies
    4
    Views
    673

    Re: [02/03] Bubble Sort

    Yeah I realize it is the slowest but I have been instructed to use it at this point for a class assignment. We move on to more advanced sorting after the bubble sort.
  6. Replies
    4
    Views
    673

    Re: [02/03] Bubble Sort

    What is assigned to the "Passes" string?
  7. Replies
    4
    Views
    673

    [02/03] Bubble Sort

    I know the theory of how a bubble sort works but I dont' know how to represent it in code. Can someone give me an example of how to write it?
    Thanks
  8. Replies
    4
    Views
    589

    Re: [02/03] Changing a string to a date

    In all of the examples I find it has an exact date converted into an exact date of a different format. If I don't know the exact date, because I am reading it from a file, how can I still change it...
  9. Replies
    4
    Views
    589

    [02/03] Changing a string to a date

    I'm using VB.NET 2003 version.
    When reading a date from a file it is provided to VB as a string, right? So I have "dateShown" as the variable that the line from the file is stored too. How can I...
  10. Replies
    4
    Views
    662

    Re: Making Arrays larger

    Thats great! Just what I was looking for.
    Thanks again
  11. Replies
    4
    Views
    662

    [RESOLVED] Making Arrays larger

    For this question I am using VB.NET 2003.
    I know to make an array larger you use the ReDim Preserve "array" command, but I was wondering how to determine if my original array is too small.
    If I...
  12. Replies
    2
    Views
    685

    Converting a String to a Date

    I'm reading from a file (called "employees.txt) and a dates are supplied as MM-DD-YYYY (ie. 04-27-1992) and must be displayed as month day, year (ie. April 27, 1992). How can I convert the string of...
  13. Re: Closing the initial form without closing the program

    Ahhhhhhh, I get it now. I didn't fully understand what a module was and I didn't understand what you meant when you said make it the startup object but I just figured it out. Yeah the code works...
  14. Re: Closing the initial form without closing the program

    I took your code exactly and used it. I have a form (form1) with a button on it with this code:


    Option Strict On

    Module Module1

    Public mainForm As Form 'The current primary form.

    ...
  15. Replies
    12
    Views
    10,658

    Re: VB[5,6] DX7 Quest for 3-D [EXE]

    So is that game made with VB or is it made with DirectX? I'm farely new to VB but all I've been interested in is making games, but I didn't realize that you could get that good of graphics using VB....
  16. Re: Closing the initial form without closing the program

    I can't seem to get your code to work. I've looked over it and understand it all but it doesn't seem to work. I've even tried to modify it and i still can't get it to work. The initial form will...
  17. Re: Closing the initial form without closing the program

    Thanks again jmcilhinney. I can' tell you what a help youve been now and in the past!
    Thanks
  18. [RESOLVED] Closing the initial form without closing the program

    I have made a game where it uses multiple screens. When the second form opens I make the first opening form hide, but then when i exit the second form, the program continues running. I want to make...
  19. Replies
    11
    Views
    981

    Re: Pictures on top of pictures

    I have finally been able to make the white in hte pictures disappear, but then it becomes the beigy color of the form itself. So really its the same problem over again. Before the white from the...
  20. Replies
    11
    Views
    981

    Re: Pictures on top of pictures

    lol yeah thanks a lot anyway.
    Im just starting with vb.net (obvoiusly) and so I'm probably just taking your attachment and doing it wrong.
    anyway thanks
  21. Replies
    11
    Views
    981

    Re: Pictures on top of pictures

    Im using VB.NET 2003. The line b2.MakeTransparent(Color.White) comes up as an error. I see the pictures that you sent with you attachment, the tiger and the cross, but i can't get them to work.
  22. Replies
    11
    Views
    981

    Re: Pictures on top of pictures

    I just can't get the attachment you sent me to work
  23. Replies
    11
    Views
    981

    Re: Pictures on top of pictures

    I can't get that code to work for me. Is there another way I could do it?
  24. Replies
    11
    Views
    981

    [RESOLVED] Pictures on top of pictures

    Is there anyway for me to cut out an object instead of having it in a box? I have a picture of a person with his had raised and then a second picture of a sword. When i press a button I can get the...
  25. Replies
    1
    Views
    480

    [RESOLVED] Disabling a button

    I have a number game, but once the game is over I want to disable a button. How can I make that button not respond to anything after the game is over, unless they press the "Play Again" button?...
  26. Replies
    12
    Views
    870

    Re: [RESOLVED] Random Number

    Nevermind I did it. Thanks
  27. Replies
    12
    Views
    870

    Re: Random Number

    How do I mark it resolved?
  28. Replies
    1
    Views
    462

    [RESOLVED] Clearing a dialog box

    I have a program that when you click a button on form1 and it takes you to a dialog box. The dialog box is a game that uses variables that constantely change (ie. sum = sum + 1). When i exit the...
  29. [RESOLVED] Closing Form1 from a Dialog Box

    I have an application where when you press a button, the input from form1 goes to a Dialog Box and then you can play a game. When they are done playing the game I give the user the option to exit...
  30. Replies
    12
    Views
    870

    Re: Random Number

    Thanks everybody, I think I got it down pat now. I really appreciate your help.
    Tahnks
  31. Replies
    12
    Views
    870

    Re: Random Number

    Does it have to be Integer or can it be Double? Whats the difference?
  32. Replies
    12
    Views
    870

    [RESOLVED] Random Number

    Im making a number game and to do it I need the form to spit out any number between 1 and 100. I was able to make it spit out 70, but everytime the form loads, its always 70. Can someone show me a...
  33. Replies
    19
    Views
    1,047

    Re: Moving from Form1 to Form2

    Again thanks, but its nearly 2am where I am now and I can probably figure it out better after I sleep. I don't have class tomorrow so I should be able to spend most of the day messing around with...
  34. Replies
    19
    Views
    1,047

    Re: Moving from Form1 to Form2

    yeah I already do know the order I want to run them in. I also read your first link earlier but i didn't see one that would open a new form and close the last. There was one example but it ended up...
  35. Replies
    19
    Views
    1,047

    Re: Moving from Form1 to Form2

    Its Visual Basic.NET and I think its 2003. I know its no older then that anyway. And yeah, once I close the window I won't need it anymore.
    Thanks
  36. Replies
    19
    Views
    1,047

    Re: Moving from Form1 to Form2

    I want to have multiply forms (ie. completely different formats, one might have 1 button and and image and another could have 2 lstboxes and a button, etc.), but I want it to stay in the same window....
  37. Replies
    19
    Views
    1,047

    Re: Moving from Form1 to Form2

    If one of you don't mind could you show me a quick example of how to do it? I've spent hours already trying to do it and I want to move on to the actual coding for my experiment. Trying to figure...
  38. Replies
    19
    Views
    1,047

    Re: Moving from Form1 to Form2

    Its just that I have linked about 5 forms together and every time I click a button to go to the next form a new window pops up. Therefore I have about 5 windows open and thats annoying. I want it...
  39. Replies
    19
    Views
    1,047

    Re: Moving from Form1 to Form2

    I just don't want new windows to always appear. I want it kind of like when your playing a game. It doesn't continuously open new windows, you just play from the same window or frame, I guess....
  40. Replies
    19
    Views
    1,047

    [RESOLVED] Moving from Form1 to Form2

    Hey,
    I know how to make a new form, but that always makes a new seperate window appear. I was wondering how I could make form2 appear in the same window that form1 was in by clicking a button....
Results 1 to 40 of 40



Click Here to Expand Forum to Full Width