473,796 Members | 2,669 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How make this code more generic?

From a Winform I am calling the sub routine that follows in a module

Public Sub PopulateWithSta tes(ByVal myform As Contracts, ByVal FieldName As
String)
Select Case FieldName
Case "txtST"
myform.txtST.It ems.Clear()
myform.txtST.It ems.Add("CA")
myform.txtST.It ems.Add("WA")
End Select
End Sub

This works but what I would really like to do is not have to write a case
statement with all the states for each field that has a different name. I
did it this way only because I knew it would work but I would really like to
pass the name of the field involved by value in the Sub routine definition
but I don't know how. Something like

Public Sub PopulateWithSta tes(ByVal myform As Contracts, ByVal FieldName As
FieldObject)

MyForm.FieldObj ect.Items.clear ()
myForm.FieldObj ect.Add("CA") etc.....

Could someone advise me on how to do this?


Nov 20 '05 #1
13 1268
e
You've got it just about right I think, you just need a for each that cycles
through all your fields? Go with your second version of PopulateWithSta tes
you've got down there, and call it with something like this...?

Dim aFieldObject as FieldObject

For Each aFieldObject in <myForm.SomeObj ect.FieldsColle ction>
PopulateWithSta tes(aFieldObjec t)
Next

....

Sub PopulateWithSta tes(byVal theFiledObject as FieldObject)

theFiledObject. Add("CA") etc.....

End Sub

"Woody Splawn" <wo***@splawns. com> wrote in message
news:eM******** ******@TK2MSFTN GP12.phx.gbl...
From a Winform I am calling the sub routine that follows in a module

Public Sub PopulateWithSta tes(ByVal myform As Contracts, ByVal FieldName As String)
Select Case FieldName
Case "txtST"
myform.txtST.It ems.Clear()
myform.txtST.It ems.Add("CA")
myform.txtST.It ems.Add("WA")
End Select
End Sub

This works but what I would really like to do is not have to write a case
statement with all the states for each field that has a different name. I
did it this way only because I knew it would work but I would really like to pass the name of the field involved by value in the Sub routine definition
but I don't know how. Something like

Public Sub PopulateWithSta tes(ByVal myform As Contracts, ByVal FieldName As FieldObject)

MyForm.FieldObj ect.Items.clear ()
myForm.FieldObj ect.Add("CA") etc.....

Could someone advise me on how to do this?

Nov 20 '05 #2
Woody,
One question, do all fields get all states, or do different fields get
different sets of states. Assuming that all fields get all states:
Public Sub PopulateWithSta tes(ByVal myform As Contracts, ByVal FieldName As FieldObject) You're close.

How about passing in the list box or combo box itself (independent of the
form), this of course requires overloading (read duplication of code). Public Sub PopulateWithSta tes(ByVal list As ComboBox)
Public Sub PopulateWithSta tes(ByVal list As ListBox)
Then you just pass in this listbox or combobox on the form.

PopulateWithSta tes(MyForm.lstS tates)
PopulateWithSta tes(MyForm.cboS tates)

Alternatively you could pass in the collection that the Items property
represents:
Public Sub PopulateWithSta tes(ByVal list As IList)
PopulateWithSta tes(MyForm.lstS tates.Items)
PopulateWithSta tes(MyForm.cboS tates.Items)

I like this last one as long as the control you are populating supports an
Items property that implements IList you can fill it with values.

Of course another even easier method is to have PopulateWithSta tes return a
"new" list of states, that you simply assign to the control's DataSource
property.

MyForm.lstState s.DataSource = PopulateWithSta tes()
MyForm.cboState s.DataSource = PopulateWithSta tes()

The reason I say it needs to be a "new" list (a new Array or new ArrayList
for example). A shared list will not work, as the binding process will
notice they are the same and keep both lists in sync. Cloning a shared array
would be good.

I prefer the last one, setting the DataSource property to the list I want
displayed.

Hope this helps
Jay
"Woody Splawn" <wo***@splawns. com> wrote in message
news:eM******** ******@TK2MSFTN GP12.phx.gbl... From a Winform I am calling the sub routine that follows in a module

Public Sub PopulateWithSta tes(ByVal myform As Contracts, ByVal FieldName As String)
Select Case FieldName
Case "txtST"
myform.txtST.It ems.Clear()
myform.txtST.It ems.Add("CA")
myform.txtST.It ems.Add("WA")
End Select
End Sub

