!?!?!?!? JavaBean- ActiveX. How can I do that? !?!?!?!?!

Hi.
I have to develop a java class that should work as a ActiveX-Component. It does not have to be visible (not yet).
Now I've read about those packager or wrapper things. Also, I've read about the plug-in. But actually, how do I have to use those tools, or wathever it is? Is there no step-by-step documentation? Do I have to install anything special? And why can I read things about ActiveX-Component bridges on the plug-in pages (it seems to me that it has not really something to do with a bridge)?
I tried to use "java sun.beans.ole.packager" but I get the error NoClassDefFoundError. Why? And why is this class not in the "JavaTM 2 Platform, Standard Edition, v 1.3API Specification"?
Yes, I'm new to Java. So I appreciate any help!
Thanks,
Robert

Okay, finally I found a tutorial (I've found with google - where is a link on the sun site?).
This could help me, if there was not the problem that I can not start the packager. I get the (boring by now) NoClassDefFoundError when I type "java sun.beans.ole.Packager". What is wrong there? Can anyone give me a hint?
Thanks,
Robert

Similar Messages

  • The hard disc of my laptop has crashed and i lost all the data. Now I want to take back up of my I phone and transfer contacts , messages and music back into my laptop , how can I do that. Pl help

    The hard disc of my laptop has crashed and i lost all the data. Now I want to take back up of my I phone and transfer contacts , messages and music etc back into my laptop , how can I do that. Also let me know how I can transfer the contacts into Windows contacts from I phone. Pl help

    Your content will only be where you put it.  It has always been very basic to always maintain a backup copy of your computer.
    You can transfer itunes purchases from your iphone: File>Device>Transfer purchases.
    You can import your pics taken with the iphone as you would with any digital camera.
    You can e-mail the other pics to yourself, they will never be of the original quality.
    You can out a unique contact and calendar entry on the computer.  You should get the option to merge the data when you sync.

  • I am receiving the data through the rs232 in labview and i have to store the data in to the word file only if there is a change in the data and we have to scan the data continuasly how can i do that.

    i am receiving the data through the rs232 in labview and i have to store the data in to the word or text file only if there is a change in the data. I have to scan the data continuasly. how can i do that. I was able to store the data into the text or word file but could not be able to do it.  I am gettting the data from rs232 interms of 0 or 1.  and i have to print it only if thereis a change in data from 0 to 1. if i use if-loop , each as much time there is 0 or 1 is there that much time the data gets printed. i dont know how to do this program please help me if anybody knows the answer

    I have attatched the vi.  Here in this it receives the data from rs232 as string and converted into binery. and indicated in led also normally if the data 1 comes then the led's will be off.  suppose if 0 comes the corresponding data status is wrtten into the text file.  But here the problem is the same data will be printed many number of times.  so i have to make it like if there is a transition from 1 to o then only print it once.  how to do it.  I am doing this from few weeks please reply if you know the answer immediatly
    thanking you 
    Attachments:
    MOTORTESTJIG.vi ‏729 KB

  • Async tcp client and server. How can I determine that the client or the server is no longer available?

    Hello. I would like to write async tcp client and server. I wrote this code but a have a problem, when I call the disconnect method on client or stop method on server. I can't identify that the client or the server is no longer connected.
    I thought I will get an exception if the client or the server is not available but this is not happening.
    private async void Process()
    try
    while (true)
    var data = await this.Receive();
    this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    How can I determine that the client or the server is no longer available?
    Server
    public class Server
    private readonly Dictionary<IPEndPoint, TcpClient> clients = new Dictionary<IPEndPoint, TcpClient>();
    private readonly List<CancellationTokenSource> cancellationTokens = new List<CancellationTokenSource>();
    private TcpListener tcpListener;
    private bool isStarted;
    public event Action<string> NewMessage;
    public async Task Start(int port)
    this.tcpListener = TcpListener.Create(port);
    this.tcpListener.Start();
    this.isStarted = true;
    while (this.isStarted)
    var tcpClient = await this.tcpListener.AcceptTcpClientAsync();
    var cts = new CancellationTokenSource();
    this.cancellationTokens.Add(cts);
    await Task.Factory.StartNew(() => this.Process(cts.Token, tcpClient), cts.Token, TaskCreationOptions.LongRunning, TaskScheduler.Default);
    public void Stop()
    this.isStarted = false;
    foreach (var cancellationTokenSource in this.cancellationTokens)
    cancellationTokenSource.Cancel();
    foreach (var tcpClient in this.clients.Values)
    tcpClient.GetStream().Close();
    tcpClient.Close();
    this.clients.Clear();
    public async Task SendMessage(string message, IPEndPoint endPoint)
    try
    var tcpClient = this.clients[endPoint];
    await this.Send(tcpClient.GetStream(), Encoding.ASCII.GetBytes(message));
    catch (Exception exception)
    private async Task Process(CancellationToken cancellationToken, TcpClient tcpClient)
    try
    var stream = tcpClient.GetStream();
    this.clients.Add((IPEndPoint)tcpClient.Client.RemoteEndPoint, tcpClient);
    while (!cancellationToken.IsCancellationRequested)
    var data = await this.Receive(stream);
    this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    private async Task Send(NetworkStream stream, byte[] buf)
    await stream.WriteAsync(BitConverter.GetBytes(buf.Length), 0, 4);
    await stream.WriteAsync(buf, 0, buf.Length);
    private async Task<byte[]> Receive(NetworkStream stream)
    var lengthBytes = new byte[4];
    await stream.ReadAsync(lengthBytes, 0, 4);
    var length = BitConverter.ToInt32(lengthBytes, 0);
    var buf = new byte[length];
    await stream.ReadAsync(buf, 0, buf.Length);
    return buf;
    Client
    public class Client
    private TcpClient tcpClient;
    private NetworkStream stream;
    public event Action<string> NewMessage;
    public async void Connect(string host, int port)
    try
    this.tcpClient = new TcpClient();
    await this.tcpClient.ConnectAsync(host, port);
    this.stream = this.tcpClient.GetStream();
    this.Process();
    catch (Exception exception)
    public void Disconnect()
    try
    this.stream.Close();
    this.tcpClient.Close();
    catch (Exception exception)
    public async void SendMessage(string message)
    try
    await this.Send(Encoding.ASCII.GetBytes(message));
    catch (Exception exception)
    private async void Process()
    try
    while (true)
    var data = await this.Receive();
    this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    private async Task Send(byte[] buf)
    await this.stream.WriteAsync(BitConverter.GetBytes(buf.Length), 0, 4);
    await this.stream.WriteAsync(buf, 0, buf.Length);
    private async Task<byte[]> Receive()
    var lengthBytes = new byte[4];
    await this.stream.ReadAsync(lengthBytes, 0, 4);
    var length = BitConverter.ToInt32(lengthBytes, 0);
    var buf = new byte[length];
    await this.stream.ReadAsync(buf, 0, buf.Length);
    return buf;

    Hi,
    Have you debug these two applications? Does it go into the catch exception block when you close the client or the server?
    According to my test, it will throw an exception when the client or the server is closed, just log the exception message in the catch block and then you'll get it:
    private async void Process()
    try
    while (true)
    var data = await this.Receive();
    this.NewMessage.Invoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    Console.WriteLine(exception.Message);
    Unable to read data from the transport connection: An existing   connection was forcibly closed by the remote host.
    By the way, I don't know what the SafeInvoke method is, it may be an extension method, right? I used Invoke instead to test it.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Hello sorry but im having a problem with my apple id it appears that i cant download nothing i dont know why but when im going to download something example facebook it appears de app that is charging and then desapere how can i fix that?

    Hello sorry but im having a problem with my apple id it appears that i cant download nothing i dont know why but when im going to download something example facebook it appears de app that is charging and then desapere how can i fix that?

    Hi there,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    -Griff W.

  • Both my husband and I have both downloaded the new IOS 8.2 and now he is getting my text messages that are only addressed to me  He is a 5 and I have a 6.  How can I fix that?

    My husband and I have both downloaded the new IOS 8.2 and now he is getting my text messages that are only addressed to me.  He has a 5 and I have a 6. It is like we are synced together.  How can I fix that?

    Is he getting your SMS messages (green) or your iMessages (blue). If SMS message, go to Settings>Messages and turn off Text Forwarding. If blue, are you sharing an Apple ID? You should each have your own.

  • Need help to import and syncronize HCM pagelets with Interaction Hub, how can I do that?

    Hi,
    I need help to import and synchronize HCM pagelets with Interaction Hub, how can I do that? The default page "Select Remote Content" of the WorkCenter "Unified Navigation WorkCenter" is not working as well, when I run the import/sync button I get the following error message:
    Integration Gateway: General Connection Failed (158,10836)
    This error is thrown when there is no valid response.
    Possible errors include:
    Bad gateway URL
    Sync Service Timeout set and Service actually timed out.
    Java exception thrown - Check Application Server for possible Java exception

    Do you have integration configured between the two systems?  It sounds like you don't from the error.  Here is a walk-through on setting up Unified Navigation although it assumes you have integration already working.  If you haven't done that, it's documented a hundred different places.
    http://remotepsadmins.com/2013/03/04/peoplesoft-unified-navigation-with-peoplesoft-applicatations-portal-interaction-hub/

  • How do I know where my account is registered and how can I change that?

    Hi,
    Whenever I try to pay Acrobat XI, I get the message that the country of my registration is wrong. How do I know, in which country my account is registered and how can I change that?
    It seems, that my account is registered in Austria, but I work now in the Netherlands. What is there to do?
    Thanks for your help
    Message was edited by: Michael Koller

    Hi Michael ,
    You can log in to Adobe.com with your credentials and you can change your region or country from the option "Change Region" at the bottom left of the page .
    From there you can change your region and select the preferred one and make the payments.
    Hope this will work .
    Regards
    Sukrit Dhingra

  • HT201441 Yes i've bought an iphone 5 from the thirrd or fourth person who had then the last one they dont have Icloud ID and password so i can not active the iphone 5 can you tell me how can i do that please if not that iphone will be nothing i had paid 5

    Dear Someone who care
    Please do contact with the really owner of the Iphone i was bought from someone ( the fourth or fifth user) who dont have really Icloud ID and password
    Please let me know how can i do that
    Many thanks

    There is nothing I or anyone can do to help you. You will have to find the previous owner. There is no other option.

  • I have two email accounts on my MacBook Pro and iPhone.  My iPhone continues to send messages from either account that I choose.  My MacBook says that one of my email account outgoing mail servers is Offline?  How can I get that working again?

    I have two email accounts on my MacBook Pro and iPhone that I have been using for a few years.  My phone works perfectly for both accounts.  Now one of my email accounts on the MacBook says the outgoing server is Offline?  How can I fix that so that both accounts send and receive email.  I have tried various things in settings but nothing seems to work. 

    Hi Rochdr,
    You can use the following article to help you address this issue with your mail account in OS X:
    OS X Mail: Troubleshooting sending and receiving email messages
    http://support.apple.com/kb/ts3276
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • HT204053 I have two Apple ID's and I would like to merge them into one Apple ID only and move Apps, Music, Movies etc to to the one Apple ID. How can I do that?

    I have two Apple ID's and I would like to merge them into one Apple ID only and move Apps, Music, Movies etc to to the one Apple ID. How can I do that?

    It is not possible to merge Apple IDs.

  • HT1918 i have two apple ids and would like to merge them, how can i do that?

    I have two Apple ID's and need to merge them, how can I do that?

    Apple IDs can't be merged or deleted.
    (87126)

  • When I edit a song in itunes (i.e change the year) on purchased songs, the next time I return to itunes, the information has reverted back to the original information. How can I change that?

    When I edit a song in itunes (i.e change the year) on purchased songs, the next time I return to itunes, the information has reverted back to the original information. How can I change that?
    When I purchase ITunes music, and it is a song from a Greatest Hits album, the Year of the song shows the year the CD was released and not the year the song was released (i.e. a song may be from 1986, but the Greatest Hits album was released in 1999, so my songs in ITunes show 1999).    So, I go into each of those songs and change it to the year that I want to be displayed. As long as I don't exit out of ITunes, it will show the year that I changed it to (i.e. the 1986 year in this case). But if I exit out of ITunes and then return to ITunes, the year reverts back to 1999. The same happens if I change the genre of a song from, say 'Pop' to 'Alternative', it will revert back the next time I log in.
    Oddly enough, as soon as I right-click on that song to change it back, the year/genre that I had entered returns.
    How can I make it so my changes are permanently displayed as I want them?  This is pretty annoying when I try to find a song on my Ipod under a certain genre, but it doesn't appear in that genre because the incorrect information gets synched to the Ipod.

    Make sure that these two options in Edit > Preferences > Store are turned off:
    Then exit iTunes and open it up again.  Your metadata entries should then be persistent - with these options checked iTunes will be comparing what you have with the information held in the iTunes Store, and will overwrite with the latter for Store purchases (and if you have iTunes Match).  If you have any iOS devices you should also turn off Show All Music under Settings > Music.

  • I am able to download all the album I bought from itune store. The album contains 13 songs but 4 of them would not load up into my ipod. How can I fix that?

    I am not able to download all the album I bought from itune store. The album contains 13 songs but 4 of them would not load up into my ipod. An error code will pop up notified me that "my Ipod cannot convert some of the file" How can I fix that?

    Hi there mayway3000,
    You may find the troubleshooting steps in the article below helpful.
    iPod does not play content purchased from the iTunes Store
    http://support.apple.com/kb/TS1510
    -Griff W.

  • I am putting together a slide show using iphoto and I wanted to add a description on each slide/photo. How can I do that? Also on the choice of music for the silde show, if the slide show is longer than one song can you chose a different song for backgrou

    I am putting together a slide show using iphoto and I wanted to add a description on each slide/photo. How can I do that? Also on the choice of music for the silde show, if the slide show is longer than one song can you chose a different song for background music?

    This might help
    http://www.apple.com/findouthow/photos/#slideshow
    Regards
    TD

  • I have an Iphone 5 and want to organize all my contacts on line vs on the phone, how can I do that.

    1) I have an Iphone 5 and want to organize all my contacts /emails on line vs on the phone, how can I do that?  It seems somehow I have about 10 listings for one person - I think some came when I hit facebook to sync - which was a mistake I dont want to share my contacts.
    Also easier to type in new addresses on an computer vs the Iphone.
    2) I have a book on my itunes from my Ipad that is not downloaded to my Iphone.
    3) My Itunes identity on is saying it is my Ipod, how can I have it seperate for Iphone, Ipad and Ipod in Itunes?
    Thank you!!

    I went into the cloud on phone it was on. Turned off and back on. Now i have 6 of one contactDeleted face books also incase that was the issue.  I went to Itunes and couldnt find contacts - now I wonder it is is my outlook email too adding information as I am seeing contacts that are only on my outlook emails.

