473,569 Members | 2,562 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Use of Goto Exit_Proc

From http://www.mvps.org/access/tencommandments.htm

9th item:

Thou shalt not use "SendKeys", "Smart Codes" or "GoTo" (unless the GoTo
be part of an OnError process) for these will lead you from the path of
righteousness.

What about also using it as a means of exiting a procedure?

I'm a firm believer that exit sub and exit function should not be
sprinkled about tany procedure. There should one, and only one exit point.

For example:

Function fSilly() as Boolean

'returns true if the remarks are silly

dim int1 as integer 'just to flesh out the proc

On Error Goto Err_Proc

int1 = forms!frmSIlly. txtSIllyIndicat or

if int1 = 0 then

'perform all kinds of stuff

elseif int1 = 1 then

GoTo Exit_Proc

end if

Exit_Proc:

'set database variables to nothing, etc

Exit_Sub

Err_Proc:

Select case err.number

case else

'display error message

goto exit_proc

end select

--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "What's UP, Dittoooooo?" - Ditto
Nov 13 '05 #1
37 3218

"Tim Marshall" <TI****@PurpleP andaChasers.Moe rtherium> wrote in message
news:cv******** **@coranto.ucs. mun.ca...
From http://www.mvps.org/access/tencommandments.htm

9th item:

Thou shalt not use "SendKeys", "Smart Codes" or "GoTo" (unless the GoTo be
part of an OnError process) for these will lead you from the path of
righteousness.

What about also using it as a means of exiting a procedure?

I'm a firm believer that exit sub and exit function should not be
sprinkled about tany procedure. There should one, and only one exit
point.

For example:

Function fSilly() as Boolean

'returns true if the remarks are silly

dim int1 as integer 'just to flesh out the proc

On Error Goto Err_Proc

int1 = forms!frmSIlly. txtSIllyIndicat or

if int1 = 0 then

'perform all kinds of stuff

elseif int1 = 1 then

GoTo Exit_Proc

end if

Exit_Proc:

'set database variables to nothing, etc

Exit_Sub

Err_Proc:

Select case err.number

case else

'display error message

goto exit_proc

end select

--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "What's UP, Dittoooooo?" - Ditto



Probably better to have your own rules of coding which you stick to than to
have none at all. In the example you have given, you have hinted that there
may be objects to be closed / set to nothing. But I can imagine writing
code for that function where I wrote:

If Not IsFormLoaded("f rmSilly") Then
Exit Function
End If

where I do the most basic check and exit quickly if this criterion is not
met. I know that nothing else needs doing, I know the function will return
false and so I'm happy to write it. You might insist on Goto Exit_Proc, but
it makes no difference to how the code will run in this case, but here I
would find either case acceptable.

I've seen people who might start the function with blnReturn=False , which
they claim helps readability in that they make it clear that unless
something changes, the return value will be false. Of course it would be
false with or without that line, but some (although not me) find it helpful.

While we're on the subject of coding conventions, I tend to write code as
shown below, although I have not seen many others do it:

Exit_Proc:
On Error Resume Next
If Not rst Is Nothing Then
rst.Close
Set rst=Nothing
End If
Exit Function

That is, with the exit part, the code should do it's best to clear up and
exit - hence the resume next - otherwise an error would send us round in an
eternal loop. So I do bother to check whether or not the recordset is
nothing or not, but I neglect to check whether it can be closed or not
(perhaps it was never opened) - I just steam-roller through to the exit In
other words, close it if you can, otherwise move on.

I wonder what others think of this.
Nov 13 '05 #2
On Fri, 18 Feb 2005 23:10:41 +0000 (UTC), "Stefan Kowalski" <a@b.com>
wrote:

I use an even bigger steamroller than you do. In my mind there is no
need to be subtle about one issue (is an object) while not being
subtle about another (object is open):

Exit_Proc:
On Error Resume Next
rst.Close
Set rst=Nothing
Exit Function

