MsgBoxResult.Retry -
When I have MsgBoxResult.Retry how do I get the Message box to reset the array for the user to start from the beginning entering their numbers?
For example, they enter Letters instead of numeric digits, then in a way the form just start over, but input box for them to be aloud to reenter their data. Or how do get the inputbox to not accept the entered data and have the input box repear where it was at within the array?
MsgBoxResult.Retry -
When I have MsgBoxResult.Retry how do I get the Message box to reset the array for the user to start from the beginning entering their numbers?
For example, they enter Letters instead of numeric digits, then in a way the form just start over, but input box for them to be aloud to reen
Need Help VB 2005 buttons. pleeease -
Hi,
im making a voting system program for an assignment which it biased towards one of the candidates, when u click "vote" on the one it doesnt want to win, it displays a few msgboxes. then next time that button is clicked i need the button to resize. ive been thinking for
Recover from closing -
is the a way to recover from closing during the form closing event?
If the user clicks cancel then the app should not close...
here is my current code.
Code:
Private Sub frmMain_Closing(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles
Help with Wait and Regestry entries -
This is my first prog pretty simple but it is giving me a head-ache
The prog will set a dun connection
ping to establish a VPN connection
check for a file
run a .exe
delete a file
write a registry entry.
I need help making the prog stop until the .exe it cal
Install problem -
I've got a problem installing an app on a Windows 95 workstation.
It was developed on a Windows NT workstation but it has been installed successfully on other Windows 95 workstations and NT is no problem. DCOM is installed first for the Win95 pc and then setup package is launched
[2005] e.cancel = true -
In 2005, e.cancel = true ,it cant work
What should it changed to
Dim result As MsgBoxResult
result = MessageBox.Show("Do you really want to quit?", "Quit?", MessageBoxButtons.YesNo, MessageBoxIcon.Question)
If result = MsgBoxResult.No Then
e.Cancel = Tr
Abort Retry Ignore... How to Automatically Press -
I'm writing an error killer for our game server. We get error windows that popup with Abort, Retry, Ignore buttons.
What can I do to have my program automatically press the Ignore button?
-b-
i would like a piece of code that backs up my dat files -
Hi
I have created a small program which just holds general data in four separate dat files. I have a button on one of my forms that creates new files and deletes the old ones but before the delection of the old ones i would like to back them up to c drive, does anyway know how?
simple login program -
I'm trying to the login program,
i want the user to only be allowed 3 chances of retry(vbretry),the the program sholud exit,
how to i go about it...here is the code
i have 2 text box for txtuser and txtpass and a button.
help is appreciated
thks
Private Sub cmdLogin_Clic
Winsock Server Connection Request Problem -
hey, this is my code
Code:
Private Sub wskServer_ConnectionRequest(ByVal requestID As Long)
Dim msgboxResult
msgboxResult = MsgBox("A connect request has been initiated by: " & wskServer.RemoteHostIP & vbNewLine & "Would you like to accept it?
Form Exiting -
Hi Guys!
Question: I have the following code in my WordPad.
Code:
If bEdited = True Then
Dim check As MsgBoxResult
check = MsgBox("Text has not been saved. Save changes?", MsgBoxStyle.YesNo)
If check = MsgBoxResult.Yes Then
"Switch to Retry" Problem -
hi,
Anyone there to help me out??
We r working in 3-tier environment with VB6 as front end, Middle tier (Dlls also in VB6), and Oracle 8i as back end and Win 2000 OS.
We hav a network of about 400 odd win 2000 systems...all our applications are running perfectly....but now all o
Jet OLEDB:Lock Retry is missing -
I'm using the MS Jet Engine 4.0 with an Access DB.
I can't seem to find and set the property for the connection for
Jet OLEDB:Lock Retry and Jet OLEDB:Lock Delay.
A host of other properties are also missing but according to all
the MSDN references I've seen, they're suppose to
Thread / Event Problem -
I have Created an App that is to be a load tester for another app. It Current uses an ActiveX.exe that I created with Events. Currently, Everything works Just great and it Does what it is supposed to do but, It won't return Control to the Main App. For what ever reason it is waiting
Refresh not working correctly -
I have an input of type button that runs the following HTML code:
<script language="JavaScript">
<!--
function Refresh()
{
window.location.reload( false );
}
//-->
</script>
this works fine.
However
I also have a panel on screen that i
opening & saving Files -
I’m not trying no more now I’m just going to ask!
Why does that Code not fire??
Code:
Dim LineOfText, AllText As String
Dim response As MsgBoxResult
Private Sub mnuNew_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuNew.Click
I
How to provide a 'retry' when catching exceptions -
How do I chuck code execution back to the try section after i catch an exception.
eg.
Try
My.Computer.FileSystem.DeleteFile("file.txt")
Catch ex as exception
select case messagebox.show("retry?")
case vbyes
Reload Form..time -
hey.. ive got my form to reload when the user clicks "retry" how can i make it take time..for example..::
The user clicks [Retry] (Pause) 2 seconds.. the form re-apears..
how can i do that? this is my code so far:
Private Sub cmdRetry_Click()
Form3.Visible = False
[2008] check listbox is not empty -
Hi
I was wondering how to check if a list box is not empty I have inserted my code I want t check if there if text in the listbox and if there is no text do some thing. I have put the line of code i am having trouble with in red
Thanks
Code:
result = MsgBox("Are yo
WebBrowser and msgbox -
Hi everybody,
i working with webbrowser in vb6, and i have the next problem:
The user search a page and somethings when the user click back the page display Warning: Page has expired!!!
Ok, i try to find a solution with command refresh but the navigator display a messagebox wi
A problem with a msgbox -
Hello, friends...
This is my code in VB 2005.
Private Sub TView_AfterLabelEdit(ByVal sender As Object, ByVal e As System.Windows.Forms.NodeLabelEditEventArgs) Handles TView.AfterLabelEdit
'Here I save my TreeView.
'
Dim Response As MsgBoxResult
Retry after pop window -
I have a page that has a DataGrid on it. Sorting is enabled on the grid. Now with that, here is my problem. Step by Step.
1) I click on a heading to sort the grid.
2) I click on a link that pop's a new window using the following java script
window.open(POPurl+'?'+strVal,'N
Switch/Retry error using Office Automation -
Has anyone else encountered this problem. Using Office automation within VB, the user starts an Office process, and while it is processing, does something that causes focus to go somewhere else, they get this message:
Component Request Pending
This action canot be completed beca
Proxy Authenticating an SSL Connection with Internet Functions -
Hi,
I'm trying to connect to a secure server through a proxy that has a user name and password.
I've succesfully authenticated using InternetSetOption for a single attempt.
But when I coded to retry the request after a 407, (once proxy user and pass have been set as above), the
Email proggy to check if MS Exchange is up -
Hi everyone, I asked this question a while ago and got no
response. So I assumed that nobody knew the answer or just
didnt care . Anyway I'll ask again, I have this project
that I'm working on that Emails people so naturally i need
to use the Outlook object. Anyway to get to the
combobox and 3 listboxs -
Hi
Having some trouble with this.
Please can someone help
I have a combobox and 3 listboxs and if a product that is selected from the combobox is already in the list box, then update the quantity (say there is already 4 tins of beans in there and you want to have 6 tins of beans
Using VB 6 Webclasses locally -
Hi All,
Am trying to get Webclasses / IIS VB apps to run on my local machine (am using XP pro with VB 6).
I've installed IIS as I used to get the IIS / PWS related error when starting an IIS project.
Now that I've installed IIS from the XP setup disk, and try to run the most b
Click OK, select certain row -
I am trying to get when a person selects ok, that a row in another form is selected in a datagrid.
The other form datagrid would be DISPATCH.TRASPORTSDataGridView
After selected ok I want it to select the row that contains the current forms TRANSPORT_NUMBER_FULL.Text
Code:
Installation Problem - msvcrt.dll & imagehlp.dll -
Good Day,
i have finish my task and i packege and deploy it. okay, after that install my task but there are two error messages that pop up
c:\windows\system32\msvcrt.dll
The destination file in in-use. Please ensure that all other applications are closed
-it ask me choose
CentOS installer always has corrupt packages -
All,
I've tried very hard to install CentOS 5.1 on several different machines. I've tried the DVD ISO image, I've tried the netinstall image. Both, without fail, bring up an error message during installation, along the lines of:
Quote:
The file [name of a .rpm f
msgboxresult -
hi again just a quick one here
when a msbox popsup with a yes & no Button how can i get it so that if the user clicks yes it clears label1 but if the user clicks no then the app closes thanks
Cancel button...HELP! -
Here is part of my coding:
If response = MsgBoxResult.OK Then
Me.Close()
Else
' What do you do here???
End If
What do I do for when the hit the cancel button? How do I just have it go back to the normal screen? Please help!
Brenda
Access violation error while running setuo -
I had created an Address Book application in Visual Basic and with the help of Package and Deployment wizard I had created setup files. Then I tried to install the applicatin on my office machine, every thing was well until I got an error message box saying,
"C:\Windows\System\M
login validation -
Good day to all!
I am having a problem regarding on login validation using VB 6.0 and SQL Server 2000.
The validations are:
1.if the user doesn't input anything in txtUserName and txtPassword
then a messagebox will appear with message "Either username or password c
weird messagebox problem in vb.net smartdevice -
Hello there.
For some reason, my ppc with windows mobile 2003 does not function entirely normal (anymore).
I made an application that runs on it, and sometimes it needs to display messageboxes, with yes/no question. If there is a yes, it activates a certain function, etc.
Anyw
[2005] Try, Catch - how to retry after an error -
Howdy,
I'm still working with an SQL app, and I've gotten everything working correctly however I'm having an issue trying to figure out how to cause my Try, Catch retry after a failure. The reason being that, every now and again (usually the very first time after starting the app) my
VB5 problems!!! -
I'm having some problems with my
VB5.
Every time use the vbYesNo or vbOKonly
it doesn't make a Yes and No buttons, but
Retry and Abort!!!!!!!
Why??!!!!!!!!!!!!!!!!!!!!!!!
/ CyberCarsten
Filing Help -
Can anybody tell me why this code will not append the file? It is used for Sequintial files. It has been giving me a hard time and I can not figure it out. I believe I have everything to get it to work, but nothing.
Dim objStreamWriter As System.IO.StreamWriter
Privat
Key Down Event on a DataGrid -
I am trying to add a KeyDown event for a datagrid, specifically to catch the Delete key to Delete the row of data. The DataGrid is set to ReadOnly, but it seems like half the time I press Delete the row tries to go into edit mode and the event never fires. Anybody have any idea what wo
ASSERT failure with 'Set Object = Nothing' (OO4O) -
Hi everyone,
I have a program with a connection to an Oracle database through OO4O, and during execution I unplug the network cable.
Reason for this : my program should intercept errors like this and buffer any calls to the database.
Interception goes well, but at some point when