•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the VB.NET section within the Software Development category of DaniWeb, a massive community of 423,303 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 5,282 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our VB.NET advertiser: Programming Forums
Views: 423 | Replies: 2
![]() |
•
•
Join Date: Feb 2008
Posts: 23
Reputation:
Rep Power: 1
Solved Threads: 1
Hey, well I think I have a fix for your problem.
If you want to use HTML with a VB.NET application and do not have link label, you could insert HTML coding directly into your form by using a 'Web Browser'
When you have put in your web browser, in the URL propeties, insert this coding.
That is one way, the other way is obviously just to upload a HTML file to the internet then put the URL into the URL propeties.
If you do it like that and still want to have the whole idea of the link label, but you dont have an actual link label, follow these instructions.
You should start off with Form1
Add a 'Button' to this form. It is up to you how you choose this button to look.
Click on 'Project' then 'Add windows form'
It should be named Form2 by default.
Go back to Form1 then double click on the button.
Add this code to the button:
Go back to Form2 and add a 'Web browser', then just use one of the methods I mentions at the top of this post.
I hope this helps, its really basic stuff.
If you want to use HTML with a VB.NET application and do not have link label, you could insert HTML coding directly into your form by using a 'Web Browser'
When you have put in your web browser, in the URL propeties, insert this coding.
about: <html><head><title>ExampleTitle</title><body>Put your content here!</body></html>
That is one way, the other way is obviously just to upload a HTML file to the internet then put the URL into the URL propeties.
If you do it like that and still want to have the whole idea of the link label, but you dont have an actual link label, follow these instructions.
You should start off with Form1
Add a 'Button' to this form. It is up to you how you choose this button to look.
Click on 'Project' then 'Add windows form'
It should be named Form2 by default.
Go back to Form1 then double click on the button.
Add this code to the button:
Form2.Show()
Go back to Form2 and add a 'Web browser', then just use one of the methods I mentions at the top of this post.
I hope this helps, its really basic stuff.
•
•
Join Date: Jan 2008
Posts: 24
Reputation:
Rep Power: 1
Solved Threads: 0
Hi Thanks for your reply.
From where we have to add a web browser to the form.
Also do you have any idea on the following code if so explain it.
CreateProcess("iexplore.exe", "www.microsoft.com/mobile/pocketpc/default.asp", IntPtr.Zero, IntPtr.Zero, 0, 0, _IntPtr.Zero, IntPtr.Zero, New Byte(127) {}, pi)
if i give the above code form Pocket Pc i can open the web site in it, the iexplorer size is limited to the pocket pc.
But with the same if i try the following code
CreateProcess("iexplore.exe", "\My Documents\product types.html", IntPtr.Zero, IntPtr.Zero, 0, 0, _IntPtr.Zero, IntPtr.Zero, New Byte(127) {}, pi)
it shows error. unable to open it
Please help thanks
From where we have to add a web browser to the form.
Also do you have any idea on the following code if so explain it.
CreateProcess("iexplore.exe", "www.microsoft.com/mobile/pocketpc/default.asp", IntPtr.Zero, IntPtr.Zero, 0, 0, _IntPtr.Zero, IntPtr.Zero, New Byte(127) {}, pi)
if i give the above code form Pocket Pc i can open the web site in it, the iexplorer size is limited to the pocket pc.
But with the same if i try the following code
CreateProcess("iexplore.exe", "\My Documents\product types.html", IntPtr.Zero, IntPtr.Zero, 0, 0, _IntPtr.Zero, IntPtr.Zero, New Byte(127) {}, pi)
it shows error. unable to open it
Please help thanks
![]() |
•
•
•
•
•
•
•
•
DaniWeb VB.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Freelance .NET / MS SQL developer (Web Development Job Offers)
- .Net Application Developer (Software Development Job Offers)
- .net Software Engineer (Software Development Job Offers)
- .NET Consultant (Software Development Job Offers)
- Software Engineer (.NET , SQL) (Software Development Job Offers)
- ASP.Net / C# Web Developer (Web Development Job Offers)
- ProgrammersTalk.net Recruiting Forum Posters (Internet Marketing Job Offers)
- .NET developers team searches projects (Post your Resume)
Other Threads in the VB.NET Forum
- Previous Thread: Plzzzzzzzz hel me out....
- Next Thread: online railway reservation project in vb.net


Linear Mode