MTS Registering Components
Every time I compile my dll, I have to go to MTS and delete the old one and register the new one in. Do you have the code to register a dll into MTS automatically after I compile the dll.
In window 2000, you can just drag and drop. In here MTS, it gave me an error message when I drag and drop the dll to MTS.
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
I bought a vb component on a share ware site for importing files into a DB. It came with the source code. It works fine but I wanted to modify it. I made my changes and recompiled the ocx. The problem is that when I go into a new project on the Menu-ProjectComponents the component is now listed 3 times. It's not running my changed ocx. It seems to be running exactly the way it came. What do I need to do to have only my updated version of the component listed.
PS If anyone is looking for a tutorial to do I know I would be interested in COM creation. I learned a lot from JDT's "Create Active X DLLs"
Hi to all:
I had create a setup with PDWwizard,and I had installed in a few computers,but the program don't work in 2 computers because,I think,the components are not registered...This is possible?????
Wich the way to resolve this problem?
Is there a rule to registering components? What type of components need to be registered and which ones do not? I am writing a huge program that I plan on passing out to other people, but I need to know what components need to be registered in my setup program.
One of my users is getting the following error when he tries to load a form in my program, which contains a tabstrip:
"Run-time error '339':
Component 'COMCTL32.OCX' or one of its dependencies
not correctly registered:
a file is missing or invalid
I remember registering components via "Start, Run" a long time ago. Can someone please refresh my memory and tell me what the syntax is for manually registering components? The user is running Windows ME.
I have problem when I try to run my program from the client's machine. I have registered the necessary components on the client's machine. Probably the components are not properly registered, (when I search for them I can see that they are there)but how do I make sure that they are properly registered. It's running on WindowsXP, and I keep on getting this "ActiveX component can't create object". Please help me out, I have been struggling for weeks now
I have a 4-part application consisting of:
1 COM component in java, all it generates is one .tlb
1 COM component in VB which references the java COM component
1 NT Service and one ASP site that both reference the VB COM component
Anyways, I got it all to work beautifully on my system. Hitting the first components in the "references" section I guess registered the components for me. But when I try to move them to the server I can't figure out how to register them!! The java component only generated a .tlb and the VB component only generated an .exe!! How do I register them??
Registering Components In Vista
I hope anybody can help. All my ocx and dll components are vista compliant and I know that my app works on vista. I just have problems with creating install sets.
I have tried various installation programs. Install Shield Qsetup etc.
I think the problem is with me not understanding how vista works.
I installed my once before with sucess.
I know is has something to do with admin rights uac etc.
I only have one user account on my Vista machine and it is linked to admin.
I have also right clicked on the setup file and said run as administrator.
I have tried to manually register the controls using refsvr32 with no sucess. I know it is something I'm doing wrong. i have installed one of my apps using the same controls with great sucess but have no idea how I did that, and why my one install set works great and none of my other install sets works ?
Any help would be appreciated. If I can just create a good install set my app will work on Vista...
Thanks for all your help so far
Registering Remotely VB Components
I've been trying unsuccessfully to use remotetly registered components
through COM+. The environment is:
Visual Basic 6.0
SQL Server 2000
One server machine with W2K Server
W2K Professional on all workstations
The LAN is small with no security issues. In fact we all have
administrative priviledges both in the workstation as well as in the server.
The components are owned-made and all perfectly working if registered
locally. Using MSI to register them remotly create problems like "access
denied" or "automation error" eventhough none of them happen when localy used.
Thanks for the help
Registering Binary Components
I'm trying to learn VB. I get the following error when I add a VB project to
the one I'm currently working on
"Unable to set the version compatible component C:...DirinProject2.dll"
where Project2.vbp in Dir is the project I'm trying to add to Project1.vbp.
I thought I might have to register the dll, but the bin directory mentioned
in the error message doesn't seem to exist.
What should I do?
Registering Components On Other Machines
Is it possible to register ActiveX components on computers in a network from a central machine other than registering them directly on the individual computers?
How can this be done?
Registering And Unregistering COM Components
This is more of an installation question than a COM question but there is a discussion going on in the department about the proper installation practice in regards to COM components. One argumnet is that when a COM component is updated on a machine that it should be unregistered, deleted and the new one installed and registered. The other argument is that there is no need to unregister the COM component, just switch it out. This talk came about it reference to binary compatiablity. Some say that once the component is release that it should never break compatiablity which everyone agrees. But binary compatiablity is broken if a new interface is added. Any comments are welcomed.
Problem With Installation And Registering Of Components
Alright... I've reached a point where I haven't a clue as to what to do now.
I'm developing an application in VB6 for my company. Unfortunately, a second part of the application has to be done in APL.
To make the two parts work together, I have to run the following:
(path)APLComponent.exe 32M (path)APLComponent.INI /RegServer
This works great if the program is being installed in a directory without spaces. However, since we're doing this with an installer, and we want the end user to be able to put the application wherever they want, those two lines won't work if the user installs the application in Program Files, for instance.
I've tried doing this with the Package and Deployment Wizard as well as with Inno 3.0.7 but it keeps failing at the point where I tell it to execute those two lines with a fail message.
Is there any way this can be done so it works regardless of where the user installs the application, or will I have to set the installer up to force install the application in a directory without spaces in the name?
Packaging/registering 3rd Party Runtime Components
Im fairly new to using thrid party components and making and install exe for the app and the runtime licensed components it uses.
Ive played with the vb6 packager and installshield express. (using the vb project dependices thing)
? I cant get them to install or register the runtime compoents properly.
im begining to think they cant do it
Somebody tell this is not so! and that its easy to get packagers to do this!!
Application Crashing While Registering/Unregistering Components
Can anyone please assist me with this?
I am having some problems with an application which automatically
unregisters and registers
a bunch of DLL's and OCX's using GetProcAddressRegister,
CreateThreadForRegister and WaitForSingleObject API calls.
The application sometimes crashes while registering or unregistering the
Application disappears from the Task Manager applications list, but the
process remains. Because of the nature of application, I am unable to
determine exactly at what point it
crashes, and the component it crashes on is usually any of the large number
Please any experience/help will be appreciated.
hey, in order for my program to run i need to register a couple of .dll's. is there some code or something i can put into my declarations or form load or soemthing that will register these .dll's for me automatically??
I need to distribute a dll file with my program, but do not want to use PDW. Is it good enough to put the dll in the system directory or do I need to register it? Furthermore, what does registering a dll actually do? I've looked all over online and can't find any information on this second question.
Not Registering Dll's
I am using Microsoft Visual Studio 6 Installer to create an installer. I have hit a snag, in that it is not installing some custom dll's. It copies them to the system32 folder, but does not install them (i.e regsvr32 xxxxx.dll). How can I get it to do this for me?
Registering DLL And OCX
I am making a website, and would like to use an activeX-control on it. The activeX control uses a DLL to access an MSAccess database and displays data. The page works fine locally, but when I upload it to the webserver, the control will not show. I am supposing this has something to do with the OCX and DLL not being registered on the webserver (The .htm file does not work locally either unless I have registered the DLL and OCX files with regsvr32). But I have no way to register these files on the server, as it is a server from a provider and not a server I have locally. Does anyone know how to solve this?
Check www.tekniskalibi.no to see the result I get now (The OCX control should have been showed in the bottom right square).
Dll Registering On Xp
can someone tell me how to register a .dll on windows xp.
I have tried to run regsvr but it doesnt seem to be working.
Registering A DLL
Hi, I have to write a program in VB 6.0 that can register a specified dll. I don't really know how to do this, so if you have any code that could be usefull to me, I would appreciate it if you showed me that code.
Thanks in advance. :-))
I created a dll for my project which contains all the classes necessary to run the project. The problem is that when I register the dll it creates over 1400 entries. These entries are all created on behalf of this dll and the classes.
Network is having a cow and do not want to have that many system changes. Is there anything I can do about this or does it have to happen this way?
PS The program gets an active X component error if I don't register.
Registering Ocx Or Dll
I have added controls to a program that is running on a site across country. I need to have the program register the new controls when it is started if needed. I can create an install program but the users onsite are not computer literate.
Registering .Net DLL From VB6
I've build a .Net DLL, which is registered for Interop, and it can be used OK by VB6 on the machine on which it was originally built. However it wont register on a different machine - am I missing something?
Registering 16 Bit OCX
Can somebody help me in registering 16 bit OCX control on winnt/win2000. I cannot register using REGSVR32.EXE
you can send me reply to my email directly
Thanx for the help
Registering And Using The DLL
I have a DLL file. When i try to add a reference of it through Project -> Add REference, it says "Can't add a reference to the specified file". and when i try to register it through regsvr32, it displays an error
"CHPSL.Dll was loaded, but hte DLLRegisterServer entry point was not found. DLLregsiterServer may not be exported, or a corrupt version of CHPSL.dll may be in memory. Consider using PView to detect and remove it."
I have all the dependent files register on my computer which this DLL requires.
Pls let me know how can i use this DLL.
Ok, me again...
I have managed to make some quite nice little applications. And they are runing just fine on my computer. But on any other pc, it is a dissaster. I know I need to register controls, but is there a program that can do registering controls, instead of writing rgsvr32.exe control path, for each one? Or is there at least a way to find out which controls you need to register? Thnx in advance
I am writing an automatic update module for my application, and have most of the problems solved now.
I am registering any new ocx downloaded using the DllRegisterServer API.
My problem is that I want to flag a number of the downloaded ocx as "Shared" as they are used in more than one of my applications that the end user may have installed.
This must be possible, as the Inno Installer has a flag available.
Any ideas which API I need to use to register as a Shared File?
I ve a Visual Basic 6 application...
I am using dtspkg.dll, dtspump.dll, custtask.dll....
I want to register these dll's in the current running machine ..
How can i register ? Is there any way other than using Regsvr32
If anybody know plz do help ..
Thanx in advance ...
Any help appreciated
carried over from here
Originally Posted by kebo
by boot I meant starting Windows. Do you know what is invovled with the registration process? I am build a program on XP embedded, and when we have an update that requires additional dll's, the update process simply copies the files onto the embedded system. Running regsvr32 is fine, but have a msgbox after each dll is not desireable. I'm wondering if there is a regkey(s) that can be written to handle the registration process? or Is there any other method of handling dll registration?
ok so I've made a new thread
I looked at that link you posted in the thread that started this thread, but it appears to show just show how to Shell regsvr32 from code. Doesn't this still result in a msgbox show whether is was successful or not, or did I miss something?
Registering A DLL
Can someone tell me what the command is to register a DLL? I'm using Windows 2000 Professional. I click on Start and Run and am not sure what to type to register the file.
Registering A DLL
I have made an Executable DLL which when i try to register on my local Machine it registers without any problem.
But when the same DLL i try to register on a Remote Server , i get the Error Message as follows :
" regsvr32 D:InetpubwwwrootwebstframeE2EPROD36.dll "
"D:InetpubwwwrootwebstframeE2EPROD36.dll" is not an executable file and no registration helper is registered for this file type.
Can anyone please help me out.
What Does Registering Mean Exactly ?
I,m new with VB and ActiveX Control. I've been writing my first application in the past few weeks and I've used a control downloaded from the net. Starting today, whenever I try to use it, I get some error message saying I don't have proper licensing info (or soemthing like that) in order to use it.
Since I'm a bit confused with this I go ahead and ask :
1 - What does registering a control mean exactly ?
2 - How can you know if a control is registered ? And can you get this info if your using NT and are not an admin user ?
3 - How do you know when it is going to expire (if such a concept exist... I'm guessing that's what happen to me with my downloaded control...)
4 - How do you register a control manually ?
5 - How do you Un register a control manually ?
I've been using Inno for deployment with the regserver parameter but I have no idea if it did the job or not. Is there a log Inno creates whenever you run setup file to check what actions were performed ?
Ocx, Dll Registering ?
to use regsvr32 to unregister or register ocx and dll components, do i need administrator rights to the PC ?
any other way if i do not have administrator rights ?
using NT 4.0 SP 6
I have 3 .ocx files...how do I register active x files like these?
How do I register ocx's that I include with my program?
I am currently having the ocx's that are included with my program be copied into C:windowssystem folder.
Registering DLL's Via API
i was just browsing through APIViewer (one of the many interesting things i do in my spare time ) and i came across 2 subs that looked like they might do what 'regsvr32' does to register/unregister dll's
Declare Sub DllRegisterServer Lib "activeds.dll" ()Declare Sub DllUnregisterServer Lib "activeds.dll" ()'and possibly even this one...not sureDeclare Sub DllInstall Lib "browseui.dll" (ByVal bInstall As Long, ByVal pszCmdLine As String)
can someone tell me if they do what i think they do and if so, give me an example of how to use them? it would be good if i could register dll's this way instead of shelling regsvr32
if none of these are the right ones, if its actually possible through the API, could you tell me which call is it?
Registering A Ocx
i downloaded winsock and now it says i have to register it, how do i do that ?
Help Registering An Ocx
Ok I'm trying to register a Control manually on a Win 95 Box.. but I keep on getting a Load Error
Self Registering DLL??
I've got a project that I want to create an exacutable from to allow users to run from a floppy or CD.
The project uses a DLL which will need to be registered.
Is there a way so that when the user runs the exe it checks to see it the DLL has been registered and if not, do so?
Self Registering DLL?
I need to do something similiar to WinZip but with a dll.
I need to create a package and then when I click on it, it will automaticaly register it on the server.
Can this be done?
Registering Dll's && OCX's
Hi I was wondering if some one could tell me the way of registering dll's or ocx file with in your vb code, i have tried but to no good here is what i have
Private Sub Command1_Click()
If Dir$("C:WinntSystem") <> "" Then
direct = "C:WinntSystem"
direct = "C:WindowsSystem"
If Dir$(direct & "any.ocx") <> "" Then
If Shell("regsvr32 /s" & direct & "any.ocx", vbHide) = 0 Then
MsgBox " Failed to register"
MsgBox " succesfully registered"
FileCopy "C:WindowsDesktopany folderany.ocx", direct & "any.ocx"
If Shell("regsvr32 /s" & direct & "any.ocx", vbHide) = 0 Then
MsgBox " Failed to register"
MsgBox " succesfully registered"
any help would be really appreciated!!!
Help Registering OCX !!!
I've made an OCX (really modify an existing free control) and i compiled it and used it in an application.
When installing i got the error "An error while registering then file c:windowssystemButtonXP.OCX"
Can anyone help me with this???
PD.Forgive me for my english.
How can I register my friendly DLL with Win98?
rgsvr32.exe : doesn't work / I don't know how to use it right