ActiveX Question

Hi All, i know this is a Java Forum, but I have to decide something very quick.
My manager ask me to decide which language to use to write an ActiveX control. I have no prior knowledge of Active X stuff. What we want to do is an activeX control and downloads something from server.
Can anybody tell me which is the best language to use to write this ActiveX Control, Either VB or VC++ or ...
Thanks

If you have never done an activex control before, its probably best to do it in vb. But then again, I haven't touched activex for years...

Similar Messages

  • Clientless SSL VPN and ActiveX question

    Hey All,
    First post for me here, so be gentle.  I'll try to be as detailed as possible.
    With the vast majority of my customers, I am able to configure an IPSEC L2L VPN, and narrow the traffic down to a very minimal set of ports.  However, I have a customer that does not want to allow a L2L VPN tunnel between their remote site, and their NOC center.  I thought this might be a good opportunity to get a clientless (they don't want to have to launch and log into a separate client) SSL VPN session setup.  Ultimately, this will be 8 individual sites, so setting up SSL VPN's at each site would be cost prohibitive from a licensing perspective.  My focus has been on using my 5510 (v8.2(5)) at my corp site as the centralized portal entrance, and creating bookmarks to each of the other respective sites, since I already have existing IPSEC VPN's via ASA5505, (same rev as the 5510 )setup with each of the sites.
    First issue I've run into is that I can only access bookmarks that point to the external address for the remote web-server (the site has a static entry mapping an external address to the internal address of the web server).  I am unable to browse (via bookmark) to the internal address of the remote web server.  Through my browser at the office, I can access the internal address fine, just not through the SSL VPN portal.  I am testing this external connectivity using a cell card to be able to simulate outside access.  Is accessing the external IP address by design, or do I have something hosed?
    Second issue I face is when I access the external address through the bookmark, I am ultimately able to log onto my remote website, and do normal browsing and javascript-type functions.  I am not able to use controls that require my company's ActiveX controls (video, primarily).  I did enable ActiveX relay, and that did allow the browser to start prompting me to install the controls as expected, but that still didn't allow the video stream through.  The stream only runs at about 5 fps, so it's not an intense stream.
    I have researched hairpinning for this situation, and "believe" that I have the NAT properly defined - even going as far as doing an ANY ANY, just for testing purposes to no avail.  I do see a decent number of "no translates" from a show nat:
      match ip inside any outside any
        NAT exempt
        translate_hits = 8915, untranslate_hits = 6574
    access-list nonat extended permit ip any any log notifications
    access-list nonat extended permit ip 192.168.17.0 255.255.255.0 192.168.2.0 255.255.255.0
    access-list nonat extended permit ip 192.168.16.32 255.255.255.224 192.168.2.0 255.255.255.0
    access-list nonat extended permit ip 192.168.17.0 255.255.255.0 192.168.16.32 255.255.255.224
    access-list nonat extended permit ip 192.168.16.32 255.255.255.224 192.168.17.0 255.255.255.0
    access-list nonat extended permit ip 192.168.17.0 255.255.255.0 172.16.250.0 255.255.255.0
    access-list nonat extended permit ip 192.168.16.32 255.255.255.224 172.16.250.0 255.255.255.0
    access-list nonat extended permit ip 192.168.16.32 255.255.255.224 172.16.254.0 255.255.255.0
    access-list nonat extended permit ip 192.168.17.0 255.255.255.0 172.16.254.0 255.255.255.0
    access-list nonat extended permit ip 192.168.17.0 255.255.255.0 host A-172.16.9.34
    access-list nonat extended permit ip 192.168.18.0 255.255.255.0 192.168.2.0 255.255.255.0
    access-list nonat extended permit ip 192.168.18.0 255.255.255.0 192.168.16.32 255.255.255.224
    access-list nonat extended permit ip 192.168.18.0 255.255.255.0 192.168.17.0 255.255.255.0
    access-list nonat extended permit ip 192.168.18.0 255.255.255.0 172.16.250.0 255.255.255.0
    access-list nonat extended permit ip 192.168.18.0 255.255.255.0 172.16.254.0 255.255.255.0
    access-list nonat extended permit ip 192.168.18.0 255.255.255.0 host A-172.16.9.34
    access-list nonat extended permit ip 192.168.17.0 255.255.255.0 192.168.18.0 255.255.255.0
    access-list nonat extended permit ip 192.168.16.32 255.255.255.224 192.168.18.0 255.255.255.0
    access-list nonat extended permit ip 192.168.16.32 255.255.255.224 host 172.16.62.57
    access-list nonat extended permit ip 192.168.17.0 255.255.255.0 host 172.16.62.57
    access-list nonat extended permit ip 192.168.18.0 255.255.255.0 host 172.16.62.57
    access-list nonat extended permit ip 192.168.17.0 255.255.255.0 172.16.8.0 255.255.254.0
    access-list nonat extended permit ip 192.168.16.32 255.255.255.224 172.16.8.0 255.255.254.0
    access-list D_Traffic extended permit ip 192.168.16.32 255.255.255.224 192.168.2.0 255.255.255.0
    access-list D_Traffic extended permit ip 192.168.16.32 255.255.255.224 192.168.17.0 255.255.255.0
    access-list D_Traffic extended permit ip 192.168.16.32 255.255.255.224 192.168.18.0 255.255.255.0
    access-list D_Traffic extended permit ip 192.168.16.32 255.255.255.224 172.16.250.0 255.255.255.0
    access-list D_Traffic extended permit ip 192.168.17.0 255.255.255.0 192.168.2.0 255.255.255.0
    access-list D_Traffic extended permit ip 192.168.17.0 255.255.255.0 192.168.16.32 255.255.255.224
    access-list D_Traffic extended permit ip 192.168.17.0 255.255.255.0 192.168.18.0 255.255.255.0
    access-list D_Traffic extended permit ip 192.168.18.0 255.255.255.0 192.168.2.0 255.255.255.0
    access-list D_Traffic extended permit ip 192.168.18.0 255.255.255.0 192.168.16.32 255.255.255.224
    access-list D_Traffic extended permit ip 192.168.18.0 255.255.255.0 192.168.17.0 255.255.255.0
    access-list D_Traffic extended permit ip 192.168.18.0 255.255.255.0 172.16.250.0 255.255.255.0
    access-list D_Traffic extended permit ip 192.168.17.0 255.255.255.0 172.16.250.0 255.255.255.0
    access-list outside_1_cryptomap extended permit ip 192.168.16.32 255.255.255.224 host A-172.16.9.34
    access-list outside_1_cryptomap extended permit ip 192.168.17.0 255.255.255.0 host A-172.16.9.34
    access-list outside_1_cryptomap extended permit ip 192.168.18.0 255.255.255.0 host A-172.16.9.34
    access-list outside_1_cryptomap extended permit ip 192.168.16.32 255.255.255.224 host 172.16.62.57
    access-list outside_1_cryptomap extended permit ip 192.168.17.0 255.255.255.0 host 172.16.62.57
    access-list outside_1_cryptomap extended permit ip 192.168.18.0 255.255.255.0 host 172.16.62.57
    access-list External_VPN extended permit ip 192.168.16.32 255.255.255.224 172.16.254.0 255.255.255.0
    access-list External_VPN extended permit ip 192.168.17.0 255.255.255.0 172.16.254.0 255.255.255.0
    access-list outside_in extended permit icmp any any log notifications
    access-list outside_in extended permit tcp any any log notifications
    pager lines 24
    logging enable
    logging asdm informational
    logging ftp-server 192.168.16.34 / syslog *****
    mtu inside 1500
    mtu outside 1500
    ip local pool Remote 172.16.254.1-172.16.254.25 mask 255.255.255.0
    icmp unreachable rate-limit 1 burst-size 1
    asdm image disk0:/asdm-645.bin
    no asdm history enable
    arp timeout 14400
    global (inside) 1 interface
    global (outside) 1 interface
    nat (inside) 0 access-list nonat
    nat (inside) 1 192.168.16.32 255.255.255.224
    nat (inside) 1 192.168.17.0 255.255.255.0
    nat (inside) 1 0.0.0.0 0.0.0.0
    access-group outside_in in interface outside
    192.168.2.0 is my corp network range
    192.168.2.171 is my internal IP for corp ASA5510
    97.x.x.x is the external interface for my corp ASA5510
    192.168.16.34 is the internal interface for the remote ASA5505
    64.x.x.x is the external interface for the remote ASA5505
    192.168.17.0, and 192.168.18.0 are two other private LANS behind the remote 5505
    As you can see, I have things reasonably wide open - with no port restrictions on this one yet - this is for troubleshooting purposes, and it will get restrictive as soon as I figure this out   Right now, the ASA5510 is pretty restrictive, and to be brutally honest, I'm not certain I'm even using the packet tracer 100% proper to be able to simulate coming from the outside of the network through my ASA5510, out to a remote ASA5505, and to a web server behind that 5505.  I'm sure that the issue is probably going to be a mix of ACL's between the 5510, and the 5505.
    I guess the main question, is Clientless SSL VPN really a good choice for this, or are there other real alternatives - especially since my client doesn't want to have to install, or use an actual client (like AnyConnect), nor do they want to have an always-on IPSEC VPN.  Am I going about this the right way?  Anyone have any suggestions, or do I have my config royally hosed?
    Thanks much for any and all ideas!

    Hey All,  I appreciate all of the views on this post.  I would appreciate any input - even if you think it might be far-fetched.  I'm grasping at straws, and am super-hesitant to tell my customer this is even remotely possible if I can't have a POC myself.  Thanks, in advance!!

  • Activex question in labview

    Hello,
    I am trying to controll an 8753ES with the agilent intulink through labview using activex.  I have read about activex in labview, and and help file for intulink, which says:
    In order to use the Agilent IntuiLink VNA Automation Server, a Visual Basic program must reference two servers.  Under the Visual Basic Project | References… menu item, include the following two references:
    · BLXL Servers:  Check the box for  Agilent IntuLink Servers Common Interfaces.  As the description suggests, this library contains definitions of common interfaces.  In particular, this library defines some enumerated types, used by Agilent IntuiLink Automation Servers.
    · AgtServer8714:  Check the box for Agilent VNA Network Analyzer Automation Server.  This library contains definitions specific to the supported network analyzer products.
    Object Hierarchy
    AgtServer8714 Object
    Provides methods to obtain data, obtain graphics, save and restore calibration and state, and to establish and close a connection to a network analyzer.
    AgtMeasure8714 Object
    Provides methods to obtain scalar parameters from the network analyzer.  Most of these are setup parameters.
    AgtUtilities8714 Object
    Use the AgtUtilities8714 Object to:
    · Work with the network analyzer connection to the PC.
    · Work with the network analyzer descriptions and identity.
    Now, I have constructed what I think is the correct implementation in labview (see atachment), but when I run it I get an error that makes it seem like an i/o refernce is not included:
    Exception occured in AgtServer8714.AgtServer8714.1: CAgtServer8714::Connect method failed. CAgtCore8714::Connect method failed. CAgtConnectObject::CreateIO method failed. in vna_activex.vi
    What I really want to know is, how do the references that are required for a program in vb work in labview?  I looked up a vb sample for intulink, and they include four references:
    Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\..\..\..\..\WINNT\System32\STDOLE2.TLB#OLE Automation
    Reference=*\G{06EB23A2-C6C1-8714-98B5-080009C12B46}#1.0#0#..\..\..\..\..\..\Program Files\Agilent\IntuiLink\VNA\AgtServer8714.dll#AgtServer8714Lib
    Reference=*\G{D753C10E-EF9A-11D3-98B9-080009C12B46}#1.0#0#..\..\..\..\..\..\Program Files\Common Files\Agilent\IntuiLink\BLXLServers.dll#Agilent IntuiLink Servers Common Interfaces
    Reference=*\G{6B263850-900B-11D0-9484-00A0C91110ED}#1.0#0#..\..\..\..\..\..\WINNT\System32\msstdfmt.dll#Microsoft Data Formatting Object Library 6.0 (SP4)
    It seems like in labview, there is nothing else that is reading the reference when I do an automation open.  Any help at all is welcome.  Also, if you know of any labview examples that use intulink, that would be great.
    Thanks,
    Eric
    Attachments:
    vna_activex.vi ‏11 KB

    Here is a link to the Agilent8753ES instrument drivers from www.ni.com/idnet:
    http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=1625
    Brian
    Brian G.

  • Another Excel ActiveX Question

    I'm trying to save a 1D array to excel using ActiveX.
    When I write 1 value to:
    Worksheet Invoke Node -> Range/ Cell string wired to Cell 1
    Range Property Node->Value / value wired to Value
    It works great. However when I try to write a 1D array by:
    Worksheet Inoke Node -> Range/ Beginning Cell string wired to Cell1 - Ending
    Cell string wired to Cell2
    Range Property Node ->Value/ 1D array wired to Value
    What gets saved to excel is the value of the first element in the 1D array
    throughout the entire range entered.
    I'm using LabVIEW 5.1
    Where oh where am I going wrong?
    Thanks
    -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
    http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
    -----==
    Over 80,000 Newsgroups - 16 Different Servers! =-----

    Thanks,
    I am already doing that and it is slow. Wiring a 1D array is supposed to be
    nearly instantaneous.
    wrote in message news:8bnjq0$p9r$[email protected]..
    > I would recomend indexing the 1D array and writing the elements
    > individually to Excel.
    >
    > In article <[email protected]>,
    > "George M. Callara" wrote:
    > > I'm trying to save a 1D array to excel using ActiveX.
    > >
    > > When I write 1 value to:
    > >
    > > Worksheet Invoke Node -> Range/ Cell string wired to Cell 1
    > > Range Property Node->Value / value wired to Value
    > >
    > > It works great. However when I try to write a 1D array by:
    > >
    > > Worksheet Inoke Node -> Range/ Beginning Cell string wired to Cell1 -
    > Ending
    > > Cell string wired to
    Cell2
    > > Range Property Node ->Value/ 1D array wired to Value
    > >
    > > What gets saved to excel is the value of the first element in the 1D
    > array
    > > throughout the entire range entered.
    > >
    > > I'm using LabVIEW 5.1
    > >
    > > Where oh where am I going wrong?
    > >
    > > Thanks
    > >
    > > -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
    > > http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
    > > -----== Over 80,000 Newsgroups - 16 Different Servers! =-----
    > >
    >
    >
    > Sent via Deja.com http://www.deja.com/
    > Before you buy.
    -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
    http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
    -----== Over 80,000 Newsgroups - 16 Different Servers! =-----

  • ThorLabs ActiveX question

    I'm not very versed in ActiveX (or most others Microsoft alphabet soup techonologies de jour) and I'm a bit puzzled by the ActiveX interface that comes with a Thorlabs APT controller system.
    If I place an ActiveX container in the front panel, then inside it an object of a system provided type, MG17System, I can go to the block diagram and call methods on the reference that is there, e.g. the simple AboutBox method.  Using the help system the wire from the reference into the method call shows up as "MG17System  MG17SystemLib.MG17System".
    If instead I start with an AutomationOpen call, wire a constant to it, and select for it what I think is the equivalent ActiveX  Clas, wire it to the same AboutBox method, followed by an AutomationClose call, the code fails with an error of "Automation Open: Object specified is not creatable". The wire into the AboutBox method shows only "MG17SystemLib.MG17System, but that looks to me like the same thing.
    Can someone please illuminate me on the difference?

    Hi Everyone,
                      I am really very new to Labview and i am in great need for some help.I am assigned a task where i am supposed to create a labview program to control or moniter a BPC203 Piezo controller. I created a program with the help of the instructions provided in the APT-Labview guide provided by Thorlabs.But th program doesnt run . Whenever i try to run it i get the same error which says that "Control HW Communications disabled".I have attached a snapshot of the error message.So i tried to create a small program in labview which would read the volage output.Even there i got the same error message.I suppose there is some mistake on my part which i am not able to correct due to the lack of proper knowledge.Could anyone please help me to solve this problem.A slight elaboration would be highly appreciated.
    Attachments:
    Block diagram.PNG ‏101 KB
    Front Panel with error message.PNG ‏202 KB

  • Excel Get ActiveX References​.vi and closing references -- grrr

    I'm new to ActiveX stuff, but eager to learn! 
    The "grrr" in my Subject line is a reference to how I feel about LabVIEW's documentation from time to time.  I'm a dinosaur who came from text-based programming, and did a fair amount of C coding, so sometimes with LabVIEW I'm left with this awful feeling in the pit of my stomach like, "Good grief!  How much memory must LabVIEW be hogging up in the background when I use this vi?" or "What happens to those variables (wires) in that subVI when it completes but doesn't close?  What are their statuses when I come back in the next time?" or "What if I put a lot of elements into that array the first time and then started from element zero the second time and just put in a few?  What has happened with the memroy that was allocated when there were a lot of elements?"
    Today I'm stewing about this "Excel Get ActiveX References.vi," and what happens to the "ActiveX references" it generates each time I call the subVI in which "Excel Get ActiveX References.vi" lives.  I think that at least one of the "ActiveX references" it generates when I call it is of the type Excel._Application.  Then there appears to be an Excel._Workbook, and others.  You see, I've used "Excel Easy Report.vi" to put some data into an Excel spreadsheet, and I want to tell Excel to do a "Save" on the open spreadsheet.  I think ActiveX is the (a) right way to do that, so I'm wading into the ActiveX fray...  But this "Excel Get ActiveX References.vi" says in its help file, "Do not close ActiveX references opened with the Excel Get ActiveX References VI. References must remain open until the report is closed. Otherwise the error 3001 will occur."  Well, these Excel workbooks that get created by my VI could well stay open until after my LabVIEW VI terminates!
    So (finally), here are some of my quesitons:
    1)  When I go through my subVI once, pointing to one workbook, I'll get one set of references "created" or "opened" or whatever you call it when ActiveX references spring into existance.  Now, when I exit the subVI, is it going to automatically try to "close" those ActiveX references?  I don't suppose so, since subVI's stay in memory until the calling VI closes.
    2)  Now, I come back into my subVI a second time.  New workbook gets created, so I get new references.  Ok, fine.  Uh oh!  What happened to those old references?  I suppose that if I didn't somehow save them off, I've probably lost the ability to get them back (maybe I'm wrong, but I don't need them back), but is LabVIEW going to "close" those old references (from previous times through the subVI) because I can't get to them anymore?  Won't that cause the dreaded error 3001?  If LabVIEW is not going to "close" them, what in tarnation happens to them (the old C programmer in me creeping back out)??  Now it's some oddball, orphaned reference, floating out there, hogging memory, waiting to make something crash intermittently and be a debugging nightmare?
    3)  Now, here's the real scary one.  I think I might dodge the "error 3001" bullet in questions 1) and 2), but now let's say the user closes my LabVIEW application while Excel is still open.  All those workbooks are still open.  Presumably, all those ActiveX references I was not supposed to close are still open.  I really hope that LabVIEW is decent enough to close/erase/delete/blow-away (whatever the right word is) all those ActiveX references which were opened/created by "Excel Get ActiveX References.vi" when my program terminates.  But, oh no!  Won't the error 3001 come along then?  I suppose I can just dump it in the shutdown error handling.
    Well, thanks for reading my novel.  I don't know what can be done with LabVIEW documentation to make it more satisfying to folks like me, but perhaps someone can weigh in on all my ActiveX questions here.
    Thank you in advance,
    Steve Brady
    Solved!
    Go to Solution.

    You need to close EVERY ActiveX reference you open.  If you don't you'll end up with some Excel processes running even after LabVIEW exits.  You can see them in Task Manager.
    I, personally, don't like the LabVIEW Report Generation Tool Kit for working with Excel.  I don't think it's flexible enough.  I have a growing library of VIs that I've written that open, manipulate, and close Excel.  Some references I pass from VI to VI and some I close right after I use them.  It all depends on what I'm doing.  If I want to enter read or write data from/to a certain range I'll get the range reference, read or write the data, then close it right away because I have no use for it any more.  On the other hand, when I open Excel or a Workbook I keep the reference until I'm done, which could be later in the program.
    1)  When I go through my subVI once, pointing to one workbook, I'll get one set of references "created" or "opened" or whatever you call it when ActiveX references spring into existence.  Now, when I exit the subVI, is it going to automatically try to "close" those ActiveX references?  I don't suppose so, since subVI's stay in memory until the calling VI closes.
    2)  Now, I come back into my subVI a second time.  New workbook gets created, so I get new references.  Ok, fine.  Uh oh!  What happened to those old references?  I suppose that if I didn't somehow save them off, I've probably lost the ability to get them back (maybe I'm wrong, but I don't need them back), but is LabVIEW going to "close" those old references (from previous times through the subVI) because I can't get to them anymore?  Won't that cause the dreaded error 3001?  If LabVIEW is not going to "close" them, what in tarnation happens to them (the old C programmer in me creeping back out)??  Now it's some oddball, orphaned reference, floating out there, hogging memory, waiting to make something crash intermittently and be a debugging nightmare?
    3)  Now, here's the real scary one.  I think I might dodge the "error 3001" bullet in questions 1) and 2), but now let's say the user closes my LabVIEW application while Excel is still open.  All those workbooks are still open.  Presumably, all those ActiveX references I was not supposed to close are still open.  I really hope that LabVIEW is decent enough to close/erase/delete/blow-away (whatever the right word is) all those ActiveX references which were opened/created by "Excel Get ActiveX References.vi" when my program terminates.  But, oh no!  Won't the error 3001 come along then?  I suppose I can just dump it in the shutdown error handling.
    1)  No, LabVIEW will NOT close those references.  You need to make sure that happens.
    2)  You can save the references in a functional global or use a class but if you're not going to save them close them as soon as you're done with them.
    3)  Your user should not be able to close your LabVIEW application without it going through the shutdown routine you've created for your program.  The ABORT button should never be exposed to the user and you should capture and discard the panel close event so your program ALWAYS shuts down is an orderly fashion.  If you don't you will have fragments of Excel hanging around in your operating system and will have to kill those processes using Task Manager.  That should only be a problem during development, not once deployed.
    I used to program in C and Assembly many moons ago.  You should have seen my first LabVIEW code.  I go back and look at it just so I can see how far I've come in the last 12 years.  I feel your pain.
    Kelly Bersch
    Certified LabVIEW Developer
    Kudos are always welcome

  • ActiveX and Excel Questions

    I've done searches and haven't really found what I'm looking for so maybe you guys can help.
    Basically what I want to do is retrieve a named location from Excel and place it on the front panel. I figure the way to do that would be to have an ActiveX container and put the data into that. It is here where I get stuck. Is this possible? I haven't found a way to do that from browsing the VIs and properties. There's a clearer list below of the order I want to do things in.
    1) Open Excel (done);
    2) Retrieve an area of my excel file (done);
    3) take the excel 2-D data area and put the data into a specific area (inside a box for instance) on the FP;
    4) Do what ever I wanna do to the data and write (and save) it back to Excel;
    5) Close Excel (done)
    Is this possible? Or am I being a little too ambitious?
    Gary D

    mikeporter wrote:
    Doesn't sound very ambitious at all. There are many examples shipping with LV on how to interact with Excel. In addition, I have within the past day or so seen some posts on how to read and write 2D arrays of values. I guess my question is that if you are going to be manipulating the data in LV, why mess with Excel at all?
    Mike...
    The way our files are edited now through LV is a pain. Everything is stored in Excel but the data presented in a manageable, albeit very tedious, way through our interface. I'm trying to make it easier to view and easier to change multiple things at once by basically allowing the user to edit the Excel stuff from the LV environment where the data will look like more than justa bunch of numbers in rows and columns.
    Thanks for the info though, I'll revise my searches and see if I can find some clues to help me towards my goal. Thanks.
    Gary

  • Activex Object Question

    Hi,
    I posted this question by mistake in the LabVIEW/CVI fourms, so I am reposting it here.  I have a question about how LabVIEW "sees" activex controls.  I have a dll, which displays createable objects in the activex menu.  LabVIEW sees the type library name and I can create methods and property nodes.  Now, when I load the same dll into VB 2008, I get the self-registration error, eventhough the dll was manually registered using regsrv32.  What is LabVIEW doing to be able to "see" the activex controls inside the dll?

    Hey shivels,
    The dll you are using is working properly in LabVIEW? It seems like the problem is less with LabVIEW and more with VB2008. It might be more helpful to post your question in a forum for VB2008 to figure out why it is not working. The lowest level code that LabVIEW is using to interface with ActiveX is not information that is really make available.
    Hope this helps.
    -Ben
    WaterlooLabs

  • Newbie question on ActiveX

    Hi,
    I am new to web design and have alot to learn, which may be
    obvious by my phrasing of terms in my questions.
    My question has to do with ActiveX in IE. Is it possible to
    make a drop down navigational menu in Fireworks8, put it into
    Dreamweaver8, and not have it trigger the ActiveX control on a
    client's browser when they are using IE? Is there a code that I can
    add to the javascript that can bypass this trigger? It seems even
    the 'starter sites' in DW8 will activate the ActiveX in IE.
    Thank you,
    -Tony

    It will never trigger that alert when browsed from the web -
    only when
    previewed locally.
    http://www.projectseven.com/support/answers.asp?id=153
    And you wouldn't want to use the FW menus or FW HTML, anyhow.
    There are
    much better methods -
    Check the uberlink and MacFly tutorials at PVII -
    http://www.projectseven.com/
    and the Navbar tutorial/articles at Thierry's place
    http://tjkdesign.com/articles/dropdown/
    Or this one (more recent article):
    http://tjkdesign.com/articles/Pure_CSS_Dropdown_Menus.asp
    Or to get it done fast, go here -
    http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "tonysurf" <[email protected]> wrote in
    message
    news:f4ou9s$4r9$[email protected]..
    > Hi,
    >
    > I am new to web design and have alot to learn, which may
    be obvious by my
    > phrasing of terms in my questions.
    >
    > My question has to do with ActiveX in IE. Is it possible
    to make a drop
    > down
    > navigational menu in Fireworks8, put it into
    Dreamweaver8, and not have it
    > trigger the ActiveX control on a client's browser when
    they are using IE?
    > Is
    > there a code that I can add to the javascript that can
    bypass this
    > trigger? It
    > seems even the 'starter sites' in DW8 will activate the
    ActiveX in IE.
    >
    > Thank you,
    > -Tony
    >

  • ActiveX & Forms6i Question

    I've created a simple OCX that says 'hello' when clicked-on.
    Here's the steps I've taken to drop it into a form:
    1. Create a new item for the data block
    2. Set the Item Type, OLE Class and Canvas (in Property Palette)
    3. Imported OLE types (properties and methods)
    When I run the form, I can see the ActiveX container border, but
    my control isn't there (although it can be manually inserted at
    runtime; yech)
    I'm assuming that I've overlooked something simple...can anyone
    help?
    Thanks in advance!

    Hey shivels,
    The dll you are using is working properly in LabVIEW? It seems like the problem is less with LabVIEW and more with VB2008. It might be more helpful to post your question in a forum for VB2008 to figure out why it is not working. The lowest level code that LabVIEW is using to interface with ActiveX is not information that is really make available.
    Hope this helps.
    -Ben
    WaterlooLabs

  • LabVIEW - Activex Internet Explorer Communicat​ion - Question

    Hi
    I have a code which can generate a URL(https:\\.....) to talk to a
    server. The server in turn sends my code a response. I've used ActiveX
    to enable the communication over a secure network.When I make a change
    in the URL I send to the server, I expect a different response. However
    there is a delay in reading that response. If I use the same URL in the
    web browser I get the correct message. Looks like ActiveX is caching
    the data. Has anyone faced this problem before and what might be a
    potential solution ? Thanks for your help.
    Thanks
    Kudos always welcome for helpful posts

    Attached is a snapshot of my program. I think activex might be
    cacheing. but i am not sure which component. probably the one which
    tries to navigate the IE - that's my best guess. Let me know if you
    have suggestions.
    Thanks
    Kudos always welcome for helpful posts
    Attachments:
    program.jpg ‏891 KB

  • Questions about ActiveX Bridge and SWT

    Hi !
    I found few weeks ago the www.reallyusefulcomputing.com site answering my question about Java & Macro of MSWord. Now I've found two steps that I am not able to overcome.
    First, when I build a simple application and I have internal libraries to use, am I compelled to place the jars in the lib/ext directory of the Java Runtime Directory? I have many difficulties in placing a convenient class-path in the manifest file. Why does the application ignore the manifest string?
    The second problem (and the biggest one) is that I am trying to build an SWT java-bean-application but I have problems during runtime. Is it possible to use this technology for my software or am I compelled to use AWT and SWING?
    I really hope you can help me.
    Thank you in advance.

    hi,
    I have to catch events from excel sheet in my java code..events like some change in value or a click of some user defined button etc.I have written th follwoing code but it does not gives me any event.It simply opens the specified file in the excel in a seperate window.but when i click on the sheet or change some value no event is captured by my code....can ne one pls tell me how to go about it....
    public class EventTry2 {
         private Shell shell;
         private static OleAutomation automation;
         static OleControlSite controlSite;
         protected static final int Activate = 0x00010130;
         protected static final int BeforeDoubleClick = 0x00010601;
         protected static final int BeforRightClick = 0x000105fe;
         protected static final int Calculate = 0x00010117;
         protected static final int Change = 0x00010609;
         protected static final int Deactivate = 0x000105fa;
         protected static final int FollowHyperlink = 0x000105be;
         protected static final int SelectionChange = 0x00010607;
         public void makeVisible()
              Variant[] arguments = new Variant[1];
              arguments[0]=new Variant("true");
              //Visible---true
              automation.setProperty(558,arguments);
              //EnableEvent--true
              boolean b =automation.setProperty(1212,arguments);
            System.out.println(b);
             public Shell open(Display display){
             this.shell=new Shell(display);
              this.shell.setLayout(new FillLayout());
              Menu bar = new Menu(this.shell,SWT.BAR);
              this.shell.setMenuBar(bar);
              OleFrame frame = new OleFrame(shell,SWT.NONE);
            File file= new File("C:\\Book1.xls");
              try{
              controlSite =  new OleControlSite(frame, SWT.NONE, "Excel.Application");
              this.shell.layout();
              boolean a2=true;
              a2=(controlSite.doVerb(OLE.OLEIVERB_SHOW|OLE.OLEIVERB_OPEN|OLE.OLEIVERB_UIACTIVATE|OLE.OLEIVERB_HIDE|OLE.OLEIVERB_PROPERTIES|OLE.OLEIVERB_INPLACEACTIVATE)== OLE.S_OK);
              System.out.println("Activated::\t"+a2);
            }catch(SWTException ex)
                 System.out.println(ex.getMessage());
                 return null;
              automation = new OleAutomation(controlSite);
              //make the application visible
              makeVisible();
              System.out.println("Going to create Event listener");
              OleListener eventListener=new OleListener(){
                   public void handleEvent(OleEvent event){
                        System.out.println("EVENT TYPE==\t"+event.type);
                   switch(event.type){
                   case Activate:{
                        System.out.println("Activate Event");
                   case BeforeDoubleClick:{
                        System.out.println("BeforeDoubleClick Event");
                   case BeforRightClick:{
                        System.out.println("BeforeRightClick Event");
                   case Calculate:{
                        System.out.println("Calculate Event");
                   case Change:{
                        System.out.println("Change Event");
                   case Deactivate:{
                        System.out.println("DeActivate Event");
                   case FollowHyperlink:{
                        System.out.println("Activate Event");
                   case SelectionChange:{
                        System.out.println("Activate Event");
                        Variant[] arguments = event.arguments;
                        for(int i=0;i<arguments.length;i++)
                             System.out.println("@@");
                             arguments.dispose();
              System.out.println("outside");
              OleAutomation sheetAutomation=this.openFile("C:\\Book1.xls");
              controlSite.addEventListener(sheetAutomation,Activate,eventListener);
              controlSite.addEventListener(sheetAutomation,BeforeDoubleClick,eventListener);
              controlSite.addEventListener(sheetAutomation,BeforRightClick,eventListener);
              controlSite.addEventListener(sheetAutomation,Calculate,eventListener);
              controlSite.addEventListener(sheetAutomation,Change,eventListener);
              controlSite.addEventListener(sheetAutomation,Deactivate,eventListener);
              controlSite.addEventListener(sheetAutomation,FollowHyperlink,eventListener);
              controlSite.addEventListener(sheetAutomation,SelectionChange,eventListener);
              shell.open();
              return shell;
         public OleAutomation openFile(String fileName)
              Variant workbooks = automation.getProperty(0x0000023c);//get User Defined Workbooks
              Variant[] arguments = new Variant[1];
              arguments[0]= new Variant(fileName);
              System.out.println("workbooks::\t"+workbooks);
              IDispatch p1=workbooks.getDispatch();
              int[] rgdispid = workbooks.getAutomation().getIDsOfNames(new String[]{"Open"});
              int dispIdMember = rgdispid[0];
              Variant workbook = workbooks.getAutomation().invoke( dispIdMember, arguments );
              System.out.println("Opened the Work Book");
              try {
                   Thread.sleep(500);
              } catch (InterruptedException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              int id = workbook.getAutomation().getIDsOfNames(new String[]{"ActiveSheet"})[0];
              System.out.println(id);
              Variant sheet = workbook.getAutomation().getProperty( id );
              OleAutomation sheetAutomation=sheet.getAutomation();
              return(sheetAutomation);
         * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              Display display=new Display();
              Shell shell=(new EventTry2()).open(display);
              while(!shell.isDisposed()){
                   if(!display.readAndDispatch()){
                        display.sleep();
              controlSite.dispose();
              display.dispose();
              System.out.println("-----------------THE END-----------------------------");

  • A (slightly?) DIFFERENT question about the new ActiveX stuff

    http://tinyurl.com/q63d2
    Why do you suppose the QuickTime movie here doesn't play even
    after the
    click?
    Works fine in FireFox.

    If someone thinks their machine is better just because they have more RAM... I wouldn't be too concerned about their opinion.
    Even in the PC world you can get a high end machine with 2GB and an entry level machine with 4GB. RAM is so cheap now, it is often used to push lower end machines as they can put more RAM in for little cost on their part vs. upgrading more expensive components. This has been a big thing in the video card world forever. Tons of people compare video cards based on RAM alone when, in fact, provided you have a reasonable amount of video RAM (pretty much all cards do), the GPU is far more important than how much RAM the card has.
    Plus... you can always upgrade your machine to 4Gb for about $50. Your friend can't upgrade to a MacBook for $50.

  • How to disable IE Security Warning on opening a "local" visio file with Visio Viewer ActiveX?

    Hello all,
    Everyone knows that Microsoft released ActiveX based Visio Viewer for free and allow the users to open Visio drawing and view/print via IE browser.
    The problem that I am facing is that some users are complaining about IE browser's security warning on "active content to run in files on My Computer".
    It means that opening .VSD files from the network, internet, intranet would be all OK but if the user wants to open .VSD files from the local hard drive (or open it as a mail attachment, which will extract it to a temp folder), it prompt the user to select "Allow Blocked Content" EVERYTIME they open them.
    I know that I can GLOBALLY disable this warning by going through Tools - Internet Options - Security section and enable "Allow active content to run in files on My Computer" but I hope that there is a way (or workaround) to allow them by file type or location, etc.
    Questions:
    1. Is there any way to disable those warning for all .VSD only while we still UNCHECK the option on Internet Options?
    2. Is there any 3rd party Win32 based viewer which wouldn't have those restriction?
    3. Is it safe assumption that McAfee VirusScan and Host IPS protection is sufficient enough to remove the IE's security warning feature?
    Thanks in advance?
    Young-

    Are you able to host/launch the VSD file via an HTM page? In that case you can format the HTM page as shown below. This will trick IE into thinking it is loading the file off of a website. Commonly called 'mark of the web'.
    <?xml version="1.0" encoding="utf-8" ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!-- saved from url=(0014)about:internet -->
    <html>
    </html>

  • I've developed an ActiveX that works in IE. 1) Can I get the ActiveX to work in firefox? 2) If not, what IDE would I use to re-write the ActiveX as a new plug-in? Thanks!

    I'm an independent software developer. My client had me write a program to run on their web site (which I did as an ActiveX control). Some of their clients are using Firefox instead of IE. So how can we support those clients who want to use Firefox?
    My first question is whether Firefox has a plug-in that will run ActiveX controls, and my second question is, if not, then what programming environment (IDE) can be used in order to re-write the ActiveX.
    Please note: the source code contains trade secrets. Therefore, it is not an option that the source code be open source or available to the public.
    So, finally, does the technology exist to provide the same capabilities that my ActiveX provides, while operating in a Firefox environment, and still have protected code?
    domls

    See https://developer.mozilla.org/en/Plugins
    You can also ask advice at the mozillaZine Mozilla Development forum.<br />
    You need to register on the mozillaZine forum site in order to post at that forum.
    http://forums.mozillazine.org/viewforum.php?f=27

Maybe you are looking for

  • How do you format a numbers file that has been sent from excel?

    I have a report card that I have sent from a PC using excel to my air mac numbers program.  It sent it in four parts.  How do I format this?

  • 20C0001HUS Thinkpad Yoga with digitizer?

    Hi! I would like to buy this Thinkpad yoga model and I would like to know if the screen is digitizer enabled and it comes with the pen. What is the storage capacity on this model? I asked various vendors from this site and everybody tells me somethin

  • Aperture 2 opening when iPod Touch is connected

    It used to happen with Aperture 1 and it was very annoying. Every time I plugged my iPod Touch into my Mac Aperture opened as if it were a camera. It was eliminated with an update but now it's happening again. Any way to stop this or do I just have t

  • Is there an easier way to creating complex trim marks?

    I'm creating the surface graphics for a box/package cut-out and it will require multiple trim marks. I could make individual trim marks for the box but their would be over 30 edges. Could there be a script out there that would make it easier? Thank y

  • The type initializer for 'Oracle.DataAccess.Client.OracleClientFactory'

    Hi Microsoft Visual Studio 2008 Version 9.0.21022.8 RTM Microsoft .NET Framework Version 3.5 SP1 Oracle Developer Tools for Visual Studio 11.1.0.7.20 I have DB 11.2.0.1 installed on my machine ( OraDb11g_home1 ) and ODT in another home OraClient11g_h