Results 1 to 4 of 4

Thread: few really simple questions

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 1999
    Location
    Vilnius, Lithuania
    Posts
    50

    Post

    I tried to do everything without vbhide
    but it(1.exe) runs minimized anyway

    Thanx for Answers

    -casparas

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    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

  3. #3

    Thread Starter
    Member
    Join Date
    Dec 1999
    Location
    Vilnius, Lithuania
    Posts
    50

    Post

    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


  4. #4
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width