Hi Andy,
The suggestion to use OBJECT instead of FORM or CONTROL worked fine in my app., I have it up and running. The only reason I was passing a variable is becaused I thought I needed it to properly DIM the control or form depending on what I was passing. With the OBJECT it doesn't matter...
Hi Andy, thanks for the reply.
This is how I use to call it:
Sub DrawTrack(ByVal TrkJ&, ByVal C&, frm As Form)
frm.PSet (Lgn&, Ltn&), Tclrs&
end sub
This is what I have tried:
Sub DrawTrack(ByVal TrkJ&, ByVal C&, frmm As Form, Optional Ctrl As Control, Optional IsControl%)
If IsControl% =...
I have a very long sub that pass forms "frm as form" to draw and move pictures to and from the form.
I would like to use the same code in the sub to draw to a control or picture box.
Any ideas how to do this. I get a type mismatch if I just try to pas the control.
I am using Install Construct 8 by FileStream to install my VB6 apps. It has worked on all windows platforms until Windows 8. I won't register any of the OCX files I distribute with my apps. The VB6 package deployment works but is too limited for my needs. I have manually used regsvr32 and regocx...
I have VB6 installed in a Windows 8 64 bit computer and it is working ok. What I did was upgrade my windows 7 that had it already installed. I see others did the same thing when looking at other forums.
There were others that said they installed vb6 and sp6 on windows 8 without the upgrade and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.