-Tom.

<clip>

While we're on the subject of coding conventions, I tend to write code as
shown below, although I have not seen many others do it:

Exit_Proc:
On Error Resume Next
If Not rst Is Nothing Then
rst.Close
Set rst=Nothing
End If
Exit Function

That is, with the exit part, the code should do it's best to clear up and
exit - hence the resume next - otherwise an error would send us round in an
eternal loop. So I do bother to check whether or not the recordset is
nothing or not, but I neglect to check whether it can be closed or not
(perhaps it was never opened) - I just steam-roller through to the exit In
other words, close it if you can, otherwise move on.

I wonder what others think of this.


Nov 13 '05 #3
The use of Goto has lead to such awful spaghetti in the past that common
wisdom has been to avoid using it - period. In a language with sufficiently
powerful code flow control mechanisms, this logic is probably valid.

In VB/VBA, though, there are times when the code is easier to read/follow with
a judicious use of a Goto, and in those cases, that's exactly what you should
use.

Here's the mental process I follow:

1. Get to a place where I'm tempted to use a Goto.
2. Red flag! Why do I think I need a goto?!
3. Is there some better code flow control construct for this?
3a. Exit Do? Exit For?
3b. Store a boolean state, and evaluate it later?
3c. Extract code to new procedure, and call from If block?
3d. Extract code to new procedure, and use Exit Sub/Function?
4. Nope - none of those is better than what I have now.
5. OK - use the Goto, and be proud of it.

Getting to 5 is not particularly rare.
On Fri, 18 Feb 2005 16:58:21 -0330, Tim Marshall
<TI****@PurpleP andaChasers.Moe rtherium> wrote:
From http://www.mvps.org/access/tencommandments.htm

9th item:

Thou shalt not use "SendKeys", "Smart Codes" or "GoTo" (unless the GoTo
be part of an OnError process) for these will lead you from the path of
righteousnes s.

What about also using it as a means of exiting a procedure?

I'm a firm believer that exit sub and exit function should not be
sprinkled about tany procedure. There should one, and only one exit point.

For example:

Function fSilly() as Boolean

'returns true if the remarks are silly

dim int1 as integer 'just to flesh out the proc

On Error Goto Err_Proc

int1 = forms!frmSIlly. txtSIllyIndicat or

if int1 = 0 then

'perform all kinds of stuff

elseif int1 = 1 then

GoTo Exit_Proc

end if

Exit_Proc:

'set database variables to nothing, etc

Exit_Sub

Err_Proc:

Select case err.number

case else

'display error message

goto exit_proc

end select


Nov 13 '05 #4
Tim,
I've been coding for 13 years in VB and VBA and can think of only one
occasion where I have used GoTo except as part of an error handling routine.

The example you show does not require GoTo at all.

My personal advice is; if you feel the need to use goto:
1) Try calmimg down, you are obviously overworked and possibly a bit
emotional.
2) Have a cold shower
3) Consider the ridicule of your peers when they see what you have done.
<G>
--
Terry Kreft
MVP Microsoft Access
"Tim Marshall" <TI****@PurpleP andaChasers.Moe rtherium> wrote in message
news:cv******** **@coranto.ucs. mun.ca...
From http://www.mvps.org/access/tencommandments.htm

9th item:

Thou shalt not use "SendKeys", "Smart Codes" or "GoTo" (unless the GoTo
be part of an OnError process) for these will lead you from the path of
righteousness.

What about also using it as a means of exiting a procedure?

I'm a firm believer that exit sub and exit function should not be
sprinkled about tany procedure. There should one, and only one exit point.
For example:

Function fSilly() as Boolean

'returns true if the remarks are silly

dim int1 as integer 'just to flesh out the proc

On Error Goto Err_Proc

int1 = forms!frmSIlly. txtSIllyIndicat or

if int1 = 0 then

'perform all kinds of stuff

elseif int1 = 1 then

GoTo Exit_Proc

end if

