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...
User Profile
Collapse
-
Montravont replied to Another way on how to restrict the textbox to accept only alpha or numeric charactersin .NETMy 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.Leave a comment:
-
just put a space between the "" after the comma
", "
or the "longer" way would be: "," & " "Leave a comment:
-
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.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... -
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 programLeave a comment:
-
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.Leave a comment:
-
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...Leave a comment:
-
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...
No activity results to display
Show More
Leave a comment: