Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




Register An OCX


I have downloaded an ActiveX ocx and I want to use it in my VB project.
How do do that? Do I need to register that ocx in the registery ? If yes, how to do the same.




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
How To Detect A ActiveX OCX Registered Or Not Yet? How To Register And Un-register During
How to detect a ActiveX OCX registered or not yet? how to register and un-register during run-time?

I want to detect a OCX first, if not registered, register it, and un-register when program exit. if registered, just use it.

Can I do it like these? Thank you.

How To Register And Ocx From Within My VB App?
I'm writing a Builder app that will do an automated build of MyVBApp.exe. MyVBApp.exe needs a set of specific dll's and ocx's registered in order to compile. I need my Builder app to register these dll's and ocx's and I don't know how to do it.

Register Ocx
Hi Boys and girls,

I've made a program for my VB project but it requires 2 freeware ocx to run. Now every time I change a machine or something I need to register them using the command line parameteres we all know of. Is there anyway I can register them in my Vb code? SO when someone runs the program it automatically registers the required ocx's.

Ciao

Is This How I Register .dll And .ocx?
Source: "F:RoHdokimesdokimes_gia_ssto_file_transfermsvbvm60.dll"; DestDir: "{app}Private"; CopyMode: alwaysoverwrite; Flags: regserver

is this correct to register a .dll or an .ocx? with inno setup?

Register DLL?
I have developed a program which uses PICFORMAT32. There is a OCX and a DLL included with it. I installed the program on my computer and my friends computer. My friend is getting a "time limit for this program is up" error whenever he is accessing the part of the program which uses PICFORMAT32. Does the DLL for PICFORMAT32 need to be registered first? When I downloaded the OCX it automatically registerd itself on my computer but now I have made an install program that includes PICFORMAT32 as one of the supporting files. But does it need to be registered also on the computer you're installing to? Thanks to all who reply.

Register OCX && DLL
How can Register an OCX or DLL using Visual Basic.. Tnx

[vb6] Dll And Ocx To Register
to create a setup file i use Inno Setup

I insert in the FILES section the files, dll and ocx that have to be installed

the question is:

how can I know if a certain dll o a certain ocx HAVE to be registered or NOT?

is there an utility that specify it?

using the vb utility to find the dependence files, i can't see if the registration is due or not


ty

Not Having To Register An OCX
Is there a way to create a vb program that uses an OCX that you don't have to register but just have in the same folder as the application.

Jon Zahrfeld

DLL Register
In my program I have a reference to the Microsoft DHTML Edit Control Library!
The files are here:

C:Program FilesCommon FilesMicrosoft SharedTriedit

DHTMLED.OCX
TRIEDIT.DLL

If I unregister the above file (DHTMLED.OCX) it will give me the following error:

Component 'dhtmled.ocx' or one of its dependencies not currectly registered: a file is missing or invalid

I don't know how should I check that this file is registered on start-up, so if not I can register it!

Because this file is protected by OS, even if you remove it, it will be restored.

So I just need to know the status of dll registration for this file, and then proceed to register if it's not!

Any one able to help me?

OCX Register
Hi
Is there any way to Install an OCX seperately, not as part of the installer?
I was trying to Install MSCOMM32.OCX using regsvr32 and it fails.

can anybody help?

thanks in advance

THOMAS

REGISTER DLL From VB6
Quick question......
1. If i wanted to find out what DLL's are used/needed with MS DataGrid in VB6 how would i do that?

2. How would i register a DLL from VB6 Code? (could someone post simple sample Code)

Thank you for any help.

How To Use / Register/ A Dll
i hope i am putting this in the right place it is a vb question ,if not i apoligize in advance
ok bare with me the while i give an explination please.
i have a dll that i wrote in c++ to wrapp another dll that was writen in c++ that used _cdecl that i could not use with vb. after about 3 months of being on forums and tring to learn c++ to do this it finnally compiled with no errors.
it does have a def file with it example::

LIBRARY VB_DIALOGIC

EXPORTS
CreateVBDIALOG
DestroyVBDIALOG
dx_libinitDll3
ag_getctinfoDll3
ag_getxmitslotDll3

and all of the functions are wrapped with in the cpp file

now when i try to reference it i get an error that it can not be used so i try to register it and i get registered but no entry point found, now in vb i tried to do this::

