Jump to content

Visual Basic Programming - Round 2


darkblade986

Recommended Posts

Ok, so if you saw my last thread about this, I was having issues using the Make... [Caution: ExecutableFile] option due to me being on a teaching version of the program. I have since installed professional and am now able to use this command.

 

 

 

 

 

 

 

 

 

 

 

Now the problem I'm having is that I need to figure out how to take a TXT file, and have VB read it as I need for the program I'm working on.

 

 

 

 

 

 

 

 

 

 

 

The program is supposed to be a Random Deck Generator for the Yu-Gi-Oh! Trading Card Game. The text file I have was made in Excel, and is set up like this...

 

 

 

 

 

 

 

 

 

 

 

Set Name Card Name

 

 

 

Set Name Card Name

 

 

 

 

 

 

 

This goes on for about 3000 cards, where the is an actual tab over, which I can't use on here. What I need to know is how I'm supposed to get VB to read this... Should I split it up into two different files? One of Sets, one of Names, or is there a specific coude that I can use?

 

 

 

 

 

 

 

 

 

 

 

So you know what I'm trying to write, the text I need to have the program output is as follows...

 

 

 

 

 

 

 

1|SET|Card Name

 

 

 

 

 

 

 

The 1 indicates quantity, and SET and Card Name are pretty self-explanitory.

 

 

 

 

 

 

 

Anyone know what their doing to help me with this? It's Visual Basic 6.0 Professional Edition if that makes any difference.

f475e02ecc.png

don't worry, you are going to "hell" anyway. wanna race to see who gets there first?

Officially reached 100 Combat at 1:33PM EST, June 14, 2007

First Dragon Drop: Dragon Chain (Dust Devils) @ 10:48PM EST, July 14, 2008, lv113 combat

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.