Display Web pages | developer.brewmp.com Display Web pages | developer.brewmp.com

Developer

Display Web pages

Forums:

Hi ,

I would like to show predefined websites like yahoo & msn in my application. I'm facing issues regarding & .

As Developement of websites is not a universal standard so most of the websites simply use

then I'm not able to show image i need the below syntax...

The same with

Next Page

But i'm looking for

Next Page

In HREF case i can save existing path and append with relative path and send. But what should i do on the case of images.

Thanks

Regards
Parimal

you should download these image and then show they using IHtmlViewer interface

you should download these image and then show they using IHtmlViewer interface

Thanks Snow white,
How i can download the images without sending correct http request. As i have mentioned most of the websites simply use below syntax.

Next Page
In this case i have to send request of these pages or images with append URL. HREF case i can do but how can i do with image, I'm clueless.
Thanks
Regards
Parimal

Thanks Snow white,
How i can download the images without sending correct http request. As i have mentioned most of the websites simply use below syntax.

Next Page
In this case i have to send request of these pages or images with append URL. HREF case i can do but how can i do with image, I'm clueless.
Thanks
Regards
Parimal

hi Snow white,
it is not possible that IHTMLVIEWER do that automatically?

hi Snow white,
it is not possible that IHTMLVIEWER do that automatically?

Hi razvanica,
How will I able to send the seperate request for image when i'm planning to display webpages???
Currently status is ::::

then I'm not able to show image. i need the below syntax to show images...

and in most of the websites they putup only
So how can i send http request to show image.
Thanks
Regards
Parimal

Hi razvanica,
How will I able to send the seperate request for image when i'm planning to display webpages???
Currently status is ::::

then I'm not able to show image. i need the below syntax to show images...

and in most of the websites they putup only
So how can i send http request to show image.
Thanks
Regards
Parimal

hi Parimal
you should use
IHTMLVIEWER_SetProperties(m_pIHTMLViewer, (IHTMLVIEWER_GetProperties(m_pIHTMLViewer) | HVP_LOADALLIMAGES));
but i advice you don't use IHTMLVIEWER as a web browser. First of all you won't be able to see .gif images.
if you want to use IHTMLVIEWER as a web browser, i advice you use a web proxy wich transform .gif images in supported images (and many other things...)
hope this helps

hi Parimal
you should use
IHTMLVIEWER_SetProperties(m_pIHTMLViewer, (IHTMLVIEWER_GetProperties(m_pIHTMLViewer) | HVP_LOADALLIMAGES));
but i advice you don't use IHTMLVIEWER as a web browser. First of all you won't be able to see .gif images.
if you want to use IHTMLVIEWER as a web browser, i advice you use a web proxy wich transform .gif images in supported images (and many other things...)
hope this helps

Hi razvanica,
Thanks For reply...
I'm not able to see images here after using IHTMLVIEWER_SetProperties function . May be i'm doing something wrong.
Sorry for my silly qusestion which i'm asking now:-
Is IHTMLVIEWER_SetProperties is related to send http request?
If i have only Image name in then i'm not able to send request to the server for the image like .
TO get the image from the server request should go like this:-
http://192.10.10.4/aa1/Bottom_image.jpg
Other wise Image will not be downloaded.
Is IWEBUTIL_MakeUrl() help to relative URL to Absolute URL??
Thanks Again...
Regards
Parimal

Hi razvanica,
Thanks For reply...
I'm not able to see images here after using IHTMLVIEWER_SetProperties function . May be i'm doing something wrong.
Sorry for my silly qusestion which i'm asking now:-
Is IHTMLVIEWER_SetProperties is related to send http request?
If i have only Image name in then i'm not able to send request to the server for the image like .
TO get the image from the server request should go like this:-
http://192.10.10.4/aa1/Bottom_image.jpg
Other wise Image will not be downloaded.
Is IWEBUTIL_MakeUrl() help to relative URL to Absolute URL??
Thanks Again...
Regards
Parimal

hi parimal,
HVP_LOADALLIMAGES is for not specify width and height of image
if you want to use relative URL you should use
IHTMLVIEWER_SetURL(m_pIHTMLViewer, "http://192.10.10.4/aa1")
hope this helps

hi parimal,
HVP_LOADALLIMAGES is for not specify width and height of image
if you want to use relative URL you should use
IHTMLVIEWER_SetURL(m_pIHTMLViewer, "http://192.10.10.4/aa1")
hope this helps

Thanks a lot Razvanica :) ,
Now i'm able to see my image with relative path..
Still one problem i'm facing in my application.
My apps is able to show web pages perfectly but if i'm doing browsing hastily . It gives me -1289 in get response.
Sitution:
while browsing, If i have one image of the current webpage & without waiting for full download of that image, I clicked on the one link hastily that time in WEBRESP_GetInfo I get -1289. but if i wait for the successful download of that image and after that click on any link, it works perfectly.
In the case of -1289, sometimes I get the error of memory..
Thanks Again..
Regards
Parimal

Thanks a lot Razvanica :) ,
Now i'm able to see my image with relative path..
Still one problem i'm facing in my application.
My apps is able to show web pages perfectly but if i'm doing browsing hastily . It gives me -1289 in get response.
Sitution:
while browsing, If i have one image of the current webpage & without waiting for full download of that image, I clicked on the one link hastily that time in WEBRESP_GetInfo I get -1289. but if i wait for the successful download of that image and after that click on any link, it works perfectly.
In the case of -1289, sometimes I get the error of memory..
Thanks Again..
Regards
Parimal