Private Declare Function DX_OPENDLL3 Lib "VB_DIALOGIC" (ByVal NAMEP As String, ByVal OFLAGS As Integer) As Long
'DIALS A NUMBER (DIALSTRP) ON THE DEVISE (CHDEV) SPECIFIED
Private Declare Function DX_DIALDLL3 Lib "VB_DIALOGIC" (ByVal CHDEV As Integer, ByVal DIALSTRP As String, ByVal CAPP As String, ByVal MODE As Integer)
'CLOSES A DEVISE THAT WAS OPENED WITH DX_OPENDLL3
Private Declare Function DX_CLOSEDLL3 Lib "VB_DIALOGIC" (ByVal DEV As Integer)

i get can not find entry point for vb_dialogic.dll
also i have the first two functions in the def file create and destroy an instance of the dll but i am not using them in the code write know the entry point thing has got me baffled
please help i am at a lose thank you

Register An OCX?
I finally tracked down the bug that was causing half the people who connected to my online network to crash - they didn't have the microsoft richtext OCX on their system. However, this presents a new problem...

How can I manually register an OCX on my end-user's computer?

Register Ocx's
Hello all. I made a wuick program and used an ocx file and a lot of people won't have this on the computer. It's jsut a little program so don't want to use package wizard so I am curious if there is any other automatic way to put this on their computer? Thanks in advance and everything is much appreciated

Register
In at program is it possible for it to also register an ocx file in the prosess of starting up. like the msinet.ocx

How To Register A Dll
Hi i was wondering if i need to register a dll to use it in a iis application.
-srikant

Register
I'm trying to run the Dployment wizard and it basicly told me that MSEDIT.OCX is not registered.
Earlyer this week I had a problem were the ocx didn't install with VB so I copied it from the VB CD to the system32 folder then browsed to it with my VB project, the added it.
My question is, How do I register it?

Add Key To Register
How can i add a new key to the register and add a string value to it.

Register OCX
Would this code work well to make sure the winsock (or any for that matter) ocx is in the system32 directory and registered?


Code:
Private Sub Form_Load()
Dim strWSPath As String

strWSPath = GetWinDir & "SYSTEM32MSWINSCK.OCX"
Shell "regsvr32 /s " & strWSPath, vbHide

If Dir$(strWSPath) = "" Then
Dim bytResData() As Byte
'I'm sure that it's in the resource file and it will extract ok,
'so that's not a problem
bytResData = LoadResData(1, "CUSTOM")
Open strWSPath For Binary As #1
Put #1, , bytResData
Close #1
Shell "regsvr32 /s " & strWSPath, vbHide
DoEvents
End If
End Sub

Private Function GetWinDir() As String
'Returns the windows directory, like "C:WINDOWS"
'I didn't include it beacuse I know it works
End Function

Thanks for taking a look at it!

Register App
I'm making an application where you can register nicknames. Normally you have to register them on a web site. How do I make it so my App sends data to register? Can I just add a winsock control and make it go to a certain address. Sorry, I'm new with winsock.

P&&D How To Register
Hi,

How can I create a key in the register using the P&D?
I want all my applications to add a specific key like:

Code:
HKEY_LOCAL_MACHINE
SOFTWARE
MYAPPS
APPLICATION1
APPLICATION 2
Thanks,

Patrick

How To Register Dll's
Well, I just want to include zip.dll and unzip.dll into may application.
Problem is, how to know if these dll's are already registered (or not) on computer (system) where I need to install my application.
Is there any way to register dll's when application starts and to unregister them when application ends?

Register Dll
I am writing a VB. net program to interface with some old hardware. The manufacturer of the hardware included a dll to provide use of the hardware.
I've read that i need to create a COM wrapper, but I cannot register the dll so that it appears
In VS. NET Project / Add Reference menu option, Add Reference, COM tab

I've tried:

regsvr32 c:windowssystemTpComm.dll

But it says:

TpComm.dll was loaded, but the DllRegisterServer entry point was not found.
The file can not be registered.

Dll Does Not Register
Hi,
I am trying to register vb5db.dll correctly, I have manualy ran it and got the following message:
vb5db.dll was loaded, but the dll registerserver entry point was not found.
dll registerserver may not be be exported or current version may be in memory. consider using pview to detect and remove.
I have done a search in the find files and folders and only found the one instance of the file.

