How to set swing to support using vrml/external/browser ?

When doing applets with AWT to call vrml/external/browser.getbrowser, it works. But if update to use swing instead of awt, applets always cannot say: java.lang.NoClassDefFoundError: vrml/external/Browser.
The html file containing this applet is converted by command : java HTMLConverter **.html .And also using java1.3.1plug-in.
But if removing java plug-in and add ---ARCHIVE="Swing.jar"---- into **.html source code without using java HTMLConverter. The applet works.
While, this way can let applet work, but thus, the applet cannot connect to mysql database.
So, anyone knows how to set up swing in applet when using converted **.html with javaplugin? ???
Thanks so much!!!!

Hi David,
Need more info:
Version of Crystal Reports are you using?
Visual Studio version?
Try with this:
The following C# code demonstrates the use of the ExportToStream method:
ReportDocument report = new ReportDocument();
report.Load("c:\\temp\\test.rpt");
ExportOptions options = new ExportOptions();
options.ExportFormatType = ExportFormatType.PortableDocFormat;
options.FormatOptions = new PdfRtfWordFormatOptions();
ExportRequestContext req = new ExportRequestContext();
req.ExportInfo = options;
Stream s = report.FormatEngine.ExportToStream(req);
Response.ClearHeaders();
Response.ClearContent();
Response.ContentType = "application/pdf";
s.Seek(0, SeekOrigin.Begin);
byte[] buffer = new byte[s.Length];
s.Read(buffer, 0, (int)s.Length);
Response.BinaryWrite(buffer);
Response.End();
Regards,
Shweta

Similar Messages

  • Backup: How to set Bunring folder to use an external HDD

    For Backup with OS X resources only i'd like to use burning folder. Instead of limited DVD capacity i'd like to point the burning folder to my iomega drive. How can i do that?
    Simply drop and drag the burning folder to my iomega drive would just save the alias but not the dynamic content of the folders i want to backup. I am sure someone found a smart way to do backups... so pls. let me know
    Regards,
    Harpo

    I, too, am interested in how to accomplish something like this. However, I would like to be able to "burn" my burn folder to a flash drive instead of a disk. For all the same reasons that a " +burn disk+" is great for CDs and DVDs, it would be, too, for other media.
    I suspect this requires a change to the burn-disk function, but wouldn't think that it is too big - most of the heavy lifting is already done.

  • How to set field type choice using csom (c#)

    I have a field type: Choice (menu to choose from) which is not multichoice. How do I set a value?
    I have found code for multiple choice but it doesn't seem to work for single choice.

    Hi,
    The following code snippet for your reference:
    newListItem["ChoiceFieldName"] = "ChoiceValue";
    newListItem.Update();
    clientContext.Load(newListItem);
    clientContext.ExecuteQuery();
    If you are assigning a Value which is not in the Choice Column, You need to create a choice value then assign it to the item.
    More information is here:
    http://sharepoint.stackexchange.com/questions/124999/how-to-set-field-type-choice-using-csom-c
    Best Regards
    Dennis Guo
    TechNet Community Support

  • I'm new to using iCloud and couldn't find the answer to: how to set my calendar to use the 24 hour clock. Thanks all.

    ?? I'm new to using iCloud and couldn't find the answer to: how to set my calendar to use the 24 hour clock. Thanks all.

    Thanks, David.  i thought i had it set correctly in Preferences in L&R. Being i was wearing my suspenders and belt at the same time i went back to L&R, cleared what was there and re-entered same to include unchecking and rechecking Time Format fgor 24-hour time.   It works now. Thanks again.

  • How to set up Oracle Alerts using Lotus mail

    Hi there
    Anyone there knows how to set up Oracle Alerts using Lotus mail

    Hi All. We are looking to install 64-bit Oracle 11g
    on 64-bit SUSE Linux Version 10 SP1. We would like to
    start up with a 16GB SGA and possibly increase to 50GB. How you calculate you need to start database with 16 GB SGA , and latter need to increase it to 50 GB ?
    Can anyone help us with a list of rpms and
    kernel settings we would need to get started? ThanksCheck following link for rmp and kernel parameters
    http://download.oracle.com/docs/cd/B19306_01/install.102/b15667/pre_install.htm#sthref85
    - Virag Sharma
    http://virag.sharma.googlepages.com
    http://viragsharma.blogspot.com

  • How to set XPoweredByHeaderLevel to NONE using wlst

    How to set XPoweredByHeaderLevel to NONE using wlst (by default the value is SHORT).
    I mean, I have created a domain using wlst.
    Now I want to set XPoweredByHeaderLevel of WebAppContainerMBean to NONE using wlst.
    It will be helpful if a sample python(Jython) script is provided.
    Please help.

    Here is a quick Jython example of how to do what you want:
    #assuming you already have correct imports for wlst module
    #connect to the AdminServer using proper credentials and host information
    wlst.connect(username, password, host_info)
    #extract domain name
    domainName = wlst.domainName
    #start an edit session and navigate to the WebAppContainerMBean
    wlst.edit()
    wlst.cd("/WebAppContainer/" + domainName)
    wlst.startEdit()
    #set the value of the XPoweredByHeaderLevel attribute to "NONE"
    wlst.cmo.setXPoweredByHeaderLevel("NONE")
    #activate the change
    wlst.activate()

  • How to set up several iPads using same apple id for classroom? The 1st one did great and the rest will not load any apps??

    iPad minis donated to a classroom. Teachers are trying to set up several iPads using the same apple id, but the apps will not load on any but the first iPad set up. What to do?

    Can you assign existing devices to a DEP account?  When DEP came out, you could not. 
    "This document offers guidance on some important considerations for getting the most out of your iOS deployment." Covers: Prepare your infrastructure.  Set up devices.  Configure and manage devices.  Deploy apps and content.  Plan for support. 
    https://www.apple.com/ipad/business/docs/iOS_Enterprise_Deployment_Overview_EN_F eb14.pdf
    Quick overview of zero-touch MDM enrollment, DEP
    http://www.apple.com/education/it/dep/
    Consider DEP, Device Enrollment Program. Use VPP, Volume Purchase Program.  Select an MDM, Mobile Device Management.  Read the Google doc below and nsdjoey write up.
    IT Resources -- ios & OS X -- This is a fantastic web page.  I like the education site over the business site.
    View documentation, video tutorials, and web pages to help IT professionals develop and deploy education solutions.
        Education
          http://www.apple.com/education/ipad/resources/
          scroll down after all the pretty picture.  Click on the words "For It".
        business site is:
           http://www.apple.com/lae/ipad/business/#browse-it-resources
          If necessary, scroll down until you see the Browse IT Resources button.  Click on button.
        MDM --  Mobile Device Management  
          For a comparison see this page:
          http://www.enterpriseios.com/wiki/Comparison_MDM_Providers
        VPP -- Volume Purchase Program
          http://www.apple.com/education/it/vpp/
    Joe Rowe's Excellent guides
    IT managers who are new to configurator and managing a cart of ios devices:
          https://docs.google.com/document/d/1SMBgyzONxcx6_FswgkW9XYLpA4oCt_2y1uw9ceMZ9F4/ edit?pli=1
             [ original announcement  -- https://discussions.apple.com/thread/4256735?tstart=0 ]
    Quick help presentation for students:
         https://docs.google.com/presentation/d/18937JdleX2gymtSb8zfbDczV-76BdR2DIfCV9eJi yOE/edit#slide=id.g1b776944_0_224

  • How to set value in selectOnemenu using binding

    hi all.
    i have bind htmlSelectOneMenu. it contains some value. I want to set or display a value after a process.
    How to change value
    i have tried using setValue method of both binding property and value property of htmlSelectOneMenu.
    Same issue is with InputTextArea. how to set value in it via code(RowSelectionListener of icefaces)

    Balaji wrote:
    hi all.
    i have bind htmlSelectOneMenu. it contains some value. I want to set or display a value after a process.
    How to change value
    i have tried using setValue method of both binding property and value property of htmlSelectOneMenu.
    Same issue is with InputTextArea. how to set value in it via code(RowSelectionListener of icefaces)The html SelectOneMenu is bound to a value of a backing bean. You have to change the value of that backing bean, not the JSF component directly. JSF takes care of updating the model, you shouldn't be touching it unless you know what you are doing.

  • How to set JMS clients to use JVM Invocation layer

    Hi,
    I'm not sure if this JBoss specific (but I'm assuming it's not) so I'll be asking it here. How can I set my JMS clients and Message-Driven Beans to use JVM Invocation layer since the clients and queues will reside in the same JVM.
    Thanks in advance.

    May be that explains why I couldn't successfully integrate ActiveMQ with JBoss. I was using the 3.0 version. I'll try again once I find the time.
    Anyway, do you know how to set JBoss JMS clients and MDBs to use JVM invocation or transport layer instead of UIL2?
    I'm not sure if what I've done is correct But here's what I've done.
    For jvm-il-service.xml, I changed the JNDI reference from "ConnectionFactory" to "JVMILConnectionFactory" since the default service uses "ConnectionFactory". Then I used that reference as my JNDI look up in my JMS client. I'm just not sure how to do this with MDBs. I think I should add an entry in the ejb descriptor file but I need someone to confirm.
    Thanks.

  • How to set the sampling interval using DAQ device?

    Now I have a capacity sensor and a 24 bit DAQ device (http://www.mccdaq.com/usb-data-acquisition/USB-2404-10.aspx).
    The DAQ device has the maximum sampling rate of 50kS/s . My question is how to set the interval of data collection. For example, if I set the sampling rate to 2000, in continuous sampling mode, I use DAQmx read.vi in a while loop and set the 'number of samples per channel' to 100. I want to plot these data as a function of time by using a XY graph and also save these data. So I add a 'Mean' function to get the average of the 100 samples per each loop (than means, there are 20 data output per second). But when I set the 'number of samples per channel' much smaller (to get more data per second), there are some problems. It seems that the program cannot read so many data and get the average at a higher frequency. I don't know where the problem is. All in all, how to collect data more frequently?Maybe I didn't express my question clearly. I'll upload a simple program later if necessary. Thanks.
    Solved!
    Go to Solution.

    Another question is in continuous mode, NI DAQmx uses Samples per channel to determine the buffer size. But according to the website you specified, it says if the acquisition is continuous (sample mode on the DAQmx Timing.vi is set to Continuous Samples), NI-DAQmx will allocate a buffer according to the following table. And for sample rate between 100 - 10,000 S/s, the buffer size is 10 kS. So if I set the sample rate to be 5000 S/s, and set the Samples per channel to be 20000, then what exactly the buffer size is? 20 kS or 10 kS?
    Thanks.

  • How to set JavaBean in JSP using JavaScript function

    Hello,
    When a user clicks on an item, I want to execute a JavaScript function. Within that function, I want to set specific JavaBeans (<jsp:setProperty... />) within my JSP page.
    Can anyone tell me how to do this or where I can find examples on how to set JavaBeans in a JSP page using JavaScript?
    Thanks.
    Pat

    try this:
    your.jsp
    <html>
    <SCRIPT>function buttonClick()
    {document.compform.submit();}
    </SCRIPT>
    <body>
    <form name=compform method=post action='your.jsp'>
    <%
    //write your code which you want to execute once the button is submitted
    String submit;
    submit=request.getParameter("mysubmit");
    if ((submit != null) && (! submit.equals("")))
    %>
    <input type=hidden name=mysubmit value="submit">
    <input type=button value=add onclick='buttonClick()'>
    </form></body></html>

  • How to set style !important using javascript??

    i can set an items width using js
    page_item.style.width = "400";
    how do i incorporate the "!important" flag in this statement?

    Hi Craig,
    Here's the only blurb I could find on this:
    http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/important.asp
    Notice the "Scripting: N/A" bit at the top.
    I use this site a lot - not because I'm particularly keen on MS/IE but because at the bottom of each entry you get confirmation of whether or not the setting/attribute/etc is standard or not and the pages are kept up to date.
    I have to say that this is only the second time I've come across someone trying to use this. The first time we just decided to leave it. I can see the importance of using it to stop someone overriding styling, but as I mentioned above, it is possible to create an entire script tag using javascript and, therefore, you can override it. Seems silly to me, but there you go!
    It would also be better, in my view, if they had used a better word for this setting - something like java's "final" - as, the first time I saw it I took it to mean "make more bolder" or "highlight it" or somesuch thing.
    Regards
    Andy

  • How to set a digital output using a switch on the operator interface?

    Hi, is it possible to set a digital output using a switch on the operator interface?
    Thanks,
    Mike

    Unfortunately, no.  It is on our hit list...
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Due to a divorce all my music is on my iTunes and iPod. I had to buy a new computer and want to transfer my Library to the new computer. How can I do this without using an external drive and use new computer just like I do the old one? Thanks.

    Due to divorce, all my music is on my iTunes and iPod. I have had to buy  a new laptop and want to transfer the library to the new computer before deauthorizing the old one. I dont want to have to use an external drive every time I want to listen to my music. How can I do this and have the same basic iTunes setup as before? HELP!

    You might consider itunes match for moving CDs you've copied into your itunes library if you dont have a way to use home sharing.
    iTunes match is an optional service offered by apple that costs about $25 a year.  It scans your music library and if it finds music that is already in apple's itunes catalog it'll automatically "unlock"/"store" these in the cloud for you.  Items that it does not find in the catalog it'll upload and store these in the cloud for you and you can download them on your devices.  See http://www.apple.com/itunes/itunes-match/

  • How do I install OSX10.5 using an external LaCie DVD Drive?

    I purchased a External LaCie Drive recommended by Apple Genius Bar to affordably replace a dead internal DVD drive on an older iMac G4. I bought a family package of Leopard OSX10.5 and installed 10.5 on my main computer (G5) using its internal drive. Trying to install it on my G4 desktop using the external drive, the install program will not boot the G4 holding down the C key during start up. How do you boot up with an external drive so you can download a new system?

    Thanks for entering this discussion. I booted with the option key down and it showed the only drive recognized for start up is my main HD even though I had the 10.5 Installation disk in the external DVD player burner.. That was the gist of my problem. My G4 will not recognize the USB External DVD player burner Drive for start up. Once booted up from my HD anything I put on the DVD drive is viewed- a CD, a DVD, an commercial movie, even OSX 10.5 Installation. But when I try to install it, it asks to "restart" but can't restart using a system other than the one on my HD which prevents the installation procedure from ocurring.
    The ATA CD/DVD disk drive in my G4 will only play CDs and it is not recognized booting up with option key down when the DVD installation disk is in it. Do you know if Apple supplies OSX 10.5 in CD format? or a system startup I could use in my internal drive on CDs that if booted would allow me to go right to Install. If I could start up on a CD formated system, I think I could then open the installation disk on my external DVD Player and install it.

Maybe you are looking for

  • Is there a way to use the common J-K-L keystrokes to play forward and backward in iMovie '11?

    Is there a way to use the common J-K-L keystrokes to play forward and backward in iMovie '11? Most editing apps--like Final Cut Pro, QuickTime Pro, Avid, etc.--use this convention. I find not having it slows editing down considerably?  I don't see it

  • How fix error 2009 on iTunes for iPod touch 3G

    Hello, I tried a several times restore the iPod but always appear this error message, I have the newest version of iTunes but problem continue. Somebody have any idea to restore this kind of issue? After this error the iPod is flashing and appear the

  • Key instead of Text in Results Object in Crystal Reports For Enterprise

    Hi All I recently developed a report in Crystal Reports for Enterprise and at some point afterwards the text description of the hierarchy used in the report was changed.  The Key remained the same, however this caused the report to crash.  The soluti

  • Error occured in PS

    Error when updating Idocs in Business Information Warehouse Diagnosis Errors have been reported in Business Information Warehouse during IDoc update: No status record was passed to ALE by the applicat System Response Some IDocs have error status. Pro

  • Naming Conventions and Other Standards

    Does anyone have a set of standards and conventions you use when publishing Captivate Flash files to the Web? I'm looking for a laundry list of settings to check while publishing? Thanks