Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
Klik! LayoutBundle
 Klik! Software Forum : Klik! LayoutBundle
Subject Topic: Invalid class string. Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
snowaa
Newbie
Newbie


Joined: January 18 2006
Location: United States
Posts: 1
Posted: January 18 2006 at 1:32pm | IP Logged Quote snowaa

I made a COM control  in C#.  Referenced its TLB in VB6 and added it to a vb6 form by with the KSize pro control on it:

Set a = Me.Controls.Add("TransactionAudit.ctlTransaction", "a")
  Set a.Container = Me.Picture1
  a.Height = Me.Picture1.Height
  a.Width = Me.Picture1.Width

I now get an error Invalid class string.

Looking for object with ProgID: TransactionAudit.ctlTransaction when the resize looks at it's progid.

Another resise control I am looking at dosn't have the same problome, but it dosen't work as well.

Anything I can do to get around this, or should I go with the other control?

 

Alden

Back to Top View snowaa's Profile Search for other posts by snowaa
 
Klik! Support
Admin Group
Admin Group
Avatar

Joined: October 01 2003
Location: Turkey
Posts: 313
Posted: January 18 2006 at 2:27pm | IP Logged Quote Klik! Support

Hello Alden,

Is it possible for you to prepare us a sample project containing your COM exposed C# control in VB6? We would like to investigate the cause of the problem...



__________________
Best Regards,

Klik! Support Team
Back to Top View Klik! Support's Profile Search for other posts by Klik! Support
 
Rakesh
Newbie
Newbie


Joined: June 13 2006
Location: India
Posts: 2
Posted: June 13 2006 at 12:26pm | IP Logged Quote Rakesh

snowaa wrote:

I made a COM control  in C#.  Referenced its TLB in VB6 and added it to a vb6 form by with the KSize pro control on it:

Set a = Me.Controls.Add("TransactionAudit.ctlTransaction", "a")
  Set a.Container = Me.Picture1
  a.Height = Me.Picture1.Height
  a.Width = Me.Picture1.Width

I now get an error Invalid class string.

Looking for object with ProgID: TransactionAudit.ctlTransaction when the resize looks at it's progid.

Another resise control I am looking at dosn't have the same problome, but it dosen't work as well.

Anything I can do to get around this, or should I go with the other control?

 

Alden

Back to Top View Rakesh's Profile Search for other posts by Rakesh
 
Rakesh
Newbie
Newbie


Joined: June 13 2006
Location: India
Posts: 2
Posted: June 13 2006 at 12:29pm | IP Logged Quote Rakesh

hi snowaa,

while adding userdefined controls at runtime u have to code like this
projectname.usercontrol
Back to Top View Rakesh's Profile Search for other posts by Rakesh
 
Klik! Support
Admin Group
Admin Group
Avatar

Joined: October 01 2003
Location: Turkey
Posts: 313
Posted: June 13 2006 at 12:37pm | IP Logged Quote Klik! Support

Hello Rakesh,

Thanks for your help on this, hopefully it solves Alden's issue...



__________________
Best Regards,

Klik! Support Team
Back to Top View Klik! Support's Profile Search for other posts by Klik! Support
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

Powered by Web Wiz Forums version 7.6
Copyright ©2001-2003 Web Wiz Guide

This page was generated in 0.9531 seconds.