Solved

How do I view frame source in vb code?

Posted on 2002-03-12
8
283 Views
Last Modified: 2012-05-04
How do I view frame source in vb code?
Using the web browser control need to view the frame source of an intranet page
How do I read the frame definition thru vb code?
0
Comment
Question by:LUEBBERTD
[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
  • 3
  • 3
  • 2
8 Comments
 
LVL 20

Expert Comment

by:hes
ID: 6858119
Do you mean the source of a web page ? are you going to use the webbrowser control or xml ?
0
 
LVL 20

Expert Comment

by:hes
ID: 6858149
For xml:

Dim xml
Dim strBase As String
Dim SString As String
  ' Create an xmlhttp object:
  Set xml = CreateObject("Microsoft.XMLHTTP")
  ' Or, for version 3.0 of XMLHTTP, use:
  ' Set xml = Server.CreateObject("http://www.experts-exchange.com")

strBase = "http://www.experts-exchange.com"
DoEvents
  ' Opens the connection to the remote server.
  xml.Open "GET", strBase, False, "", ""
   
  ' Actually Sends the request and returns the data:
  xml.Send
 
  SString = xml.responseText

Now just set a textbox.text = SString
or a RichTextBox.text = SString
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6858215
hearing... until clarify.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 22

Expert Comment

by:rspahitz
ID: 6858632
Since frames are defined separate from the source, in order to get the "frame source" you need to read the frame definition to find the path to the frame source, then re-load the Inet control to get the frame source.
0
 
LVL 16

Accepted Solution

by:
Richie_Simonetti earned 50 total points
ID: 6886871
What do you mean by "frame definition"?
0
 
LVL 22

Expert Comment

by:rspahitz
ID: 6894336
LUEBBERTD, are you still with us?  Did my comment help?  I'm guessing that you're talking about HTML frames and not VB frames, right?  If so, my comment should get you going.
0
 
LVL 22

Expert Comment

by:rspahitz
ID: 6894555
OK--accept a question as your answer--that made sense--NOT!
LUEBBERTD, please explain.
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6894643
what is the idea behind accept my comment?
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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 Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses
Course of the Month9 days, 9 hours left to enroll

623 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