How to use SetRotate with a AcroPDF control and VB6?

I'm creating a program in VB6 that has an Adobe Reader control (using AcroPDF.dll version 9.0) on the form that allows the user to open and view PDF files and I need to know how to use the SetRotate command programmatically to set the  view of the PDF to a different angle (the view angle, like 90, 180 degrees, etc.).
According  to the API reference, you use AcroPDPage.SetRotate but some how I need  to tell it which control to apply it to and that is what I don't  understand. If I just create a new instance of AcroPDPage and try the SetRotate or even GetRotate it gives me a 'object variable not set' error, which I understand since PDPage is supposed to be part of another object (such as a view control of some sort).
My question is, how do I get or create a AcroPDPage object that is part of the AcroPDF control on the form so that I can use GetRotate and SetRotate methods and apply it to the PDF view control (AcroPDF)? Although this is the prefered method of solving this problem, I guess if I could just get the AcroPDF control to show the view menu, that would be good enough.
I'm using the AcroPDF.dll version 9.0 and have Adobe Reader 9.0 installed on a XP SP3 machine. Again, I'm writing this program in VB6.
As you can probably tell, I'm fairly new to programming, especially using references to other program components like Adobe Reader.
Any help is appreciated, thanks.

Set1 = ...
Set2 = ...
Set1.addAll(Set2);
addAll(Collection<? extends E> c)
Adds all of the elements in the specified collection to this set if they're not already present (optional operation). If the specified collection is also a set, the addAll operation effectively modifies this set so that its value is the union of the two sets. The behavior of this operation is unspecified if the specified collection is modified while the operation is in progress.

Similar Messages

  • How to use wsit with jeveloper for developing and testing web servises

    hi, all. Just want to ask one realy simple quastion.
    I'm new with web servises, so my question may be doesn't fall well into this section , but this community looks friendly for me and i hope to get some usefull links and advises.
    First of all could anybody say me if i'm righ or wrong with the following suggestions:
    1. What is the principal difference between axis 2 and wsit products? Do i understand right that they both extend or support so called jax-ws2 API and represent different approaches in that (are they competitors?), or this products serve for different sakes at all and could be used together? I want to understand without much digging how these products correlate with each other...
    2. If i'm right what is oracle favor? And if oas standard supply doesn't include wsit, how to install and use this product for creating interoperable web servises in jdeveloper enviroment? ...or jax-ws 2.1 wasn't included in oc4j v10 and will be the part of v11 only?
    Thanks in advance. Alex.
    Message was edited by:
    Timin
    Message was edited by:
    Timin

    Both Axis and WSIT are not Oracle products - so I'm not exactly sure why would you post the question here.
    JDeveloper has native support for JAX-RPC based Web services development in 10.1.3 and JAX-WS support in 11 - check out the online demos linked from the home page to see these in action.

  • How to use iPhoto with 1 photo library and 2 user accounts on 1 iMac ?

    Title says it all.
    I don't want to have a double picture library, it takes enough space from my harddisk already.
    My wife and I share the same camera too. We want to see the same pictures when using iPhoto.
    Possible solution: Do I have to make a softlink from 1 user account to the photo lib that belongs to the other account ? [in Terminal:  ln /Users/.... etc.)
    (Yes, I'm an ex-Linux user)
    Thnx
    Fred4711

    If you want to have the same data, do you need separate accounts? A surprising number of people think that must have separate ccounts and they really don't need to.
    Anyway:
    For iPhoto 09 (version 8.0.2) and later:
    What you mean by 'share'.
    If you want the other user to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account. In that account, enable 'Look For Shared Libraries'. Your Library will appear in the other source pane.
    Any user can drag a pic from the Shared Library to their own in the iPhoto Window.
    Remember iPhoto must be running in both accounts for this to work.
    If you want the other user to have the same access to the library as you: to be able to add, edit, organise, keyword etc.
    Quit iPhoto in both accounts. Move the Library to the Users / Shared Folder
    (You can also use an external HD set to ignore permissions, a Disk Image or even partition your Hard Disk.)
    In each account in turn: Double click on the Library to open it. (You may be asked to repair the Library Permissions.) From that point on, this will be the default library location. Both accounts will have full access to the library, in fact, both accounts will 'own' it.
    However, there is a catch with this system and it is a significant one. iPhoto is not a multi-user app., it does not have the code to negotiate two users simultaneously writing to the database, and trying will cause db corruption. So only one user at a time, and back up, back up back up.

  • How do use iCloud with Microsoft word, excel and power point? are they compatible

    i am trying to use i cloud with mircosoft word and excel but i am not sure if its compatible. do i first need to purchase pages?

    The kernel failure panic kind of message points to some other activity;
    as such, it may be there could be a conflict in some applications; as a
    logical failure is indicated by the first part of the message content.
    Whether or not any common kernel panic resolution ideas could work
    in regard to the trigger of this action, is another matter & unresolved.
    Reading and understanding the resulting logs is part of this resolution;
    the following link has information on these kinds of issues in general.
    Technical Note TN2063: Understanding and Debugging Kernel Panics
    http://developer.apple.com/mac/library/technotes/tn2002/tn2063.html
    Resolving Kernel Panics:
    http://www.thexlab.com/faqs/kernelpanics.html
    If there were more, perhaps from another error log in the system, to
    point to other contributing factors in the cause of this action & report,
    some course of correction could be indicated; should that involve a
    reinstall of certain programs (and their update files, as Office has) or
    perhaps removing other seldom used applications if they were proven
    to be part of conflict in the system, with Office triggering its appearance.
    Some troubleshooting of this issue may point to some course of action
    and if the problem is only software-based, then it may involve testing
    or moving, or reinstalling some applications. There is a chance, too,
    that something else may be acting up at a low-level of the system. If
    that were the case, sometimes a re-install of the system on a wiped
    and zeroed drive would be a path to consider to test or resolve this.
    But only after other things have been tried. If you have a full backup
    of the computer's contents on a bootable external drive, that would be
    a means of testing the computer itself.
    Good luck & happy computing!

  • Can I use iCloud with my iPod nano and windows laptop?

    not clear how to use iCloud with an iPod Nano and a Win 8.1 PC

    iCloud doesn't work with the iPod nano directly, and will only work on a PC with an already-existing iCloud account; these need to be created from a Mac or an iOS device.
    (125787)

  • How to use multiple JREs (1.5.0_20 and 1.6.0_07) with Internet Explorer 8?

    Hi!
    Question about the problem mentioned in subject.
    I have configured that JNLP opens with 1.5 version, both versions are enabled in Java Control Panel Runtime Settings but when I try to start a desktop java console says:
    Java Web Start 1.5.0_22
    Using JRE version 1.6.0_07 Java HotSpot(TM) Client VM
    And the opening of the desktop creates an exception:
    Java Web Start - Invalid Argument Error
    TooManyArgumentsException[ Too many arguments supplied: {C:\WINDOWS\Temporary, Internet, Files\Content.IE5\....
    I'm trying to open my desktop with 1.5 version and other programs with 1.6 version. What is it that I still need to do? I'm kind of confused with this. Some of my collagues have succeeded with this and some doesn't, with the same configuration.
    So the question is, how to use multiple JREs with IE8 so that one application uses 1.5 version and others 1.6 version?
    Br,
    Katri
    Edited by: ka**** on 09-Mar-2011 01:16
    Edited by: ka**** on 09-Mar-2011 03:16

    ka**** wrote:
    ..Question about the problem mentioned in subject.No "Using multiple JREs (1.5.0_20 and 1.6.0_07) with Internet Explorer 8" is a statement. To transform it to a question would be something like "How to use multiple JREs (1.5.0_20 and 1.6.0_07) with Internet Explorer 8?".
    Once you can come up with an actual question, I might look at this more closely.

  • How to use labview with gpib to connect with Agilent PNA E8362B ?i am newbie ..just started to work on labview about a fortnite bck and a novice in interfacing skill ..so plzzzzz explain me in a litle detail

    how to use labview with gpib to connect with Agilent PNA E8362B ?i am newbie ..just started to work on labview about a fortnite bck and +i am a novice in interfacing(networking... jst know tidbits) skill ..so plzzzzz explain me in a litle detail

    Sir
    We were able to solve that problem...but now could you advice as to which DC power supply we should use (preferably avalable in India) so that it can be controlled by Labview (through a gpib/rs232/any other port) to give a square wave of desired frequency/other parameters.
    Regards
    Shivam

  • How to use authid with rwservlet via WebLogic Thin Client

    1. Using J2EE Thin Client for WebLogic (WL) to submit interactive requests for Oracle Reports (App Server 10g) running on another server without SSO.
    2. After starting basic Infrastructure, we start rwserver in batch mode (no other mid-tier components are used).
    3. It appears that the cgicmd.dat file in the Thin Client conf directory on the WL server controls the DB access with the key:connect string info it has.
    4. We had been allowing the testers to come in via the web through a SunOne (iPlanet/Netscape) web server instance, which in turn connects to the WL server running the Thin Client instance.
    5. We noticed that anyone could run rwservlet to view report status with the showjobs command via a URL through the same mechanism as point #4 above, and were concerned about security of the reports - "bad".
    6. Then someone realized the showmap command could also be specified, and thus see the DB connect string (Id/pw/SID) - "worse".
    I researched securing Reports, and read through the white paper, "Securing Oracle9i Reports", and although it discusses security without using SSO, all it says is "users accessing a secured instance of Oracle9iAS Reports Services will be challenged to identify themselves by the Reports Servlet, using its own authentication mechanism (as with Reports6i)", but I can find no explanation of how that works, nor how it would work with the WL Thin Client.
    Questions:
    1. How are the Id's/passwords set up under AS 10g "as with Reports6i" in this environment going through the WL Thin Client?
    2. Is there anything else that needs to be done to secure the created reports, and the connect string info (i.e. using authid with rwservlet?showjob, and not allowing the rwservlet?showmap to be executed at all)?
    TIA,
    ROC

    the JDBC Developer's Guide (11gR2)
    gives an example in chapter 9 under "JDBC Thin Driver Support for Encryption and Integrity", sub- "Setting Encryption and Integrity Parameters in Java"
    from Oracle SQL Devloper, without redirecting the client to use the OCI/thick driver, choose, new database connection, connection type Advanced. add the entry from the example noted above to the Custom JDBC URL form.
    for example:
    Properties prop = new Properties();
    prop.setProperty(OracleConnection.CONNECTION_PROPERTY_THIN_NET_ENCRYPTION_LEVEL,"REQUIRED");
    prop.setProperty(OracleConnection.CONNECTION_PROPERTY_THIN_NET_ENCRYPTION_TYPES,"(AES128)");
    OracleDataSource ods = new OracleDataSource(); ods.setProperties(prop); ods.setURL(jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxx)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=xxxx)(INSTANCE_NAME=xxxx))));
    Connection conn = ods.getConnection();
    strange side note!, we could not get this to encrypt unless the sqlnet.ora file included the SQLNET.ENCRYPTION_SERVER=required. if this was set to default(accepted), and even though the jdbc thin client properties set to required, the network traffic was still clear text.
    good luck

  • How to concatenate string with a numeric control ?

    Hi,
    How to concatenate string with a numeric control ?
    Thankyou.
    Solved!
    Go to Solution.

    Its simpler to just use the Format Into String.
    Attachments:
    Format Into String.png ‏11 KB

  • I just bought a used computer with OSX 10.8 and want to reinstall OSX 10.6.3 Snow Leopard . . . How can I do this?

    I just bought a used computer with OSX 10.8 and want to reinstall OSX 10.6.3 Snow Leopard . . . How can I do this?

    Alfi94965 wrote:
    I just bought a used computer with OSX 10.8 and want to reinstall OSX 10.6.3 Snow Leopard
    First off you need to know the model identifier of the machine, not all Mac's can be reverted to Snow Leopard and not all Mac's can use the 10.6.3 Retail disk!
    To find the model identifier, boot the machine up and hold the command key and the spacebar, Spotlight appears at the top right corner and type in System Profiler and press Enter/Return.
    The model identifier should be something like "MacBook Pro 9,2" or something of that nature.
    You also can hold D while the computer is booting on/near a Internet connection for a long time and this loads Hardware Test, which one of the panes will give the required information.
    Next you download MacTracker here and look up your machine and it's original operating system.
    (Don't click the AppStore version obviously)
    http://mactracker.ca/
    You may have to right or control click on the program to bypass Apple's Gatekeeper and run the program.
    If you have the model identifier and the machine won't boot, then just ask here and we can tell you the information
    Now all Intel Mac's issued before July 2011 can install Snow Leopard, but the Mac's released after July 2011 came with OS X 10.7 Lion and the firmware won't boot off the Snow Leopard disk. (however 10.6 can be shoehorned on using Firewire Target Disk Mode and another Mac for some models after July 2011)
    Also the 10.6.3 Snow Leopard Retail Disk sold at Apple only works on Mac's that came with 10.4-10.6.2 from the factory.
    Any Mac's that originally came with 10.6.3-10.6.8 from the factory need model specific disks from Apple directly, not sold at their online store, you will have to call them with your Mac's serial number and order these disks.
    If you get the right disk and have the right machine, then you should be able to insert the disk and hold c down or the option/alt key and boot from the 10.6 disk.
    Follow these directions and make sure to erase the ENTIRE DRIVE first in Disk Utility or you will have issues later trying to fix it from the disk.
    How to erase and install Snow Leopard 10.6

  • Screens, like them? hate them? also, how to use actionscript with them.

    So I haven't used a flash version since Flash 8. I've now been given CS4 and inheritid a flash document that uses screens. After 2 weeks of figuring out how the presentation is made to 'go' from slide to slide on keydown, I finally discovered today that it is the default behaviour.
    Ok, so this leads me to my next question. How do people here feel about screens? Like them? Hate them? I feel like I could do half of this stuff easier with actionscript. I feel constrained by this. Not to mention I put some animation into a movie clip and it seems like it's not playing, like it's just poping right to the stop action at the end of that clip.
    Can anyone tell me how to use actionscript with screens? I looked at help, but of course, the help file doesn't give me what I really need to know. I'd like to put my actions on frame one of the root and let that control everything else. But what is the syntax like? The help file recommends external scripts, but that is not an option as the CEO takes this presentation with him and I can't risk having him lose the code.
    Please give me any advice you may have. Thank you!
    Stan

    Not that I'm any kind of expert on this matter, but I've never heard of screens, at least not by that name, and I have been fiddling with Flash for about 9 years now (like this case, I still learn new things all the time... though I'm still clueless as to what they are... chances are I won't miss 'em).
    When you mentioned scenes though, my personal recommendation is along the party lines of avoid them like the plague... use one timeline and/or movieclips for everything.  I have never used them in my own work, and my bias is partly due to having inherited them in other people's work... they make it hard to find things, especially when you have to first discover they're being used to begin with.  From a technical stance, I have found them to be problematic to manage as far as navigation goes.

  • How to use Terminal with KeySpan USB serial adaptor cable?

    I own a KeySpan model USA-19HS to use with our MacBookPro when working on clients networking equipment that require serial communication. I have used ZTerm with excellent luck, but it costs, and is yet another application that I dont really want. I would like to know if any one out there has exacing instructions on how to use Terminal with this adaptor. If I could write a file that had, say, the couple most common settings (9600-8-n-1, 57600-8-n-1, et cetera) that I could simply click on, to open a new Terminal window with those settings, then simply close that, and open a new window (apple+n) in order to get back to a default settings terminal window. All feedback is most appreciated.
    Thanks so much, Jason Sjobeck

    Hi, Jason. Welcome to the Discussions.
    You wrote: "All feedback is most appreciated."OK.
    1. Have you considered discussing this with Keyspan Support?
    2. Have you read the section "OSX has Terminal.app - why do I need ZTerm?" on the ZTerm Home Page? That seems to explain why one needs an app like ZTerm.
    3. A quick search of Keyspan's FAQ for your product and terminal doesn't yield much more than how to find the serial ports using Terminal.
    Likewise, this Google search also yields little, and variants of that search of such weren't particularly help either.
    It appears your inquiry seems to be a somewhat esoteric topic.
    4. Apparently, ZTerm X is a bit long in the tooth and there's no Universal Binary for it. It sounds, however, like you've tried it running on your MBP under Rosetta, yes?
    5. In researching alternatives to ZTerm for you, I note the followng:• The comment from "Reverb" on this page suggests C-Kermit or Kermit as a free alternative.
    • This tip on Mac OS X Hints cites Minicom as another option.6. You may want to try your question on the Unix Discussion.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • How to use variables with

    I need to get the number of lines in internal table, which would
    be easy, using DESCRIBE TABLE itab LINES lines. But the problem
    is, that I get the name of this internal table in the field of
    another internal table, so I have to use the name of internal
    table as variable, but I don't know how to use variables with
    DESCRIBE TABLE (or if this is possible).

    Hi,
    REPORT ZPRUEBA782 .
    define two tables with diferent structures.
    data: begin of table1 occurs 0,
    registro type i,
    end of table1.
    data: begin of table2 occurs 0,
    registro type i,
    repid like sy-repid,
    end of table2.
    data: rows type i.
    start-of-selection.
    fill them with data
    do 1000 times.
    table1-registro = sy-tabix.
    append table1.
    enddo.
    do 1757 times.
    table2-registro = sy-tabix.
    table2-repid = sy-repid.
    append table2.
    enddo.
    call a form that receives as input the table and returns the number
    of rows as output.
    perform howmanyrows tables table2 changing rows.
    break-point. "evaluate the number of rows
    perform howmanyrows tables table1 changing rows.
    break-point. "evaluate the number of rows
    end-of-selection.
    form howmanyrows tables itable changing rows.
    rows = 0.
    loop at itable.
    add 1 to rows.
    endloop.
    endform.
    You can try it if you don't find a better solution.
    Cheers,
    Chaitanya.

  • How to Use Gmail With Apple's Mail?

    Answer:
    Now Itis not a Problem, Please go to this link and know how to solve this problem, Ihave configuir this in my mac pro. Have enjoy.
    http://picturemuseum.blogspot.com/2011/08/how-to-use-gmail-with-apple-mail.html
    http://mobilesuggestion.blogspot.com/2011/08/how-to-use-gmail-with-apples-mail.h tml

    I notice that it's possible to have sticky posts in these forums. See
    http://forum.java.sun.com/forum.jspa?forumID=534
    the Concurrency forum for an example. Posting a link to the FAQ in a sticky post might reduce the number of FAQs asked here by maybe 1%? Or posts like this one might do well as a sticky?

  • How to use Count with Date Parameters

    Hello,
    I am having issues using the Count() function in conjunction with date parameters.
    This is a Siebel report and in my report I have 2 date parameters(From Date, To Date). In a nutshell I am basically trying to count Opportunities that has a start date within the given date period. However I don't see a reasonable way to put my date parameters within the Count() function. The reason being is that I need to have a huge chunk of code to convert the dates into a common format that can be compared, and it won't even fit within the code block in my rtf template. I am not even sure how to put multiple conditional statements inside a Count() function since all the examples I have seen are very simple.
    Anyone have a suggestion on how to use Count() with date parameters?
    Thanks.

    Any chance you can get the date formats in the correct format from siebel?
    I don't know Siebel - so I can't help you with that. If you get the correct format it is just
    <?count(row[(FromDate>=date) and  (date<=ToDate))?>
    Otherwise the approach would probably need to use string function to get year/monthd/day from the date
    and store it into a varialbe and compare later the same way
    <?variable@incontext:from; ....?>
    <?variable@incontext:to; ...?>
    <?count(row[($from>=date) and  (date<=$to))?>
    Potentially you can use the date functions such as xdofx:to_date to do the conversion
    [http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12187/T421739T481158.htm]
    But I am not sure if they are available in your siebel implementation.
    Hope that helps

Maybe you are looking for