Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




THE Intermediate Window


Can memory be increased to allow the Intermediate Window to retain MORE text? thanks,JR




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Intermediate Window's Data Capacity
i usually use the Intermediate Window to watch
Variable Values change to monitor program action.

yesterday was the first time i tried to watch a Variable's Data
in a Loop that looped thru 1500 iterations.

when i ran the Program,
just the last 350 or so of the 1500 values displayed.

after i couldn't find anything wrong with my Code
i change the Loop from 1 to 600,
now the Intermediate Window displayed the last 350 or so values again

reset loop from 1 to 300,
and displayed all the 300 in the Intermediate Window.

then created a TextBox to observe Data
re-ran the output to that TextBox from the same 1 - 1500 Loop
and all Data displayed in the TextBox,
but just the last 300 or so in the Intermediate Window.

Whats the Data or Text capacity of the Intermediate Widow
should be using Debug.Print to it ????

Intermediate Book's?
Hi all. Well I am new here and hope I can help some people even though I am kind of new to programming and hope I can get some help back myself. Well I have read through some beginning visual basic books and am now looking into more intermediate level books. I am looking for a cheap web site (Brand new though) where you can buy books in Canada preferably and some good ones some of you have read and would recommend. So if you guys could name a site with a good price on books in Canada or the name/author of a good intermediate level book. Well thanks for the time it took to read this and I really hope I can get some answers as I would appreciate it greatly. Well thanks all and have a good day. Pe@ce!

Intermediate Book's?
Hi all. Well I am new here and hope I can help some people even though I am kind of new to programming and hope I can get some help back myself. Well I have read through some beginning visual basic books and am now looking into more intermediate level books. I am looking for a cheap web site (Brand new though) where you can buy books in Canada preferably and some good ones some of you have read and would recommend. So if you guys could name a site with a good price on books in Canada or the name/author of a good intermediate level book. Well thanks for the time it took to read this and I really hope I can get some answers as I would appreciate it greatly. Well thanks all and have a good day. Pe@ce!

Intermediate Reading Material
I am looking for VB6 reading material.

I consider myself an intermediate-level programmer. That is to say, I can write db apps but haven't tackled dlls or internet stuff yet.

Most VB6 books I see are either geared to the beginner or geared to the expert.

I am looking for things like: how do I program using classes and examples of migrating a non-class app to a class app.
The same thing for OOP.

I look at code examples around the internet and find myself saying, "Damn. That's slick. How did you figure that out? Where did you learn that technique?"

I guess I am having a hard time explaining myself. Anyway, do you have any recommendations for a person of my level? Unfortunately, I don't have the resources to go attend a class somewhere, so I left to books and forums liek this.

Intermediate Registry Problem
I am in the middle of making a program that uses the registry. It has a list of saved messages, numbered from "01" to however many their are in the list.

Example of Registy Tree:

-------PATHS-------- ---KEYS--- ---VALUES---
SoftwareMyApp
1 Name "Saved Message #1"
Number "01"
Location "C:Saved Messages1.txt"

2 Name "Saved Message #2"
Number "02"
Location "C:Saved Messages2.txt"

MY PROBLEM:

i want to delete a message, say #4 out of 10 saved messages. so i delete the reg key, the text-file, but then i have to update the rest of the reg keys by renumbering them... for example, if i remove 04 from the list (01-10) then i'm left with 01, 02, 03, 05, ... 10 - i need to make everything from 05 to 10 one less, so 05 becomes 04, etc

i do have a value for the total # of saved messages, so my idea was to make a loop and subtract 1 from each of the remaining keys...
this isnt actual code, just the general logic im trying to achieve:

'every number below the deleted one
for i = 1 to deletedMessage
saveRegVal (i, i-1)
next i

'every number above the deleted one
for j = deletedMessage+1 to totalMessages
saveRegVal (j, j-1)
next j



this really messes up my whole project, and i might have to redo the whole thing using a text file or ini file, like winamp's playlist or something...i really dont want to do this, so any suggestions/help would be awsome...thanks in advance!

[ CMSterling@aol.com ]
[ Corporal Max Sterling ]

<give Advice For Intermediate Programmers>
Hello,

I have develop new web-site about programming and one part of web site is giving advice for beginner and intermediate programmers.I have some information about beginning programming and I have an ideas and know something about beginning programming but my information for becoming upper-intermediate and excellent inprogramming is very insufficient.Because my programming knowledge is near an intermediate level.For this reason I need your help for some topic :

•If its the first time to begin programming now which method do you use for learning ?

•What’s your advice for intermediate programmers to improve their knowledge and ability ?

•Can you give the laws of programmer ? ( for being a real programmer / life style of the programmer / suggestable working limits )

If you have an idea one or all of this topics , please give what you know , because programming is the hard job so make things easy for new or intermediate programmers.Knowledge Increase With Sharing .And If I have some mistakes in English SORRY! Thanks...

Query To Find Intermediate Records
Dear all,

I need a solution to find intermediate records in a table.

i.e. A table consists of 1 Lakh records.

I need to write a Query to find intermediate records (i need
100-110th record in the table).

Usage of Primary key, Id is not allowed.
(i.e Select * from <TableName> where id between 100 and 110)

Using any SQL functions, it should be written.

Expecting a reply,

Regards,

Sriram

Reccomend Any Good VB6 Beginner / Intermediate Books?
Hi,

Simple question really, not like my last ones it seems..
Can anyone reccomend any decent all round VB6 books?
Reason I ask here is this is a forum full of users of VB6 of all levels so anyones input is welcome!

Cheers
Look forward to your replies!

Can Anyone Recommend A Good Seminar/course (intermediate Level)
Hello,

I graduated with a 4 year CIS degree. I have been a professional programmer for about 3 years now. I would like my company to send and pay for me to attend a seminar or course or something like that. I would like to hear from some people who went to one or could at least recommend one. Looking for a multi day class that has good refrences and things like that.

Thanks

Beginer Vs. Intermediate Vs. Advanced Programmer. What Skills Are Needed For Each
I'm starting my job search. I graduated from college about 4 years ago. Recruiters and employers are always throwing the terms "entry level, intermediate and advanced programmers" around.

I realize that the number of years and the projects you've worked on influence your skill level, but I'm wondering, in the opinion of the people here what SKILLS you should know to to put yourself in the categories of entry level, intermediate and advanced visual basic programmer.

Find And Copy Text In Text File, Intermediate
I have a text file in which I am searching for each instance of the text "begin*end", where * can be a string of any length. I want to extract each of these sequences out of the file. So I need a way to find all of them (doesn't InStr just find the first one?). And the only complication is that "begin" is not always the start of a string I need ... only when there is an "end" before another "begin". Any ideas? Thanks.

bodhi

Difference Between Immediate Window , Watch Window , Localas Window
difference between immediate window , watch window , localas window ...?

How To Create A Popup Window Similar To The Visual Basic's Combo Box List Window
I was trying to write an ActiveX Control which had a popup window similar to the Combo Box Drop Down List. I know that such popup window has to be the Child to the Desktop Window but the problem I am facing is that whenever that popup window gains focus, My Application loses focus (i.e., I get an inactive title bar for the main application and the taskbar button also raises)

Do we have any solution for this in VB 6.0.

HowTo Capture A Window (Hidden/Behind Other Window/Partially Visible/Out Of Desktop)?
I'm new to GDI programming. Just a few days ago I've learned BitBlt,StretchBlt, Memory DC. Since then I've been trying this in every possible way I can imagine but can't make it.
I know how to take a screenshot of a visible window.
I want to know, how I can capture a window if the window is Hidden / Behind Other Window / Partially Visible / Out of desktop area ?
Thanks in advance.



Edit: This commercial dll does exacty what I want to do. But how to make my own ?

Detecting Close Window Event From Crystal Reports Preview Window
Does anyone know how I can detect that a Crystal Reports preview window has been closed in VB ?

Thanks
Mario Giannone

Detecting Close Window Event From Crystal Reports Preview Window
Does anyone know how I can detect that a Crystal Reports preview window has been closed in VB ?

Thanks
Mario Giannone

Accessing Explorer Window Properties When Opening A PowerPoint Show In IE Window
Helllo!

I am opening a PowerPoint Show inside an Internet Explorer window. (That is, on a simple html page, I have link to myfile.pps)

I want a VBA macro in that presentation to access properties of the IE window, for example, the url. But I can't find anything in the VBA object browser that loks liekwhat I want.

Does anyone out there know?

Thanks.

Play All Type Of Movie In Same Window Using Window Media Player Property
Sir
i am using for play all type of movie file for that i m using Window Media Player property in VB when open first file its ok, and when open next movie file current media player window is closed, and open new media player windows .

I want sir how media player open all movie file in same media player window. i allwayes open movie in fullScreen size and how play all movie continue . i get and stored all movie file names in array like Dim fnam(20)


using code is :---

MP.AutoStart= True
MP.Displaysize=mpFullScreen
MP.filename="fullpath of file"

Thanx sir

Popup Window (Focused Window Doesn't Lost Focus)
Hi all, I searched here in all the Forum and I din't found anythig about this question, but I spy into a popup window and I got the next Styles of a popup window and I give it to my form (it works)

The window need to be a NONE Border style from the Designer (Run time changes doesn't works, Don't ask me why ? :P)

When you need a Popup window you will need to use the ShowFloating sub instead of the Show method.

And voila !!, a popup window working.

Any fixes and suggestions about this code would be great and helpful to improve the way of doing this.


Code:
Private Const GWL_EXSTYLE As Long = -20
Private Const GWL_STYLE As Long = -16

Private Const SW_NORMAL As Long = 1

Private Const WS_EX_NOACTIVATE As Long = &H8000000
Private Const WS_EX_TOPMOST As Long = &H8&

Private Const WS_CHILD As Long = &H40000000
Private Const WS_CHILDWINDOW As Long = (WS_CHILD)
Private Const WS_CLIPCHILDREN As Long = &H2000000
Private Const WS_CLIPSIBLINGS As Long = &H4000000
Private Const WS_EX_LEFT As Long = &H0&
Private Const WS_EX_LTRREADING As Long = &H0&
Private Const WS_EX_RIGHTSCROLLBAR As Long = &H0&
Private Const WS_OVERLAPPED As Long = &H0&
Private Const WS_VISIBLE As Long = &H10000000
Private Const WS_POPUP As Long = &H80000000

Private Const HWND_TOPMOST As Long = -1
Private Const SWP_NOMOVE As Long = &H2
Private Const SWP_NOSIZE As Long = &H1
Private Const SWP_SHOWWINDOW As Long = &H40

Private Declare Function SetWindowPos Lib "user32.dll" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long

Private Declare Function SetParent Lib "user32.dll" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long

Private Declare Function SetWindowLong Lib "user32.dll" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long

Private Declare Function ShowWindow Lib "user32.dll" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long

Public Sub ShowFloating()

'Setting the Widow Styles
SetWindowLong Me.hwnd, GWL_STYLE, WS_VISIBLE Or WS_CHILDWINDOW Or WS_CLIPCHILDREN Or WS_CLIPSIBLINGS

'Setting the Extended Window Styles
SetWindowLong Me.hwnd, GWL_EXSTYLE, WS_EX_NOACTIVATE Or WS_EX_TOPMOST Or WS_EX_LEFT Or WS_EX_LTRREADING Or WS_EX_RIGHTSCROOLBAR

'Set the Screen as Parent of the Window
SetParent Me.hwnd, 0

'Showing the window and set the TopMost window
SetWindowPos Me.hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE Or SWP_NOSIZE Or SWP_SHOWWINDOW

End Sub
Mike

Pl. Help Me.... How Handle Shell Executed Window And Media Player Window
Sir,
Hello With Regard

How are you
i have a big probloum sir please help me other wise i will be fired... my prob is ...
I m developing project my project is completed and running very fine but only 1 problom i have, My program start and running movie files with using media player property over movie i m using scrolling metter using IPLAY SCB files in overlay mode . when play first movie file it playing and overlay scrolling is good and when finish first movie file start 2nd movie file current media player window is gone and IPLAY scrolling file also gone.
i open IPLAY file with shell command like

SO sir how can i handel shell file it should constantly play over movie file some time i want to hide and after some time it should play over movie again. Sir also tell me way how movie files alwayes open in same window Or Pl. Sir Send me Code, How Media Player will open all movie files in same window and how manage Shell execute files

Please Sir Help me i will be fired ...I will highly obelized
yours Truly
Mamta Shukla

i m using OS is Win XP or Win2000
Code i m using r writen Below
**********************************************************************

Dim fnam(10), ss

Private Sub Form_Load()
MP.AutoStart = True
MP.DisplaySize = mpFullScreen
loadshell
ply
End Sub
Private Sub ply()
' Sir Please set here path for 3 movie clips
fnam(0) = "C:sks2promo.dat"
fnam(1) = "C:sks2part1.dat"
fnam(2) = "c:sks1song3.dat"
Dim i As Double
i = 0
For i = 0 To 2
If i = 0 Then
MP.FileName = fnam(0)
' Sir Here is NOT Required Overlay Shell Executed File_
' Shell Executed File Should Be Behind or Hidden
Else
MP.FileName = fnam(i)
' Sir Only Here (On This Part Required)_
' Overlay Shell Executed File Only
End If

Do While MP.PlayState = mpPlaying
! DoEvents
Loop
Next
End Sub

Private Sub loadshell()
' Sir scroll.scb file i m sending u, for Play_
' scroll.scb file Pl. download free IPLAY (scala player)_
' from www.scala.com
ss = (Shell("c:Program Filesscalaiplayiplay c:sksscroll.scb", 1))
End Sub

How Does Resizing A Window Work After Hiding The Traditional Window Borders?
I just realized that I have been bulding my project with the ugly window borders turned on (ie: this is the typical "Windows" default blue window borders which allow a user to Minimize, Maximize and Close the window). I want to not have any window borders at all so the only thing the user sees is my application. I can easily put some min/max/close buttons on my Form to allow the user this functionality, but how do I allow the user to resize the window at this point (ie: what will the user click on and drag to allow resizing to occur)? What is the event I am looking for?



Edited by - uncletr on 6/18/2004 9:56:01 PM

Obtaining The Window Size (window.open Xxxx) Using WebBrowser
When programming in Visual Basic 6 and using the webbrowser control, does any one know how to trap the window size the link is calling for? I would like to be able to pass this information onto my form and display the form properly.

An example would be: window.open('view_pop.htm','','width=520,height=428,left=0,top=0');

How do you detect the size in window.open to size your Visual Basic form to the Width, Height, Left and Top positions?

Is There Any Way To Grab Text Written To An Applet Window Embeded In An IE Window?
Hi, I was wondering if there is any way that I can programmatically retrieve the text written to a Java Applet Window in VB6.

The Window is a Popup Window with the classname "MSAWT_Comp_Class".

As far as I'm aware, it has no child windows whatsoever, although there are several buttons, images and text boxes.

The Applet is a Chess Applet that uses the following class "chess.arena.ChessApplet.class"

What I want to do is retrieve the "Moves" each time they are written to the Applet Window programmatically in VB6.

The moves are written on the client area of the Applet Window and are listed like the following.

1. e2-e4 c7c5
2. g1f3 d7d6
3. d2d4 b8c6


As far as I'm aware, the controls on the applet window are buttons, textboxes and lightweight controls used by the "Abstract Window Toolkit" for Java (AWT).

Is there any way that you can retrieve information or the text contained in AWT Controls in VB6?

For example the moves are written to an AWT Frame Control. And I want to retrieve the text contained on this control.

Any help will be appreciated thanks!

How To Hide Parent Window On Display Child Window.
I have developed small cutom application.My clicking menu item on the parent window, child window displays.At the same time I want to dismiss(hide) the parent window.Again if I close the child window the parent window should display.

Any help please in VB.

Maximized MDI Window Resizes When Another Child Window Is Opened
Hi
Can't see any reason why VB does this - or infact any way of stopping it happening.

I have an MDI Mother - I open a Maximized MDI Child within - all okay....
But when I open another MDI Child, the Maximized Child resizes to nomal mode - very annoying

Any hints or way of stopping this would be graciously accepted - perhaps I'm missing something simple? - its been a long couple off weeks

Cheers


Daniel

PS - Attached is a little Demo showing the problem.



Edited by - Afy on 7/27/2005 10:11:11 AM

Blitting From An Obscured Window = Arggg Window Mash!
Hi,

was writing something the other day using bitblt with SRCCOPY to copy a portion of a window on my desktop into a picturebox. All well and good, except when I dragged another window over the top of it, then I get an image of the window over the top aswell!

I was under the impression that I would be able to call bitblt and pass in the DC of a specific window and it would blit ONLY from that window? is this not the case?

If anyone can chuck me a bit of code that will snap a window portion that may be underneath other windows into a picturebox that would be excellent.

Cheers

*Matt*

Issues Opening Pop Up Window In The Same Window Using Webbrowser Cntrl
hi,
I am having a problem opening the pop up window of a website in the same window of the webbrowser control.
when i navigate to the main URL after opning the pop up window, i see that some of the menu options of the main page in the window are missing. help.

Background Window Graphics Bleeding Through Foreground Window
I'm having a problem and can't seem to find a solution. I have an application where one form calls another form modally (form1 = main form, form2 = child form). Form1 has a number of image boxes containing various icons and graphics. Form2 has a tab control (version 6 sp5 I think) with a picturebox control and a textbox control. Clicking different tabs displays one or the other control. Sometimes there's just text and sometimes there's a picture. What's happening is when form2 is called from form1 and the picturebox is displayed the graphics from form1 are bleeding through form2 and are visible, covering up portions of the picture being displayed on form2. It appears to be a rendering problem with the entire form, because the images bleeding though cross control boundries.

I've checked the memory and processor usage on the machine when this is happening and everything looks fine. The only thing I can think that might cause this problem are outdated graphics drivers. I searched Microsoft, but could not find any reference to this type of problem with the controls being used. Besides a graphics driver problem, has anyone encountered this before and if so able to resolve without updating the drivers? (this is a client computer, and they have expressed concern over updating the grapics drivers for fear it will break other applications).

Thanks!

Window XP Error 's Window Pop Out While Opening Excel File
I had created a button to open an excel sheet with the following code (also added the excel references):

Private Sub Command1_Click()
Dim AppExcel As Object
Dim AppWorksheet As Object
Dim AppWorkbook As Object

Set AppExcel = CreateObject("Excel.Application")
Set AppWorkbook = AppExcel.Workbooks.Open("C:ook1.xls")
AppWorkbook.Sheets("Sheet2").Select

AppWorkbook.Application.Visible = True

End Sub

I then make the program into EXE and run it on my PC (windowXP with microsoftXP offices) with no problem. The excel file opened.

Later I copy the EXE file into my office's PC (windowXP with microsoft office 2003) and run it, EXE file ran. But when I click on the button to open excel file, the window xp error reporting window pop out then the EXE file was closed. I checked the Windows Task Manager and found that the excel software was loaded but not visible.

Wondering what's wrong?

MDI Window Will Not Register All My MDI Child Forms Window List - Please Help
Hello everyone, please help.

I have an application and here's the situation

MDIMAIN <- MDI form
login <- not an MDI form but calls to load all MDI child forms

there are two types of MDI child forms
CHILD_A
CHILD_B

here's what the code resambles

DIM CHILD_FORMS(1 to 100)

sub create new form ( x as type of form)

if x=1 then
set CHILD_FORMS(child_counter)=new CHILD_A
else
set CHILD_FORMS(child_counter)=new CHILD_B
end if
CHILD_FORMS(child_counter).show

and the problem is that in the window list sometimes the forms will register and somtiemes they won't. How can I rememdy this ? is there any method or API call which I can force the child form to register in the window list ?

I tried:
CHILD_FORMS(child_counter).show vbModal, MDIMAIN
but it wont work.

Thanks

Get Contents Of Open IE Window By IE Window Title
I would like to be able to get the HTML content of an open IE window by the window title. How would ono go about doing this?

Thanks
GK

Find Window? Drag Over A Window To Select?
I was wandering how you code something like this

http://www.Lupusk9Productions.com/pr...d%20window.PNG

that is a picture of the spy++ program that came with the visual studio for VB. I want to have one of these on my program that can limit the coordinates for clicking wherever the window may be..

I want it to select a java applet and have all the same coordinates in there so if the user has it at a different spot it will still work without having to ask the user where each item is. The applet is inside a browser or what not so i don't want the browser selected..

If this is not the best way to do this can someone tell me what is?

Thanks for any help i hope i provided enough information

Window NOT Show Up If A Full Screen Window Is Up?
Ok what i want is a option to not show up a pop up (or not inturrupt the full window) i made if a full screen window is active...I am unsure how to do this. I know AIM has that option for their program and i wanted the same thing. But how can you tell if a window is full screen or not . I dont want it not to show up if its something like word that is full screen. I want it to not show up if you're playing like a game or whatever.

If anyone has the slightest idea what i'm talking about i'd love your help.

Thanks
-Lupusk

How To Dock Properties Window Below The Project Window?
At the moment, in my VB 6.0 IDE, the Properties window just floats. I can get it to dock to the left of the Project window but not below the Project window.

Get Active Window Handle / Minimize Window
Hello,

I have two (hopefully) simple questions that I hoped could be answered.

How do you obtain the currently active window's handle? I have tried GetActiveWindow, it doesn't seem to work.

How do you minimize a window through the use of the window handle? I do not want to have to focus on the window I am trying to minimize.

Thankyou

Edit: I just thought of another question I need answered.
Could somone please tell me how to use the API SetCursor, and whether SetCursor persists through a restart?

Quote:




Private Declare Function SetCursor Lib "user32" (ByVal hCursor As Long) As Long

Return Window HHwn With Certain Window Caption.
Is there away/function that works something likes this

function gethWndCaption(caption as string) as long

In other words I enter the name of the window caption I want to find E.G "Google - Microsoft Internet Explorer". Then the function returns -1 if no window is found and it a window is found it returns it hWnd.

Get Window Coordinates Using Only Substring Of Window Caption
Hi,

The poker site that I play at has windows that have captions like this...
Table 35282 - NL Hold'em - $5 Buy-in + $1 Entry Fee. Good Luck checkerpro !

I need to be able to retrieve the coordinates of this window. The only portion of the window caption that I know for sure is the Table # (Ex. Table 35282).

So, I am guessing that i need to
A) Get the handle of the window that has "Table 35282" in its caption.
B) Get the coordinates of the window with this handle.

Is that right? Any ideas?

Thanks

Grab Text From Window With Same Class Name As Another Window ?
I have a function to grab the text from a window(child). The main window has two child windows, both with the same class name, one of these child windows i want the text from and my function grabs the text from the wrong child window.

Any way around this ?

Borderless Window, From Bordered Window. (not Resolved!)
Greetings all,

I have a normal window (borderstyle = 2) and I want to make it fullscreen at a double-click (for playing videos fullscreen). So all borders must be hidden. And the form must go over the taskbar.

As far as I know this can only be done by disabling the controlbox and menu. Sadly 'Me.ControlBox = False' gives an error.

How to solve this problem?

Note: Creating another form is not an option.

UrgentHelp, Detect If Started From Cmd-window, Use I/O In That Window
Hi
Making a VB-Utility-Program that sometimes will be started from a
cmnd-/shell-window (by other programs). If started from a cmnd-line, then
all I/O should use that cmnd-window.

Needs to detect if its started from the cmd-promt, and how to read input
from STDIN in the command-window, and how to write on STDDOUT and
STDERR in that window.

It'skind of urgent since some this is the only way to make utility
functions available to the main program
Any help would be greatly apreciated.

Regards,
Stein

Can I Get A Form Name Created In VB (not Window Name) Using The Handle For That Window ?
Can i get a form name created in VB (not window name) using the handle for that Window ? ...?

Keep Popup Window In WebBrowser Control Instead Of A New Window?
When using the WebBrowser control, is it possible to cause popup windows to
appear within the WebBrowser control itself instead of a new window?

This is what I've written in the NewWindow2 event, but I can't figure out
how to get the popup to appear in the same browser window.

In this code the user is presented with "Yes", "No" or "Cancel". Yes allows
the popup to spawn a window, No should load the popup in the same window and
Cancel should just not show the popup at all.

....also, is it possible to determine the URL that the popup is trying to
load, so it can be included in the MsgBox prompt?

'
'New window is wanting to be created
'
Private Sub web_NewWindow2(ppDisp As Object, Cancel As Boolean)
Dim Resp As Long 'Holds users response

'Ask user what to do with popup window
Resp = MsgBox("Allow popup to open a new window?", vbYesNoCancel,
"Window Popup")

Select Case Resp
Case vbNo 'No, keep in same window
'Set Display object to our current web browser object (Doesn't
work)
Set ppDisp = web.object

Case vbYes 'Yes, let new window open

Case vbCancel 'Cancel, don't open popup window
Cancel = True
End Select
End Sub

Minimizing A Window Using Window Text Caption
good day gurus,

can you please give me a link if this pseudo code?

Code:
do '---> until finished checking all windows caption
  'check title of the window if text matched the word "notepad"
  if matched then
     minimize that window
  end if
