|
-
Jul 29th, 2011, 11:53 AM
#30
Thread Starter
Addicted Member
Re: [RESOLVED] Runtime error '91': Object variable or with block not set
 Originally Posted by MartinLiss
Code:
Private Sub cmdcancel_Click()
MsgBox "Are you sure you want to exit program", vbQuestion + vbYesNo, "Confirm"
Unload Me
End Sub
You need to query the user's response as you did here
Code:
If MsgBox("Is this the most economical alternative?", vbQuestion + vbYesNo, "Confirm") = vbYes Then
BTW you never did answer my question which was how does the user know that this is the most economical alternative?
I thought I have already in an earlier post. It is a choice the user has to make. It has to do with the cost. I mean the life cycle costing of implementing the system. Whether, if it's gonna be cheaper to do an impressed current protection of the pipeline or a sacrificial anode protection of the pipeline. It is a cost comparison which the client or the operator of the pipeline has to consider. He enters all the costing for the different stages of the project: meaning total cost at design, operation, decommissioning etc and compares the two values giving the scope of the project and other factors ecetera, ecetera. Hope it's clear this way.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|