User Profile

Collapse

Profile Sidebar

Collapse
Montravont
Montravont
Last Activity: Dec 31 '08, 09:39 PM
Joined: Sep 24 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • It's actually more for the creation of the powers as well as for what powers the character has. The main problem turned out to be more with the power creation. I have a table for the powers, and I have tables holding the different variables for the different types of items that can be added to a power at creation.

    CSV? Primarily because I'm not aware of (read: don't know) a better way to do it.

    CSV seems to work...
    See more | Go to post

    Leave a comment:


  • Nevermind, problem resolved. Saving the items from the list box as a comma seperated value to the database, then using split.string with "," as the delimiter to break it apart again.
    See more | Go to post

    Leave a comment:


  • My first thought was... Why? Then I read the end of it and it changed to Oh!.

    Nice, work. Personally I don't tend to need to limit things to alpha or alphanumeric, only numeric. In those cases, if that's the only thing I need to limit on keypress, I'll just write the numeric limiting code once and refer all the keypresses to that one bit of code.

    This is pretty friggin nifty though.
    See more | Go to post

    Leave a comment:


  • Montravont
    replied to Add a little space...
    just put a space between the "" after the comma

    ", "

    or the "longer" way would be: "," & " "
    See more | Go to post

    Leave a comment:


  • Montravont
    replied to how to maintain connection in vb.
    I think more detail might be needed as to what you're trying to accomplish.

    On a technical level, if you don't call con.close the connection will stay open indefinitely. This, will likely cause problems... but that's what it is. (to my understanding)

    If this isn't quite what you meant, please elaborate a little as to your needs and I'm sure we'll be able to help.
    See more | Go to post

    Leave a comment:


  • VB '08 - Need to save unknown number of items to a single entry in access

    So I'm making a character creator for a game I'm working on in my spare time.
    For each character, powers can be chosen. Based on the character type there is a very large level of variance for how many powers can possibly be chosen.

    What I need to be able to do is take a set of items from a listbox and save them to the access database. Each character is it's own row in the database.

    I have it set to be able to...
    See more | Go to post

  • for almost all forms objects which can accept data input.. you can just use .clear so it would looks something like

    datacombo.clear


    if you want to clear the box when the form loads... just put the code in the form load portion of your program
    See more | Go to post

    Leave a comment:


  • Montravont
    replied to how to trap this?
    There is actually a code that you can place in the keypress event for the text box that will limit it to only accepting numbers, delete and backspace. As jg007 said... attempt to work it out and let us know where you get and we can help you more from there. Or show us what you already have that you're trying to use to do so.
    See more | Go to post

    Leave a comment:


  • Montravont
    replied to VB2008/MS Access problems
    Meant to update this actually. The problem was this.

    I was using

    characterlst.se lecteditem

    when I should have been using

    characterlst.te xt

    .selecteditem was returning and integer value for the list location of the selected object instead of the actual text of the selection.

    combine that with the fact that for the query to function properly it needed to be...
    See more | Go to post

    Leave a comment:


  • Montravont
    started a topic VB2008/MS Access problems

    VB2008/MS Access problems

    Greetings,

    I have a program setup for which I would like to pull specific data from an Access database I have created. I know the connection to the database is functioning as I can pull mass data to populate a list box. Where I am having trouble is this. I would like to select a name from said list box and have the database return only information based on the name selected. Once I pull this information I would like to then place...
    See more | Go to post
No activity results to display
Show More
Working...