-
VB App read html code
When i load a basic Html page in the web browser inside a vb6 desktop app.
Does VB script can read and modify the html code localy, or its only the web browser who can read it.
If yes, can someone tell me the basic line how.
Not the code - only the idea to understand.
Maybe later ill need the code, but at this point, i just try plan the complete
project.
Thank
-
Can you explain in more detail what you're trying to do? Are you loading an HTML file from the local file system, or are you downloading a file from the Web? What do you want to do with the page after it's loaded in the browser control?
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
-
The Application will use to download specific web page and all picture (Save AS) - From Business Intranet and give to non-initiate-user the tool to modify it.
Not only modify but compare and see the last change made from the last user.
At the end of the line. The application will upload the web page to be publish on a WWW Server.
The app will transform itself by reading code in top of the WEB page
The app will restrain user to a only specific HTML change by reading same code
So, same question - Can i Open Web page in (Web browser) Save it all localy (with all picture)
and modify it by VB, and return it, in specific central server
if yes - what is the way to figure out
Thanks
-
You may use the Internet Transfer Control or WinInet APIs to download files (HTML and images) from a Web server. If you have FTP access to the Web server, you may use the same means (Internet Transfer Control or WinInet APIs) to upload files via FTP. None of this really has anything to do with the Web browser control; the browser is for viewing files, not downloading or uploading them.
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
-
Ok for that part - But my concern its the interaction between vb app and the web page - The way i think is to download and save the page and edit it like a text file by vb and view by browser -
can i use VB like text editor (search - replace - copy - paste) ??
-
Yes. I would probably use a third-party HTML editing component, rather than trying to write the code from scratch. Google for "html editor ocx" to find several alternatives.
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
-
the goal to write the app, is to restrain to a specific change the user can made.
the acces will be very reduce and the change will be minor - just like the little window that im typing this post in this forum - The type of user will be very large from secretary to back store worker.
Ok thanks
i just want to know what is the main idea to modify the html from VB
Similar Threads
-
Replies: 38
Last Post: 09-07-2001, 05:55 PM
-
Replies: 120
Last Post: 08-06-2001, 12:50 AM
-
By Zane Thomas in forum .NET
Replies: 147
Last Post: 01-31-2001, 01:00 PM
-
By Aivosto in forum vb.announcements
Replies: 0
Last Post: 09-25-2000, 02:02 PM
-
By Dave Lewis in forum vb.announcements
Replies: 1
Last Post: 05-30-2000, 01:06 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks