471,337 Members | 860 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 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 1549

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Peter Olsen | last post: by
4 posts views Thread by Sargon | last post: by
3 posts views Thread by Wiktor Zychla | last post: by
8 posts views Thread by Martijn Boven | last post: by
4 posts views Thread by jonpb | last post: by
2 posts views Thread by =?Utf-8?B?UVNJRGV2ZWxvcGVy?= | last post: by

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.