|
-
Aug 8th, 2000, 08:34 PM
#1
Thread Starter
Junior Member
Hello, When Deploying an application, all the windows that have an Activex that I created with VB6 do not appear. Ive checked and they only go throught the Init event of the form, after that it does nothing. The Activex is loaded but it does work in my machine pretty well.
Help Please
Thanks
Chicho
-
Aug 9th, 2000, 07:38 AM
#2
transcendental analytic
by ActiveX do you mean OCX, EXE or DLL?
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Aug 9th, 2000, 09:10 AM
#3
Thread Starter
Junior Member
It is an .ocx with a TDBGRID, ActiveBAR, and a Class I use it for ABC's The strange part is that in some computers does work but still dont know why.
Thanks!
Chicho
-
Aug 9th, 2000, 09:20 AM
#4
Did you remember to register it?
-
Aug 9th, 2000, 10:41 AM
#5
Thread Starter
Junior Member
I used Wise Instalation software, the .ocx had self-registered checked on. Is there a manual way to register it?
-
Aug 9th, 2000, 04:05 PM
#6
transcendental analytic
Code:
Private Declare Function GetSystemDirectory Lib "Kernel32" Alias "GetSystemDirectoryA" (ByVal lpBuffer As String, ByVal nSize As Long) As Long
Private Property Get systemdir$()
Dim str As String * 256, length&
length = GetSystemDirectory(str, 256&)
systemdir = Left(str, length)
End Property
'You shell RegSrv32.exe in system directory:
Shell systemdir & "\Regsvr32.exe /s " & YouOCXpath
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Aug 9th, 2000, 06:37 PM
#7
Hyperactive Member
Just trying to learn some of the tricks
Originally posted by kedaman
Code:
Private Property Get systemdir$()
Dim str As String * 256, length&
length = GetSystemDirectory(str, 256&)
systemdir = Left(str, length)
End Property
I'm trying to learn some of this, so be patient. Why the $ in your property "Get systemdir$()"? What does
the "Dim str As String * 256, length&" do? and what is the reasoning for the ampersand after "length&"?
Also, why the ampersand after 256 in the following line -
" length = GetSystemDirectory(str, 256&)" ?
I'm assuming that there is a ")" where the smiley is - maybe
it would be a good idea for us to disable smileys when
posting code ;)
[Edited by dsy5 on 08-09-2000 at 07:44 PM]
-
Aug 9th, 2000, 06:41 PM
#8
Monday Morning Lunatic
Appending a symbol sets the type:
Code:
Dim str$
Dim str as String
are identical. It works the same way for functions.
Using Dim str as String * 256 limits the length to 256 characters (and sets the buffer up).
Appending a & sets it as a number (I think a Long).
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Aug 9th, 2000, 06:47 PM
#9
Hyperactive Member
Originally posted by parksie
Appending a symbol sets the type:
Code:
Dim str$
Dim str as String
are identical. It works the same way for functions.
Using Dim str as String * 256 limits the length to 256 characters (and sets the buffer up).
Appending a & sets it as a number (I think a Long).
Muchas gracias, I suppose a good book would be in order -
I'm used to VBA, there was such an abundance of help in Office. Any suggestions?
-
Aug 10th, 2000, 06:42 PM
#10
Monday Morning Lunatic
Hardcore Visual Basic is supposed to be quite good.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
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
|