Solved

Creating popup windows with the Internet Control

Posted on 2002-06-07
4
153 Views
Last Modified: 2010-05-02
When you go to certain websites, it will automatically open a new window and hide tool, menu, status, and address bars.  How do I do this in a browser I created using the Microsoft Internet Control?  I got the browser to create a new instance of the window but I do not know how to make it so that it hides certain bars and resizes correctly.
0
Comment
Question by:vpl4
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 1

Expert Comment

by:Toad224
ID: 7063601
That would most likely be done in Javascript.  Good luck.
0
 
LVL 22

Accepted Solution

by:
rspahitz earned 50 total points
ID: 7063613
When you create the new instance of the Window, you can also set a series of parameters to enable or disable creatin features such as menu bar, status bar, tool bars, etc.  
0
 
LVL 1

Expert Comment

by:Wildi
ID: 7064661
The appropriate javascript method is:
  window.open(<Source>,<WindowName>,<Options>)

sample:
  window.open("mysource.htm","Window1","width=310,height=400,left=0,top=0,toolbar=no,menubar=no");


Possible options are:
dependent= yes|no
height= [Pixel]
hotkeys= yes|no
innerHeight= [Pixel]
innerWidth= [Pixel]
left= [Pixel]
location= yes|no
menubar= yes|no
resizable= yes|no
screenX= [Pixel]
screenY= [Pixel]
scrollbars= yes|no
status= yes|no
toolbar= yes|no
top= [Pixel]
width= [Pixel]


However it is maybe better to post further question on this to the appropriate javascript or ASP forum.
0
 

Author Comment

by:vpl4
ID: 7071804
After seeing this response, I looked at the control again and I found events(?) like OnStatusBar or OnMenuBar which defined if these items would show.  I tried them and they worked perfectly.  Thanks.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VBS file using code from 2nd file (txt or vbs) 4 56
Recommendation vb6 to vb.net or others 14 241
Automatic Email Reminder 4 94
Modify Text File with Excel Macro 13 51
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question