Click to See Complete Forum and Search --> : few really simple questions
casparas
Dec 29th, 1999, 12:12 AM
I tried to do everything without vbhide
but it(1.exe) runs minimized anyway
Thanx for Answers
-casparas
Clunietp
Dec 29th, 1999, 12:16 AM
Sorry! I told you to remove it, but the default is Minimized.....DUH, my bad.
use like this instead:
Shell "calc.exe", vbNormalFocus
just replace "calc.exe" with the path to your app
Tom
casparas
Dec 29th, 1999, 11:52 AM
i must warn you i'm no programer
(actually i've bought vb6 few days ago)
so don't laugh at my questions
1.for egzample i have program C:\1.exe
and i want to run this app with my vb program
by pressing the command button
i added the code:
Private Sub Command1_Click()
Shell ("C:\Path\1.exe")
End Sub
okydoky. loks fine right?
and now i come with the problem 1.exe
runs in minimized mode(it's minimized)
what should i do to run it normaly?
2. what is API?
3.what is ADO?
4.what is .dll
(i know some sort of dinamic link library
but could you explain in english)
-casparas
Clunietp
Dec 29th, 1999, 11:59 AM
To make the app run normally, take the vbHide off of the end of your shell statement (I saw someone told you to put it there the other day)
API is an acronym for Application Programming Interface. Windows uses the WIN32 API for it's functions. The API allows you to perform various functions that your application needs that M$ did not include in VB.
ADO is an acronym for ActiveX Data Objects, it is part of the M$ UDA (universal data access) strategy, and allows you to get information from relational (databases) and non-relational data sources (text files, email, etc.) http://www.microsoft.com/data
A DLL file is an acronym for Dynamic Link Library. (yes, another acryonym, get used to it in this industry! :) ) A DLL file contains functions that your app or other apps can call. It also assists in code reuse because many applications can use the same DLL file, and you can also make bug fixes to your DLL without having to recompile your EXEs (as long as your interfaces don't change, but that's a whole other can of worms we won't worry about now)
HTH
Tom
[This message has been edited by Clunietp (edited 12-29-1999).]
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.