Re: Need a couple of how-to's for VDC.
Daniel Kroker <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.aubit.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Vice,
1)
we have built in our own browser in the VDC to open and show urls.
Here is a small example:
MAIN
DEFINE b ui.browser
DEFINE c ui.browser
DEFINE http_code INTEGER
CALL ui.browser.create()
RETURNING b
CALL b.openUrl("http://www.google.de")
RETURNING http_code
CALL ui.browser.create()
RETURNING c
IF http_code <> 0
THEN DISPLAY "Es ist ein fehler beim laden entstanden"
ELSE DISPLAY "Wurde geladen"
END IF
CALL c.openUrl("http://www.google.de")
RETURNING http_code
IF http_code <> 0
THEN DISPLAY "Es ist ein fehler beim laden entstanden"
ELSE DISPLAY "Wurde geladen"
END IF
SLEEP 1
CALL b.close()
CALL c.close()
END MAIN
2)
At the time i think its not implemented to click on a icon (thumbnail)
and send a file.
Regards
Daniel
Am 02.07.2012 17:42, schrieb Vince Callaway:
> I'm usually pretty good at digging through code and figuring out
> things on my own, but these two items have me stumped.
>
> Here is what I need to do:
>
> 1) Launch an url. I either need to be able to have a hotlink or a
> button when pressed with launch an url in a browser. I've tried
> everything I can think of including just a menu option that does an
> execute of the url. No luck.
>
> 2) Similar to 1. I have PDF files that need to come up on the client
> computer. I can display an icon for each file, but I need to make the
> icons clickable to send the file to the client. So far everything
> I've tried gives an error.
>
> Also a minor thing. Anyway to get cut and paste to work in VDC?
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Aubit4gl-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/