•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 426,127 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,739 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Views: 11829 | Replies: 5
![]() |
•
•
Join Date: Jul 2003
Posts: 22
Reputation:
Rep Power: 6
Solved Threads: 0
I developed several macros on my computer, but then I copied and pasted the macros on the c drive>program files> microsoft office> templates of several of my users so that they can access the macros when they go into Word. In Word, they click file> new and choose the macro they want to run. This works great. Then my users wanted me to add a DTPicker calendar to the user forms of the macros because there are several places where they are required to enter dates and having the calendar makes it a lot easier. When I added the calendar on my computer, it works great. When I updated their computers with the revised macros, I got this error message: Project or Libraries missing. I did some research and came up with this solution: I needed to istall isdesign.ocx and mscomct2.ocx. I am not sure what these objects are or what they do? Where can I learn more about .ocx and what their purpose is? :roll:
•
•
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,905
Reputation:
Rep Power: 32
Solved Threads: 117
#3
Aug 6th, 2003
I read your original post right after you first wrote it but sorry, no experience with Word macros other than I know what they are.
Dani the Computer Science Gal
Do you run a computer-related website? Feature it in our niche link directory!
Do you run a computer-related website? Feature it in our niche link directory!
I appoligize, I overlooked your thread on the forms (ed: Dani!! We need the recent post screen back!).
Most ".ocx" files, are user controls. Simply do a find on your computer for the two required files, and copy them to the same place on the other computers. I'm *pretty* sure that is all you need to do.
If that doesn't work, get back to us. I have a few more ideas.
Most ".ocx" files, are user controls. Simply do a find on your computer for the two required files, and copy them to the same place on the other computers. I'm *pretty* sure that is all you need to do.
If that doesn't work, get back to us. I have a few more ideas.
-Ryan Hoffman
ASP.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
ASP.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
•
•
Join Date: Jul 2003
Posts: 22
Reputation:
Rep Power: 6
Solved Threads: 0
Thanks Tekmaven. I did copy the files to the other computers, but I am still getting complaints from my users. You see, I added a DTPicker to the user forms to enable then to add dates quickly. These DTPickers worked great on my computer, but gave them errors on theirs. I was told that is the user's computers don't have VB loaded, then I should load it and that should fix the problem, but that is a very expensive fix. Too many licenses to purchase.
I apoligize, I neglected one important thing. You must register the OCX's on each computer with RegServer.
The command is:
Incase soemthing gets messed up, to unregister the OCX:
Concerning licences, you would need to check with the distributor of each OCX to determine weather they are distributable for free.
The command is:
regsvr32 C:\Path\To\whatever.ocx
Incase soemthing gets messed up, to unregister the OCX:
regsvr32 -u C:\Path\To\whatever.ocx
Concerning licences, you would need to check with the distributor of each OCX to determine weather they are distributable for free.
-Ryan Hoffman
ASP.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
ASP.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
![]() |
•
•
•
•
•
•
•
•
DaniWeb Visual Basic 4 / 5 / 6 Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- mscomct2.ocx (Visual Basic 4 / 5 / 6)
- .OCX Could not be loaded (Visual Basic 4 / 5 / 6)
- Stuck with preload2.ocx Dialer.Holistyc (Viruses, Spyware and other Nasties)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: PLEASE, I need help with this....why can't I get it to work?
- Next Thread: Detect all computer names on netword - domain



Linear Mode