×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
A MsgBox is a WinForms concept, but you're using it from an aspx page.
While it's still valid .net code (it's just a method call), it makes no
sense in the context of a web site. A message box will show up on the
"local" machine where the vb code is running, so if you're trying to
notify a user on the other end of a web-connection they'll never see the
message.
Given the code snippet in your message I'd say you should add a
CustomValidator to the aspx page and have the validation be that both
boxes can't be empty.
This "worked" locally because the client (your browser) and the "server"
were the same machine locally. I'll bet you were running from w/in VS
too, using the built-in "Web server" so the server wasn't even running
as a real service.
-Walden
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.