ActiveX and the Web: The Inside Story

Am I right in believing thusly:
I am a financial analyst who's looking for the current foreign
exchange rate for various currencies every second moment. For this I
always telephone Phil de Lucre, the brokers and dealers of the forex
markets. They now have a website where I can logon and get the rate
online. Cool, I think.
I type the URL of their website, which looks like
http://www.ForexRatesOnYourTips.com/Calculator.asp, and lo! I am
greeted with a page that says, choose the currency for which you wish
to compare the rate against the Indian Rupee (INR). That makes me
happy. Then they have a textbox that says, now enter the amount in
Indian Rupees (INR) whose equivalant you wish to see in the foreign
currency. I enter Rs.100. "Good", I am thinking. Then I hit a button
captioned "Get me the darn rate and make it quick!".
[BEHIND THE SCENES]
Phil de Lucre created one ActiveX DLL called Foo that knows exactly
how to convert exchnage of one currency into another. Foo proudly
resides on the web server of Phil de Lucre and brothers. Mr.Mone Flee,
the programmer at Phil de Lucre, commands in VBScript,
Dim ObjFoo
Set ObjFoo = Server.CreateObject("Lib.Foo")
And magically so, an object of the wonderous Foo is instantiated on
the web server. The web server reads requests made by my browser's
button "Get me the darn rate and make it quick!" and passes it on to
Foo in the Foo language. Foo, like it were a child's play, ardently
returns the rate converted to the web server. The web server whips
HTML out of it and displays on my page, the much coveted rate.
[/BEHIND THE SCENES]
Makes me happy. Is this all about how ActiveX DLLs work in ASP? If I
am right, let's proceed with a case of an ActiveX control. How do they
work?
Let's warp the scene a bit. Foo is not a COM DLL, but this time with
version 2, its just got a bit smarter and dainty with a dazzling
interface. It is now reborn as an ActiveX Control, and all the people
at Phil de Lucre make love to celebrate the new avatar.
When I hit the "Get me the darn rate and make it quick!" button this
time, what happens? No no! More importantly, I beleive something
happens even earlier, the moment I type
http://www.ForexRatesOnYourTips.com/Calculator.asp, right?

"Sathyaish" wrote in message
news:[email protected]...
> Am I right in believing thusly:
>
> I am a financial analyst who's looking for the current foreign
> exchange rate for various currencies every second moment. For this I
> always telephone Phil de Lucre, the brokers and dealers of the forex
> markets. They now have a website where I can logon and get the rate
> online. Cool, I think.
>
> I type the URL of their website, which looks like
> http://www.ForexRatesOnYourTips.com/Calculator.asp, and lo! I am
> greeted with a page that says, choose the currency for which you wish
> to compare the rate against the Indian Rupee (INR). That makes me
> happy. Then they have a textbox that says, now enter the amount in
> Indian Rupees (INR) whose equivalant you wish to see in the foreign
> currency. I enter Rs.100. "Good", I am thinking. Then I hit a button
> captioned "Get me the darn rate and make it quick!".
>
> [BEHIND THE SCENES]
> Phil de Lucre created one ActiveX DLL called Foo that knows exactly
> how to convert exchnage of one currency into another. Foo proudly
> resides on the web server of Phil de Lucre and brothers. Mr.Mone Flee,
> the programmer at Phil de Lucre, commands in VBScript,
>
> Dim ObjFoo
> Set ObjFoo = Server.CreateObject("Lib.Foo")
>
> And magically so, an object of the wonderous Foo is instantiated on
> the web server. The web server reads requests made by my browser's
> button "Get me the darn rate and make it quick!" and passes it on to
> Foo in the Foo language. Foo, like it were a child's play, ardently
> returns the rate converted to the web server. The web server whips
> HTML out of it and displays on my page, the much coveted rate.
> [/BEHIND THE SCENES]
>
>
> Makes me happy. Is this all about how ActiveX DLLs work in ASP? If I
> am right, let's proceed with a case of an ActiveX control. How do they
> work?
>
Yes, you are right! There are *some* constraints on using an activeX
dll from an ASP script; All variables must be passed ByVal, and you have to
remember that the dll runs with the accessrights of the web-user account.
But apart from that, no great concerns...
> Let's warp the scene a bit. Foo is not a COM DLL, but this time with
> version 2, its just got a bit smarter and dainty with a dazzling
> interface. It is now reborn as an ActiveX Control, and all the people
> at Phil de Lucre make love to celebrate the new avatar.
They shouldn't...
An activeX *Control* opens a whole new can of worms.
>
> When I hit the "Get me the darn rate and make it quick!" button this
> time, what happens? No no! More importantly, I beleive something
> happens even earlier, the moment I type
> http://www.ForexRatesOnYourTips.com/Calculator.asp, right?
Right!
Because now, Mr. Mone Flee have replaced the serverside call:
Dim ObjFoo
Set ObjFoo = Server.CreateObject("Lib.Foo")
with the following:
classid="clsid:28077E35-EE6F-4EFE-B274-7798CDB4CDCD"
id="theFantasticCurrencyConverter">
Which tells your browser to go into the registry to look up the
component known by the name "28077E35-EE6F-4EFE-B274-7798CDB4CDCD",
and start it. Now, all the work are done locally on your computer.
This component must of course be present on your computer, and if not,
will result in one of two things...:
If Mr. Flee have included in his object tag a hint to where the componenet
can be found, a download and installation will occur...
....if not, the expected glorious interface will be replaced with a tiny
little picture of a red "X".
The "can of worms" part, lies in that if you download this component,
you place the life and sanity of your computer in the hands of Mr. Flee.
Because when his component are installed on your PC to do its job, its
given the full run of whatever code can do on a computer.
Dag.

