what is module and class module. I want to learn about it . anybody help me clearly.
abu taher
34
Practically a Posting Shark
Recommended Answers
Jump to Post1. See this thread for module
2. See this thread for class modulethis a some links about class module
- http://www.vbexplorer.com/VBExplorer/ooptutor.asp
- http://www.vbexplorer.com/VBExplorer/wrox/sample172X.aspDifferent between class and module :
http://en.allexperts.com/q/Visual-Basic-1048/class-module.htm
Jump to PostFor more information, just do googling more hard than me. :)
Jump to PostI already see your project.
You write too many if statement (make me dizzy) and it redundant.
Actually you can simplify your if statement become a function. so you just call function in each textbox checking.
I modified your program with added a module. In this module i put a …
Jump to Post>> Call CheckWinner(Text1, Text2, Text3)
here text1 mean t1 what was write in the module?
Yes. text1 will assigned with T1, then T1 used to check back color of textbox.>> Public Sub SetBackColor()
For Each controlx In Form1.Controls
If TypeOf controlx Is TextBox Then
controlx.BackColor = vbWhite
Next …
Jump to Post1. Yes, its for input name.
2. Yes, sohel used to know input name and show in msgbox. (same for jewel)
3. Yes, it connected.
First, sohel in CheckWinner function parameter and sohel in global declaration is different.
Sohel in checkwinner paramete got player name from sohel in global variable …
All 20 Replies
Jx_Man
987
Nearly a Senior Poster
Featured Poster
Vega_Knight
commented:
wow, helped site :)
+1
Jx_Man
987
Nearly a Senior Poster
Featured Poster
abu taher
34
Practically a Posting Shark
Jx_Man
987
Nearly a Senior Poster
Featured Poster
abu taher
34
Practically a Posting Shark
Jx_Man
987
Nearly a Senior Poster
Featured Poster
Jade_me
commented:
you make this program so simply....
+1
abu taher
34
Practically a Posting Shark
Jx_Man
987
Nearly a Senior Poster
Featured Poster
Sawamura
commented:
You work to hard for this :)
+1
abu taher
34
Practically a Posting Shark
Jx_Man
987
Nearly a Senior Poster
Featured Poster
abu taher
34
Practically a Posting Shark
Jx_Man
987
Nearly a Senior Poster
Featured Poster
abu taher
34
Practically a Posting Shark
Jx_Man
987
Nearly a Senior Poster
Featured Poster
abu taher
commented:
thanks. I realy get a lot of help.
+1
abu taher
34
Practically a Posting Shark
Jx_Man
987
Nearly a Senior Poster
Featured Poster
abu taher
34
Practically a Posting Shark
Jx_Man
987
Nearly a Senior Poster
Featured Poster
abu taher
34
Practically a Posting Shark
Jx_Man
987
Nearly a Senior Poster
Featured Poster
Neji
commented:
yes
+2
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.