New topic: 

Custom html viewer code.

<http://forums.realsoftware.com/viewtopic.php?t=33989>

         Page 1 of 1
   [ 3 posts ]                 Previous topic | Next topic          Author  
Message        waveuponwave          Post subject: Custom html viewer 
code.Posted: Thu May 27, 2010 5:21 pm                                 
Joined: Fri Jan 29, 2010 12:39 pm
Posts: 288
Location: Virginia U.S.A.                How would I go about hardcoding html 
to be read from an html viewer rather than calling an html file? For example if 
I wanted to display a single picture via a URL. How would I do that? Thanks.    
  
_________________
RB2010r2 Pro on Win 7
I promise to help if I ever learn how to help myself.  
                             Top                 waveuponwave          Post 
subject: Re: Custom html viewer code.Posted: Thu May 27, 2010 5:32 pm           
                      
Joined: Fri Jan 29, 2010 12:39 pm
Posts: 288
Location: Virginia U.S.A.                I've tried something like:

Code:  dim strHtml As String
  strHtml = "<img 
src="http://store.dynalias.com/Items/Featured/images/Strawberries1.jpg";></img>"
  htmlFastLook.LoadPage strHtml, nil       
_________________
RB2010r2 Pro on Win 7
I promise to help if I ever learn how to help myself.  
                             Top                 waveuponwave          Post 
subject: Re: Custom html viewer code.Posted: Thu May 27, 2010 5:57 pm           
                      
Joined: Fri Jan 29, 2010 12:39 pm
Posts: 288
Location: Virginia U.S.A.                Nevermind works fine like this:

Code:  dim strHtml As String
  strHtml = "<img src=" + strPicUrl(0) + ">"
  htmlFastLook.LoadPage strHtml, nil 
      
_________________
RB2010r2 Pro on Win 7
I promise to help if I ever learn how to help myself.  
                             Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 3 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to