|
by: Jason |
last post by:
I'm writing a small console app in .NET that needs to reference a 3rd
party dll.
I wrote the app by adding a reference to the 3rd party dll in my
project and my code builds and executes perfectly. However, when I
made a setup file and installed it on another box, I get:
System.InvalidCastException: QueryInterface for interface...Failed.
...
|
by: adam |
last post by:
I am getting an error when trying to use an ADODB.Recordset that was passed
from a VB6 application to a VB.Net class library using COM Interop. I am
running this on WinXP SP2 using the .Net Framework 1.1 and MDAC 2.8 SP1.
This is what I've done:
- I compiled the VB.Net DLL and registered it so it can be used in the VB6
app using "regasm...
|
by: Jim Bancroft |
last post by:
Hi everyone,
I've recently ported a COM component into .Net using a runtime callable
wrapper. The component in question is SQL Server's DTS package, if that
helps.
The import worked well enough....now I'm having some trouble using the
component. Specifically, this code below from VB6, which works:
Dim oTask As DTS.Task
|
by: Von Shean |
last post by:
I am trying to user Bulk loader component in asp.net.
The code runs perfectly fine in a test harness but gives the following error
when used in a strong named dll called from asp.net using c#.
The error is
QueryInterface for interface Interop.SQLXMLBULKLOADLib.ISQLXMLBulkLoad
failed
If anyone has any idea how do we use bulkloader in...
|
by: Michael Connerton |
last post by:
The company I work for still uses Excel97. In a weaker moment I added the pia for Excel2003 in attempt to get more programatic functionality out of some Excel interfaces I have been writing. The pia is entitled 'Microsoft.Office.Interop.Excel.dll' I also added the registry entries for that pia by running...
|
|
by: Ugo |
last post by:
Hi,
I have just followed the Microsoft Knowledge Base Article - 302084 How
to Automate Microsoft Excel from Microsoft Visual C# .Net
http://support.microsoft.com/default.aspx?kbid=302084
and I keep getting the following error in a message box:
QueryInterface for interface Microsoft.Office.Interop.Excel._Allication
failed. Line: ...
|
by: rocqurtat |
last post by:
Hi,
we're having a problem when we call some COM+ objects from .NET. Those
COM+ are compiled very frequently because changes are made on them, and
we get very often a QueryInterface error, even when binary
compatibility is not broken. The COM+ are written in VB 6.0, and we are
calling them using VB.NET via Interop. The problem is we have to...
|
by: Vasil Buraliev |
last post by:
Hi there,
Would you please help me to solve the problem that I have?
I'm developing web site using asp.net 1.1 and C#. I made an COM in VC++ 6.0
using MFC and I'm using it in .NET web project. There is no problems with
COM component on my development enviroment. I'm adding COM as reference in
the web project, Visual Studio do the job to...
|
by: JimLad |
last post by:
Hi,
First of all I didn't design this website, but I have been asked to
fix it with the minimum fuss!
Website is using .NET on IIS6 with an Excel Interop to produce
reports. The website impersonates the user and anonymous access is
disabled. Once excel is loaded it stays loaded for the life of the web
application and is accessed through...
|
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...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
|
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. ...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
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...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
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...
|