loop


i have downloaded sample but the action is TERMINATE, i only want to MINIMIZE not to terminate the proccess of the window!

Hope you can help me on this... Thanks, best regards!


¤¤¤(¯`·¸•´¯)¤¤¤])•—› shuryuhen8 ‹—•([¤¤¤(¯`·¸•´¯)¤¤¤
Mÿ Çødë Rðútìñès Crâw£s Øñ ¥ðúr PÇs ߣÓÖÐSTRÈÃM

Creating A Docking Window Or Sticky Window
Curious if anyone knows a method to force a window to stick/dock to the edge of the screen when it gets within X amount of pixels from that edge. Similar behavior which the program Winamp exposes.

Load Form(window) Within A MDIchild Window
HI I am wondering is there any way to load a form or a frame within a MDIchild window. The purpose is to change the display based on user's choice. I can have several frames hidden and show one selected. Any better way to do it?

How To Create An Iostream Window Or Standard I/o Window In VB
I'm developing a front end to a 3270 emulator. I am able to retrieve nformation from the Host I just need to be able to display the formatted screen in my application, where I can restrict where the user is allowed to type (something similar to the 3270 screen), and be able to tab from field to field. I've been using a Textbox to present the screen to the user, but it doesn't prevent the user form erasing or typing over protected fields. There are thousand of screens in this app so it is impossible to create preformatted forms with Textboxes so I'm using a formatted console input and output to interact with the user, but when receiving input from the console the user cannot access my forms's menus. Is there any other way I can be accomplish this task? Can I create a window which acts like a console in Visual Basic, some type of standard input/output or iostream window?

Child Window Within An Internet Explorer Window
Hi,

There are certain siites like https://www.microsoft.com and other sites where you connect for checking office emails which pop up a dialogue box. From my program i make sure that the correct parent window of internet explorer is active right now,but i do not know if there is any child window active right now for that parent window. Before doing any clicks in the window i see if the IE is busy or not, but i do not want to see if IE is busy or not if the click is suppoed to made on a child window and not the main parent IE window. Any help will be appreciated.

Thanks!

Differentiate Between IE Window And Popups While Window Creation
Hi,

I am able to capture the window creation of Top level windows using the WM_SHELL hook. But it also captures the creation of the popup window while opening certain sites on IE. Is there a way to differentiate between the normal IE window and a popup IE window.

Any suggestions are welcome.

Thanks!

Copyright © 2005-08 www.BigResource.com, All rights reserved