This works but what I would really like to do is not have to write a case
statement with all the states for each field that has a different name. I
did it this way only because I knew it would work but I would really like to pass the name of the field involved by value in the Sub routine definition
but I don't know how. Something like

Public Sub PopulateWithSta tes(ByVal myform As Contracts, ByVal FieldName As FieldObject)

MyForm.FieldObj ect.Items.clear ()
myForm.FieldObj ect.Add("CA") etc.....

Could someone advise me on how to do this?

Nov 20 '05 #3
Hiya Woody,

Public Sub PopulateWithSta tes _
(ByVal myform As Form1, ByVal sListBox As String)
Dim oControl As ListBox
Dim oListBox As ListBox
For Each oControl In myform.Controls
If oControl.Name = sListBox Then
oListBox = DirectCast (oControl, ListBox)
Exit For
End If
Next
If oListBox Is Nothing Then _
Return

oListBox.Items. Clear
oListBox.Items. AddRange (New String() _
{"CA", "WA", "FL"})
End Sub

Regards,
Fergus
Nov 20 '05 #4
Thank your for responding.

I think we are mis-communicating. I call this function with a statment
inside my form like this:

Module1.Populat eWithStates(Me, "txtST")

I am passing the name of the field that I want to populate to the
subroutine.

I'm hoping to write something like the following in the actual subroutine:

Public Sub PopulateWithSta tesB(ByVal myform As Contracts, ByVal FieldName As
Object)
myform.FieldNam e.Items.Clear()
myform.FieldNam e.Items.Add("-")
myform.txtST.It ems.Add("CA")
myform.txtST.It ems.Add("WA")
myform.txtST.It ems.Add("AZ")
... other 52 states
End Sub

I would like, if possible, for the subroutine to understand that when I say
FieldName I mean the text field on myForm called txtST. The reason I am
doing things this way is because I have several different fields on the form
that need to be populated with states but I would like to write the code for
adding states only once. When I use the code above I get a squiqqly under
MyForm.FieldNam e stating that FieldName is not a member of the form called
(in this case) contracts.

Am I making since?



"e" <e@e.com> wrote in message news:8p******** ************@sp eakeasy.net...
You've got it just about right I think, you just need a for each that cycles through all your fields? Go with your second version of PopulateWithSta tes you've got down there, and call it with something like this...?

Dim aFieldObject as FieldObject

For Each aFieldObject in <myForm.SomeObj ect.FieldsColle ction>
PopulateWithSta tes(aFieldObjec t)
Next

...

Sub PopulateWithSta tes(byVal theFiledObject as FieldObject)

theFiledObject. Add("CA") etc.....

End Sub

"Woody Splawn" <wo***@splawns. com> wrote in message
news:eM******** ******@TK2MSFTN GP12.phx.gbl...
From a Winform I am calling the sub routine that follows in a module

Public Sub PopulateWithSta tes(ByVal myform As Contracts, ByVal FieldName As
String)
Select Case FieldName
Case "txtST"
myform.txtST.It ems.Clear()
myform.txtST.It ems.Add("CA")
myform.txtST.It ems.Add("WA")
End Select
End Sub

This works but what I would really like to do is not have to write a case statement with all the states for each field that has a different name. I did it this way only because I knew it would work but I would really like to
pass the name of the field involved by value in the Sub routine

definition but I don't know how. Something like

Public Sub PopulateWithSta tes(ByVal myform As Contracts, ByVal FieldName

As
FieldObject)

MyForm.FieldObj ect.Items.clear ()
myForm.FieldObj ect.Add("CA") etc.....

Could someone advise me on how to do this?


Nov 20 '05 #5
Woody,
I am passing the name of the field that I want to populate to the
subroutine. As my other post suggested, why pass the name of the field, when you can
pass the control itself?
Am I making since? Yes, you are making sense.

Hope this helps
Jay

"Woody Splawn" <wo***@splawns. com> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. .. Thank your for responding.

I think we are mis-communicating. I call this function with a statment
inside my form like this:

Module1.Populat eWithStates(Me, "txtST")

I am passing the name of the field that I want to populate to the
subroutine.

I'm hoping to write something like the following in the actual subroutine:

Public Sub PopulateWithSta tesB(ByVal myform As Contracts, ByVal FieldName As Object)
myform.FieldNam e.Items.Clear()
myform.FieldNam e.Items.Add("-")
myform.txtST.It ems.Add("CA")
myform.txtST.It ems.Add("WA")
myform.txtST.It ems.Add("AZ")
... other 52 states
End Sub

