Search:

Type: Posts; User: cytotoxictcell

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    1,573

    C# syntax compared to C++

    hi,
    Im just starting out with C#, and is it the syntax very similar to C++? I have been doing a little C++ over the summer and i am finding the syntax of C# similar to C++ like instance the If...
  2. Replies
    1
    Views
    494

    VS 2010 C# and VB.net

    hi,
    This isnt a thread on which language is better. But is it true that VB.net and C# are very similar except for syntax wise?
  3. Change two labels.text via classes?

    hi,
    How can i change two .text values of two label objects from one class?

    I mean right now for me to change the text of two seperate labels i have two create two indavidual classes for each...
  4. Replies
    1
    Views
    380

    Give class access to change text

    im currently writing a program calculates commute costs. How can i have the class that calculates the costs of the commute, to be able to change the .text value of a label?
  5. Re: What more is there to visual basic?

    yeah i really didnt think my course would teach me everything on visual basic.:)
  6. What more is there to visual basic?

    Now that i have finished my two required visual basic classes, what more is there to the world of VB.net?

    I know

    the basics (IF, While, Cases ETC) Sub procedures, functions

    Arrays

    Basic...
  7. Replies
    3
    Views
    526

    Re: Gui development

    Yes that is what i am using, but i have no idea how to create the gui
  8. Replies
    3
    Views
    526

    Gui development

    hi,
    So im designing an xbox 360 indie game and have a question. Is it possible for Visual Basic to create a gui from the code? Because i noticed that all my gui development at this point has been...
  9. Re: How exactly do classes make programming eaiser?

    oh i see, are things in the visual basic toolbox like label or textbox considered classes?
  10. How exactly do classes make programming eaiser?

    So i learned about classes today and i am totally confused about them. How exactly do they make programming life eaiser? I though Functions and Sub Procedures were making my programming life easier...
  11. what is the point of "Public" and "Private"

    like when you initaite a variable as public it can be accessed throughout the form but private it cant be. Is this have anything to do with security or anything?
  12. Replies
    8
    Views
    3,933

    Re: sort 2 parallel arrays

    hmm i will give shaggys suggestion a try, i start classes thursday so why not get a jumpstart?
  13. Replies
    8
    Views
    3,933

    Re: sort 2 parallel arrays

    mutidimensonal array work? i nothing about classes yet, but that is next chapter though.
  14. Replies
    8
    Views
    3,933

    sort 2 parallel arrays

    how can i sort too parallel arrays?

    Private strflavor() As String = {"Lemonade", "Apple", "Strawberry", "Kiwi", "Blueberry", "Pineapple", "Mango", "Orange", "Banana", "Melon"}
    Private...
  15. Replies
    5
    Views
    712

    Re: Problem with looping

    yes i tried that as well but its pretty much doing the same thing
  16. Replies
    5
    Views
    712

    Problem with looping

    im having some trouble with my loop code. When the isnumeric code detects it not a number it throws the msgbox error message but moveson to the next array for the user to enter a value via inputbox....
  17. Visual Basic book vs microsoft reference

    is a book about visual basic better than Microsofts reference on visual basic. Microsofts reference that comes from visual studio help files
  18. Replies
    3
    Views
    2,465

    Re: inputbox validation

    ok i see, but shouldnt the visual basic throw the inputbox again and again until the user enters the right decimal before going to the next array?
  19. Replies
    3
    Views
    2,465

    inputbox validation

    im having trouble try to validate the data in the inputbox. I am trying to make sure only integers/decimals are entered, but the code is failing to reconize it in the loop, and the loop dosent promt...
  20. any arthimatic variable that can hold a number this long =)

    i am reviewing variabes, and just wondering any variables that can be used in math to hold a value this big =)



    Just wondering
  21. Replies
    4
    Views
    754

    How to send arrays to a function

    How can i send arrays to a function?

    example i have an array with 400 elements containing random numbers how can i send those to a function, say to add 1 to each them?
  22. Replies
    2
    Views
    7,877

    Re: reading text file into listbox

    Thanks!!!!! it works
  23. Replies
    2
    Views
    7,877

    reading text file into listbox

    hi,
    I am starting to learn reading and writing to textfiles. One quick problem. My code here

    'Read is the variable that will read the kp.txt file"
    Dim read As IO.StreamReader
    ...
  24. Replies
    1
    Views
    531

    is anything in the thread legacy

    *msgbox
    *lengthproperty
    *system.io function

    just asking because i found that isnumeric and inputboxes are, my luck for taking a course in a massachuetts state college
  25. Re: Program Crashing? Fix it? HOW?

    im a noob at visual basic here to, but it would help the more experienced people here if you post your code and maybe a picture.
  26. Replies
    1
    Views
    571

    Arrays and memory allocation

    hi!,
    i just started doing arrays, quick question. Once i allocate arrays is the memory allocated for them immediatlyy or once i add data to the array?

    like say i create an integer with 400...
  27. is this book good for visual basic?

    http://www.amazon.com/Microsoft-Visual-Windows-Database-Applications/dp/0538468475/ref=sr_1_2?ie=UTF8&qid=1328982849&sr=8-2

    my course requires it but i have learned several legacy stuff, like the...
  28. Detect if cancel is clicked on inputbox

    Hi,
    How can i get the program to detect if cancel was clicked? Right now when i click cancel the inputbox does not close and simply comes back up saying please enter a number. Do i have to do...
  29. Re: Error Messages when not suppose to be appearing

    ok i couldnt figure it out so i had to do stuff like
    txt?.text = "0" on the select case statements so it would pass through.

    But how would i have done it i didnt do it that way?
  30. Re: Error Messages when not suppose to be appearing

    'Developer- John Nelson
    'Date- Janurary 30th, 2012
    'Application Name- Calculate Your Commute
    'Purpose: This Windows application computes the yearly commute based on car, train, or bus travel....
  31. Error Messages when not suppose to be appearing

    Hello,
    I am writing this program as for an assignment. How can i make it so that these error messages dont show up when the train method of commuting is selected? This error message is related to...
  32. Replies
    8
    Views
    1,222

    Re: Textbox Visiblity Problem

    Wow, i wish the book would teach me that instead of allocating a variable for nothing. Thanks!
  33. Replies
    8
    Views
    1,222

    Re: Textbox Visiblity Problem

    and .paul
    thanks i would have seen that input if i refreshed by page =)
  34. Replies
    8
    Views
    1,222

    Re: Textbox Visiblity Problem

    oh i c......

    I added this

    intcommutechoice = cbocommutemethod.SelectedIndex

    And it works!

    i guess winter break got rid of some knowledge =(
  35. Replies
    8
    Views
    1,222

    Re: Textbox Visiblity Problem

    programming,

    I am trying to set this textbox not visible when the carcommute index is selected and visible when the bottom two indexes are selected. However it is not showing when i select the...
  36. Replies
    8
    Views
    1,222

    Textbox Visiblity Problem

    i am trying to do an assignment and trying to figure out the best way to implement it. My problem is i am telling sub-procedures to make this textbox visible and not visible depending on the selected...
  37. Replies
    5
    Views
    1,263

    Re: Doing Computations with procedures

    hmm i didnt think of that, i will try it
  38. Replies
    5
    Views
    1,263

    Re: Doing Computations with procedures

    The code works, I just need to create a function procedure that will calculate the cost of gas over the lifetime of the suv and compact car.
  39. Replies
    5
    Views
    1,263

    Doing Computations with procedures

    hi,
    How can i call a procedure to calculate the cost of the suv and compact car mileage twice with that same procedure? Thats the only part i cant figure out with this function/procedure stuff....
  40. Replies
    8
    Views
    1,119

    Re: allocate chunk of memory?

    Its my visual basic class, i start arrays next week when i start visual basic #2 class at my school
Results 1 to 40 of 66
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width