|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Opening a Form in Microsoft Visual Basic 2005 Express Edition
Hi all,
I've been using VB in Access, but have just started using VB 2005 a couple of days ago, so I'm pretty much a newbie I have searched the other threads in the forum, but cant seem to be able to use the following code Code:
formname.hide formname.show neither can i use the following code Code:
DoCmd.OpenForm "formname" I'm sure that this is pretty elementary, but I'd really appreciate some help. Thanks in advance!
__________________
~Sharon~ |
|
#2
|
|||
|
|||
|
Just for further clarification,
The error message I got while trying to debug was that the DoCmd was not declared. Same thing with the hide and show form Appreciate any help! Thanks |
|
#3
|
|||
|
|||
|
DoCmd is only available in Access VBA (or possibly other Office products VBA).
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#4
|
|||
|
|||
|
Doug, thanks a lot for taking the time to reply.
Could you please guide me to where I can find information on how to code this part? Would really appreciate it! |
|
#5
|
|||
|
|||
|
Quote:
There are plenty of examples in the VB online help, you could start there. |
|
#6
|
|||
|
|||
|
Hi, Doug,
Thanks for your reply I found out what my mistake was. I should have used Code:
Me.Hide() frmMainMenu.Show() Thanks again |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Opening a Form in Microsoft Visual Basic 2005 Express Edition |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|