|
-
Feb 2nd, 2005, 05:17 AM
#1
Thread Starter
Frenzied Member
Re: Quick Question
No probs buddy
Thanks for the reply anyway
-
Feb 2nd, 2005, 05:19 AM
#2
Member
Re: Quick Question
np
-
Feb 2nd, 2005, 06:12 AM
#3
Re: Quick Question
Hi Dino
You forgot the new on your DeviationCalculation function.
Regards
Jorge
"The dark side clouds everything. Impossible to see the future is."
-
Feb 2nd, 2005, 06:35 AM
#4
Thread Starter
Frenzied Member
Re: Quick Question
Yeha that is on the main form...
i have no problems with progBar ....just with progBar1 coz i am calling it from the module...
-
Feb 2nd, 2005, 07:11 AM
#5
New Member
Re: Quick Question
haven't you forgotten to set CRSC before calling the sub in this module. Anyways wouldn't it be better to move all this into a class instead of a module?
-
Feb 2nd, 2005, 08:46 AM
#6
Thread Starter
Frenzied Member
Re: Quick Question
Why would it be better in a class?
-
Feb 2nd, 2005, 10:15 AM
#7
Re: No Longer "Quick Question".........dragging on now..
if you put it in a class , you can add a reference to your Form ( because it's a null object at present ) , eg:
VB Code:
Public Class mod_Maths_Functions
Public CRSC As CRS_Creator.frmMain
Public Sub New(frm As Form)
CRSC = DirectCast( frm , CRS_Creator.frmMain )
'/// Now CRSC is an Active Reference to CRS_Creator.frmMain
End Sub
'/// Rest of Your Code Here ...
End Class
to access from a Form / Class ...
VB Code:
Dim cls As New mod_Maths_Functions( Me ) '/// Where Me = the name of the Calling Form ( ie: CRS_Creator.frmMain )
~
if a post is resolved, please mark it as [Resolved]
protected string get_Signature(){return Censored;}
[vbcode][php] please use code tags when posting any code [/php][/vbcode]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|