Exit_Proc:

'set database variables to nothing, etc

Exit_Sub

Err_Proc:

Select case err.number

case else

'display error message

goto exit_proc

end select

--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "What's UP, Dittoooooo?" - Ditto

Nov 13 '05 #5
Sorry for the change of topic, but I think I'm having a catharsis of
sorts here...

Terry Kreft wrote:
Tim,
I've been coding for 13 years in VB and VBA and can think of only one
occasion where I have used GoTo except as part of an error handling routine.

The example you show does not require GoTo at all. My personal advice is; if you feel the need to use goto:
1) Try calmimg down, you are obviously overworked and possibly a bit
emotional.
2) Have a cold shower
3) Consider the ridicule of your peers when they see what you have done.
<G>

8) 8) <sob> I've left myself wide open now...

Seriously though, how would you do it?

I used to have separate exit function/sub along with whatever closing of
variables. I began using GOTo as a means to end the procedure
prematurely if certain conditions are not meant.

About 1993, a programmer at an organization I was involved with told me
GOTO was bad in any language. I've made a large and successful effort
to avoid it by using if statements, loops and so on. However, in the
past year or so, I have started using using it only as I describe above.

Of course for ensuring conditions are met, you can use an if statement:

If <conditions met> then

do stuff

end if

Exit_Proc:

However, you would have to be very creative in the case of the example
below.

Here's a "real life" proc. It's the OK button for a form that creates a
new record. The table for the insert action has plenty and plenty of
database level constraints, plus there are some other constarints I felt
could best be handled at the form level.

I'm curious how folks would handle the verification section in which the
app checks to make sure the user has supplied specific values. It's a
large procedure, but the majority of it is to check the correct values
are there to avoid a runtime error.

I've learned an incredible amount from you and all the other folks here
over the past 7 or so years, so I'll gladly take large amounts of
ridicule 8) for the following, but am sure I'll learn a better way to do
it amidst it all!

There are a couple of statements that call on other routines to check
stuff. See If fSelectTerrain = False Then GoTo Exit_Proc.... Perhaps I
could have:

If fselectTerrain = true and <insert various other subroutine checks> then

end if

Anyway, thanks in advance! 8)

Private Sub btnOk_Click()

'This will run an insert/update for the main TBL_ACTION and a series of
INSERTS for
'TBL_ACTION_TER RAIN if this is a new record. If an old record, a delete of
'existing TBL_ACTION_TERR AIN will occur first

Dim strSql As String
Dim intC As Integer
Dim lngPk As Long
Dim rst As DAO.Recordset

On Error GoTo Err_Proc

'ensure abbreviation and name is chosen

If Nz(Me.txtAbrev, "") = "" Then

MsgBox "Enter a unique (for this campaign) abbreviation/code
for this action!"

Me.txtAbrev.Set Focus

GoTo Exit_Proc

End If

'ensure a name is selected for this action

If Trim(Nz(Me.txtN ame, "")) = "" Then

MsgBox "Enter a name for this action!"

Me.txtName.SetF ocus

GoTo Exit_Proc

End If

'make sure an action type is selected

If IsNull(Me.fraTy pe) Or Me.fraType = 0 Then

MsgBox "You haven't chosen an action type."

Me.fraType.SetF ocus

GoTo Exit_Proc

End If

'next verify that if 11 or 12 that one or all destination list box
item is selected

If fCheckDest = False Then GoTo Exit_Proc 'a separate procedure

If fSelectTerrain = False Then GoTo Exit_Proc

'next make sure that only one value is selected

If Me.fraType = 11 Or Me.fraType = 12 Then

lngPk = 0

For intC = 0 To Me.lstDestinati on.ListCount - 1

If Me.lstDestinati on.Selected(int C) Then

lngPk = Me.lstDestinati on.Column(0, intC)

Exit For

End If

Next intC

If lngPk = 0 Then 'nothing chosen

