borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Convert a VB.Net app to a web app?)Next Topic (Activate Event) New Topic New Poll Post Reply
AndreaVB Forum : VB General : How to set vbmodal in the form?
Poster Message
jim88
Level: Trainee

Registered: 03-10-2007
Posts: 1

icon How to set vbmodal in the form?

Hi, I'm having a difficulty to show a form as modal in the following
situation...

Prior before the change in my project, I have a standard exe that calls an
activeX dll. This dll will populate different kind of form based on the
parameters pass out from the exe. Some of these form require administration
right and some are not. In order to prevent the access to the first form
before the second form (modal) is closed. I've set these form as modal i.e.
frm.show vbmodal <-- this work fine!

Now, I have to deploy this project in a windows vista environment and due to
some of the forms require an administrative right. So, I have to change the
program and made it an UAC compliance. So, I've created an intermediate exe
file called dllWrapper Eg:-

Standard exe --> dllWrapper file --> activeX dll

Because of this, now the vbmodal doesn't seem working anymore. May I know how to overcome this problem?

I have created a simplify version of the problem I mentioned here for your reference.

1. CallerScreenA
2. ShowScreenB
3. ShowScreenC

Previously, when

CallerScreenA --> ShowScreenC (you cannot access the first form until you have closed the second (modal) one, work fine)

After adding a wrapper program which is ShowScreenB, vbmodal fail. Now, I can access to first form without turn off second form.

CallerScreenA --> ShowScreenB --> ShowScreenC

Thanks in advance



[Edited by jim88 on 03-10-2007 at 07:44 AM GMT]

____________________________
Attached:
vbmodal.zip 15 KB (Downloads: 0)

03-10-2007 at 07:42 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VB General : How to set vbmodal in the form?
Previous Topic (Convert a VB.Net app to a web app?)Next Topic (Activate Event) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder