Hi
I have created an installation package for my app and I have installed
the application onto another machine together with the framework and
the correct MDAC version.
The problem is when I access something in the application that uses
one of the required dlls.
All the dlls have been included with the application in the same
folder as the exe when it was installed. With .net I thought this was
enough.
This problem occurs with two specific dlls:-
I am using a COM control called CTDays (a calendar control). Now, in
my application folder I have AxInterop.CTDAY SLib.dll and
Interop.CTDAYSL ib.dll which I believe are the wrappers to enable the
object to be accessed from dot net.
The others are the dlls to enable my application to create Word
documents.
I can't register these components with regsvr32 as they are dot net
assemblies so I tried regasm. They register OK but still cause the
error when accessed in the application.
In the package project I also set them to be registered but the
problem was sill the same.
Any help would be MUCH appreciated as I have been working on this for
over a year and it is to be installed this week.
Apologies for the long post.
Hughsie 3 4884
On 12 Apr 2004 07:44:22 -0700, Hughsie wrote: I am using a COM control called CTDays (a calendar control). Now, in my application folder I have AxInterop.CTDAY SLib.dll and Interop.CTDAYSL ib.dll which I believe are the wrappers to enable the object to be accessed from dot net.
Is the CTDAYSLib.dll file present and registered on the workstation? All
COM .dll's must still be registered.
Can you show the line of code that has the problem?
--
Chris
To send me an E-mail, remove the underscores and lunchmeat from my E-Mail
address.
Chris Dunaway <dunawayc@_lunc hmeat_sbcglobal .net> wrote in message news:<du******* *************** ******@40tude.n et>... On 12 Apr 2004 07:44:22 -0700, Hughsie wrote:
Is the CTDAYSLib.dll file present and registered on the workstation? All COM .dll's must still be registered.
Can you show the line of code that has the problem?
Thanks for the response. The CTDays problem is fixed now. I didn't
realise the actual COM dll had to be installed as well as the
wrappers. I thought the wrappers were instead of the original.
The problem with my Word stuff remains though.
I am creating Word docs from my application and the following
dependancies show (which I believe are related to Word):-
Interop.Office. dll
Interop.VBIDE.d ll
Interop.Word.dl l
MSO9.dll
MSWORD9.OLB
All of the above are in the application directory but still no Word
access.
Again, any help would be much appreciated.
Many Thanks
Hughsie
This might sound silly, but is Word already installed on the target
computer? You don't want to deploy MSO9.dll and MSWORD9.OLB, since they are
not standalone files.
You probably want to create a Launch Condition in your setup project that
will check to see if office/word are already installed, since your app
requires that they already be there.
---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
-------------------- From: hu*********@hot mail.com (Hughsie) Newsgroups: microsoft.publi c.dotnet.langua ges.vb Subject: Re: 'Class not registered' When application is installed and run
on another workstation.Date: 13 Apr 2004 01:46:41 -0700 Organization : http://groups.google.com Lines: 33 Message-ID: <3c************ *************@p osting.google.c om> References: <3c************ **************@ posting.google. com>
<du************ *************** *@40tude.net>NNTP-Posting-Host: 213.137.6.23 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google. com 1081846001 4002 127.0.0.1 (13 Apr 2004
08:46:41 GMT)X-Complaints-To: gr**********@go ogle.com NNTP-Posting-Date: Tue, 13 Apr 2004 08:46:41 +0000 (UTC) Path:
cpmsftngxa10.ph x.gbl!TK2MSFTFE ED01.phx.gbl!TK 2MSFTNGP08.phx. gbl!newsfeed00. s
ul.t-online.de!t-online.de!news. glorb.com!postn ews1.google.com !not-for-mailXref: cpmsftngxa10.ph x.gbl microsoft.publi c.dotnet.langua ges.vb:195354 X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.vb
Chris Dunaway <dunawayc@_lunc hmeat_sbcglobal .net> wrote in message
news:<du******* *************** ******@40tude.n et>... On 12 Apr 2004 07:44:22 -0700, Hughsie wrote:
Is the CTDAYSLib.dll file present and registered on the workstation? All COM .dll's must still be registered.
Can you show the line of code that has the problem?
Thanks for the response. The CTDays problem is fixed now. I didn't realise the actual COM dll had to be installed as well as the wrappers. I thought the wrappers were instead of the original.
The problem with my Word stuff remains though.
I am creating Word docs from my application and the following dependancies show (which I believe are related to Word):-
Interop.Office .dll Interop.VBIDE. dll Interop.Word.d ll MSO9.dll MSWORD9.OLB
All of the above are in the application directory but still no Word access.
Again, any help would be much appreciated.
Many Thanks
Hughsie This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Varkey |
last post by:
Dear all,
Can you please provide some information on the following issue, at the
earliest.
I have a development server setup in the network, say machine X. Also,
there is another workstation, say Y, for a programmer, to work with.
The application is a Winforms Application and machine X (server) does
not have Visual Studio .NET installed on it. Machine Y(workstation)
has got Visual Studio .NET installed on it. Y is connected via
|
by: Jim |
last post by:
Have fully operational software package developed on VB.NET that worked until Jan 1 2003, with early stage deployments on Oct 10, Oct 23, Nov 11, Dec 12 and Dec 30.
When attempted final deployment on Jan 2, 2004 got following messages and errors...
I reset everything and tried several times agian. Then erased the setup project and tried to rebuild a new one with the same errors. PLease note... ALL this this code ran perfectly five minutes...
|
by: Hughsie |
last post by:
Hi
I have created an installation package for my app and I have installed
the application onto another machine together with the framework and
the correct MDAC version.
The problem is when I access something in the application that uses
one of the required dlls.
All the dlls have been included with the application in the same
|
by: Nijazi Halimaji |
last post by:
Hi everybody
I have created a .NET Library (Build it) and implemented it in VB6. In VB6 i
used a reference to get the functions, etc. and it worked fine.
But when I make a setup project in VB6 install it to another computer I have
the problem, that the reference to the class is not there (the net-dll i
installed in the same directory a the application). An error is shown, that
the object has not been found.
|
by: Nonee |
last post by:
Anyone, anyone? : )
Hello-
I have a form with the mediaplayer referenced to play mp3's and avi's
and I believe that is what is causing the problem. I am not sure, but
I am hoping. Anyway, I "published" the vb.net app and moved it to
another computer and I get the following error msg when I load the
form with the mediaplayer on it. I upgraded this project from a
| |
by: Laurent Lequenne |
last post by:
Hello All,
I'm currently developing a free windows Scrabble (in french :)) application
that uses extensively the WebBrowser class of NET 2.0 for configuration, and
data browsing. It works 100% on my machine, with the WebBrowser Class, and
the Microsoft.MsHtml component. I can access all elements on the pages
through the events, I can change some parts. Everything is rendered with
XSLTs and changing directly the document through the ...
|
by: mark_aok |
last post by:
Hi all,
I have a split database. Both the forms, and the tables are stored on
a shared network drive (this is Access 2003).
The users use the forms, and the tables on the network drive, there
are no local copies.
When connection to this drive is lost, Access CRASHES. It does it
every single time. Does anyone know if there is a way to check if
|
by: shaun.laughton |
last post by:
Hi All.
I am new to ASP.NET 2.0 development, and am writing a small
application to log time and expenses for projects.
I have successfully set up Membership, Role and Profile providers
using the 'SqlProvider's and all appears to be well while I am using
the built in 'ASP.NET Development Server'. I am also using SQL Server
2005 Standard Edition - not Express.
|
by: rehman |
last post by:
Hi,
I added reference to COM Component Microsoft ADO Ext. 2.8 for DDL and Security which added a wrapper DLL Interop.ADOX.dll in project references in a web application to create MS Access database dynamically. It all works fine in development environment ( VS 2008 + Win 2003 Server. + 32-bit Machine)
The aformentioned web application is deployed on IIS 7 + Win server 2008 + 64 - bit machine, where it throws following exception...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 we have to send another system
| |
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |