Search:

Type: Posts; User: lovekeiiiy

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Passing a groupbox and its controls to another class

    I'm working on trying to understand classes better. I didn't feel like I got a good grasp of it in my programming class last semester. So, I'm using a textbox for a different class (Visual Basic)...
  2. Re: Exit infinite loop or error, and printing output assistance

    my apologies I didn't explain well. What I'm trying to do isn't any more annoying than what one would find in my most commercial applications. You can even do it in Notepad, WordPad, and...
  3. Re: Exit infinite loop or error, and printing output assistance

    I still haven't figured out a resolution for this issue. School has started and I've asked two professors, and neither has been able to answer it either. One said I need to do a click event cancel....
  4. Re: Exit infinite loop or error, and printing output assistance

    thanks for the reply. I did the suggestion on my Exit problem. That worked. It's nice to know my guess the issue how to do with using the FormClosing event, although I was off on the issue.
    ...
  5. Exit infinite loop or error, and printing output assistance

    Hello again,

    Working on another textbook assignment. It's to build an application to where you enter customer information in a form, be able to save it to text file, and be able to add more...
  6. Replies
    6
    Views
    1,079

    Re: Creating a Save versus SaveAs sub

    Gotcha. I understand that. I like watching MotoGP, which most of the race events are over in Europe, which are roughly eight hours ahead of the USA. It's nice since I work graves, I get to watch...
  7. Replies
    6
    Views
    1,079

    Re: Creating a Save versus SaveAs sub

    I can understand that.



    Obviously this is a programming convention. Could I impose and have you elaborate it's best to have as little code as possible in event handlers? I know part of...
  8. Replies
    6
    Views
    1,079

    Re: Creating a Save versus SaveAs sub

    I found you thread on it, I think, Implementing-Save-And-Save-As. By that thread, I saw you created both a Save and SaveAs Sub and just used your click events to refer to them. It was an easy do...
  9. Replies
    6
    Views
    1,079

    Creating a Save versus SaveAs sub

    I think this is familiar simple question. I know, famous last words. I've got most of it done. What I'm trying to do if is the user hits Save when there hasn't been a file previously saved or...
  10. Re: conversion from string to type 'integer' is invalid error from text file

    Thanks for the reply, again.

    No, you didn't confused me. Luckily, or unluckily, I'm pretty good with computers and tech in general. Plus, I have friends who are very good programmers, so it's...
  11. Re: conversion from string to type 'integer' is invalid error from text file

    Thank you for the replies.

    Usually when I'm coding, I don't add the Try-Catch statements till after the program runs as expected and know the errors. In the case, I knew the error and which is...
  12. [RESOLVED] conversion from string to type 'integer' is invalid error from text file

    Hello again. I can't find my error in this code. Anyway, the assignment problem is to create a application that generates hundred numbers from 1 to 1000 and save the numbers to a file. The chapter...
  13. Replies
    6
    Views
    998

    VS 2010 Re: Pop up message box?

    not that I disagree. I only answered part of the how part.

    Although, I could see a use of a pop up upon loading a program, which would then direct someone to specific area of the program such...
  14. Replies
    6
    Views
    998

    VS 2010 Re: Pop up message box?

    what they above said, but in place it in your loadform event routine. Just double click the main window in the design window to create.
  15. Replies
    5
    Views
    798

    VS 2010 Re: Please help me on my assignment.

    I don't get your assignment. Even after looking at your Form and code.

    You can't reduce some code though. You can try using .ToUpper with your Choice so you don't need to worry about whether...
  16. Replies
    13
    Views
    1,393

    Re: assistance reducing amount of code

    Private Sub txtStudent1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles txtStudent1.TextChanged
    blnTextChanged = True
    End Sub

    Private Sub...
  17. Replies
    13
    Views
    1,393

    Re: assistance reducing amount of code

    Well, I got it reduced, significantly. Went from the 500 lines to about forty, which thirty of it just putting strings into the variables.


    'declare local variables
    Dim...
  18. Replies
    13
    Views
    1,393

    Re: assistance reducing amount of code

    At this point, it's on my own. I got the book because it was assigned in a Intro to Computer class. The class only did the first five chapters which covered just the programming basics--sequence,...
  19. Replies
    13
    Views
    1,393

    assistance reducing amount of code

    I'm working an assignment to help with learning creating, saving, reading data from text files. It's also covering setting up Structures too. The book (an intro to VB) gives the form design. My...
  20. Replies
    5
    Views
    931

    Re: Incorrect tab order in input window

    Well, I stumbled upon the fix. Apparently I needed to put txtFirstName.focus in the btnAddName OnClick event instead of the form load. Not sure why that worked over the form load.
  21. Replies
    5
    Views
    931

    Re: Incorrect tab order in input window

    Unfortunately, I couldn't get it to work. Tried adding to both the PlayNameForm and MainForm. The popup within the programming area, says it used to activite a form and give it the focus. Thus, I...
  22. Replies
    5
    Views
    931

    Re: Incorrect tab order in input window

    The simplest reason ever...it's all I have learned thus far. I only have a faint idea of what you did; It may be beyond what my book covers or I haven't gotten there yet. Although, I like how your...
  23. Replies
    5
    Views
    931

    Incorrect tab order in input window

    I've ran into a quirky issue and I can't seem to find a solution. Working on an textbook assignment. It's basically done, but I got one bug. Basically, I have popup window where the user enter's a...
  24. Replies
    7
    Views
    1,360

    Re: ListView selection

    Ok. I'm not really clear on it, but I get the gist. But I would assume it wouldn't work with any employee selected. In this case, it only work if the first employee was selected, ie intCounter = 0...
  25. Replies
    7
    Views
    1,360

    Re: ListView selection

    Well, my ignorance on the ListView boxes has gotten me stumped. Based on the suggestions above, I've been able to get almost everything to work, plus added bit more input validation. Both these...
  26. Replies
    7
    Views
    1,360

    Re: ListView selection

    you guys have the idea what I'm trying to do. I just assume there is a way to reduce down the code for displaying the information onto the DisplayForm. Right now, that's it's taking about fifty...
  27. Replies
    7
    Views
    1,360

    ListView selection

    Another noob question. Learning arrays. Got an assignment


    Instead of using listbox I choose to use ListView. My book doesn't cover ListView at all, and my understanding is a bit sketchy of...
  28. Re: Noob: checkbox, function, module assistance

    Thanks for the reply. I was really expecting one. I just needed a spot to upload the program because Gmail won't let one send or receive a zip file with a executable file in it.

    I knew I could...
  29. Re: need help with whats probably basic code

    Just pick a spot to where you want to start stepping, most likely in your label click event. You can do a right click to set it. Then there's a indent paragraph looking icon in the menu strip to...
  30. Re: Noob: checkbox, function, module assistance

    this post is just a holding spot for the application. Still haven't figured out why or how to get the DisplayOutput Function to work with the FamilyForm or IndividualForm.
  31. Re: Noob: FeedBack on creating in UserInputForm

    Thanks for the reply. Unfortunately, the technique is not covered in my book. I found the template above in the Project->Add New Item->Dialog Window in the VB menu. The book only discusses adding...
  32. Re: Noob: FeedBack on creating in UserInputForm

    This is the picture I tried adding earlier

    101073
  33. Re: Noob: FeedBack on creating in UserInputForm

    First thanks for the reply. Second, sorry for my ignorance. I've only really started, and still learning concepts. I've had is an intro to computer class, which had some VB programming; it stopped...
  34. Re: Noob: FeedBack on creating in UserInputForm

    Well, I was tinkering more, and figured out a way to get it to work. It doesn't exit the user input loop for all kinds of bad data. Still don't know if best method, so still looking for feedback.
    ...
  35. Noob: FeedBack on creating in UserInputForm

    Alas, another question in learning. I'm in the section of the book going over arrays. Not saying I have it down, but enough I've got one-dimension arrays. Haven't really needed to use...
  36. Re: Noob: checkbox, function, module assistance

    Not that I don't agree. I'm just doing the programming challenging that was in the book I'm learning from. The assignment


    The way I read it, needs that many forms. Personally, this could have...
  37. Noob: referring to a different window

    I need some more clarification. I think this may be similar to the issue I was having above with the module.

    This is different programming challenge. Basically below, need to calculate tax on...
  38. Replies
    4
    Views
    987

    Re: Noob: Error Message Box Suggestion

    Thanks for the replies on the "e". I don't fully understand, but I get the overall idea. The rest will come later as I learn more.

    Sorry about the extra code. Was tired and in a hurry to get to...
  39. Replies
    4
    Views
    987

    Noob: Error Message Box Suggestion

    The chapter I working on is covering adding forms and modules; my question isn't directed at those topics. In one the assignments, I was looking to a single MessageBox that shows all the inputs a...
  40. Re: Noob: more assistance in learning modules

    Apparently I'm still missing something in regards to modules. It's different programming challenging in the book. Basically, there are three forms, MainForm, IndividualForm, FamilyForm. The main...
Results 1 to 40 of 50
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width