User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 423,507 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,664 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Views: 3339 | Replies: 36
Reply
Join Date: Jun 2007
Posts: 166
Reputation: AV Manoharan is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 7
AV Manoharan AV Manoharan is offline Offline
Junior Poster

Re: command button

  #31  
Jun 18th, 2007
Originally Posted by anud18 View Post
in the dll

.after this the user clicks the command button...if the username and password matches any of the combinations present in the combo-boxes.....

This also in the dll?

then i want to run the function KRN_Startform() which is defined in the project.....
Reply With Quote  
Join Date: Jun 2007
Posts: 52
Reputation: anud18 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
anud18 anud18 is offline Offline
Junior Poster in Training

Re: command button

  #32  
Jun 19th, 2007
ya this is also done in the dll itself
Reply With Quote  
Join Date: Jun 2007
Posts: 166
Reputation: AV Manoharan is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 7
AV Manoharan AV Manoharan is offline Offline
Junior Poster

Re: command button

  #33  
Jun 19th, 2007
Just remove the Brackets after Form1.Show() in you DLL

Make it
Form1.Show vbModal

Then get back to me
Reply With Quote  
Join Date: Jun 2007
Posts: 52
Reputation: anud18 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
anud18 anud18 is offline Offline
Junior Poster in Training

Re: command button

  #34  
Jun 19th, 2007
the form stopped on the screen amd it allowed me to make entries in the text boxes after doing the above step .......but when i clicked the command button it is showing "automation error"...
Reply With Quote  
Join Date: Jun 2007
Posts: 166
Reputation: AV Manoharan is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 7
AV Manoharan AV Manoharan is offline Offline
Junior Poster

Re: command button

  #35  
Jun 19th, 2007
Originally Posted by anud18 View Post
the form stopped on the screen amd it allowed me to make entries in the text boxes after doing the above step .......but when i clicked the command button it is showing "automation error"...


Just see it in the form1 property whether the name of the control, not its caption, is command1 or
Login
Reply With Quote  
Join Date: Nov 2006
Posts: 712
Reputation: QVeen72 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 97
QVeen72's Avatar
QVeen72 QVeen72 is offline Offline
Master Poster

Re: command button

  #36  
Jun 20th, 2007
Hi Anud..

Why have u defined showform as a Function ...? Change it to a Procedure :

Public Sub ShowForm()
Form1.Show
End Sub

If it is a Function, u need to Assign it to a Variable..


Regards
Veena
Reply With Quote  
Join Date: Nov 2006
Posts: 712
Reputation: QVeen72 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 97
QVeen72's Avatar
QVeen72 QVeen72 is offline Offline
Master Poster

Re: command button

  #37  
Jun 20th, 2007
Hi,

sorry make it

Form1.Show VbModal

Regards
Veena
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Visual Basic 4 / 5 / 6 Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum

All times are GMT -4. The time now is 4:27 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC