|
-
I have a funny variable
In a module titled "Variables" I have declared a public variable TextAddr as a variant, on main form load I set this variable to 888 in other subs on the main form I use this variable and the value is there, later in my program I use a function located on a module titled "MotorControl" and in that function I also use my variable TextAddr, but at that time it's empty and I can not see why. If I move that entire funtion code to the main form then all is ok and the variable has the value but as soon as I move the code of the funtion off the main form the variable is empty.
Similar Threads
-
By Chris Yard in forum VB Classic
Replies: 5
Last Post: 02-08-2007, 05:44 AM
-
By spydersweb in forum AJAX
Replies: 1
Last Post: 08-29-2006, 02:07 PM
-
By NikhilSriv in forum Java
Replies: 1
Last Post: 06-14-2006, 05:24 AM
-
By Lymarie in forum Database
Replies: 0
Last Post: 04-02-2001, 10:16 AM
-
By mrfelis in forum VB Classic
Replies: 9
Last Post: 04-25-2000, 10:08 PM
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks