I created a class library that has Microsoft Web browser ActiveX component. I
am using this class library from a COM client -javascript command
var mycomponent = new ActiveXObject("ShowTrans.ShowTrans");
....
mycomponent.ShowText(tex);
I am getting this error message:
File or assembly name AxInterop.SHDocVw, or one of its dependencies, was not
found.
Any suggestions?
--
Jurate 5 7252
Jurate,
When you use the WebBrowser control, you need to distributed the
AxInterop.SHDocVw.dll assembly with your application, as this is the
assembly that provides the Runtime Callable Wrapper for the web browser
ActiveX control. It should be in the output directory of your application
when you build it.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Jurate" <Ju****@discussions.microsoft.com> wrote in message
news:0F**********************************@microsof t.com... I created a class library that has Microsoft Web browser ActiveX component. I am using this class library from a COM client -javascript command
var mycomponent = new ActiveXObject("ShowTrans.ShowTrans"); ... mycomponent.ShowText(tex);
I am getting this error message: File or assembly name AxInterop.SHDocVw, or one of its dependencies, was not found.
Any suggestions? -- Jurate
Thank you for the quick reply, but AxInterop.SHDocVw.dll is in output
directory.
Additional information: I have given strong name to my class library and
registered with regasm to create com object. When you use the WebBrowser control, you need to distributed the AxInterop.SHDocVw.dll assembly with your application, as this is the assembly that provides the Runtime Callable Wrapper for the web browser ActiveX control. It should be in the output directory of your application when you build it.
Hope this helps.
-- - Nicholas Paldino [.NET/C# MVP] I created a class library that has Microsoft Web browser ActiveX component. I am using this class library from a COM client -javascript command
var mycomponent = new ActiveXObject("ShowTrans.ShowTrans"); ... mycomponent.ShowText(tex);
I am getting this error message: File or assembly name AxInterop.SHDocVw, or one of its dependencies, was not found.
Jurate,
Are you getting this when you run from within the IDE, or when you are
running the app itself?
Also, are you sure IE is installed (it most likely is, but you never
know)?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Jurate" <Ju****@discussions.microsoft.com> wrote in message
news:89**********************************@microsof t.com... Thank you for the quick reply, but AxInterop.SHDocVw.dll is in output directory. Additional information: I have given strong name to my class library and registered with regasm to create com object.
When you use the WebBrowser control, you need to distributed the AxInterop.SHDocVw.dll assembly with your application, as this is the assembly that provides the Runtime Callable Wrapper for the web browser ActiveX control. It should be in the output directory of your application when you build it.
Hope this helps.
-- - Nicholas Paldino [.NET/C# MVP]
>I created a class library that has Microsoft Web browser ActiveX >component. >I > am using this class library from a COM client -javascript command > > var mycomponent = new ActiveXObject("ShowTrans.ShowTrans"); > ... > mycomponent.ShowText(tex); > > I am getting this error message: > File or assembly name AxInterop.SHDocVw, or one of its dependencies, > was > not > found.
I am running app itself and IE is installed.
"Nicholas Paldino [.NET/C# MVP]" wrote: Jurate,
Are you getting this when you run from within the IDE, or when you are running the app itself?
Also, are you sure IE is installed (it most likely is, but you never know)?
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard.caspershouse.com
Jurate,
Then I would guess that the interop assembly is not in the directory
where your program assembly is located. You might want to try turning on
the fusion log (there is a utility in the framework version directory), and
then running it again, and examining the log.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Jurate" <Ju****@discussions.microsoft.com> wrote in message
news:4A**********************************@microsof t.com... I am running app itself and IE is installed.
"Nicholas Paldino [.NET/C# MVP]" wrote:
Jurate,
Are you getting this when you run from within the IDE, or when you are running the app itself?
Also, are you sure IE is installed (it most likely is, but you never know)?
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard.caspershouse.com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Peter Blum |
last post by:
I have built an assembly (dll) from which I expect third parties to
subclass. As a result, when my assembly has a version change, it will cause
any third party assembly based on it to break unless...
|
by: Sascha A. Koenig |
last post by:
How do I strong name an assembly that uses the MS Browser Control?
I added the control to my forms (references axSHDocVw and SHDocVw got
added), but I get the error message, that the assembly...
|
by: karunakar |
last post by:
Hi All
I am not able to read the class name I want read the particular class name
string path =
System.Configuration.ConfigurationSettings.AppSettings;
string className = path + ".User";...
|
by: Nak |
last post by:
Hi there
I'm trying to use the Microsoft Web Browser within a strong names .NET
assembly that I have written. Unfortunately I am getting the following
linker problem as the Interop DLL that was...
|
by: Fab |
last post by:
Hi,
In a VS 2003 project, i use the Microsoft Web Browser (shdocvw32.dll).
So in the References tab of the Solution Explorer i have :
AxSHDocVw
SHDocVw
Microsoft.mshtml
When i copy the...
| |
by: madushan |
last post by:
hi all
I wrote a code to wrap internet explore in a windows application.that works fine
but once i build that it automatically create AxInterop.SHDocVw.dll .
but i don't like to be there.because...
|
by: madushan |
last post by:
hi all
I wrote a code to wrap internet explore in a windows application.that works fine
but once i build that it automatically create AxInterop.SHDocVw.dll .
but i don't like to be there.because...
|
by: madushan |
last post by:
hi all ,
I try to generate .cs file from AxInterop.SHDocVw.dll by using the bellow command
C:\Documents and Settings\malik\Desktop\Debug>aximp out:AxInterop.SHDocVw.dll /source
but then bellow...
|
by: madushan |
last post by:
hi all ,
I try to generate .cs file from AxInterop.SHDocVw.dll by using the bellow command
C:\Documents and Settings\malik\Desktop\Debug>aximp out:AxInterop.SHDocVw.dll /source
I am new to...
|
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,...
|
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...
| |
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...
|
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...
|
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...
|
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...
|
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 ...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |