Menu
News
All News
Dungeons & Dragons
Level Up: Advanced 5th Edition
Pathfinder
Starfinder
Warhammer
2d20 System
Year Zero Engine
Industry News
Reviews
Dragon Reflections
White Dwarf Reflections
Columns
Weekly Digests
Weekly News Digest
Freebies, Sales & Bundles
RPG Print News
RPG Crowdfunding News
Game Content
ENterplanetary DimENsions
Mythological Figures
Opinion
Worlds of Design
Peregrine's Nest
RPG Evolution
Other Columns
From the Freelancing Frontline
Monster ENcyclopedia
WotC/TSR Alumni Look Back
4 Hours w/RSD (Ryan Dancey)
The Road to 3E (Jonathan Tweet)
Greenwood's Realms (Ed Greenwood)
Drawmij's TSR (Jim Ward)
Community
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions, OSR, & D&D Variants
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Resources
Wiki
Pages
Latest activity
Media
New media
New comments
Search media
Downloads
Latest reviews
Search resources
EN Publishing
Store
EN5ider
Adventures in ZEITGEIST
Awfully Cheerful Engine
What's OLD is NEW
Judge Dredd & The Worlds Of 2000AD
War of the Burning Sky
Level Up: Advanced 5E
Events & Releases
Upcoming Events
Private Events
Featured Events
Socials!
EN Publishing
Twitter
BlueSky
Facebook
Instagram
EN World
BlueSky
YouTube
Facebook
Twitter
Twitch
Podcast
Features
Top 5 RPGs Compiled Charts 2004-Present
Adventure Game Industry Market Research Summary (RPGs) V1.0
Ryan Dancey: Acquiring TSR
Q&A With Gary Gygax
D&D Rules FAQs
TSR, WotC, & Paizo: A Comparative History
D&D Pronunciation Guide
Million Dollar TTRPG Kickstarters
Tabletop RPG Podcast Hall of Fame
Eric Noah's Unofficial D&D 3rd Edition News
D&D in the Mainstream
D&D & RPG History
About Morrus
Log in
Register
What's new
Search
Search
Search titles only
By:
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions, OSR, & D&D Variants
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Menu
Log in
Register
Install the app
Install
Upgrade your account to a Community Supporter account and remove most of the site ads.
Community
General Tabletop Discussion
*Geek Talk & Media
Help with Visual Basic
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Majin Trugeta" data-source="post: 176398" data-attributes="member: 4064"><p>Hi, I'm a pretty inexperienced programmer, but I'm majoring in Comp Sci in college so am learning as I go. I just recently finished taking a Visual Basic course and wanted to try to make a D&D alignment generator for fun, just to see if I could do it. It's a 36 questionnaire based out of the Hero Builder's Guidebook. Not sure if that would present a problem because of copyright so I'm not sure if I could release it after I've finished. I never intended to though, this is just for private use and just to experiment with. </p><p></p><p>Well either way I've hit a major roadblock. In class we barely scraped the surface of using multiple forms, and didn't get into global variables. So thats where I'm stuck. I have 36 seperate forms (one for each question with 4 radio buttons for the choices) I know this may be inefficient but it's the only way I could think of getting it to work with the knowledge I know of. I of course forgot to factor in global variables. These seem to be needed all over the place and I've declared them as Public and the "g" is in front of the variable name as well but I still get errors. </p><p></p><p>Namely, the form that I have the calculation code under complains that it doesn't recognize the variables I've declared globally. I'm not really sure what other info anyone else would need as this is my first time asking such a question and this type of board. But if any experienced VB programmers wanna give me a hand so I can figure this out you can email me at <a href="mailto:timoan@comcast.net">timoan@comcast.net</a> </p><p></p><p>It would be greatly appreciated, TIA!</p></blockquote><p></p>
[QUOTE="Majin Trugeta, post: 176398, member: 4064"] Hi, I'm a pretty inexperienced programmer, but I'm majoring in Comp Sci in college so am learning as I go. I just recently finished taking a Visual Basic course and wanted to try to make a D&D alignment generator for fun, just to see if I could do it. It's a 36 questionnaire based out of the Hero Builder's Guidebook. Not sure if that would present a problem because of copyright so I'm not sure if I could release it after I've finished. I never intended to though, this is just for private use and just to experiment with. Well either way I've hit a major roadblock. In class we barely scraped the surface of using multiple forms, and didn't get into global variables. So thats where I'm stuck. I have 36 seperate forms (one for each question with 4 radio buttons for the choices) I know this may be inefficient but it's the only way I could think of getting it to work with the knowledge I know of. I of course forgot to factor in global variables. These seem to be needed all over the place and I've declared them as Public and the "g" is in front of the variable name as well but I still get errors. Namely, the form that I have the calculation code under complains that it doesn't recognize the variables I've declared globally. I'm not really sure what other info anyone else would need as this is my first time asking such a question and this type of board. But if any experienced VB programmers wanna give me a hand so I can figure this out you can email me at [email]timoan@comcast.net[/email] It would be greatly appreciated, TIA! [/QUOTE]
Insert quotes…
Verification
Post reply
Community
General Tabletop Discussion
*Geek Talk & Media
Help with Visual Basic
Top