Results 1 to 10 of 10

Thread: This should be easy for someone ...

  1. #1

    Thread Starter
    Frenzied Member TheBionicOrange's Avatar
    Join Date
    Apr 2001
    Location
    Cardiff, UK
    Posts
    1,818

    Question This should be easy for someone ...

    When my DHTML is started, obviously (or not) it loads Microsoft Explorer.
    Is there a way I can make sure Microsoft Explorer is maximized ?

    Every time my program starts I have to maximize it manually.

    Thanx in advance.

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    There's issues with the way IE starts up. It can be annoying.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  3. #3

    Thread Starter
    Frenzied Member TheBionicOrange's Avatar
    Join Date
    Apr 2001
    Location
    Cardiff, UK
    Posts
    1,818

    OK ......

    OK ... but is it possible do you know ?


  4. #4
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    Put this in your BODY tag:
    Code:
    onload="Page_Initialize()"
    Then add this inside the HEAD tag:
    Code:
    <SCRIPT LANGUAGE="JavaScript">
    <!--
    function Page_Initialize()
    {
    	window.moveTo(0, 0);
    	window.resizeTo(screen.availWidth, screen.availHeight);
    }
    </SCRIPT>
    It's not really maximized, but it has the same effect.
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

  5. #5

    Thread Starter
    Frenzied Member TheBionicOrange's Avatar
    Join Date
    Apr 2001
    Location
    Cardiff, UK
    Posts
    1,818

    I'm thick !

    Sorry to be dull, but where would I find those ?

    I am using the DHTML designer, which gives me a screen on the right and a tree view of its components on the left.

    I'm very new at this (as if you couldn't guess !), and I can't find the BODY TAG and the HEAD TAG.

  6. #6
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    Look at the HTML of your page. (You can do view source while it's displayed in IE)
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

  7. #7
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    On a side note, if your using an editor that doesn't allow you to see the raw HTML tags, your using the wrong editor.
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

  8. #8

    Thread Starter
    Frenzied Member TheBionicOrange's Avatar
    Join Date
    Apr 2001
    Location
    Cardiff, UK
    Posts
    1,818

    Thanks for the help .....

    Well thanks for that.

    I looked at the source code whilst in IE, and amended it as you said.
    Saving it seems to have no affect though as they all seem to be temporary files, and therefore change each time I go into this page !

    I realize I am probably missing something fundamental, by my Internet skills are very limited at the moment, which is one of the reasons why I chose the DHTML editor that ships with VB, because I could knock up a screen and add some code to the controls.

    Are you saying that this is not the way to go about things ?
    Writing the page frmo scratch in HTML script is probably better I know, but I have no knowledge of this language (yet !).

  9. #9
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    I would say use InterDev. The only caveat with it is you have to install either IIS (for NT) or PWS (9x/ME) in order to use it. The good news is you can download PWS for free from MS. If you are running NT, chances are you already have IIS installed.

    InterDev allows you to either hand code pages or create them using drag and drop. Best part for you is, you can create the pages using drag and drop, then switch over and see what the code looks like so you learn how to do it both ways. There will always be a time when you need to make a change to an attrbute of one of your tags to tweak your display and you just can't get that precise with the editor your using..
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

  10. #10

    Thread Starter
    Frenzied Member TheBionicOrange's Avatar
    Join Date
    Apr 2001
    Location
    Cardiff, UK
    Posts
    1,818

    Thanks.

    OK thats great.

    Thanks very much for your help.

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