Cannot Register A Dll, But I Can Use It
I downloaded a Kwab.dll and trying to register it i get "cannot register entry point not found", but i added it to my vbp folder and it works fine. How could this be ?
This dll gets all the users names and address from the windows address book(wab). I use this with vbsendmail. Can i be sure if i include this dll into my setup it will work on other machines ?

Need Help To Set Register Value
Hello!

In below my coding i have to pass two text box values to Php web page.
And send reply as invalid or success.
Note my coding below:

Code:
Dim name1 As String
Dim serial1 As Integer
Private Const FLAG_ICC_FORCE_CONNECTION = &H1
Private Declare Function InternetCheckConnection Lib "wininet.dll" Alias "InternetCheckConnectionA" (ByVal lpszUrl As String, ByVal dwFlags As Long, ByVal dwReserved As Long) As Long
Private Sub cmdAdd_Click()
If InternetCheckConnection("http://www.msn.com", FLAG_ICC_FORCE_CONNECTION, 0&) = 0 Then
MsgBox "Please Check the Internet connnection to continue", vbInformation
Exit Sub 'Please make Internet connection to continue
Else
End If

If Text1.Text = "" Then
MsgBox "Enter The Name"
Text1.SetFocus
Exit Sub 'Stops processing to enter the name
ElseIf Text2.Text = "" Then
MsgBox "Enter The Serial Number"
Text2.SetFocus
Exit Sub 'Stops processing to enter the name
End If
Dim strUrl As String
Dim strFormData1 As String
Dim strFormData2 As String


strUrl = "http://www.mspinfo.com/serialcheck.php"

Inet1.URL = strUrl

Inet1.Execute strUrl, "post", "serial=" & Text1.Text & "name=" & Text2.Text, "Content-Type: application/x-www-form-urlencoded"
End Sub


Private Sub Inet1_StateChanged(ByVal State As Integer)

Select Case State

Case icConnecting
Case icConnected
Case icRequesting
Case icRequestSent
Case icReceivingResponse
Case icResponseReceived

Case icResponseCompleted

Dim strTemp As String
strTemp = Inet1.GetChunk(128)

strTemp = Trim(strTemp)
If InStr(1, strTemp, "0:") Then
MsgBox "error: " & strTemp
Else
MsgBox strTemp
Dim lngPos As Long
lngPos = InStr(1, strTemp, "invalid", vbTextCompare)
If lngPos <= 0 Then
MsgBox "Click Next to continue"
Else
MsgBox "Enter The correct Serial Number"
Text2.SetFocus
Exit Sub 'Stops processing to enter the name
End If
End If
End Select
End Sub

Private Sub lable1_Click()

End Sub

Private Sub Text1_Change()
strFormData1 = Text1.Text
End Sub

Private Sub Text2_Change()
strFormData1 = Text2.Text
End Sub


I want to set register Key to 1 or true at the place in the coding is :

If lngPos <= 0 Then
//set register value to 1 or true;

And also i want after some days the registry value will change to 0 or false automatically.

Additionally every time the From is load , i need to check register vaue if it's 1 or 0.
If the register value is '1' means then continue without connecting internet and InET control.

If the register value is '0' means Do not continue without using INET for to check the Text box value in PHP web page
I want to check Register value when form loads
PLease Help me if you know the answer...

Ocx Register
I have download the OCX.Then I register it.After use it, I found that, It is not suitable for my application, I want to delate it.How I can delate it? Can it delate manually.It is affect my application if I delete the OCX I have already register?

How To Register OCX
I have problem here. how I can register OCX ?

My OCX name is MO21ScaleBar.ocx . The my path location for
MO21ScaleBar.ocx. is in C:scalebarNew Folder ..

When I register it I got the error mesagge



Code:
regsvr32 C:scalebarNew FolderMO21ScaleBar.OCX


"The module did not find"

How To Register DLL
Hello Guys!

How to do I register DLL?

Thanks a lot!

Register Ocx And Dll
I have a problem in running my vb application.It gave an error showing dll or ocx not registed.I want to know that,is there any requirement to use original softwares to register the dll or ocx used in vb applicatio.Can anybody tell me the solution of this problem.

or What are the requirement to register the dll or ocx.


Thanks in advance.

Register .dll
can someone tell me a code or a way to register a .dll automatically without doing it manualy?

tanks

Register
hey, i'm doing a program that have a .dll file that is not allready register .dll, so is there any way to make it register when the program in openned?

