954,582 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to declare a global variable in a button click event

I'm wondering whether it is possible to declare a global variable in a click event. I need to declare an array of a specific size. The specific size is generated using a series of IF statements. I only need to know how to declare it.

Thanks in advance

I'm using 3.5 Framework Visual Studio 2008.

Hisham-Usif
Newbie Poster
5 posts since Aug 2010
Reputation Points: 10
Solved Threads: 1
 

Hisham, you are unfortunately in the wrong forum. I have asked that your question be moved to .Net. I am sure there is someone there to help you out.

Good luck.

AndreRet
Senior Poster
3,922 posts since Jan 2008
Reputation Points: 334
Solved Threads: 350
 

Thread closed as there is already double in VB.NET .

In the future please do not double post as this is not welcome, rather press Flag Bad Post and type short message asking for post to be moved to correct forum section.

peter_budo
Code tags enforcer
Moderator
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: