ActiveX-Control in C++ LoadFile does not work

I tried to use the ActiveX Control in my C++ Application. But when i try to call "LoadFile", it does not work. Everytime i call it i get a "false" as response, but i don't know why it is not possible to open that file. I tried everything i could imagine. Different Path, different Names, another File....!
I do not have any new idea right now!
Here are a few lines i have wrote so far:
   wxActiveXContainer* m_pAX;
   wxAutomationObject m_PDF;
   IDispatch* pDispatch;
   HRESULT hr = ::CoCreateInstance(CLSID_Pdf, NULL, CLSCTX_INPROC_SERVER, DIID__DPdf, (void**)&pDispatch);
   if (hr != S_OK) {
      return;
   m_PDF.SetDispatchPtr(pDispatch); // wxAutomationObject will release itself
   m_pAX = new wxActiveXContainer(this, DIID__DPdf, pDispatch);
   if (m_PDF.CallMethod(wxT("LoadFile"), "D:\\load.pdf").GetBool()) {
      m_PDF.CallMethod(wxT("setCurrentPage"), wxVariant((long)0));
      wxSizeEvent event;
      m_pAX->OnSize(event);

more than 100 people have read my question and no response ? Is that problem normal? a hardware bug? a software-Update Problem? Anyone here from the Manufacturer of this phone or users only? Is there an email adress of Blackberry Support? I only find such social notworking like Twitter what i can not use because only 140 charakters. Please help

Similar Messages

  • The download of icloud control  panel v2.0 does not work. I have no box to check for calendar and contaks. Whats wrong?

    The download of icloud control panel v2.0 does not work. I habe no box to check for calendar and contacts. Whats wrong?
    Thanks Chris

    Hi, I came across the same problem and was not able to open any iCloud folders on Outlook, and iCloud was continusly asking to repair the iCloud Control Panel. Got the issue fixed by following the steps on the link http://somanytips.com/fix-icloud-error-repair-the-icloud-control-panel-to-use-ic loud-with-outlook/

  • Pressing play in control center in ios7 does not work

    Has anyone else tried to press play in control center to continue listening to itunes and nothing happens? The volume control works but not play..

    I'm with you.  I went from a Windows HTC phone which worked perfectly to an IPhone 5S and now the message feature on my 2010 Honda Insight does not work. Since I do quite a bit of traveling, this is a little annoying.

  • Control key (^) combined shortcuts does not work on mac book pro

    All shortcut combinations with the control key (^) do not work. I´m using Mac Book Pro 13 (late 2013) with Os X Mavericks 10.9.4

    The Logic Board is the Main system board. In the Windows world better known as the Motherboard. Except with Apple Mac computers the CPU and the GPU are Soldered to the logic board and if it is a Retina screen model the RAM is also Soldered to it.
    So replacing the Logic board is like replacing the compete system and costs accordingly.
    But there isn't much else you can do if you can't get that switch unstuck. Or just go without sound from the built in speakers. They aren't that good anyway.

  • Control-Delete key combo does not work

    I have a two-week old iMac. I have a wireless keyboard and mouse.
    I am still learning all the ins and outs.
    Everything I read seems to say that using the Apple key + delete will move a selected file to the trash.
    It does not! I am a former PC'er and hate having to drag stuff to the trash.
    I've tried everything I can think of. Any suggestions?
    Much thanks,
    Gerry
    iMac (Intel duo)   Mac OS X (10.4.9)  

    Hello Gerry and welcome to discussion,
    I just tried this on my Mac ( not a big fan of keyboard shortcuts here ! ) at first it did not work for me. Then I tried different speeds of the keystrokes - It works now, for me, if I perform the keystrokes very quickly! Odd? - I don't know.
    Is there any way you can try the keystrokes on a different keyboard?
    Regards
    Ian

  • Image display control scrolling does not work properly when zoomed in

    I am using a ROI on an image in the image display control. When zooming into the image to fine-adjust the positioning of the ROI, the image scrolling does not work properly. As far as I understand, the image should scroll automatically when the ROI is leaving the visible area. However, the scrolling behaviour seems to depend on the origin of the Labview panel, not the origin of the image display control, which might require to move the ROI way out of the visible area before the scrolling takes place. In other words: the coordinate system of the image display control is shifted with respect to the true visible image area, depending on where you place it on the front panel. As a consequence, when clicking on a ROI which is in the visible area, but is outside of what Labview thinks is the visible area, it might immediately jump to the left border of the image, making the positioning of the ROI really difficult.
    Has anyone noticed this behaviour, and what would be a reliable solution to avoid this? 
    Dirk

    Hello,
    no, I am not talking about the tools palette. Just place an image control with some image in it on a new VI front panel. Then, use the rectangle from the tools and select a ROI in the image. If you zoom in (using the magnification glass), and then grab the ROI and move it around, the image scroll with the ROI. So far, so good. If you now place the image control elsewhere on the panel, or add new control above it, resize the panel, etc. , this scrolling when moving the ROI will not work correctly if the origin (0,0) of the panel is far away from the image control.
    I have attached a VI for simplicity (although there is hardly any code in it).
    If you make a ROI and try to move it down, you will notice that scrolling starts if you move the mouse out to about 10cms below the image (depens on your screen, of course). After that, if you click on the ROI, the scroll bars and ROI might jump up to the upper end of the image. Imagine how annoying this is if you try to finely adjust the ROI position. 
    I think it is a bug in the implementation of the image display control.
    Thanks,
    Dirk
    Attachments:
    scrolling.vi ‏818 KB

  • RichEditableText: Control+z for undo works in firefox but does not work in internet explorer (ie)

    Hi,
    I was doing some testing with RichEditableText and realized that the undo and redo when called by keyboard (Control + Z) in Internet Explorer does not work.
    Thanks,

    Hi, Gordon Smith, thanks for answer.
    I tried to pass a javascript event to the flash but still the IE does not fire, but by the way there is no way around this situation.
    With javascript I tried
    document.attachEvent("onkeydown") but doesnt work, this not fires with flash over.

  • ActiveX control for Flash Player could not be registered - no solutions work

    I am getting the "ActiveX control for Flash Player could not be registered" when I try to install 11 on IE9 (Windows 7 64-bit).  I have tried everything that has been suggested in other posts and forums to no avail.  This is driving me crazy and hindering me from work.  Can someone please help?  Thank you!

    I just had this issue and have been searching and searching for a way to fix this issue. I have a Windows 7 64 bit system and this was happening with IE 9. But I have found the solution.
    Go to http://kb2.adobe.com/cps/494/cpsid_49419.html and follow these instructions. This worked for my system and I was able top install the newest flash with no problems.
    Make sure you are logged into a Windows Administrator account. If you are not, you will not be able to use SubInACL.
    Download SubInACL from the Microsoft Download Center.
    Follow the installation instructions. Make sure you install SubInACL (subinacl.exe) to the directory C:\Program Files\Windows Resource Kits\Tools.
    Download the reset_fp10.zip file.
    Open the fp10.zip file and extract the reset_fp10.cmd file to the directory C:\Program Files\Windows Resource Kits\Tools\.
    Both this file and SubInACL (subinacl.exe) must be in this directory.
    Double-click reset_fp10.cmd. A command window will open, and SubInACL will run.
    Do not use the machine while SubInACL is running.
    After SubInACL finishes, you will see a prompt "Press any key to continue".
    Install Flash Player from the Flash Player download page.
    To confirm that your installation succeeded, visit the About Flash Player page. At the top of the screen, you should see a message that reads "Adobe Flash Player Successfully Installed."

  • Link does not work for-End-of-Sale and End-of-Life Announcement for the Cisco Secure Access Control System 5.4

    Link does not work for
    End-of-Sale and End-of-Life Announcement for the Cisco Secure Access Control System 5.4
    How do we get Cisco to fix?
    see attachment

    Give it a couple of days - it looks like they just sent out the notification before the notice was published on the public page.
    Once the ACS 5.4 EoS/EoL notice is published you should see it linked from this page.

  • Control-clicking does not work in Finder

    Ever since installing the 10.4.5 update, control-clicking does not work in Finder. When I try to do it, Finder automatically restarts itself. This happens in any Finder window and on the desktop itself. Whether I am control-clicking an Application icon or trying to 'Get Info' on a file, Finder restarts itself. I repaired permissions and it did not fix the problem.
    Any idea on how to fix this? Thanks a lot!
    David
    Edit: Nevermind. I fixed it by deleting the JIMZip.plugin file in my Contexual Menu folder. I found the answer in another thread. I apologize for searching after I created this thread.

    David,
    Can you identify any corrupted or incompatible files in either your Macintosh HD/Library/Contextual Menu Items folder, or your Macintosh HD/Users/yourhomefolder/Library/Contextual Menu Items folder?
    If so you may be able to uninstall/reinstall the associated application.
    You may also consider temporary manual removal and isolation of the suspect file to verify CM functionality.
    ;~)

  • Parental controls - allow google does not work

    I have set up a user account for my 11-year old son, with parental controls enabled, specifically blocking websites with adult content.
    Unfortunately, it blocks just about everything, including netflix, facebook and google, so I manually allow these exceptions.
    But it does not work. It still blocks Google, allows Facebook login screen but jumbles up the page when you log in, and will not allow videos from netflix.
    I can't believe Apple would produce such an inflexible bunch of crap purporting to be Parental Controls, so what is wrong here?

    Are you logging into the client using an account from the directory, or using an account on the client system itself?
    The client account has priority over the directory account.
    For example, if you have an account 'fabian' on the client and an account with the same name 'fabian' on the server (with parental controls enabled), then the client account is the one that will be used and the parental controls won't be used.
    You'd need to use different account names (or remove the accounts off the client system) to force users to login with the directory account.

  • Downloaded ios7 to my iphone4s and now my volume control does not work 99 % of the time. what can i do to solve the problem

    I downloaded ios7 to my iphone and now my volume control does not work 99% of the time. Is there something I need to do to correct this?

    Adjust the Volume Control in Control Center, or try a RESET.............

  • JavaScript that controls the player does not work

    Hello everyone
    I have a page with an embedded video on Windows media player, and developed a javascript to control the video.
    The parties that control the play, stop, pause, volume, and fast reverse fast forward work very well, but when I put a function that advances the video marks the next and previous does not work in Safari only works in Firefox and the worst and does not accuse me errors simply does not work, then I do not know what to do if someone can help me would greatly appreciate it
    The codes are below
    Code for embedded player
    <div id="Dvideo"  style="position:absolute; width:400px; height:266px; z-index:3; visibility:hidden; left: 14px; top: 85px;">
                    <object 
              id="contentPlayer"
              name="contentPlayer"
              width="400"
              height="266"
              type="application/x-ms-wmp">
                              <param name="AnimationAtStart" value="0" />
                              <param name="AutoStart" value="0" />
                              <param name="CurrentMarker" value="0" />
                              <param name="EnablePositionControls" value="true" />
                              <param name="EnableTracker" value="0" />
                              <param name="ShowAudioControls" value="0" />
                              <param name="ShowCaptioning" value="0" />
                              <param name="ShowControls" value="1" />
                              <param name="ShowDisplay" value="0" />
                              <param name="ShowGotoBar" value="0" />
                              <param name="ShowPositionControls" value="0" />
                              <param name="ShowStatusBar" value="0" />
                              <param name="ShowTracker" value="0" />
                              <PARAM NAME="EnableContextMenu" VALUE="false">
                              <param name="AllowChangeDisplaySize" value="true" />
                              <PARAM NAME="CurrentPosition" VALUE="false">
                              <param name="SRC" value="video.wmv" />
                              <param name="TransparentAtStart" value="1" />
                              <param name="uiMode" value="none"/>
                              <embed
              src="video.wmv"
              width="400"
              height="266"
              autostart="0"
              type="application/x-ms-wmp"
              id="contentPlayer"
              name="contentPlayer"
              showdisplay="0"
              showcontrols="1"
              animationatstart="0"
              transparentatstart="1"
              showstatusbar="0"
              showtracker="0"
              currentmarker="0"
            CurrentPosition="0"
              enablepositioncontrols="true"
              enabletracker="0"
              showcaptioning="0"
              showaudiocontrols="0"
              showgotobar="0"
            EnableContextMenu="false"
            AllowChangeDisplaySize="true"
              uiMode="none"
              showpositioncontrols="0"></embed>
                            </object>
    javascript code
        function play()
                        var player=document.getElementById('contentPlayer');
                             document.getElementById('DInfo').style.visibility = 'hidden'
                        document.getElementById('Dvideo').style.visibility = 'visible'
                        player.controls.play();
        function pause()
                        var player=document.getElementById('contentPlayer');
                      player.controls.pause();
        function stop()
                        var player=document.getElementById('contentPlayer');
                      document.getElementById('DInfo').style.visibility = 'visible'
                        document.getElementById('Dvideo').style.visibility = 'hidden'
                        player.controls.stop();
    function Volume()
              document.getElementById('contentPlayer').settings.volume  = document.getElementById('contentPlayer').settings.volume + 30 ;
    function VolumeDown()
              document.getElementById('contentPlayer').settings.volume  = document.getElementById('contentPlayer').settings.volume - 30 ;
    function mute() {
              var player = document.getElementById('contentPlayer');
              var mutebutton = document.getElementById('bt4');
              if (player.settings.mute) {
              player.settings.mute = false;
              return player.settings.volume + "%";
              mutebutton.src ="../images/mute_false.gif";
              } else {
              player.settings.mute = true;
              return "mute";
              mutebutton.src ="../images/mute_true.gif";
    function fastforward()
              var player=document.getElementById('contentPlayer');
              player.controls.fastForward();
    function fastreverse()
              var player = document.getElementById('contentPlayer');
              player.controls.fastReverse();
    function GoNextMarker (mymark)
              var player = document.getElementById('contentPlayer');
              var mymark = player.controls.currentMarker + 1
              player.controls.currentMarker = mymark;
    function GoPreviusMarker (mymark)
              var player = document.getElementById('contentPlayer');
              var mymark = player.controls.CurrentMarker - 1
              player.controls.currentMarker = mymark;
    </div>

    This has been discussed over and over and over and over and over and over and over and over again.
    Do a forum search (right side of this page) and you will find countless posts on this.

  • Mission Control does not work!!!!!!!!

    Hi all,
    I have recently Reformatted my mac and made it into 1 partition of 500gb just to run mac os x. I did it with the discs the laptop came with.
    After OSx install was complete, I ran the os x lion downloaded from the app store and installed it too. After completely updating the system with software updates and my other software like ms office, vlc, flash, iLife etc.
    I have found that the mission control does not work sometimes. It allows you to swipe from screen to screen but when when you swipe up.. It hides the top apple bar but nothing else happens.. Everything else is fine so far.
    When I turn my mac on. If it gets stuck the only way to make it work again is to restart. Which is a bit annoying.. Plz tell me if it's a bug or something.
    If that happens to someone else as well?
    Thanks

    Does it work ok if you create a new user?
    To create a user account:
    Choose Apple menu > System Preferences and click Users & Groups. Click the lock icon to unlock it, and type an administrator name and password.
    Click the Add button below the list of accounts, choosing a type of account Standard is fine) from the New Account pop-up menu.

  • Icloud control panel sync to chrome does not work

    Bookmark sync does not work.
    - Installed icloud control 3.0.
    - installed extension for Chrome "iCloud Bookmarks"
    I get the message "icloud Bookmarks extension for Chrome is required". Keep pressing the button enable but nothing happens.
    Please help !

    This helped to know it is one-way and that is why my IPad got nuked.  Is there any software you are aware of that can download or transfer photo albums, not camera rolls or those taken by iphone, toa disc?  there are apps on itunes that I tr5ied but only worked on camera rolls or phtos take with iphone.  I have over 1,000 photos and do not want to make 1,000 emails of redueced size photos that loses original jpg date and data.

Maybe you are looking for

  • P & L PLD...generated on date not required

    Hi Forum, I am trying to take print-out without print of printing date on PLD of P & L. I have save as the system PLD and remove the printing date & time make it as default PLD. But still, it date is coming in the print. I have doubt that, the P & L

  • About important tables in FI

    Hi Friends, I would like to know something about the tables and the data flow. I've not been a part of customising a "Z" report as yet, and I'm sure I would have to do it any time. Please suggest to me as to where do I need to start off and the impor

  • Timed Objects do not appear, part 2

    I am having an issue with getting timed objects to appear and was asked to post a screen shot of the set up. I apologize, but I am unable to post a screen shot here. I can take the screen shot and post elsewhere, just not here. Here is the setup as b

  • DB restart improves performance

    About every month, our 11g R2 DB users complain of poor performance. When we restart our DB , performance improves. why? Is there any permanent soln so that we dont have to resatrt our DB. Thanx in advance.

  • Invalid cursor state using GROUP BY

    Hi, Have got a strange funny thing going on here... Hope someone can help me out here... In my application i get data out of a db and put it into a JTable... Normally i can do this without any problem... Now, when I use the GROUP BY statement i get t