473,405 Members | 2,282 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

control arrays

cj
I'm using socketwrench to create a server application that needs to
handle multiple connections. The examples, at least the one I
understand, is in VB6 and does this via a control arrays. .Net does not
support control control arrays. Can someone point me to a very simple
example of how to do that in .Net?

The VB6 example I mention can be found at
http://www.catalyst.com/support/help/wrench4/index.html
search for "Tutorial"
Jan 12 '06 #1
10 1297
Hi,

http://msdn.microsoft.com/library/de...et05132003.asp

http://www.windowsforms.com/default....mID=16&mid=142

Ken
------------------
"cj" <cj@nospam.nospam> wrote in message
news:Ow**************@TK2MSFTNGP11.phx.gbl...
I'm using socketwrench to create a server application that needs to handle
multiple connections. The examples, at least the one I understand, is in
VB6 and does this via a control arrays. .Net does not support control
control arrays. Can someone point me to a very simple example of how to
do that in .Net?

The VB6 example I mention can be found at
http://www.catalyst.com/support/help/wrench4/index.html
search for "Tutorial"

Jan 12 '06 #2
"cj" <cj@nospam.nospam> schrieb:
I'm using socketwrench to create a server application that needs to
handle multiple connections.


Which type of connections? Maybe you are looking for 'System.Net.Sockets'.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Jan 12 '06 #3
cj,
understand, is in VB6 and does this via a control arrays. .Net does not
support control control arrays. Can someone point me to a very simple
example of how to do that in .Net?

Just for the record.

Net has not the strange VB6 FormControlArray it has for every control a
collection of controls including the Form what is as well a control.

Cor

Jan 13 '06 #4
cj
Cor,

Sorry, I don't understand what your saying.
Cor Ligthert [MVP] wrote:
cj,
understand, is in VB6 and does this via a control arrays. .Net does not
support control control arrays. Can someone point me to a very simple
example of how to do that in .Net?

Just for the record.

Net has not the strange VB6 FormControlArray it has for every control a
collection of controls including the Form what is as well a control.

Cor

Jan 13 '06 #5
cj
What type of connections. Humm, well I guess tcp/ip is the correct
answer. I'm not really sure what kinds of connections there are. I'm
to listen on a port, say 7000. Clients will be sending me strings
something like "EBI;REQ;PIN=345876" ended with a CR LF. I will take the
strings do some lookups and calculations and finally return to the
client a string like "EBI;RSP;PIN=345876;CODE=1" ended with a CR LF.

I was given socketwrench to use and actually asked to write this in
Visual FoxPro. But first I need to figure out how to do the program in
any language. The only examples of how to use socketwrench in this type
of situation that I understand are in VB6. I don't even have VB6
installed any more--actually never used it, I last used VB4.

Any suggestions on how to tackle this project?

Herfried K. Wagner [MVP] wrote:
"cj" <cj@nospam.nospam> schrieb:
I'm using socketwrench to create a server application that needs to
handle multiple connections.


Which type of connections? Maybe you are looking for 'System.Net.Sockets'.

Jan 13 '06 #6
Hi cj,

I think what "Cor Ligthert [MVP]" talked about is that in .Net winform, all
the controls on the form are added into Form.Controls property, so we can
loop through all the controls on the form through this property. Each
control also has a Controls property, so it can host another level of child
controls, then we should do the loop recursively.

Additionally, have you read the "Getting Back Your Visual Basic 6.0
Goodies" provided by "Ken Tucker [MVP]" in this post? I think it will give
some more information regarding what you want.

Thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jan 17 '06 #7
CJ,

I see that I missed to paste the link and missed your reply

http://msdn.microsoft.com/library/de...classtopic.asp

I hope this makes it more understandable

Cor
Jan 17 '06 #8
cj
Thanks for the explanation.

I looked at "Getting Back..." some.

I'm moving a little slow on this now, I appreciate the help an will get
back to you.

Jeffrey Tan[MSFT] wrote:
Hi cj,

I think what "Cor Ligthert [MVP]" talked about is that in .Net winform, all
the controls on the form are added into Form.Controls property, so we can
loop through all the controls on the form through this property. Each
control also has a Controls property, so it can host another level of child
controls, then we should do the loop recursively.

Additionally, have you read the "Getting Back Your Visual Basic 6.0
Goodies" provided by "Ken Tucker [MVP]" in this post? I think it will give
some more information regarding what you want.

Thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jan 17 '06 #9
cj
I'll take a look at the link but I'm moving a little slow on this now.

I appreciate your help.
Cor Ligthert [MVP] wrote:
CJ,

I see that I missed to paste the link and missed your reply

http://msdn.microsoft.com/library/de...classtopic.asp

I hope this makes it more understandable

Cor

Jan 17 '06 #10
Ok, if you need further help, please feel free to post. Thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jan 18 '06 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Merlin | last post by:
Hi I have a control that allows embeddable editors, so for example I can set a property of controlsEmbeddableEditor =me.TextBox1 on my form, no problem here - what I want to do is the same thing...
3
by: Robert | last post by:
How can I declare in VB .NET an array of labels for example and afterwards using a FOR structure load every component of the array? I've used this code but it doesn't work: dim x(10) as label...
8
by: Greg | last post by:
In VB6 I made heavy use of control arrays I see they have been 'deprecated' in vb.Net, with a questionable explanation that they are no longer necessary which just addresses the event issue!...
9
by: Michael D. Ober | last post by:
In VB 6, you can create control arrays for your option groups and scan with the following code dim opt as OptionButton for each opt in OptionGroup ' Do something next opt I know VB 2005...
13
by: Just_a_fan | last post by:
I am adding a bunch of controls with the code below. Problem 1: When program flow passes to "UpperChanged" when I click it, the control name is undefined. When I enter: If udUpperLim1.Value 1...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.