More Visual Basic Answers
Question Library
Ask a question about Visual Basic
Volunteer
Experts of the Month
Expert Login
Awards
About Us
Tell friends
Link to Us
Disclaimer
|
| |
|
|
| |
| | | |
About Ravindra
Expertise visual basic application programming from design to access information, sql, engineering and commercial applications. access databases, excel.
Optional:
1)a large number of people want me to do work which takes some time and effort. Pl.note that i would like to be paid for such work.
2) if you want me to spend quality time and do special work, i expect to be paid a reasonable price for my time.
3) if you are pleased with my reply you could consider a donation of 1$.
4) you can visit my website http://ravindra.coolpage.biz (under constrn)
Experience
Past/Present clients project work for a Norway company, and a Canadian company completed. Freelance Project work and Teaching
teaching vb
| | |
| |
You are here: Experts > Computing/Technology > Basic > Visual Basic > vb 6.0 quest
Expert: Ravindra
Date: 8/31/2008
Subject: vb 6.0 quest
Question explain the difference between declaring a variable in general declaration section of std code module and declaring a variable in form module?
Answer it would be nicer if your question started like
could you please explain...
the tone appears impolite; and since this is a free voluntary service, you need to more moderate if you want to elicit a reply.
in western countries, it is unthinkable so why follow it in east.
to answer your question
the variable declared in gen section is available to all procedures of that form.
the modular variable, has to be public and is available to all procedures of all forms in the project.
if it is just one form no module declaration is requried
Add to this Answer
Ask a Question
|
|