Similar Messages

  • When I download something from the Web, the "Downloads" window opens, but the window remains blank. Before it used to at least show the name of the file and I could open the file from the "Downloads" window. Is there a way to get this functionality back?

    I'm running Windows XP which is updated to latest version (which I think might be Service Pack 3, but not positive.) Mozilla Firefox is version 5.0. I tend to use Google as my search engine so most of the stuff I download comes through sites found through Google, which is also updated.
    At some time in the past (maybe a few versions ago) when I would download a file from the Web, the "Downloads" window would open and in the window would be displayed the name of the file I was downloading or had just completed downloading. I think I used to be able to then click on that file name and the file (or the installation file if needed to start the new program) would open. I am currently using Firefox 5.0 (the "About Firefox" screen says this is up to date) and when I download a file or document, the "Downloads" window appears on the screen as it always has in the past, but it remains blank, i.e., nothing appears in the downloads box. I don't remember making any configuration changes, etc., that may have caused the window to remain blank, but I could be mistaken. I know how to find the items I've downloaded (My Documents / Downloads) and can usually guess what the name of the downloaded file might be, but it used to be much easier when something (anything) showed up in the downloads window.
    I'd love for someone to tell me about a simple fix for this. I'm willing to be quite embarrassed that I did something I shouldn't have.'''

    In Firefox Options / Privacy be sure "Remember download history" is checked. To see all of the options on that panel, "Firefox will" must be set to "Use custom settings for history".
    To find your OS information, on your Windows desktop, right-click the My Computer icon, choose Properties, under System on that small window is info about your OS.
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • When I print from the web, the print is blue ink, which I don't want and can't read. When I print from Word, it is black ink. What is the problem?

    If I print an article downloaded from the web, it prints in blue ink, which is almost not readable. If I download it to Word or print a document stand alone in Word, it prints in black ink, which is what I want. I didn't have this problem before I upgraded to the new Firefox. Please help.
    Thanks
    Lee Gregg

    I should also point out that when I connect my iPhone, it DOESN'T appear as a connected drive on the desktop. Not sure how this can be so, since the iPhone also has a drive and also functions as an iPod if I want it to. I must have changed some setting to achieve this non-appearance, but don't remember what I must have done.
    What's the secret?

  • Images when uploaded to the web the colors shift

    I have been having a problem lately with my images displaying funky when they are uploaded to the web. The images become over saturated. The color space is sRGB so I am not sure what is going on. I never have had this problem till this year. I use lightroom, then export the image and finish editing the image in photoshop. When I export from Lightroom I pick srgb color space.

    People say so because by default the system assigns sRGB color space for the monitor profile. This in effect turns off the color management of the display in color managed programs when images are displayed with sRGB profiles. Then this makes the display of sRGB images in the color managed programs match the non-color managed programs. This also makes people wrongly believe that non-color managed programs are using the sRGB color space while in fact it is the color space of their monitors because non-color managed program have no clue about any color spaces. Monitors may differ a lot from each other while the sRGB color space like any other color space has very specific colors.
    It is a very simple test, View > Proof Setup > Monitor RGB. This turns the color management of the image display off. Does this match the sRGB images? The answer will be yes if the system is using sRGB color space profile for the monitor regardless of how good or bad the monitor calibration is.  If it does match and if the monitor profile was created with a calibrator then this is like hitting the jackpot which as far as I know no one has claimed so far. Yes, on theory it is possible but on practice  it doesn't happen easily and that was the main reason the color management was invented (physical devices like monitors can't  match device independent color spaces). Everyone with a custom monitor profile made using a calibrator will detect a difference between images displayed with Monitor RGB and sRGB on any kind of monitors - not only wide gamut but standard too. This means it is typical to see difference between color managed programs and non-color managed programs on properly calibrated monitors.

  • Where do I find online on the web the BT Vision mo...

    I have seen olfer postings to a web page that seems to no longer exist.. http://www.btvision.bt.com/listings/on-demand/film
    but I want to be able to review what is available onthe web rather than scross through everything on the BT Vision menu

    Yes the old on demand content lists disappeared when BT launched a new bt.com website. I doubt whether it will ever reappear as generally on demand providers normally only provide content lists on those devices that they offer the on demand service on.

  • Is there a way to stop colors flattening when encoding for the web and DVD

    Hi. I am in post prod on my first feature film, which has some great horror dream sequences, lit red and green in the Mario Bava tradition. They really do look stunning in the original footage, with highly saturated crisp colors (We had a really great cinematographer) But when I try to create clips for the web, the colors flatten a lot. They look better on my i-phone than my Lcd computer monitor. doing DVD outputs also looses something, but less so. It depends on the playback equip. My plasma TV and upscaling dvd player make them look fairly good. The footage is progressive scan 25 frames per sec HD. (16:9 cropped to 2:35:1) Does anyone know the optimum settings for web encoding have just used 310x710 pixels using H264 compressor at 3000 kbts per sec

    Hi
    YEs you can read the ALE model data.
        CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
          IMPORTING
            own_logical_system             = sending_system
          EXCEPTIONS
            own_logical_system_not_defined = 01.
        SELECT   * FROM tbd05  INTO TABLE i_tbd05
        WHERE    sndsystem  = sending_system
        AND      mestyp     = message_type.
    Regards,
    Vijay V

  • Color management and images uploaded to the web

    Hi,
    I use Photoshop on both a mac pro (OS 10.5) and a PC (Vista) and when I upload photos to the web, the images processed on my PC look just fine, but the images I process on my Mac look washed out and pale on the web. The funny thing is the Mac images look GREAT on the Mac, but washed out on the PC. Is there some color profile or calibration that I need to be doing? Please help!

    can I re-open/expand this one? I don't think it is quite this simple
    at present I perform a similar manual operation having set up a series of calibrations using the system prefs>displays>colour in different light and including gamma 2.2 version
    I use Nikon Capture NX2 for my photographic editing, but as you may not be familiar with it, it is serious software (dare I say here orders-of-magnitude better and more extensive than Aperture) and works on RAW (nef) files. I post on a number of equally serious web photo-forums posting at near professional level. There is a constant trickle of EITHER complaints about 'too dark' from PC users OR about colour, but am not concerned with that here.
    I tried out the suggestion of working at gamma 2.2 myself and found I had to adjust a good image by +0.67 EV to get back to normal. That is unacceptable and hate to think how results would print.
    So 10.6 is about to go to gamma 2.2 as normal, but what effect will that have on previous work done with 1.8, ie will the system correct everything by itself (or do we need to reach heaven first)?
    The more immediate effect of 10.6 will be that Nikon and others will probably take another 6 months to make their software compatible

  • HP 309c wireless printer. How do I get it to print from the web?

    I have two wireless laptops. The older one prints perfectly. The new one prints from Word and pdf files. When I attempt to print from the web, the ink mechanism in the printer goes back and forth inside sounds like it is producing a document, however, when the paper comes to the tray, there is nothing but a blank sheet of paper. I have unplugged everything, reinstalled the printer, cleaned the rollers and it still continues to produce a blank sheet of paper. Any suggestions?

    Since the printer can produce good prints using certain PCs and software, it is not a printer problem.  It is likely a software problem. 
    What operating system are you using?  Are you using Internet Explorer 8 as your browser?  Do you have HP WebPrint installed?
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Manual refresh of queries in the Web

    Hello,
    in the web the default action following any change to the navigation state of the query-result is that an automatic refresh of the query is performed.
    We want to enter a series of navigation-steps. It would be inefficient for the query
    to automatically refresh each time a navigation-step was entered. Is it possible to halt the auto refresh from executing and instead switch to a manual refresh mode which means that the users can enter a series of navigation-steps and when they are ready, they simply press a refresh button?
    Thanks in advance!
    Regards,
    Birgit.

    Birgit,
    options could be ..
    1. Have the query automatically expand to a specific level for all queries...
    2. Have a prequery window where the selection parameters are specified and then let the user enter the drilldown level for the query and then take the values from this template and then pass the same to the main query as URL parameters .. you can refer the Web API 3.x to find out how to do the same and also search for Command Line URLs.. this option would require some innovative javascript and command Line specifications..
    Arun
    Assign points if useful

  • I am getting a firefox.exe-Application error. The instruction at 0x77029d13 referenced memory at 0x77ebe57c. The memory could not be read. Click on OK to terminate. Then it boots me off the web?

    I use Wildblue.net for internet server. This morning I could get my e-mail but when I went to the web, the message above came up. The only way to get if off the screen was to press OK. That brought me back to my desktop. I deleted Firefox and reinstalled it, but received the same message. I don't get it all the time, but for the better part of the day, I have been trying to operate around this message.Thanks for you help.
    Betts

    I use Wildblue.net for internet server. This morning I could get my e-mail but when I went to the web, the message above came up. The only way to get if off the screen was to press OK. That brought me back to my desktop. I deleted Firefox and reinstalled it, but received the same message. I don't get it all the time, but for the better part of the day, I have been trying to operate around this message.Thanks for you help.
    Betts

  • Long movies on the web; are my assumptions correct?

    Hello folks. I'd be very grateful if someone could tell me if my assumptions listed below are correct, or if I've missed something very obvious.
    I recently did a number of half-hour videos for a client. Much to my surprise they requested them to be made available on the web. The videos were made at a conference with power point slides, so the quality needs to be fairly high for viewers to be able to see the details.
    Here's my questions (the first one is my opinion, which I'd like confirmed?)
    1) it's not 'usual' (or sensible) to put 30 minute clips on the web--the files are simply too big.
    2) After much trial and error and hair loss, I finally came up with compression settings which allow a file of 100+mb for streaming. However, using FCE HD, each file takes about 2 hours to compress--I don't think there's a way of speeding this up, is there? I understand that more RAM won't really help?
    3) because the FCE HD system locks up every time I make a compression (so that I cannot do anything with FCE for the 2 hours it's compressing the file) I'm thinking of investing in something like Sorenson Compression Suite. My understanding is that this would compress files in the background while I keep working. Again, am I being thick here, or is this a sensible reason to buy the suite?
    4)Final one! I believe that FC Studio allows batch processing. Because Sorenson costs $500 odd I wonder if it's more sensible to upgrade to FC Studio?
    Sorry for the multiple confused questions. I haven't been able to find full answers to any of these questions on the forum, so apologies in advance if I've missed em

    Hello Conor -
    I'll take a stab at answering your questions ...
    1- That's up to you and the demands of your audiences. By sheer count, yes, most web videos are pretty short (<10 mins) but if you need yours to be longer, well, they need to be longer.
    2- The time doesn't surprise me. And I suppose you are exporting to H.264 - which does take much longer to render than other formats. The only way to speed it up is choose a different compression scheme or get more/faster processors and to some extent more RAM. FCE's sweet spot is 2GB - 4GB RAM.
    By the way, did you do Render All > Both and Render Only > Mixdown before you tried to export & compress your video? You should, and it will help with the export time.
    3- Background compression sounds nice, but as a practice I wouldn't do it. Too many chances of some foreground process (read: other app) requiring CPU or I/O cycles just long enough to get you some dropped frames or worse. But that's just my considered opinion <grin>
    4- Sorry, can't answer this one. But isn't FCS batch processing for capturing multiple clips? I didn't think it was for exporting finished video ...

  • On the web how can I check the user role to display the form suitable for this role i

    Hello
    How can I check on the web the use role to display the a form for each role
    Example
    If the admin login I display admin_form.fmb and if user login I display
    user_form.fmb
    Thankx
    Tamer

    In my forms I hide tab pages according the role using something like the following script in the WHEN_NEW_FORM_INSTANCE trigger.
    So the user can not navigate to tabs which are vorbiden by his role.
    CURSOR users_roles_cur IS SELECT granted_role FROM user_role_privs
    WHERE username=(SELECT user FROM dual);
    user_roles_rec users_roles_cur%ROWTYPE;
    IF users_roles_cur%ISOPEN
    THEN
    CLOSE users_roles_cur;
    END IF;
    OPEN users_roles_cur;
    LOOP
    FETCH users_roles_cur INTO user_roles_rec;
    EXIT WHEN users_roles_cur%NOTFOUND;
    MESSAGE (user_roles_rec.granted_role);
    PAUSE;
    IF RTRIM(user_roles_rec.granted_role,' ') = 'BLA-BLA'
    THEN
    tb_pg_id := FIND_TAB_PAGE('activity');
    IF GET_TAB_PAGE_PROPERTY(tb_pg_id, visible) = 'FALSE' THEN
    SET_TAB_PAGE_PROPERTY(tb_pg_id, visible, property_true);
    END IF;
    END IF;
    END LOOP;
    CLOSE users_roles_cur;
    Other solution may be is to use an initial form which only will detect the user role and run the appropriate form.
    Other solutions are also possible.
    Joseph

  • Save for the web seq

    I need to save for the web an animation of about 100 frames. The problem is the only way to do that seems to be saving the file as a gif but I need to keep them frame by frame. I was wondering if there is a way to save for the web the entire sequence and keep it as a jpg or png.
    Tx

    Simply render the animation to whatever format you find suitable using File --> Render Video, then convert the result using batch processing.
    Mylenium

  • Save for the web jagged fonts nightmare

    Hi
    Can't export anti-aliased smooth fonts using save for the web. The fonts are jagged.
    How can save for the web the same smooth quality that I see on the screen?
    Using Illustrator CS6 on Mac OS X 10.8.3
    Thanks.

    What is the size of the art and are you enlargening it in the browser using CSS or manually adjusting the size?
    In both cases I am using save for web. In the first instance I am exporting at 100% size, 200% size in the next instance. If you are resizing in CSS/manually, export from Illy at the desired size.
    Mike

  • Poor image quality when posted on the web

    Hi,
    When posting my iWeb pages on the web, the images look very poor compared to iWeb. When importing images to iWeb the image size is around 240 kb and when downloading the same image from the web after posting the image size is reduced to 52 kb and with a clear difference in quality. Why is that?
    For info, my Optimize setting is set to OFF

    Welcome to the Apple Discussions.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There's now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