Maybe you are looking for

  • Installing CLOB remotely

    Hi, I have a SQL scripts inserting data into a table contains CLOB. In this scripts, I am using DBMS_LOB package. But the problem is that I can only exec this scripts locally, because it use DIRECTORY and it restricts in local mache only. Is there an

  • Adapter Engine monitoring doesn't show messages

    I have 2 scenarios 1. Synch HTTP -> Synch RFC 2. Synch HTTP -> Synch BPM -> Synch RFC In case 1 Adapter Engine monitoring shows all messages correctly In case 2 there is no entry for HTTP Sender system only BPM->SAP System. Could you help me why RWB

  • XML Output capture to DB?

    Here is a post that just created in the Captivate forum. Since most users of this forum ARE programmers, perhaps I could get some answers from a CF solution perspective- Greetings The discussion around getting Captivate "Quiz" results to populate a d

  • Capturing Low Res?

    Im new to Final Cut... i have used Avid for years... but i am now trying out Final Cut Studio... so far so good... but i have one problem. Is there anyway to capture low res footage? I am shooting on a Canon HV20 mini dv tape... and when i capture sa

  • Epson printing issues

    I'm not sure exactly where this problem lies... OS, Epson or Adobe... but all works properly with Lightroom 3 and 4.  Works with Photoshop CS4 but not CS5, 5.1 and now CS6 beta. The issue is saved printer settings with any of several late model Epson