Click here to Skip to main content
15,904,935 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionedit dataset Pin
viji]2-Jul-06 19:01
viji]2-Jul-06 19:01 
AnswerRe: edit dataset Pin
Dave Kreskowiak3-Jul-06 2:26
mveDave Kreskowiak3-Jul-06 2:26 
QuestionUploading binary file by using Inputsteam [modified] Pin
jibcht2-Jul-06 17:19
jibcht2-Jul-06 17:19 
QuestionOracle 9.2 Stored Procedure help in VB .NET Pin
mikewypy2-Jul-06 14:18
mikewypy2-Jul-06 14:18 
AnswerRe: Oracle 9.2 Stored Procedure help in VB .NET Pin
Colin Angus Mackay2-Jul-06 19:30
Colin Angus Mackay2-Jul-06 19:30 
GeneralRe: Oracle 9.2 Stored Procedure help in VB .NET Pin
User 17164923-Jul-06 4:55
professionalUser 17164923-Jul-06 4:55 
Questioncontrol Pin
Mr kilany2-Jul-06 6:54
Mr kilany2-Jul-06 6:54 
AnswerRe: control Pin
Dave Kreskowiak3-Jul-06 2:20
mveDave Kreskowiak3-Jul-06 2:20 
First, you can NOT make another application a modal child of your own. Once launched, there is nothing you can do to reliably stop a user from switching over to the other application and using it without your interface.

It's very easy to launch the other app (point 1 in your post).

Point 2 is also pretty easy. All you need to do is get the Window handle of the launched app and call the Win32 function ShowWindow with the appropriate parameters.

Point 3 is a bit more complicated, despite it's seeming ease. You can easily tell the application to exit, but if it wants to show some window that wants comfirmation of exit or saving changes, then you've got a problem. You have to find those windows, if they exist, then send the appropriate commands to those windows.

Point 4 - Not practically possible. There is nothing you can do to prevent the user from skipping your app, or shutting it down, and just using the app your trying to control.

Point 5 (you didn't put this) - How do you intend to control the other application?? The only way to do it is not reliable and is far more complex than the benefits your going to get from implementing it.


Dave Kreskowiak
Microsoft MVP - Visual Basic

QuestionSQL Script to delete empty rows in a table Pin
Rashar2-Jul-06 5:17
Rashar2-Jul-06 5:17 
AnswerRe: SQL Script to delete empty rows in a table Pin
Colin Angus Mackay2-Jul-06 6:12
Colin Angus Mackay2-Jul-06 6:12 
GeneralRe: SQL Script to delete empty rows in a table Pin
Rashar2-Jul-06 16:49
Rashar2-Jul-06 16:49 
GeneralRe: SQL Script to delete empty rows in a table [modified] Pin
Dave Kreskowiak3-Jul-06 2:06
mveDave Kreskowiak3-Jul-06 2:06 
GeneralRe: SQL Script to delete empty rows in a table Pin
Rashar3-Jul-06 4:42
Rashar3-Jul-06 4:42 
GeneralRe: SQL Script to delete empty rows in a table Pin
Dave Kreskowiak3-Jul-06 4:58
mveDave Kreskowiak3-Jul-06 4:58 
QuestionNon-stop Progress Bar Pin
J Liang2-Jul-06 3:34
J Liang2-Jul-06 3:34 
AnswerRe: Non-stop Progress Bar Pin
Mekong River2-Jul-06 4:02
Mekong River2-Jul-06 4:02 
GeneralRe: Non-stop Progress Bar Pin
J Liang6-Jul-06 6:04
J Liang6-Jul-06 6:04 
GeneralRe: Non-stop Progress Bar Pin
Mekong River6-Jul-06 15:14
Mekong River6-Jul-06 15:14 
GeneralRe: Non-stop Progress Bar Pin
J Liang6-Jul-06 20:14
J Liang6-Jul-06 20:14 
GeneralRe: Non-stop Progress Bar Pin
Mekong River6-Jul-06 21:28
Mekong River6-Jul-06 21:28 
AnswerRe: Non-stop Progress Bar Pin
HakunaMatada3-Jul-06 0:33
HakunaMatada3-Jul-06 0:33 
GeneralRe: Non-stop Progress Bar Pin
Dave Kreskowiak3-Jul-06 2:04
mveDave Kreskowiak3-Jul-06 2:04 
GeneralRe: Non-stop Progress Bar Pin
HakunaMatada3-Jul-06 2:56
HakunaMatada3-Jul-06 2:56 
GeneralRe: Non-stop Progress Bar Pin
Dave Kreskowiak3-Jul-06 4:27
mveDave Kreskowiak3-Jul-06 4:27 
GeneralRe: Non-stop Progress Bar Pin
J Liang6-Jul-06 6:02
J Liang6-Jul-06 6:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.