Maybe you are looking for

  • REPORT GROUP tcode: gr52

    I have created a custom program and added it to a standard report group in GR52. But when i execute the Main Report group and try to drill down to the custom transaction code. The sy-tcode is still START_REPORT. Is there a setting i am missing when c

  • [SOLVED] Unreadable id3 tags, unknown encoding

    I have a some Japanese songs whose id3 tags are unreadable in easytag, id3info and mpd. They all say the tags are a bunch of question marks, but English text (including & and such) is displayed. Of all the apps I found in the repos, mutagen was the m

  • PSE10 not visible in my "Installed" Programs - W7

    My licensed PSE10 is not visible in my Win7 Control Panel - "Programs and Features" - yet my PSE10 runs well I tried to uninstall it with the installer program - but it quit and gave an error asking me to attempt it again how do we repair an installa

  • 10.4.5 to 10.4.6; now Kernel Panic during boot

    I upgraded my G4 tower last thursday to 10.4.6 and then shut it down for the weekend. Now eveytime I try to boot, I get a Kernel Panic either during the boot or within a few minutes / seconds of logging in. Is this something that can be fixed with th

  • Bootcamp not working correctly

    Ok, so I am trying to install windows 7 using bootcamp. I have a windows 7 premium 64 bit iOS, an intel MacBook air 128 ssd drive, and a 16gb Kingston108. I used bootcamp put windows on the flashdrive with the updates and drivers. Partitioned the har