473,498 Members | 2,026 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

File or assembly name AxInterop.SHDocVw ... was not found

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
Nov 16 '05 #1
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

Nov 16 '05 #2
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.


Nov 16 '05 #3
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.

Nov 16 '05 #4
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


Nov 16 '05 #5
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

Nov 16 '05 #6

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

Similar topics

3
20853
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...
0
1385
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...
0
1921
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";...
14
4454
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...
0
4196
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...
0
948
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...
0
1424
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...
9
3386
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...
0
1463
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...
0
7121
marktang
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,...
1
6881
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
7375
tracyyun
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...
1
4899
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
4584
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
3088
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
1411
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 ...
1
650
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
287
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.