Search results for query: *

  • Users: ARC
  • Order by date
  1. A

    Table update with OnClick

    I'm trying to figure out how (or find a tutorial that explains how) to change data in an sql database table in the OnClick of a button, on an asp.net website project. Im aware of the gridviews ability to allow modifying however, I dont want there to be user access to how it changes... I just...
  2. A

    Resizing an array

    Wow... basically just replaced three large chunks of code, with two tiny lines of code. Thanks a lot for the List(Of Structure) suggestion!
  3. A

    Resizing an array

    This is set up with the ability to add and remove user names from a listbox. Below, I have this in the Remove User code in order to shift all the data past the tempIndex (the index that was removed) all the way up to the last entry, all down 1. Because totalUsers provides a value that's +1...
  4. A

    Custom Classes question (again)

    and then to call that specific widget from the list from lets say the ID the user inputs to a textbox... For counter = 0 To intQuantityOfWidgets Step 1 If CInt(me.textbox1.text) = counter Then 'code to use or modify widget properties here... End If Next counter
  5. A

    Custom Classes question (again)

    Ok that makes a little more sense in terms of when to use Classes or Structures. One of my biggest confusions is whether or not Classes 'should' be used if you plan on making lots of instances of said class at the same time. When you create a new instance of your class, how do you tell it...
  6. A

    Custom Classes question (again)

    Alright so i've been trying to understand classes, and how to use them recently... and i still have some trouble with understanding the concept of using the objects that you add/create using the class. My understanding as of now, is that you create a Class and create it's Properties -- each of...
  7. A

    Class question

    Could you then hypothetically create a new car object every time you puch a button, and stuff it into a (let's say for example) Public carArray() As Object Public totalCarCount = 0 Dim aCar As New Car Dim loopCounter As Integer = 0 aCar.VIN = 123456789...
  8. A

    Class question

    hmm... So first you have the class Public Class Car End Class and then you create a car object by doing Dim myCar As New Car And then to add a property to the Car Class (which also means that it is a property of myCar?) you say this... Public Class Car Public Property VIN() As...
  9. A

    Class question

    ok, so the class section of the code holds all of the properties of said class... As well as functions that only it can perform... Are the functions called automatically when the class object is refrenced or do you have to call it seperately like myCar.Start() And now im looking into what...
  10. A

    Class question

    I was wondering if someone could try explaining the concept of creating your own class to me in laymans terms. I'm having a hard time grasping the concept. I have examples of it in code, and I can see the logic somewhat but, i dont really understand how it works exactly. From my understanding...
  11. A

    Reading and writing to files.

    You have to be sure that the check box that says "save settings on exit" is checked. It's defultly set to do so like JohnH said, but maybe you accidently unchecked it or something.
  12. A

    Reading and writing to files.

    I think he's confusing your hompage' variable name with a property for another webrowser program. What JohnH's code does is sets the URL for the browser to the String Variable you have saved in the homepage setting of your browser. If you go into the Project Menu at the top, and at the bottom...
  13. A

    button to edit value in database

    I have a database with one table, and a button on the webpage. I want to run some math on a value stored in that table (column1, row1 -- for example) when the user clicks the Button. i DONT want the user to be able to just edit the value to anything they want (just the math that i put in the...
  14. A

    Card Trick

    Not done yet, still have to add the suits to it, but you get the idea. This is based off of a card trick I really enjoy, and it drives people crazy if you're good at it. takes a bit of practice to get it to look convincing though. Anyways, you should test run it before actally looking at the...
  15. A

    Enum questions

    thanks! thanks guys :)
  16. A

    Enum questions

    I've looked around, and im still having a little trouble wrapping my head around the use of Enums. Enums give a textual name to a variable? or does it have to be a constant? And then what's actually being recovered? the text you labeled the variable with? or the actual integer of the...
  17. A

    Dedicated Game Server

    err... Isnt that a game code limitation, and NOT a server limitation?
  18. A

    datasourcing a formview to a gridview

    Im having problems getting the Formview to display the correct field that the user selects from the Gridview... Am I missing something obvious? This is in the Code Behind (default1.aspx.vb) Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs)...
  19. A

    loop order (again)

    Perhaps im missing something still... it all seems to make ligical sense i guess, except for your three text boxes... There's the decTextBox/encTextBox/recTextbox Which is for the user to type in the regular messege (to encode), which is for typing in the coded messege (to decode) and which is...
  20. A

    Uploading screenshots

    here ya go, check out post #5 ala JohnH http://www.vbdotnetforums.com/showthread.php?t=18515
Back
Top