I would like, if possible, for the subroutine to understand that when I say FieldName I mean the text field on myForm called txtST. The reason I am
doing things this way is because I have several different fields on the form that need to be populated with states but I would like to write the code for adding states only once. When I use the code above I get a squiqqly under
MyForm.FieldNam e stating that FieldName is not a member of the form called
(in this case) contracts.

Am I making since?



"e" <e@e.com> wrote in message news:8p******** ************@sp eakeasy.net...
You've got it just about right I think, you just need a for each that

cycles
through all your fields? Go with your second version of

PopulateWithSta tes
you've got down there, and call it with something like this...?

Dim aFieldObject as FieldObject

For Each aFieldObject in <myForm.SomeObj ect.FieldsColle ction>
PopulateWithSta tes(aFieldObjec t)
Next

...

Sub PopulateWithSta tes(byVal theFiledObject as FieldObject)

theFiledObject. Add("CA") etc.....

End Sub

"Woody Splawn" <wo***@splawns. com> wrote in message
news:eM******** ******@TK2MSFTN GP12.phx.gbl...
From a Winform I am calling the sub routine that follows in a module

Public Sub PopulateWithSta tes(ByVal myform As Contracts, ByVal
FieldName
As
String)
Select Case FieldName
Case "txtST"
myform.txtST.It ems.Clear()
myform.txtST.It ems.Add("CA")
myform.txtST.It ems.Add("WA")
End Select
End Sub

This works but what I would really like to do is not have to write a case statement with all the states for each field that has a different
name. I did it this way only because I knew it would work but I would really like
to
pass the name of the field involved by value in the Sub routine

definition but I don't know how. Something like

Public Sub PopulateWithSta tes(ByVal myform As Contracts, ByVal

FieldName As
FieldObject)

MyForm.FieldObj ect.Items.clear ()
myForm.FieldObj ect.Add("CA") etc.....

Could someone advise me on how to do this?



Nov 20 '05 #6
e
I'm a little foggy on what type of control we're talking about here, but the
premise should be the same no matter what the control type is, so I guess it
doesn't matter - is there a specific reason you have to pass the object name
as a literal string? If you just pass the control object itself, you should
be good to go. You don't have to use a for-each; if it's just for a few
specific ones, you can just send them by hand:

Module1.Populat eAnObjectWithSt ates(txtSt)
Module1.Populat eAnObjectWithSt ates(txtSomethi ngElse)
..... other ones you want to populate with states just like that

....

Public Sub PopulateAnObjec tWithStates(ByV al obj As System.Object)
obj.Items.Clear ()
obj.Items.Add("-")
obj.Items.Add(" CA")
obj.Items.Add(" WA")
obj.Items.Add(" AZ")
... other 52 states
End Sub
I don't think passing the form would be necessary, it will change the object
directly.
"Woody Splawn" <wo***@splawns. com> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
Thank your for responding.

I think we are mis-communicating. I call this function with a statment
inside my form like this:

Module1.Populat eWithStates(Me, "txtST")

I am passing the name of the field that I want to populate to the
subroutine.

I'm hoping to write something like the following in the actual subroutine:

Public Sub PopulateWithSta tesB(ByVal myform As Contracts, ByVal FieldName As Object)
myform.FieldNam e.Items.Clear()
myform.FieldNam e.Items.Add("-")
myform.txtST.It ems.Add("CA")
myform.txtST.It ems.Add("WA")
myform.txtST.It ems.Add("AZ")
... other 52 states
End Sub

I would like, if possible, for the subroutine to understand that when I say FieldName I mean the text field on myForm called txtST. The reason I am
doing things this way is because I have several different fields on the form that need to be populated with states but I would like to write the code for adding states only once. When I use the code above I get a squiqqly under
MyForm.FieldNam e stating that FieldName is not a member of the form called
(in this case) contracts.

Am I making since?



"e" <e@e.com> wrote in message news:8p******** ************@sp eakeasy.net...
You've got it just about right I think, you just need a for each that

cycles
through all your fields? Go with your second version of

PopulateWithSta tes
you've got down there, and call it with something like this...?

Dim aFieldObject as FieldObject

For Each aFieldObject in <myForm.SomeObj ect.FieldsColle ction>
PopulateWithSta tes(aFieldObjec t)
Next

