Develop Your Own Browser - Part 2 Los Angeles CA

Yes, even you can learn how to develop your own web browser.

Local Companies

Moyea Software
92295612365
Hot building, ring street
LA, CA
Interneer Inc.
8005586832 x85
6101 W. Centinela Ave.
Culver City, CA
Cornerstone Concepts Inc
818-247-3909
600 W Broadway
Glendale, CA
Greene Computer Corporation
(818) 956-4961
200 S. Louise Street
Glendale, CA
Corticalx Inc Software Solutions & Technology
818-500-0881
425 E Colorado St
Glendale, CA
Alphatier Systems
818-409-8920
517 Griswold St
Glendale, CA
TimeTECH - Customizable Time and Attendance / Workforce Management Solutions
905-677-7009
7420 Airport Rd 203
Mississauga, CA
Hutchinson & Bloodgood, LLP
(818) 637-5000
101 N. Brand Blvd. #1600
Glendale, CA
Telsoft Solutions
818-545-8680
100 N Brand Blvd
Glendale, CA
Abraxas Technologies Inc
818-502-9100
450 N Brand Blvd
Glendale, CA

provided by: 
Originally published at Internet.com


This is the second part of the Develop Your Own Browser. To view part 1, click here.

In this article you'll learn how to copy, select all, view source, edit with Frontpage and edit with Visual Interdev.

Dim eQuery As OLECMDF "return value type for QueryStatusWB On Error Resume Next eQuery = brwwebbrowser.QueryStatusWB(OLECMDID_COPY) If Err.Number = 0 Then If eQuery And OLECMDF_ENABLED Then brwwebbrowser.ExecWB OLECMDID_COPY, _ OLECMDEXECOPT_PROMPTUSER, _ "", "" "Ok to Print? End If End If

Dim eQuery As OLECMDF "return value type for QueryStatusWB On Error Resume Next eQuery = brwwebbrowser.QueryStatusWB(OLECMDID_SELECTALL) If Err.Number = 0 Then If eQuery And OLECMDF_ENABLED Then brwwebbrowser.ExecWB OLECMDID_SELECTALL, _ OLECMDEXECOPT_PROMPTUSER, _ "", "" "Ok to Print? Else MsgBox "The Print command is currently disabled." End If End If

Insert Inet Control (Name - Inet1)
Insert This line into your Module Declaration Section Public Declare Function ShellExecute _ Lib "shell32.dll" Alias "ShellExecuteA" _ (ByVal hWnd As Long, _ ByVal lpOperation As String, _ ByVal lpFile As String, _ ByVal lpParameters As String, _ ByVal lpDirectory As String, _ ByVal nShowCmd As Long) As Long Public Const SW_SHOW = 5 Type SHELLEXECUTEINFO cbSize As Long fMask As Long hWnd As Long lpVerb As String lpFile As String lpParameters As String lpDirectory As String nShow As Long hInstApp As Long lpIDList As Long lpClass As String hkeyClass As Long dwHotKey As Long hIcon As Long hProcess As Long End Type

Insert these coding into your click Event: On Error Resume Next Dim lrs As String lrs = "C:\windows\temp.htm" Dim b() As Byte Inet1.Cancel Inet1.Protocol = icHTTP Inet1.URL = WebBrowser1.LocationName If Inet1.URL <> "" Then b() = Inet1.OpenURL(, icByteArray) Open lrs For Binary Access Write As #1 Put #1, , b() Close #1 Dim retval As Long retval = ShellExecute(Me.hWnd, "open", _ "C:\windows\notepad.exe", lrs, _ "C:\windows\", SW_SHOW) Else MsgBox "There is no source code for this. _ It may be a System File" End If

Insert Inet Control (Name - Inet1)
Insert This line into your Module Declaration Section Public Declare Function ShellExecute _ Lib "shell32.dll" Alias "ShellExecuteA" _ (ByVal hWnd As Long, _ ByVal lpOperation As String, _ ByVal lpFile As String, _ ByVal lpParameters As String, _ ByVal lpDirectory As String, _ ByVal nShowCmd As Long) As Long Public Const SW_SHOW = 5 Type SHELLEXECUTEINFO cbSize As Long fMask As Long hWnd As Long lpVerb As String lpFile As String lpParameters As String lpDirectory As String nShow As Long hInstApp As Long lpIDList As Long lpClass As String hkeyClass As Long dwHotKey As Long hIcon As Long hProcess As Long End Type

