Click here to Skip to main content
15,916,527 members
Home / Discussions / C#
   

C#

 
AnswerRe: problem in input Pin
Paul Conrad27-Sep-08 5:03
professionalPaul Conrad27-Sep-08 5:03 
AnswerRe: problem in input Pin
Mohammad Dayyan27-Sep-08 16:58
Mohammad Dayyan27-Sep-08 16:58 
AnswerRe: problem in input Pin
nelsonpaixao28-Sep-08 13:06
nelsonpaixao28-Sep-08 13:06 
QuestionHow do I write a c# minimax code to show resulting values from this info of the start of a game tree program ?? Pin
Angelinna26-Sep-08 22:10
Angelinna26-Sep-08 22:10 
AnswerRe: How do I write a c# minimax code to show resulting values from this info of the start of a game tree program ?? Pin
Pedram Behroozi26-Sep-08 22:51
Pedram Behroozi26-Sep-08 22:51 
GeneralRe: How do I write a c# minimax code to show resulting values from this info of the start of a game tree program ?? Pin
Angelinna27-Sep-08 1:30
Angelinna27-Sep-08 1:30 
AnswerRe: How do I write a c# minimax code to show resulting values from this info of the start of a game tree program ?? Pin
wy.net27-Sep-08 17:46
wy.net27-Sep-08 17:46 
Questionhow to access c# array in VBA Pin
newbieNeeraj26-Sep-08 20:02
newbieNeeraj26-Sep-08 20:02 
Hi,
First of all, Please let me know if I am posting in the wrong forum.

I am tryingto access a class written in c# which has an array of classes. The class code is:
public class ClientData 
	{
		private ClientDataDetail benchmark;
		private ClientData[] buckets;
		private ClientDataDetail portfolio;

		public ClientDataDetail BenchMark
		{
			get{ return benchmark;}
			set{ benchmark = value;}
		}
//I am having problems accessing this array in VBA
		public ClientData[] Buckets
		{
			get{ return buckets;}
			set{ buckets = value;}
		}

		public ClientDataDetail Portfolio
		{
			get{ return portfolio;}
			set{ portfolio = value;}
		}

	}

When I try to access this class in VBA as follows:
Dim clntData As ClientData
Set clntData = dispData.GetClientData()

//This is the line where I get the error: "Wrong Number of arguments or Invalid property assignment"
Dim anotherClntData As ClientData
<b> anotherClntData = clntData.Buckets(0)</b>

The same code (i.e. accessing the internal array of ClientData class via the indexer) works perfectly fine in c#.

Any pointers. Do I need to use an arraylist in place of array of classes?
AnswerRe: how to access c# array in VBA Pin
Pedram Behroozi26-Sep-08 20:58
Pedram Behroozi26-Sep-08 20:58 
GeneralRe: how to access c# array in VBA Pin
newbieNeeraj26-Sep-08 21:17
newbieNeeraj26-Sep-08 21:17 
GeneralRe: how to access c# array in VBA [modified] Pin
Pedram Behroozi26-Sep-08 21:43
Pedram Behroozi26-Sep-08 21:43 
GeneralRe: how to access c# array in VBA Pin
newbieNeeraj28-Sep-08 14:31
newbieNeeraj28-Sep-08 14:31 
GeneralRe: how to access c# array in VBA Pin
Pedram Behroozi1-Oct-08 3:08
Pedram Behroozi1-Oct-08 3:08 
QuestionHow to work with Method : Find in richTextBox Pin
Laji5926-Sep-08 19:49
Laji5926-Sep-08 19:49 
AnswerRe: How to work with Method : Find in richTextBox Pin
Pedram Behroozi26-Sep-08 21:09
Pedram Behroozi26-Sep-08 21:09 
GeneralRe: How to work with Method : Find in richTextBox Pin
Laji5926-Sep-08 21:17
Laji5926-Sep-08 21:17 
GeneralRe: How to work with Method : Find in richTextBox Pin
Pedram Behroozi26-Sep-08 21:32
Pedram Behroozi26-Sep-08 21:32 
Questionhow we implement Slide-In Menu Bar in windows application using c#? Pin
g_amol26-Sep-08 19:22
g_amol26-Sep-08 19:22 
AnswerRe: how we implement Slide-In Menu Bar in windows application using c#? Pin
Pedram Behroozi26-Sep-08 19:47
Pedram Behroozi26-Sep-08 19:47 
GeneralRe: how we implement Slide-In Menu Bar in windows application using c#? Pin
g_amol26-Sep-08 19:55
g_amol26-Sep-08 19:55 
GeneralRe: how we implement Slide-In Menu Bar in windows application using c#? Pin
Pedram Behroozi26-Sep-08 20:43
Pedram Behroozi26-Sep-08 20:43 
AnswerRe: how we implement Slide-In Menu Bar in windows application using c#? Pin
Noble KC14-Nov-14 17:32
professionalNoble KC14-Nov-14 17:32 
Questionthere is no server Pin
reza assar26-Sep-08 13:22
reza assar26-Sep-08 13:22 
Jokethere is no spoon Pin
Nicholas Butler27-Sep-08 0:00
sitebuilderNicholas Butler27-Sep-08 0:00 
Questionimplementing wildcard match method Pin
AndrusM26-Sep-08 12:15
AndrusM26-Sep-08 12:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.