...

Sub PopulateWithSta tes(byVal theFiledObject as FieldObject)

theFiledObject. Add("CA") etc.....

End Sub

"Woody Splawn" <wo***@splawns. com> wrote in message
news:eM******** ******@TK2MSFTN GP12.phx.gbl...
From a Winform I am calling the sub routine that follows in a module

Public Sub PopulateWithSta tes(ByVal myform As Contracts, ByVal
FieldName
As
String)
Select Case FieldName
Case "txtST"
myform.txtST.It ems.Clear()
myform.txtST.It ems.Add("CA")
myform.txtST.It ems.Add("WA")
End Select
End Sub

This works but what I would really like to do is not have to write a case statement with all the states for each field that has a different
name. I did it this way only because I knew it would work but I would really like
to
pass the name of the field involved by value in the Sub routine

definition but I don't know how. Something like

Public Sub PopulateWithSta tes(ByVal myform As Contracts, ByVal

FieldName As
FieldObject)

MyForm.FieldObj ect.Items.clear ()
myForm.FieldObj ect.Add("CA") etc.....

Could someone advise me on how to do this?



Nov 20 '05 #7
Cor
Hi Fergus,

I see always examples form you telling how to use a collection class.
And now we have to my idea the standard example for it and you come with
this, I am perplex.

This is the basic example I thougth from that collection class.
properties
"CA", "Calfornia" , "Timezone" or whatever
"WA", "Wasington" , ............... .
"FL", "Florida", ............... .......

Or am I wrong

That you can just bind to the controls or whatever way you want to use it.

This was your answer
\\\
oListBox.Items. AddRange (New String() _
{"CA", "WA", "FL"})
End Sub
///

I say of course nothing, because two reasons, I get the idea I never
understand Woody and this I called your stuff and I don't want to make you
laughing to much about me.
:-)
Cor
Nov 20 '05 #8
Hi Woody,

It seems you want to addressing WinForm Controls by Name.
You need to maintain a HashTable for the relationship between the index and
the name.
So that you can get the index from its name, and then by using the
form.controls(i ndex) to access the control.

http://groups.google.com/groups?q=Fi...&lr=&ie=UTF-8&
oe=UTF-8&selm=u72StMXi BHA.1552%40tkms ftngp02&rnum=1
Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
From: "Woody Splawn" <wo***@splawns. com>
References: <eM************ **@TK2MSFTNGP12 .phx.gbl> <8p************ ********@speake asy.net>Subject: Re: How make this code more generic?
Date: Mon, 13 Oct 2003 16:26:36 -0700
Lines: 103
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <#A************ **@TK2MSFTNGP12 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.langua ges.vb
NNTP-Posting-Host: 168.158-60-66-fuji-dsl.static.sure west.net 66.60.158.168
Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP12.phx.g bl
Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.vb:146441
X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.vb

Thank your for responding.

I think we are mis-communicating. I call this function with a statment
inside my form like this:

Module1.Popula teWithStates(Me , "txtST")

I am passing the name of the field that I want to populate to the
subroutine.

I'm hoping to write something like the following in the actual subroutine:

Public Sub PopulateWithSta tesB(ByVal myform As Contracts, ByVal FieldName AsObject)
myform.FieldNam e.Items.Clear()
myform.FieldNam e.Items.Add("-")
myform.txtST.It ems.Add("CA")
myform.txtST.It ems.Add("WA")
myform.txtST.It ems.Add("AZ")
... other 52 states
End Sub

I would like, if possible, for the subroutine to understand that when I say
FieldName I mean the text field on myForm called txtST. The reason I am
doing things this way is because I have several different fields on the formthat need to be populated with states but I would like to write the code foradding states only once. When I use the code above I get a squiqqly under
MyForm.FieldNa me stating that FieldName is not a member of the form called
(in this case) contracts.

Am I making since?



"e" <e@e.com> wrote in message news:8p******** ************@sp eakeasy.net...
You've got it just about right I think, you just need a for each that

cycles
through all your fields? Go with your second version of

PopulateWithSt ates
you've got down there, and call it with something like this...?

Dim aFieldObject as FieldObject

For Each aFieldObject in <myForm.SomeObj ect.FieldsColle ction>
PopulateWithSta tes(aFieldObjec t)
Next

...

Sub PopulateWithSta tes(byVal theFiledObject as FieldObject)

theFiledObject. Add("CA") etc.....

End Sub

