473,854 Members | 1,851 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Adding Items to ListView through another form

Hi Everyone,

I have this program I wrote in VB6 for family use. It's a DVD Database just
for me to keep track of them cause I have so many lol.

In VB6, I could add items to the ListView in 'frmMain' from 'frmAdd' with
the following code:

Private Function AddEntry(Title As String, Rating As String, Genre As
String, OnLoan As Boolean, ToWho As String)
Dim x As ListItem

Set x = frmMain.lvwDVD. ListItems.Add(, , Title, , 1)
x.SubItems(1) = Rating
x.SubItems(2) = Genre
If OnLoan = True Then
x.SubItems(3) = "Yes"
Else
x.SubItems(3) = "No"
End If
x.SubItems(4) = ToWho

frmMain.lvwDVD. SelectedItem = x

End Function

The ListView I use in VB6 is from COMCTL.OCX

Now in VB .NET I have the following:

Private Function AddEntry(ByVal Title As String, ByVal Rating As String,
ByVal Genre As String, ByVal OnLoan As Boolean, ByVal ToWho As String)
Dim frmMain As New frmMain
Dim X As ListViewItem

X = frmmain.lvwDVD. Items.Add(Title )
X.SubItems(1).T ext = Rating
X.SubItems(2).T ext = Genre
If OnLoan = True Then
X.SubItems(3).T ext = "Yes"
Else
X.SubItems(3).T ext = "No"
End If
X.SubItems(4).T ext = ToWho

End Function

The ListView I use in VB .NET is the System.Windows. Forms.ListView (I
believe)

In VB6, 'frmAdd' would be shown modal above 'frmMain' and the function would
add the item succesfully to the ListView.

For the life of me I can't make this happen in VB .NET :(

Is it at all possible?

Thanks in advance,
Ash
Nov 21 '05 #1
20 6683
> Private Function AddEntry(ByVal Title As String, ByVal Rating As String,
ByVal Genre As String, ByVal OnLoan As Boolean, ByVal ToWho As String)
Dim frmMain As New frmMain For the life of me I can't make this happen in VB .NET :(
That's because in the above line of code you are creating a new instance of
frmMain and you're adding the listview item to this new form - not to the
instance of frmMain that you have opened already. What you need is a
reference to the original frmMain that is opened. There are several ways you
can do that. One way is you can pass a reference to frmMain to frmAdd
through frmAdd's constructor. Either use the same constructor or just add
another one which takes in a reference to frmMain. Here's some code:

' This is in frmMain
Private Sub Button1_Click(B yVal sender As System.Object, _
ByVal e As System.EventArg s) Handles Button1.Click
' Here we pass the frmMain reference to frmAdd
Dim ofrmAdd As New frmAdd(Me)
ofrmAdd.ShowDia log()
End Sub
' This is in frmAdd
Private ofrmMain As frmMain

' Either change the exisiting Sub New or just add this one.
' Both ways will work just fine.
Public Sub New(ByRef oMain As Form1)
MyBase.New()
InitializeCompo nent()
ofrmMain = oMain
End Sub

' Now add your listview items using this instance of frmMain
Private Function AddEntry(ByVal Title As String, _
ByVal Rating As String, ByVal Genre As String, _
ByVal OnLoan As Boolean, ByVal ToWho As String)

Dim X As ListViewItem

X = ofrmMain.lvwDVD .Items.Add(Titl e)
X.SubItems(1).T ext = Rating
X.SubItems(2).T ext = Genre
If OnLoan = True Then
X.SubItems(3).T ext = "Yes"
Else
X.SubItems(3).T ext = "No"
End If
X.SubItems(4).T ext = ToWho

End Function

I hope that helps a bit..
Imran.
Is it at all possible?

Nov 21 '05 #2
> Public Sub New(ByRef oMain As Form1)

Sorry - the above line should be:
Public Sub New(ByRef oMain As frmMain)

you'd have figured that out though :)

Imran.
Nov 21 '05 #3
Hi Imran, thanks for your help.

I have done all that you said, and triple checked it lol

When I press the Add button in frmAdd, it still brings up a new instance of
frmMain but for some reason the Item hasnt even been added there?

Any other suggestions?

Ash

"Imran Koradia" <no****@microso ft.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Private Function AddEntry(ByVal Title As String, ByVal Rating As String,
ByVal Genre As String, ByVal OnLoan As Boolean, ByVal ToWho As String)
Dim frmMain As New frmMain
For the life of me I can't make this happen in VB .NET :(


That's because in the above line of code you are creating a new instance

