473,405 Members | 2,279 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

possibly problem with Aximp or sth else or wrapper class?

Hi,

Iam trying to develope a program to show and manipulate SVG files.As
many suggestions i tried to use Adobe SVG control.I used Aximp to
produce a wrapper class for ASV and it produced 2 dll as MSDN says but
when i added 2 produced .dll to my project and tried to use them i got
the NullReferenceException exception.I put my code away and tried to
use others code.But their code still had the same problem(i tried so
many codes and solutions that the authors had claimed not to have
problem but i still had above problem).Iam not familiar with COM.Can
anybody show me a way to find and resolve the problem?here is my code:

public class Form1 : System.Windows.Forms.Form
{
private AxSVGACTIVEXLib.AxSVGCtl axSVGCtl1;
// rest of var.
private void InitializeComponent()
{
this.axSVGCtl1 = new AxSVGACTIVEXLib.AxSVGCtl();
///......
}
public Form1()
{
InitializeComponent();

//this following line is the problem!!it raise
the exception.
axSVGCtl1.setSrc(fileName); //public virtual new
void setSrc (String newVal)

}
}

I use .NET 1.1 and C# .NET 69586-335-0000007-18689

Thanks in advance.
Behzad

Jan 29 '06 #1
0 1656

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

Similar topics

3
by: Peter Olsen | last post by:
I want to define a class "point" as a subclass of complex. When I create an instance sample = point(<arglist>) I want "sample" to "be" a complex number, but with its real and imaginary...
0
by: BestNews | last post by:
OS: XP ..Net= framework = 1.0.3705 VS.Net IDE = 7.0.9466 1. I used an ActiveX control in C# client Application. After executing Aximp of ActiveX control. I derived a class from the AxHost.
0
by: Brewman | last post by:
When I run aximp /delay /public:..\G10PublicKey.snk /verbose c:\Windows\System32\SHDocVw.dl I get the following Microsoft (R) .NET ActiveX Control to Windows Forms Assembly Generato...
4
by: Sargon | last post by:
Hi I have a problem with C++ traits. The following lil program provides a Wrapper class which contains 3 static methods. (1 normal, 2 as a template)...
3
by: Wiktor Zychla | last post by:
I have a problem I cannot solve. My application hosts IE activex control. I follow the standard procedure: I just aximp shdocvw.dll. Note that this gives you two files: axshdocvw.dll and...
8
by: Martijn Boven | last post by:
I created a activex control in c# (vs 2005) -------------------------------------------- public partial class ActiveTest : UserControl { public ActiveTest()
4
by: jonpb | last post by:
Hi, I used to AxImp.exe to generate the wrappers for an ActiveX control. Now how do I import the wrapper into my project? I tried "Add Reference..." and browsed to the .dlls but I still don't see...
2
by: =?Utf-8?B?UVNJRGV2ZWxvcGVy?= | last post by:
I need to add a method to a VB6 OCX that we are consuming with C# (VS 2005) Unfortunately the person that created the original DLL to reference in the C# code is not available. When I create a DLL...
5
matheussousuke
by: matheussousuke | last post by:
Hello, I'm using tiny MCE plugin on my oscommerce and it is inserting my website URL when I use insert image function in the emails. The goal is: Make it send the email with the URL...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
Oralloy
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,...
0
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...
0
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
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,...

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.