"Woody Splawn" <wo***@splawns. com> wrote in message
news:eM******** ******@TK2MSFTN GP12.phx.gbl...
> From a Winform I am calling the sub routine that follows in a module
>
> Public Sub PopulateWithSta tes(ByVal myform As Contracts, ByVal
FieldName
As
> String)
> Select Case FieldName
> Case "txtST"
> myform.txtST.It ems.Clear()
> myform.txtST.It ems.Add("CA")
> myform.txtST.It ems.Add("WA")
> End Select
> End Sub
>
> This works but what I would really like to do is not have to write acase > statement with all the states for each field that has a different name.I > did it this way only because I knew it would work but I would reallylike
to
> pass the name of the field involved by value in the Sub routine

definition > but I don't know how. Something like
>
> Public Sub PopulateWithSta tes(ByVal myform As Contracts, ByVal

FieldName As
> FieldObject)
>
> MyForm.FieldObj ect.Items.clear ()
> myForm.FieldObj ect.Add("CA") etc.....
>
> Could someone advise me on how to do this?
>
>
>
>




Nov 20 '05 #9
Hi Cor,

No worries, mate - it's a case of 'horses for courses'. ;-)

In this situation Woody just wants to stick some strings into a ListBox -
so there's no need for anything more than an array of strings. If there <had
been> associated items, then, yes, I would have added objects, as in the other
similar queries.

[Can't understand why Woody hasn't seen the code, though.]

Regards,
Fergus
Nov 20 '05 #10

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

Similar topics

4
1473
by: Sammy | last post by:
Hello all Is there a good online resource that discusses C++ equivalents for windows code? Not a simple subject of course... but perhaps a good place to start with the simpler parts. Thx :o)
9
1244
by: Justin Shen | last post by:
you can define two class with same name but having different generic parameters in one assembly. As below: class Gen<T> { } class Gen<T1,T2> { }
1
1134
by: shapper | last post by:
Hello, I created a user control (.ascx) with a property as follows: Private _Messages As Generic.List(Of String) Public Property Messages() As Generic.List(Of String) Get Return _Messages End Get Set(ByVal value As Generic.List(Of String))
0
1213
by: shapper | last post by:
Hello, I want to create an ordered list where each list item can have various controls: <ol> <li>textbox, label, ...</li> ... </ol>
7
2458
by: =?Utf-8?B?QWxleGFuZGVy?= | last post by:
Hi! I want to learn C# in the near future. But for now, I would be more than happy if someone could translate this short c# source code into c++. (I searched the web for c++ equivalents but after one hour i am too frustrated, and so i hope you can help me) using System.IO; ... SHDocVw.ShellWindows shellWindows = new SHDocVw.ShellWindowsClass(); string filename; foreach
4
2021
by: =?Utf-8?B?SGF5U2VlZA==?= | last post by:
Is there some way to use Generics in dynamic code using the Type.GetType("MyClassName") as an argument? List<Type.GetType("MyClassName") oList = new List<Type.GetType("MyClassName") > .... or is there a way to declare a generic using strings that hold class
37
2198
by: Hilton | last post by:
Hi, for (int i = 0; i < list.Count; i++) has a hidden performance hit; i.e. list.Count gets evaluated each time, so we write something like: int listCount = list.Count; for (int i = 0; i < listCount; i++)
3
2715
by: Christof Warlich | last post by:
Hi, I just need a specialization for only one member function of a template class with _many_ members. Do I really have to duplicate the source code for all the members, i.e. for those that do not need to be specialized? E.g. in the example below, I'd like to avoid to redefine member B::g(): #include <stdio.h> template<int x, typename T, short yclass B {
10
6469
by: lpinho | last post by:
Hi all, I have a class (named for the example myObject) that can be of several types (int, string, float, etc), instead of using a object to define it's type I used a generic. public class MyObject<T: ChangeObject { ... public MyObject(string name, T value)
12
3542
by: Howard Swope | last post by:
This problem has been bugging me for a while. I have created a collection class and implemented it in a C# library. If I inherit from this class in another C# assembly and it works, but if I inherit from this class in a C++ / CLI assembly it won't compile. This indicates a problem in the CLR. Can anyone shed some light on this. The class follows: public abstract class DictionaryBase<TKey,TValue: IDictionary<TKey,TValue>,
0
9673
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10221
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10003
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9050
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7546
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6785
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5440
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5569
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4115
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.