o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

Get Browser Dimensions! -

Often it happens that when a button is clicked in a web page in a browser, a new browser window of smaller (or maybe larger) dimension opens up (for e.g. when the Manage Attachments button is clicked in the page where users post new threads in this forum, a smaller window opens up).

Now using the WebBrowser control, is there any way by which VB can get the dimension of such browser windows before actually opening them? Or in other words, can VB get the width & the height of the web page (not the web browser) just before opening the web page in a new window? Maybe using the BeforeNavigate2 or WindowSetWidth or WindowSetHeight event functions of the WebBrowser control or some other function?

 

Pre-defined New Window Size! -
I had asked this question in the past as well but after having got no solution yet, I am posting the question again. One can gauge how desperate I must be to get a solution to the following question; so sorry for repeating the question. I hope someone helps me resolve this issue once &


Openning New Window Using Web Browser Control -
I have created a browser using the Web Browser control. Often when you click a link or a button on a web page, a new smaller browser window opens up. An idea example is the Manage Attachments button in this forum on the page where users type their questions. What I find is though th


Determining Hexagon Dimensions -
Does anyone know if there is a way to get precise dimensions of a hexagon by starting with the distance between flat sides? Example: Say the distance between the top and bottom is 1.5 inches. How would I go about determining the dimensions of the rest of the hex? I don't kn


Picture dimensions... -
Is it possible to determine the dimensions (HxW) of a picture file (.GIF, .JPG, .BMP) without loading it up first? And also, how would this be affected by different screen resolutions? That is, are the dimensions given in pixels?


Dimensions of a png file -
Does anyone know how to get the dimension of a png file? Im looking to read the dimensions and then adjust my form to those dimensions. any help is appreciated


good, fast, resize script -
does anyone have a good fast resize script out there... i have one but its kinda slow.. i dont have the code handy.. but ill try n c wut i can do..so pardon any errors... 'Put this into a module Public sub SetInitResizeParams(CallForm as Form) dim Dimensions(0 to 3) as long dimensions


[2005] resizing webbrowser object to it's maximum -
Hello! I have instanced a webbrowser object and placed it in a form. Now you can imagine that websites in general have different dimensions. What I'm after is a function that would automatically resize the webbrowser (and the form) to fit the dimensions of the website that's been na


Get Browser Dimensions! -
Often it happens that when a button is clicked in a web page in a browser, a new browser window of smaller (or maybe larger) dimension opens up (for e.g. when the Manage Attachments button is clicked in the page where users post new threads in this forum, a smaller window opens up).


GetBitmapDimensionEx -
i have a problem. i'm using loadimage to--obviously--load an image. setting the dimensions to 0 will result in the api function using the default dimensions, which is good. the problem is, the actual dimensions won't appear if you try using GetBitmapDimensionEx, which is what i've been


Frame dimensions -
Hi, I'm having a little trouble with frame dimensions in Word. If you put some things in a frame and set the widthrule and heightrule to Auto, then it will appropriately size the frame. Fair enough. But now the width and height properties are set to -1. If you then set the widthru


Resizing Problems! -
In a web browser project, assume that 2 browser windows are open & both are in the maximized state. First of all, when I restore the 2nd window, though it gets restored, I find that it goes behind the 1st window & the focus shifts to the 1st window! Secondly, when I resiz


Operations between dimensions -
Could we find distances between points of different dimensions. If so, how?


TIF image dimensions -
Hello, does anyone know how to read the dimensions (pixels) and pixel data from a TIF file ? Unfortunately TIF files cannot be loaded with LoadPicture. --hyperspaced


A problem in arrays -
Hi friends, I have a problem with vb6. I want to dim an array with variant dimensions, for example: I want A() with 1 less dimensions than B() which B() is dimensioned by user and it cant be pre-dimensioned consider B(3,3), so A() will be A(2,2), something like this: [dim A(i-1,j-1)


Getting dimensions of a picture -
I there an API function I can call that will tell me the pixel dimensions of a jpeg? I was thinking along the lines of a 'GetMetrics' type thang, but I can't find anything around... Could anyone help please? Mafro


Determine the number of dimensions of an array -
Can anyone tell me if there is a function in VB to determine the number of dimensions in an array? I found an article on the web saying that there was no such function for VBA (no mention of VB), and it suggested using the ubound function and error catching to determine the number of d


Get Dimensions of Image -
Im using LoadPicture to load in gif and jpg images and i was wondering how you would get the dimensions (height and width) of the image. Is there an API for this? Thanks in advance


Printing Images -
Hi all. I'm (still) using VB4! I'm trying to write an application that calculates dimensions. I'm having problems with producing a printed diagram. I would like to be able to print a full page line drawing image. I don't really want to get into writing the code to draw each ind


How many dimensions -
Is there a way to find out how many dimensions a given array has? And the total ammount of elements in the array? Please help me.


mmControl for video question -
I have been collecting musical video clips . I play them with a video player l've made using mmcontrol on my vb6 . However the clips are of different dimensions (width , height) and although the picturebox l have declared as display is of certain dimension 360x240 " MMControl


Dynamic Arrays in VB -
I would like to know if it is possible to dynamically create an array in VB with out knowing the number of dimensions ahead of time. I can Dim intAry() as integer and then redim intAry(2,3) but what if I won't know until runtime how many dimensions there will be? thanks,


[2008] Make my webbrowser default browser -
I made a browser called as Icy Memory Browser with tab feature. One of my question is how am i suppose to make this browser an option to be the default windows browser. And is there a code for Visual Basic to check if the browser is set as default browser at the start of the prog


Dimesnions of a AVI file -
I have a avi file but the dimensions are way too big, is there a way or some software out there that will allow me to shrink the dimensions of ther avi file so they are a much smaller size BUT not effecting the quality of the video


StatusBar! -
I am using the StatusBar control in a WebBrowser project. The StatusBar has 4 Panels. Now when the browser is in the restored state, I want to adjust the Left & Width properties of the Panels so that all the 4 Panels are visible irrespective of the dimensions of the Form but the Le


BMP file dimensions -
How can I get BMP file dimensions (height and width)? Thanks in advance!!!


AVI File Dimensions -
How do I find the dimensions of an arbitrary AVI file? Thanks in advance!


Loading a picture into a report, keeping its dimensions -
Hi guys.. I'd like to load a picture (of varying dimensions) into my report, i can load a picture like so... Set Picture1.FormattedPicture = LoadPicture(App.path & "\seatMap.bmp") but the picturebox that is in the report keeps its dimensions, which forces the p


Get Pop-Up Window Position! -
I had put forth this question in this forum earlier as well but since it went unanswered, I am posting this query again. Sorry for multi-posting but I guess one can very well gauge the fact that how desperate I am to get a concrete solution for my problem. I am using the WebBrowser


screen dimensions ASP, no JS -
Hey guys, I need an ASP method for Screen dimensions, No JAvascript Like screen.width anybody ? Thanks Wengang


Dimensions of an array -
How can I find the dimensions (not the upper and lower bounds!) of an array at run time? For instance, if I have declared: Dim Arr(10, 6, 11) the result should be 3 or Dim Arr(2, 4) the result should be 2, etc.


A real quick question -
Call me stupid, but someone could please solve this for me???? A piece of wire 100cm long is going to be cut into several pieces and used tp construct the skeleton of a rectangular box with a square base. (a) what are the dimensions of the box with the largest volume? (b) what


Dimensions of a rec -
A simple problem but im not too sure how to solve algebraically. The length of a rec is seven more than twice it's width. If the perimeter of the rec is 50cm find the dimensions of the rec. I just started out assuming the rec was in direct variation and worked from there. 5


Image dimensions -
Is it possible to find out image dimensions without loading it? Thanks.


Array dimensions -
Hi everybody, Is there any way to determine the number of dimensions of an array ?


Screen Dimensions -
Does anyone know how to get the dimensions of the desktop(Screen) Cheers IJ


Changing the width of the drawing area -
I'm drawing a 2d matrix of tiles on a single form. the dimensions of the matrix are dynamic and I'm wondering how I can get and set the dimensions of the portion of the window that gets drawn to (i.e. not including the menu and titlebar) when using the Graphics object. Thanks in adva


Registry After Installation! -
I have created a WebBrowser in VB6 using the Microsoft Internet Control. Now when the browser loads for the first time, the app reads some Registry values to find out whether the browser is the default browser or not. If it is, then as usual proceed ahead & open the browser but if


How to read Dimension of .bmp file -
Hey guys... I have got a project which involves reading the dimensions (in pixels) of bitmap files.. i need to find the dim and then copy it to a template excel file.. I am not able to find a way to get the dimensions.. please advice i am using Visual


How can i make my browser the default browser -
I made a browser in vb and i want to use it as my default browser. Some links open in new instances of ie and i want them to load an instance of my browser instead. I am working in win98. I 've already change a key in Registry under the HKEY_CLASSES_ROOT\htmlfile\shell\open\command


Video file dimensions (resolution) -
How can I read out the dimensions of a video file (*.avi or *.mpeg)? Is there a API function or do I have to read out the header? If so, where can I get details about this topic? It should be a fast method because my program will compare many of these files at runtime! Thanks!