of frmMain and you're adding the listview item to this new form - not to the
instance of frmMain that you have opened already. What you need is a
reference to the original frmMain that is opened. There are several ways you can do that. One way is you can pass a reference to frmMain to frmAdd
through frmAdd's constructor. Either use the same constructor or just add
another one which takes in a reference to frmMain. Here's some code:

' This is in frmMain
Private Sub Button1_Click(B yVal sender As System.Object, _
ByVal e As System.EventArg s) Handles Button1.Click
' Here we pass the frmMain reference to frmAdd
Dim ofrmAdd As New frmAdd(Me)
ofrmAdd.ShowDia log()
End Sub
' This is in frmAdd
Private ofrmMain As frmMain

' Either change the exisiting Sub New or just add this one.
' Both ways will work just fine.
Public Sub New(ByRef oMain As Form1)
MyBase.New()
InitializeCompo nent()
ofrmMain = oMain
End Sub

' Now add your listview items using this instance of frmMain
Private Function AddEntry(ByVal Title As String, _
ByVal Rating As String, ByVal Genre As String, _
ByVal OnLoan As Boolean, ByVal ToWho As String)

Dim X As ListViewItem

X = ofrmMain.lvwDVD .Items.Add(Titl e)
X.SubItems(1).T ext = Rating
X.SubItems(2).T ext = Genre
If OnLoan = True Then
X.SubItems(3).T ext = "Yes"
Else
X.SubItems(3).T ext = "No"
End If
X.SubItems(4).T ext = ToWho

End Function

I hope that helps a bit..
Imran.
Is it at all possible?


Nov 21 '05 #4
Strange. I tried the same thing on my machine and it works fine. Can you
post the exact code that you now have? Maybe that'll help us figure out what
exactly is going on.

Imran.

"Ash Phillips" <as*@expwin.net > wrote in message
news:ez******** *****@TK2MSFTNG P14.phx.gbl...
Hi Imran, thanks for your help.

I have done all that you said, and triple checked it lol

When I press the Add button in frmAdd, it still brings up a new instance
of
frmMain but for some reason the Item hasnt even been added there?

Any other suggestions?

Ash

"Imran Koradia" <no****@microso ft.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
> Private Function AddEntry(ByVal Title As String, ByVal Rating As
> String,
> ByVal Genre As String, ByVal OnLoan As Boolean, ByVal ToWho As String)
> Dim frmMain As New frmMain

> For the life of me I can't make this happen in VB .NET :(


That's because in the above line of code you are creating a new instance

of
frmMain and you're adding the listview item to this new form - not to the
instance of frmMain that you have opened already. What you need is a
reference to the original frmMain that is opened. There are several ways

you
can do that. One way is you can pass a reference to frmMain to frmAdd
through frmAdd's constructor. Either use the same constructor or just add
another one which takes in a reference to frmMain. Here's some code:

' This is in frmMain
Private Sub Button1_Click(B yVal sender As System.Object, _
ByVal e As System.EventArg s) Handles Button1.Click
' Here we pass the frmMain reference to frmAdd
Dim ofrmAdd As New frmAdd(Me)
ofrmAdd.ShowDia log()
End Sub
' This is in frmAdd
Private ofrmMain As frmMain

' Either change the exisiting Sub New or just add this one.
' Both ways will work just fine.
Public Sub New(ByRef oMain As Form1)
MyBase.New()
InitializeCompo nent()
ofrmMain = oMain
End Sub

' Now add your listview items using this instance of frmMain
Private Function AddEntry(ByVal Title As String, _
ByVal Rating As String, ByVal Genre As String, _
ByVal OnLoan As Boolean, ByVal ToWho As String)

Dim X As ListViewItem

X = ofrmMain.lvwDVD .Items.Add(Titl e)
X.SubItems(1).T ext = Rating
X.SubItems(2).T ext = Genre
If OnLoan = True Then
X.SubItems(3).T ext = "Yes"
Else
X.SubItems(3).T ext = "No"
End If
X.SubItems(4).T ext = ToWho

End Function

I hope that helps a bit..
Imran.
> Is it at all possible?



Nov 21 '05 #5
i still have same problem. but i'm using irc chat similar to mirc

Ash Phillips wrote:
Hi Everyone,

I have this program I wrote in VB6 for family use. It's a DVD Database just
for me to keep track of them cause I have so many lol.

In VB6, I could add items to the ListView in 'frmMain' from 'frmAdd' with
the following code:

Private Function AddEntry(Title As String, Rating As String, Genre As
String, OnLoan As Boolean, ToWho As String)
Dim x As ListItem

