473,505 Members | 16,800 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

activeX tlb

Due to limitations in Ms Access, I have created a form in vb.net with
various buttons etc. Once all this is said and done, all i want to do is to
have this form fired up in ms access some how.

What i have tried, and got 'working' is compiling the vb.net program to a
tlb file, by clicking on the 'interop' checkbox under the projects 'build'
properties. This works fine, as i can now add a reference in Ms Access to
this tlb file, and create and show a new instance of my form in the vba
code.

The problem with this is that this program is going to be needed to run on
other machines. When i copy over the ms access files, and run them, all goes
well until i try to initiate and show my vb.net form. The error message is:
'ActiveX component cannot create object.'. Which to me says that the activeX
class isn't registered properly in the registry with a clsID etc.

I have tried various methods to get round this, including tlbExp.exe and
regasm.exe but neither have seemed to work. Could you please elaborate on
the way in which this CLSID stuff works, and subsequently why my problem
exists?

regards.
Nov 20 '05 #1
1 1561
On 2004-04-05, Dave <st***************@ihug.co.nz> wrote:
Due to limitations in Ms Access, I have created a form in vb.net with
various buttons etc. Once all this is said and done, all i want to do is to
have this form fired up in ms access some how.

What i have tried, and got 'working' is compiling the vb.net program to a
tlb file, by clicking on the 'interop' checkbox under the projects 'build'
properties. This works fine, as i can now add a reference in Ms Access to
this tlb file, and create and show a new instance of my form in the vba
code.

The problem with this is that this program is going to be needed to run on
other machines. When i copy over the ms access files, and run them, all goes
well until i try to initiate and show my vb.net form. The error message is:
'ActiveX component cannot create object.'. Which to me says that the activeX
class isn't registered properly in the registry with a clsID etc.

I have tried various methods to get round this, including tlbExp.exe and
regasm.exe but neither have seemed to work. Could you please elaborate on
the way in which this CLSID stuff works, and subsequently why my problem
exists?

regards.


Is the .NET runtime installed on the other machine?

--
Tom Shelton [MVP]
Powered By Gentoo Linux 1.4
"Pascal is Pascal is Pascal is dog meat."
-- M. Devine and P. Larson, Computer Science 340
Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
4545
by: AnalogKid | last post by:
Short question: What's the difference between SingleUse and MultiUse ? Long question: I've been writing some sample code to see how different Instancing values and threading models work. I...
1
5971
by: wang xiaoyu | last post by:
Hello: i want use activex in wxpython program,but when i use MakeActiveXClass an exception occurs. this is my source code dealing the DICOM ocx.I must note that in this program "hwtxcontrol" is...
2
7555
by: Fie Fie Niles | last post by:
This one XP machine (with IE 6) is having a problem viewing any ActiveX controls (created on VB6) on the Internet Explorer browser. I put the same ActiveX control in a VB program, and when I run...
6
2578
by: Pippen | last post by:
I'm getting a little confused about what is supported in MS-SQL ActiveX and what is Visual Basic and what is VBScript. Can someone please point me to a website, recommend a book or if I've missed...
12
2552
by: A.M. | last post by:
Hi at all, how can I do to insert into a HTML page a file .txt stored in the same directory of the server where is the html file that must display the text file.txt? Thank you very much P.Pietro
0
7111
by: Ike | last post by:
I have an Activex Control created in VB6, which, displays no problem on any machine I have, but, on some machines of others, it does not. All machines are running either XP or Windows 2000, and all...
18
8382
by: DartmanX | last post by:
Is there a simple way to determine if someone using Internet Explorer has completely disabled ActiveX controls? Jason
7
4379
by: Jarod_24 | last post by:
I just downloaded a activex control that was written in C# and tried to view it on my PDA's Internet Explorer. At my regular PC it displayed just fine, but nothing showed up on the pda. Do...
4
6778
by: Wilfried Mestdagh | last post by:
Hi, I have a C# application (VS2005) with Microsoft Mappoint activeX control on a form. At a certain moment I want to create a second one temporary in code. This seems not to work, when I try to...
6
8026
by: hufaunder | last post by:
I have an ActiveX component that I want to use in a library that I am writing. As a first test I used the ActiveX component in a windows form application. Adding the component created: Ax.dll...
0
7370
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7021
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5614
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5035
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4701
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3188
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3177
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1532
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
409
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.