tanks

Register OCX's
How do you register ocx's using vb code.

I thought it would be like the code below but it comes up with an error.


VB Code:
Shell "regsvr32 (app.path + "dataocxmscomctl.ocx")"


Thanks in advance chris1990

Register Dll From Vb
I want to register dll from my vb application.
I don't know how can I do this.

Plz help and guide.

Register Name
Hard to explain but I'll try the best I can.

You know for IRC it has irc://66.66.66.66:6667 and it launches mIRC and connects to that server?. How can I have my program have its own name thing so it launches when someone clicks say [/i]myprog://66.66.66.66:9801[/i] ? What I'm asking is how do I set windows to recognize myprog to launch my program when that link is clicked?

*Note: mIRC is an Internet Relay Chat (http://www.mirc.com)

Register OCX Help
Okay, this is really screwing my program up alot. Let me explain my problem.

I have an OCX, named prjxtab.ocx, and I got it from PS code. All it is, is an ActiveX tab control that has many many more skins and features then the regular one, and can make the program look rather nice. So, I downloaded the source, and compiled it via VB onto my desktop. I added the OCX to my VB 'Components', and added it to my other project. After doing so, I compiled it, put everything together and zipped it up. The zipped up folder included the OCX. After passing it out, I have gotten over 100 replies now that it's not working. They say it get's an error that it's not registered correctly. So I try it myself multiple times in different ways and it works fine. So I told them to try and register it, and they all did, they got the successful registration messagebox, but it still don't load. Get's the same exact error that it's not registrerd correctly.

So, first off, would anyone know the problem?

Second, how can I register an OCX inside VB? If I can, I'll just make a seperate EXE they run that will auto register it for them, and hopefully fix the problem.

Thanks in advanced,

~Inuyasha1782

How To Register
I m facing a problem.
i have forgotten what is the way to register dll in Application Directory on
Form Load Event ....

Thx in Advance

Register
How can I register files that i've copied to "c:windows" directory using VB6. Any help will be appreciated.

Register OCX
i need a simple code to register a certain ocx file on the users computer when they open the program..

Register Dll
I want to install my program to client. I need to detect if a dll has been registered in client machine. how? thanks.

Register
I want the people that run my program to have to regisgter for it.... When the program loads i want to prompt for the username and passsword, then search somewhere to see if it is valid.... The problem is that i want the lsit of possible ids and passwords to update for them every time... Iwas thinking of having it be read from a web site but im not sure. Or is there a way i can haev the program update when it loads? All help is appreciated!

Register Ocx's
Hello all. I made a wuick program and used an ocx file and a lot of people won't have this on the computer. It's jsut a little program so don't want to use package wizard so I am curious if there is any other automatic way to put this on their computer? Thanks in advance and everything is much appreciated

Can I Get In To The Win Register With VB????
Can I get in to the Win Register with VB????

Register OCX
Hi ,

What is the safe way????? To register the OCX file or to copy the OCX file into system directory. My program need some ocx and dll. In my form load I want to register them but now I am confused whether I should register them using shell & regsv32 or simply copy them into system directory? Which is more safer

Please suggest me a good solution for both DLL and OCX,

Regards,
Gary

Register Dll
what if the computer gives me an error: class tpmg....dll not registered!

how to register it?

Register Dll
hi friends
how to register a dll dynamically.
thanx

Register And W9x
Hallo,

I have a problem with a program that works good on NT4 or W2k and W98, but i use this program for the users to log on the network.
The program change also register settings by logging, but this works only well by NT4 or W2k, and not by the W9x OS there happens nothing.
If a start the program after a login the W9x machine he change the register setting well!?

Do i missing something on the W9x machines, dll etc???

Pascal

Register OCX Or DLL
I've downloaded a awesome OCX that allows you to video conference with 3 people at the same time - it does not use netmeeting, and looks identical to the same video windows they use with Pal-Talk and Yahoo.

Unforn...when you load the VB code you get the nice nag screen saying "Please register - trial version"

Does anyone know how to remove this nag as I can NOT find it inside the vb code - were else can you look for the nag? There is no modules being use as the program only has one form...would this nag be inside the OCX? If so, how do you remove it from there? Any help would be appreciated...thanks!

Register
How can I make a form that allows theb iuser to register pogram and swend the contenbts via email?

Copyright © 2005-08 www.BigResource.com, All rights reserved