Set x = frmMain.lvwDVD. ListItems.Add(, , Title, , 1)
x.SubItems(1) = Rating
x.SubItems(2) = Genre
If OnLoan = True Then
x.SubItems(3) = "Yes"
Else
x.SubItems(3) = "No"
End If
x.SubItems(4) = ToWho

frmMain.lvwDVD .SelectedItem = x

End Function

The ListView I use in VB6 is from COMCTL.OCX

Now in VB .NET I have the following:

Private Function AddEntry(ByVal Title As String, ByVal Rating As String,
ByVal Genre As String, ByVal OnLoan As Boolean, ByVal ToWho As String)
Dim frmMain As New frmMain
Dim X As ListViewItem

X = frmmain.lvwDVD. Items.Add(Title )
X.SubItems(1).T ext = Rating
X.SubItems(2).T ext = Genre
If OnLoan = True Then
X.SubItems(3).T ext = "Yes"
Else
X.SubItems(3).T ext = "No"
End If
X.SubItems(4).T ext = ToWho

End Function

The ListView I use in VB .NET is the System.Windows. Forms.ListView (I
believe)

In VB6, 'frmAdd' would be shown modal above 'frmMain' and the function would
add the item succesfully to the ListView.

For the life of me I can't make this happen in VB .NET :(

Is it at all possible?

Thanks in advance,
Ash


Nov 21 '05 #6
On Sun, 12 Sep 2004 12:42:00 +0100, Ash Phillips wrote:
Hi Everyone,

I have this program I wrote in VB6 for family use. It's a DVD Database just
for me to keep track of them cause I have so many lol.

In VB6, I could add items to the ListView in 'frmMain' from 'frmAdd' with
the following code:

Private Function AddEntry(Title As String, Rating As String, Genre As
String, OnLoan As Boolean, ToWho As String)
Dim x As ListItem

Set x = frmMain.lvwDVD. ListItems.Add(, , Title, , 1)
x.SubItems(1) = Rating
x.SubItems(2) = Genre
If OnLoan = True Then
x.SubItems(3) = "Yes"
Else
x.SubItems(3) = "No"
End If
x.SubItems(4) = ToWho

frmMain.lvwDVD. SelectedItem = x

End Function

The ListView I use in VB6 is from COMCTL.OCX

Now in VB .NET I have the following:

Private Function AddEntry(ByVal Title As String, ByVal Rating As String,
ByVal Genre As String, ByVal OnLoan As Boolean, ByVal ToWho As String)
Dim frmMain As New frmMain
Dim X As ListViewItem

X = frmmain.lvwDVD. Items.Add(Title )
X.SubItems(1).T ext = Rating
X.SubItems(2).T ext = Genre
If OnLoan = True Then
X.SubItems(3).T ext = "Yes"
Else
X.SubItems(3).T ext = "No"
End If
X.SubItems(4).T ext = ToWho

End Function

The ListView I use in VB .NET is the System.Windows. Forms.ListView (I
believe)

In VB6, 'frmAdd' would be shown modal above 'frmMain' and the function would
add the item succesfully to the ListView.

For the life of me I can't make this happen in VB .NET :(

Is it at all possible?

Thanks in advance,
Ash


You have a couple of choices, make a propertie on the second form that
retuns a new listviewitem that can be added to your form... You would
probably have a button that returns DialogResult.Ok - so that in the main
form you could do:

Dim dialogForm As New FormB
If dialogForm.Show Dialog (Me) = DialogResult.Ok Then
Me.ListView1.It ems.Add (dialogForm.New Item)
End If
so in the dialog form, you would just add a property that looked like
Private NewListViewItem As New ListViewItem

....

' populate the listviewitem

Public ReadOnly Property NewItem As ListViewItem
Get
Return Me.NewListViewI tem
End Get
End Property

Or, you could just have a second constructor on your dialog form that takes
a reference to the listview control that you want to add to...

Sub New (ByVal listview1 as ListView)
me.listview1 = listview1
end sub

' populate the list view..

HTH
--
Tom Shelton [MVP]
Nov 21 '05 #7
Sorry for the delayed response

In frmAdd, I have:
Public Sub New(ByRef oMain As frmMain)

MyBase.New()

InitializeCompo nent()

ofrmMain = oMain

End Sub

------------------

Private Function AddEntry(ByVal Title As String, ByVal Rating As String,
ByVal Genre As String, ByVal OnLoan As Boolean, ByVal ToWho As String)

Dim frmMain As New frmMain

Dim X As ListViewItem

