Jump to content
ruicardoso1994

Abrir Documento HTML dos 'Resources'

Recommended Posts

ruicardoso1994

Boas.

Coloquei um documento HTML na pasta Resources. Como o abro a partir do vb?

 Dim Ie As Object
        Ie = CreateObject("InternetExplorer.Application")
        Ie.Visible = True
        Ie.Navigate(My.Resources.help_general.html)

Tentei por isto mas dá erro.

Agradeço ajuda.

Cumps

Share this post


Link to post
Share on other sites
Skulltrail

boas, como esta nos Resources o ficheiro vai ficar no formato binario, logo, antes de abrir tens de o extrair, para um temorario do windows por exemplo e depois abir!


"Sem o esforço da luta,será impossivel a alegria da vitória"João Gonçalo Silva

Share this post


Link to post
Share on other sites
emanuelx
dim wb as new webbrowser
wb.DocumentText = My.Resources.ResourceManager.GetObject("nome.do.html.mas.sem.o.html")


com calma e sem stresses

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.