MsgBox "Choose a terrain type ""effect"" for the
crossing/obstacle!"

Me.lstDestinati on.SetFocus

GoTo Exit_Proc

End If

End If

'is there a

'verify that there is a value in txtValue. if it is enabled, there
needs to be a value

If Me.txtValue.Ena bled = True Then

If IsNull(Me.txtVa lue) Then

MsgBox "Enter a value!"

Me.txtValue.Set Focus

GoTo Exit_Proc

End If

End If

'missions

If Me.txtMissions. Enabled = True Then

If IsNull(Me.txtMi ssions) Then

MsgBox "Enter number of missions!"

Me.txtMissions. SetFocus

GoTo Exit_Proc

End If

End If

'do the action in tbl_action first and get the pk

If Forms!frmsetup. subExplain.Form .txtAddEdit = "add" Then strSql =
fInsert Else strSql = fUpdate

'Find lngPK, ACT_PK of new/updated action

If Forms!frmsetup. subExplain.Form .txtAddEdit = "edit" Then

lngPk = Forms!frmsetup. subExplain.Form .ACT_PK

Else

'just do a dmax, that will be the latest one

lngPk = DMax("ACT_PK", "TBL_ACTION S", "ACT_GAM_FK = " &
Forms!frmsetup. txtPK)

End If

'Now do terrain restrictions

fRestrictions lngPk

'requery

Forms!frmsetup. subExplain.Form .Requery

'bookmark

Set rst = Forms!frmsetup. subExplain.Form .RecordsetClone

With rst

.MoveFirst

.FindFirst "ACT_PK = " & lngPk

Forms!frmsetup. subExplain.Form .Bookmark = .Bookmark

.MoveFirst

.Close

End With

DoCmd.Close acForm, "frmsetupAction sadd", acSaveNo

Exit_Proc:

Set rst = Nothing

Exit Sub

Err_Proc:

Select Case Err.Number

Case 3022 'index - in this case, a repaeated name

MsgBox "You already have an action with the abbreviation
""" & Me.txtAbrev & """", vbExclamation

Me.txtName.SetF ocus

GoTo Exit_Proc

Case Else

MsgBox "Error " & Err.Number & " " & Err.Description ,
vbCritical, "frmSetUpAction sAdd btnOk_Click", Err.HelpFile, Err.HelpContext

GoTo Exit_Proc

End Select
End Sub

--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "What's UP, Dittoooooo?" - Ditto
Nov 13 '05 #6
Steve Jorgensen wrote:
The use of Goto has lead to such awful spaghetti in the past that common
wisdom has been to avoid using it - period.


Thanks teve - could I ask you to have a look at my response to Terry
Kreft in this thread and offer an opinion? I think, though, that your
check list answered my question... 8)

--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "What's UP, Dittoooooo?" - Ditto
Nov 13 '05 #7
On Mon, 21 Feb 2005 12:43:18 -0330, Tim Marshall
<TI****@PurpleP andaChasers.Moe rtherium> wrote:
Steve Jorgensen wrote:
The use of Goto has lead to such awful spaghetti in the past that common
wisdom has been to avoid using it - period.


Thanks teve - could I ask you to have a look at my response to Terry
Kreft in this thread and offer an opinion? I think, though, that your
check list answered my question... 8)


I could, but it will probably come down to 2 smart people who simply disagree.
The only thing I might add is to say that I make my choices pragmatically,
based on what will be easiest to read and maintain. I use certain things like
the use of GoTo as red flags to tell me I might be on the wrong track, but
with the emphasis on "might".
Nov 13 '05 #8
Tim Marshall wrote:
Sorry for the change of topic, but I think I'm having a catharsis of
sorts here...

Terry Kreft wrote:
3) Consider the ridicule of your peers when they see what you have
done.


OK, rather than ask people to suggest code changes, perhaps Terry or
someone else can tell me if the following is OK. Personally, I don't
see a problem with the goto exit_proc approach... but I must avoid
ridicule!!! 8)

booProceed and strProceed are new variables here.

Private Sub btnOk_Click()

'This will run an insert/update for the main TBL_ACTION and a series of
INSERTS for
'TBL_ACTION_TER RAIN if this is a new record. If an old record, a delete of
'existing TBL_ACTION_TERR AIN will occur first

Dim strSql As String
Dim intC As Integer
Dim lngPk As Long
Dim rst As DAO.Recordset

Dim booProceed As Boolean
Dim strProceed As String

On Error GoTo Err_Proc

booProceed = True 'if any of the following make it false, procedure
will not go ahead
strProceed = ""

'ensure abbreviation and name is chosen

If Nz(Me.txtAbrev, "") = "" Then

strProceed = "Enter a unique (for this campaign)
abbreviation/code for this action!"

Me.txtAbrev.Set Focus

booProceed = False

End If

'ensure a name is selected for this action

If Trim(Nz(Me.txtN ame, "")) = "" Then

strProceed = strProceed & IIf(strProceed <> "", vbCrLf &
vbCrLf, "") & "Enter a name for this action!"

Me.txtName.SetF ocus

booProceed = False

End If

'make sure an action type is selected

If IsNull(Me.fraTy pe) Or Me.fraType = 0 Then

strProceed = strProceed & IIf(strProceed <> "", vbCrLf &
vbCrLf, "") & "You haven't chosen an action type."

Me.fraType.SetF ocus

booProceed = False

End If

'next verify that if 11 or 12 that one or all destination list box
item is selected

If fCheckDest = False Then booProceed = False

If fSelectTerrain = False Then booProceed = False

'next make sure that only one value is selected

If Me.fraType = 11 Or Me.fraType = 12 Then

lngPk = 0

For intC = 0 To Me.lstDestinati on.ListCount - 1

If Me.lstDestinati on.Selected(int C) Then

lngPk = Me.lstDestinati on.Column(0, intC)

Exit For

End If

Next intC

If lngPk = 0 Then 'nothing chosen

strProceed = strProceed & IIf(strProceed <> "", vbCrLf &
vbCrLf, "") & "Choose a terrain type ""effect"" for the crossing/obstacle!"

Me.lstDestinati on.SetFocus

booProceed = False

End If

End If

'is there a

'verify that there is a value in txtValue. if it is enabled, there
needs to be a value

If Me.txtValue.Ena bled = True Then

If IsNull(Me.txtVa lue) Then

strProceed = strProceed & IIf(strProceed <> "", vbCrLf &
vbCrLf, "") & "Enter a value!"

Me.txtValue.Set Focus

booProceed = False

End If

End If

'missions

If Me.txtMissions. Enabled = True Then

If IsNull(Me.txtMi ssions) Then

strProceed = strProceed & IIf(strProceed <> "", vbCrLf &
vbCrLf, "") & "Enter number of missions!"

Me.txtMissions. SetFocus

booProceed = False

End If

End If

If booProceed = False Then

'display error messsage if strProceed is not empty string,
otherwise, the
'separate routines will have displayed a message

If strProceed <> "" Then MsgBox strProceed, vbExclamation,
"Incomplete Information for This Action"

Else

'do the action in tbl_action first and get the pk

If Forms!frmsetup. subExplain.Form .txtAddEdit = "add" Then
strSql = fInsert Else strSql = fUpdate

'Find lngPK, ACT_PK of new/updated action

If Forms!frmsetup. subExplain.Form .txtAddEdit = "edit" Then

lngPk = Forms!frmsetup. subExplain.Form .ACT_PK

Else

'just do a dmax, that will be the latest one

lngPk = DMax("ACT_PK", "TBL_ACTION S", "ACT_GAM_FK = " &
Forms!frmsetup. txtPK)

End If

'Now do terrain restrictions

fRestrictions lngPk

'requery

Forms!frmsetup. subExplain.Form .Requery

'bookmark

