Some VB help? - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Programming
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 08-04-2004, 05:38 PM   #1 (permalink)
Newb Techie
 
Join Date: Aug 2004
Posts: 7
Send a message via AIM to WhiteTiger
Default Some VB help?

well i learned a good bit of VB in school, and now i want to make my own game. It will be a long-term project and probably take a month or so to complete. But i need to know one thing: How can i create/read/write to a .ini file? I found it on a VB tutorial but it was annoying...too much stuff...if someone could post it for me in "simple" terms and reasons behind why you would do each thing...that would be very helpful

If your wondering i'm making a poker game with multiple games to choose from, but single player mode only. You will also be able to have an account, so that you can keep playing with whatever "money" you win. Nothing real amazing or anything...it will be easy to edit the files by hand...at least untill i make it look like a puzzle...

If you can help, i'd be much appreciated
__________________

WhiteTiger is offline  
Old 08-04-2004, 09:25 PM   #2 (permalink)
Super Techie
 
Join Date: Apr 2004
Posts: 316
Default

I just picked the top stuff off google.

http://freespace.virgin.net/s.cowan/.../ini_files.htm
http://www.vbmysql.com/samplecode/ini_file_class.html

Theres much more I'm sure.

Make sure you got no limit Texas Hold 'em in there, and give me a holla when it's done.
__________________

__________________
BlazingWolf
<font color=\'red\'>
<b>
<a href=\'http://www.gaming-forums.org\'>
Gaming-Forums.org
<a/>
</b>
</font>
BlazingWolf is offline  
Old 08-05-2004, 06:54 AM   #3 (permalink)
Newb Techie
 
Join Date: Aug 2004
Posts: 7
Send a message via AIM to WhiteTiger
Default

of course


i'm also going to have regular 5 card, a few seven stud games, and omaha too.


in 5 card you will be able to pick the wilds, or have none.
WhiteTiger is offline  
Old 08-05-2004, 04:17 PM   #4 (permalink)
Newb Techie
 
Join Date: Aug 2004
Posts: 7
Send a message via AIM to WhiteTiger
Default

now THIS is embarrasing...

I'm working on the signing in part, and i want to have password confirm. How do you compare strings? i tried <> but thaty didnt seem to work too well...
WhiteTiger is offline  
Old 08-05-2004, 04:40 PM   #5 (permalink)
Newb Techie
 
Join Date: Aug 2004
Posts: 7
Send a message via AIM to WhiteTiger
Default

ok i got that worked out but now i have a new problem:

when trying to create my accounts it says "Type Mismatch". I'm using the "ret = WritePrivateProfileString(lpAppName, lpKeyName, lpBuffer, lpFileName)" code to write to the file. It doesnt like any of the variables except lpAppName.

Any ideas?
WhiteTiger is offline  
Old 08-08-2004, 11:36 AM   #6 (permalink)
Newb Techie
 
Join Date: Aug 2004
Posts: 7
Send a message via AIM to WhiteTiger
Default

well i've decided to start with the game part now...and i have yet another error.

A friend that knows VB pretty well is coming over today to help fix my sorry @$$ code.

Anyway, I'm working on 5 card at the moment, and when its done i'll release it as a beta, just with that one form. Anyone wanna be a beta-tester? All input is much appreciated.

And if you have any ideas/suggestions, please feel free to post them

This will be a FREE game, and i plan to distribute it as much as i can...if you like poker please let me know if it's any good when i'm done.
WhiteTiger is offline  
Old 08-13-2004, 11:23 AM   #7 (permalink)
Banned
 
Join Date: Aug 2004
Posts: 50
Default

I am new to this forum but I have been reading and would like to help out, if you have msn messenger or yahoo let me know and maybe we can communicate and I could help you with this poker game in visual basic. With regards to it not liking the variables, have u got option explicit declared at the top of the vb program in the coding, if so , it will be because of that and the fact that you probably need to declare each of your variables
gecko_au2003 is offline  
Old 08-28-2004, 11:50 PM   #8 (permalink)
Newb Techie
 
Join Date: Aug 2004
Posts: 7
Send a message via AIM to WhiteTiger
Default

yea i have MSNM and AIM...dont use yahoo...too much to keep track of...

the other guy on the project quit saying it would be easier to do in java but i dont know anything about forms in java...so i cant do it that way...at least for a few months...


but i do have a few good ideas, like how to arrange the deck order, ect...if you wanna help i'm welcome to any/all help availible...thanks
WhiteTiger is offline  
Old 08-29-2004, 03:11 PM   #9 (permalink)
Banned
 
Join Date: Aug 2004
Posts: 50
Default help?

if you could email me or let me know your yahoo or messenger so we can get in touch some how that would be great !!

I dont use AIM, so that would be useless !
gecko_au2003 is offline  
Old 08-29-2004, 08:58 PM   #10 (permalink)
Newb Techie
 
Join Date: Aug 2004
Posts: 7
Send a message via AIM to WhiteTiger
Default

check your PMs...
__________________

WhiteTiger is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 11:21 AM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.