X = frmMain.lvwDVD. Items.Add(Title )

X.SubItems(1).T ext = Rating

X.SubItems(2).T ext = Genre

If OnLoan = True Then

X.SubItems(3).T ext = "Yes"

Else

X.SubItems(3).T ext = "No"

End If

X.SubItems(4).T ext = ToWho

End Function

------------------------

Private Sub butAdd_Click(By Val sender As System.Object, ByVal e As
System.EventArg s) Handles butAdd.Click

On Error Resume Next

AddEntry(txtTit le.Text, cboRating.Text, cboGenre.Text, optYes.Checked,
txtLoan.Text)

End Sub

In frmMain I have liek you told me:

"Imran Koradia" <no****@microso ft.com> wrote in message
news:e6******** ******@TK2MSFTN GP14.phx.gbl...
Strange. I tried the same thing on my machine and it works fine. Can you
post the exact code that you now have? Maybe that'll help us figure out what exactly is going on.

Imran.

"Ash Phillips" <as*@expwin.net > wrote in message
news:ez******** *****@TK2MSFTNG P14.phx.gbl...
Hi Imran, thanks for your help.

I have done all that you said, and triple checked it lol

When I press the Add button in frmAdd, it still brings up a new instance
of
frmMain but for some reason the Item hasnt even been added there?

Any other suggestions?

Ash

"Imran Koradia" <no****@microso ft.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
> Private Function AddEntry(ByVal Title As String, ByVal Rating As
> String,
> ByVal Genre As String, ByVal OnLoan As Boolean, ByVal ToWho As String) > Dim frmMain As New frmMain

> For the life of me I can't make this happen in VB .NET :(

That's because in the above line of code you are creating a new instance
of
frmMain and you're adding the listview item to this new form - not to
the instance of frmMain that you have opened already. What you need is a
reference to the original frmMain that is opened. There are several ways you
can do that. One way is you can pass a reference to frmMain to frmAdd
through frmAdd's constructor. Either use the same constructor or just

add another one which takes in a reference to frmMain. Here's some code:

' This is in frmMain
Private Sub Button1_Click(B yVal sender As System.Object, _
ByVal e As System.EventArg s) Handles Button1.Click
' Here we pass the frmMain reference to frmAdd
Dim ofrmAdd As New frmAdd(Me)
ofrmAdd.ShowDia log()
End Sub
' This is in frmAdd
Private ofrmMain As frmMain

' Either change the exisiting Sub New or just add this one.
' Both ways will work just fine.
Public Sub New(ByRef oMain As Form1)
MyBase.New()
InitializeCompo nent()
ofrmMain = oMain
End Sub

' Now add your listview items using this instance of frmMain
Private Function AddEntry(ByVal Title As String, _
ByVal Rating As String, ByVal Genre As String, _
ByVal OnLoan As Boolean, ByVal ToWho As String)

Dim X As ListViewItem

X = ofrmMain.lvwDVD .Items.Add(Titl e)
X.SubItems(1).T ext = Rating
X.SubItems(2).T ext = Genre
If OnLoan = True Then
X.SubItems(3).T ext = "Yes"
Else
X.SubItems(3).T ext = "No"
End If
X.SubItems(4).T ext = ToWho

End Function

I hope that helps a bit..
Imran.

> Is it at all possible?



Nov 21 '05 #8
Here's what I have in frmAdd:

Public Sub New(ByRef oMain As frmMain)
MyBase.New()
InitializeCompo nent()
ofrmMain = oMain
End Sub

Private Function AddEntry(ByVal Title As String, ByVal Rating As String,
ByVal Genre As String, ByVal OnLoan As Boolean, ByVal ToWho As String)
Dim frmMain As New frmMain
Dim X As ListViewItem

X = frmMain.lvwDVD. Items.Add(Title )
'X = frmMain.lvwDVD. ListItems.Add(, , Title, , 1)
X.SubItems(1).F oreColor = System.Drawing. Color.Red
X.SubItems(1).T ext = Rating
X.SubItems(2).T ext = Genre
If OnLoan = True Then
X.SubItems(3).T ext = "Yes"
Else
X.SubItems(3).T ext = "No"
End If
X.SubItems(4).T ext = ToWho

' frmmain.lvwDVD. Items.Item =

End Function

Private Sub butAdd_Click(By Val sender As System.Object, ByVal e As
System.EventArg s) Handles butAdd.Click
AddEntry(txtTit le.Text, cboRating.Text, cboGenre.Text,
optYes.Checked, txtLoan.Text)
End Sub

And in frmMain I have the following like you told me:

Private Sub mnu_Add_Click(B yVal sender As System.Object, ByVal e As
System.EventArg s) Handles mnu_Add.Click
Dim ofrmAdd As New frmAdd(Me)
ofrmAdd.ShowDia log()
End Sub

Sorry for the delayed response!
Nov 21 '05 #9
> Private Function AddEntry(ByVal Title As String, ByVal Rating As
String,
ByVal Genre As String, ByVal OnLoan As Boolean, ByVal ToWho As String)
-----> Dim frmMain As New frmMain
This is the problem. You're still creating a new instance of frmMain and
using this instance in the code below. You should use the existing instance
of frmMain that you passed in the constructor of this form. Replace
'frmMain' wherever its being used in the code below with 'ofrmMain' since
that is the existing instance of your main form. You should be fine then.
Dim X As ListViewItem

X = frmMain.lvwDVD. Items.Add(Title )
'X = frmMain.lvwDVD. ListItems.Add(, , Title, , 1)
X.SubItems(1).F oreColor = System.Drawing. Color.Red
X.SubItems(1).T ext = Rating
X.SubItems(2).T ext = Genre
If OnLoan = True Then
X.SubItems(3).T ext = "Yes"
Else
X.SubItems(3).T ext = "No"
End If
X.SubItems(4).T ext = ToWho

' frmmain.lvwDVD. Items.Item =

End Function
Sorry for the delayed response!

Not a problem :) Actually, I'm a little late too ;-)

hope that helps..
Imran.
Nov 21 '05 #10

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

Similar topics

2
9043
by: cybertof | last post by:
Hello, Is there a solution to the following problem : When filling a listview (30 columns) with around 5000 items, it can take easily 10 sec for the listview to be filled. I have used BeginUpdate and SuspendLayout but no speed... Here is a flavor of the code :
0
12300
by: Andrew | last post by:
If item is a ListViewItem and str is a string, why do the following two lines not have the same effect ? item.SubItems.Add(new ListViewItem.ListViewSubItem()).Text = str; item.SubItems.Add(str); In the example code that follows, using the first line (in the ListView constructor) causes the later redisplay of values (to some specified number of decimal places) in the ListView not to work. Using the second line causes
2
23366
by: John R. | last post by:
I want to have a listbox that shows a checkbox and a textbox. I created a user control that has a checkbox and a textbox in it and have been trying to add it to a listbox but I can't get it to show up for each item I add to the listbox. foreach (Column column in columns) { ColumnsListBox.Items.Add(column.Name); ColumnsListBox.Controls.Add(new ColumnListControl(true, column.Name,
12
5430
by: Mike Smith | last post by:
Hey anyone knows how to find an item in a list view based on text ? Cant seem to get the IndexOf method working. would the LVM_FINDITEM method using SendMessage API work in .Net ?
3
2620
by: Holmes | last post by:
Hello Ran into a bit of a problem here and have now exhausted my resources to getting this working What I am trying to do is load and show a simple vb form with a listbox in it Dim frm_nc_code As New frm_nc_sen frm_nc_code.Show( Well what I want to have happen is it loads the form then shows all of the controls on the form (especially the listview control which should be blank at this time)
21
5240
by: StriderBob | last post by:
Situation : FormX is mdi child form containing 2 ListViews ListView1 contains a list of table names and 4 sub items with data about each table. ListView2 contains a list of the columns on each table and 11 sub items with data about each column. When a Row in ListView1 is selected the Data in ListVies2 is loaded to show the correct data. Initially the first row in ListView1 is selected in FormX load
9
4497
by: Kadett | last post by:
Hi all, I have following problem: I'm creating a ListView (Details) control at run-time and filling it with some records (let's say 10 000). This operation seems to be quite fast, but when I call Controls.Add(list), where list is my ListView control, then program hangs for minute. It seems like this time depends on number of records added to control. So probably when adding control to my form, those records are actualy added at this time...
0
1900
by: Peter | last post by:
Hi, I have a problem with Listview using checkboxes. If i check items by code BEFORE the form is shown the Listview.Items are confused during the ItemChecked Event !!! After showing the form every thing works fine: checking items by code as well as checking with mouse: Using the CheckdItems Property is confused too.
2
6836
by: Peter | last post by:
Hi, I have a problem with Listview using checkboxes. If i check items by code BEFORE the form is shown the Listview.Items are confused during the ItemChecked Event !!! After showing the form every thing works fine: checking items by code
0
11024
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10672
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...
1
10744
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10364
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
9510
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
7909
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
5738
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
5937
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4550
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.