this is one way of doing it. have a text box on form A equal the value of what you want passed. then have a text box on form B equal that value.
frmB.textbox.text = frmA.textbox.text
you do not need to reference frmB I put it in for clarity.
good luck
mbpiper
I took a few minutes out and put this togeather for you. Hope this is what you want
Dim fs
Dim ss
Dim sc
Dim s1
Dim s
Dim Fc
Dim F1
Dim F
Set fs = CreateObject("Scripting.FileSystemObject")
Set F = fs.GetDrive("c")...
does it matter if you use KEYPRESS or KEYDOWN
if you use KEYDOWN then you can use this code
Private Sub cmdPlus_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyMultiply or (KeyCode = vbKey8 And Shift = 1) Then
Operand1 = Val(lbldisplay.Caption)
Operator =...
put this line in general declarations
Dim iTimer As Integer
place a timer on your form set interval to 1000 (1 sec)
add this code to you form
Private Sub Timer1_Timer()
If Timer1.Enabled = True Then
If iTimer = 10 Then
Timer1.Enabled = False
Unload...
I don't know if this is what you want but here it is.
You can use the "keycode" procedure
Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyMultiply or (KeyCode = vbKey8 And Shift = 1) Then
...
end if
end sub
here are the other...
Instead of using MAPI you should try to use SMTP. With SMTP it does not matter what the client is using for email you just need to know the ip or name of your SMTP server. There are free downloads(source code) available from http://www.planet-source-code.com/. Do a search in Visual Basic for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.