Set rst = Forms!frmsetup. subExplain.Form .RecordsetClone

With rst

.MoveFirst

.FindFirst "ACT_PK = " & lngPk

Forms!frmsetup. subExplain.Form .Bookmark = .Bookmark

.MoveFirst

.Close

End With

DoCmd.Close acForm, "frmsetupAction sadd", acSaveNo

End If

Exit_Proc:

Set rst = Nothing

Exit Sub

Err_Proc:

Select Case Err.Number

Case 3022 'index - in this case, a repaeated name

MsgBox "You already have an action with the abbreviation
""" & Me.txtAbrev & """", vbExclamation

Me.txtName.SetF ocus

GoTo Exit_Proc

Case Else

MsgBox "Error " & Err.Number & " " & Err.Description ,
vbCritical, "frmSetUpAction sAdd btnOk_Click", Err.HelpFile, Err.HelpContext

GoTo Exit_Proc

End Select
End Sub
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "What's UP, Dittoooooo?" - Ditto
Nov 13 '05 #9
Bri
Tim,

Your code does allow for a lot of confusion and maintenance problems
down the line. Also, it can frustrate your users as they fix one problem
and try again only to get yet another new error message. Here is
something I've used that might help.

Bri

========Begin air code======
Form_Before_Upd ate(Cancel as Integer)
On Error goto Err_
Dim stMSG AS String

If <test1> Then
stMSG = stMSG & "Missing Name" & vbCR
End If
If <test2> Then
stMSG = stMSG & "Missing Abbreviation" & vbCR
End If
..... do same for all tests
If Len(stMSG)>0 Then 'At least one test failed
stMSG = "Please Fix the following Problems:" & vbCR & vbCR & stMSG
MsgBox stMSG
Cancel=True
Else
'Put any additional code for when the tests pass here
End If

Exit_:
'Cleanup here
Exit Sub

Err_:
'Error stuff here
Resume Exit_
End Sub

Tim Marshall wrote:
Sorry for the change of topic, but I think I'm having a catharsis of
sorts here... <snip>
8) 8) <sob> I've left myself wide open now...

Seriously though, how would you do it?

I used to have separate exit function/sub along with whatever closing of
variables. I began using GOTo as a means to end the procedure
prematurely if certain conditions are not meant.

About 1993, a programmer at an organization I was involved with told me
GOTO was bad in any language. I've made a large and successful effort
to avoid it by using if statements, loops and so on. However, in the
past year or so, I have started using using it only as I describe above.

Of course for ensuring conditions are met, you can use an if statement:

If <conditions met> then

do stuff

end if

Exit_Proc:

However, you would have to be very creative in the case of the example
below.

Here's a "real life" proc. It's the OK button for a form that creates a
new record. The table for the insert action has plenty and plenty of
database level constraints, plus there are some other constarints I felt
could best be handled at the form level.

I'm curious how folks would handle the verification section in which the
app checks to make sure the user has supplied specific values. It's a
large procedure, but the majority of it is to check the correct values
are there to avoid a runtime error.

I've learned an incredible amount from you and all the other folks here
over the past 7 or so years, so I'll gladly take large amounts of
ridicule 8) for the following, but am sure I'll learn a better way to do
it amidst it all!

There are a couple of statements that call on other routines to check
stuff. See If fSelectTerrain = False Then GoTo Exit_Proc.... Perhaps I
could have:

If fselectTerrain = true and <insert various other subroutine checks> then

end if

Anyway, thanks in advance! 8) <code snipped>


Nov 13 '05 #10

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

Similar topics

30
4244
by: Hayri ERDENER | last post by:
hi, what is the equivalent of C languages' goto statement in python? best regards
3
2975
by: HDI | last post by:
Hi, I've got following code: For each .... on error goto errhand errhand:
0
8130
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...
1
7677
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...
0
6284
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...
1
5514
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...
0
5219
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...
0
3653
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...
0
3643
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1223
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
940
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.