0

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.....

0

Just remove the Brackets after Form1.Show() in you DLL

Make it
Form1.Show vbModal

Then get back to me

0

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"...

0

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

0

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

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.