Insert these coding into your click Event: Dim rpo As String On Error Resume Next Dim lrs As String Dim b() As Byte lrs = "C:\windows\temp.htm" Inet1.Cancel Inet1.Protocol = icHTTP Inet1.URL = cboaddress.Text rpo = Dir$("C:\Program Files\Microsoft _ FrontPage\bin\fpeditor.exe") If rpo <> "" Then If Inet1.URL <> "" Then b() = Inet1.OpenURL(, icByteArray) Open lrs For Binary Access Write As #1 Put #1, , b() Close #1 Dim retval As Long retval = ShellExecute(Me.hWnd, "open", _ "C:\Program Files\Microsoft _ FrontPage\bin\fpeditor.exe", lrs, _ "C:\MyProg\", SW_MAXIMIZE) Else MsgBox "There is no source code for this. _ It may be a System File." End If Else MsgBox "Microsoft Front Page Software Not Found." End If

Insert Inet Control (Name - Inet1)
Insert This line into your Module Declaration Section Public Declare Function ShellExecute _ Lib "shell32.dll" Alias "ShellExecuteA" _ (ByVal hWnd As Long, _ ByVal lpOperation As String, _ ByVal lpFile As String, _ ByVal lpParameters As String, _ ByVal lpDirectory As String, _ ByVal nShowCmd As Long) As Long Public Const SW_SHOW = 5 Type SHELLEXECUTEINFO cbSize As Long fMask As Long hWnd As Long lpVerb As String lpFile As String lpParameters As String lpDirectory As String nShow As Long hInstApp As Long lpIDList As Long lpClass As String hkeyClass As Long dwHotKey As Long hIcon As Long hProcess As Long End Type

Insert these coding into your click Event: On Error Resume Next Dim rpo As String Dim lrs As String Dim b() As Byte lrs = "C:\Windows\temp.htm" Inet1.Cancel Inet1.Protocol = icHTTP Inet1.URL = cboaddress.Text rpo = Dir$("C:\Program Files\Microsoft Visual Studio\_ Common\IDE\IDE98\DEVENV.EXE") If rpo <> "" Then If Inet1.URL <> "" Then b() = Inet1.OpenURL(, icByteArray) Open lrs For Binary Access Write As #1 Put #1, , b() Close #1 Dim retval As Long retval = ShellExecute(Me.hWnd, "open", "C:\_ Program Files\Microsoft Visual Studio\_ Common\IDE\IDE98\DEVENV.EXE", lrs, _ "C:\MyProg\", SW_MAXIMIZE) Else MsgBox "There is no source code for this. _ It may be a System File." End If Else MsgBox "Microsoft Visual Interdev Software _ Not Found" End If

Author: Soma Sundaram

Read article at Internet.com site

Featured Local Company

Moyea Software

92295612365
Hot building, ring street
LA, CA

Related Local Events
Automation Technology Expo West (ATX West)
Dates: 2/9/2010 - 2/11/2010
Location: Anaheim Convention Center
Anaheim, CA
View Details

SOLAR POWER - Exhibition and Conference
Dates: 10/12/2010 - 10/14/2010
Location: Los Angeles Convention & Exhibition Center
Los Angeles, CA
View Details

REAL-TIME & EMBEDDED COMPUTING CONFERENCE - LONG BEACH 2009
Dates: 10/1/2009 - 10/1/2009
Location: Marriott Long Beach
Long Beach, CA
View Details

2009 IEEE Petroleum and Chemical Industry Technical Conference (PCIC 2009)
Dates: 9/14/2009 - 9/16/2009
Location:
Anaheim, CA
View Details

Medical Design & Manufacturing - Trade
Dates: 6/9/2009 - 6/11/2009
Location: CANON COMMUNICATIONS LLC
Los Angeles, CA
View Details