Print Page | Close Window

.NET Development

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: General Discussion
Forum Description: Topics Related to Active-X COM Development in General
URL: http://forum.codejock.com/forum_posts.asp?TID=944
Printed Date: 10 May 2024 at 2:38am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: .NET Development
Posted By: EvanHennis
Subject: .NET Development
Date Posted: 15 July 2004 at 1:12pm

I downloaded your development suite for the ActiveX components. I am walking through your demo of the Tab Manager and I was wondering if you had any documentation about using C# instead of VB.NET . I am on page 26-27 and for the function "wndView.ListItems.Add" you have to pass objects by reference. I declared some objects and I am trying to pass them and I get the error "Invalid Key"
Here is my code:
object a,b,c,d,e;
 a=1;
 b=0;
 c="Tools";
 d=1;
 e=0;
 //wndView.ListItems.Add 1, , "Tools", 1
 wndView.ListItems.Add( ref a,
  ref b , //not used
  ref c,
  ref d ,
  ref e); //not used

Can you help me out on this?




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net