How can i use or embed  the ' C'  language in java

thanks a lot friends for your suggestion on using 'c' language to implement the control of the keyboard ie. to prevent a key stroke of : ctrl+alt+delete keys from closing a running java application. i was advised that it won't be possible to implement this with java language, the use of 'C' language was suggested. i then wish to ask the following:
1. how can i use 'C'language in a java program and be able to compile to program so that the resultant program can help me prevent the closing of my java-application when the user of the application presses the following keys : ctrl+alt+delete. i don't even know the c language at all. how can i start and how can i combine the resultant code with java.
2. i'm thinking of creating an application that retrieves information from a database, like microsoft sql or oracle, and displays the resultant data from a table, say STUDENT TABLE, in a java application using the JTable class. i don't even know how to use this JTable but i've seen it used and know it will suit what i have in mind.
3. how can i make the table dynamic, ie. how can i make the table to immediately register / show the result of an update to the 'STUDENT' table in the database.
4. THANKS FOR YOUR HELP IN ADVANCE. i will most appreciate it if you can give me a sample code or a site where i download one. once again thanks.

Good luck disabling Ctrl+Alt+Del! I've read quite a bit about it, and at least on Windows 2000 (not sure about NT) or higher, disabling it is next to impossible. Problem is CAD is a system command, and the OS doesn't even send the keys to the active program. Ctrl+Alt+Del is handled by the GINA (Graphical Identification and Authentication) DLL installed on the system. You'll have to write and export the functions you need and change the GINA DLL used by the system to your own. Bear in mind that any small mistake in the dll can cause you to lose access to your computer if you haven't taken precautions!
On Windows 95/98, disabling Ctrl+Alt+Del is fairly easy as you just have to write some simple native code to fool the system that a password protected screensaver is running.
I've provided a link regarding winlogon and GINA here, but you've been forewarned!
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/security/winlogon_and_gina.asp

Similar Messages

  • I have an itunes account in Euro. I received iTunes and AppStore Gift Cards in $US. How can I use these on the same iWhatever?

    I have an itunes account in Euro. I received iTunes and AppStore Gift Cards in $US. How can I use these on the same iWhatever and keep together music/apps bought in the 2 currencies?
    Thx

    Barbara Hunt wrote:
    Would it be possible for me to download iTunes in Parallels and get the files into that and then onto my iPod?
    Yes, you can download iTunes for Windows using Parallels. If planning on making purchases here and/or authorizing already purchased tracks (from your Mac iTunes library), you are permitted to authorize five (5) computers as per iTunes Store terms of use, regardless of computing platform. No need to create a separate new iTunes Store account.
    However, judging from what you would like to do, your best bet would be to convert the WMAs to AAC/MP3 in iTunes-Windows (iTunes-Mac cannot import WMA files), and drag the files from the Parallels window to your desktop to add to the iTunes-Mac library. (as the iPod itself is currently linked to your iTunes-Mac library)
    Hope this helps,
    Steve

  • How can i use AME for the new OAF page.

    Dear all,
    I have developed a new OAF page and registered under Employee Self Service.
    How can i use AME for the approval process.
    Appreciate your ideas?
    zamora

    I will try to answer based on my experience of working with iProcurement and AME. It depends on how you want to make a call to AME , directly from OAF Page or from Workflow and your requirement. You didn't specify what you want to show the users on OAF Page and your business requirement.
    Before calling AME Engine from the OAF page or workflow, I guess you did already setup AME Transaction Type and it's Approval Groups, Conditions, Action Types and Rules. Do some testing from AME Business Analyst Test Workbench. Please note that, AME provides lot of PL/SQL API's that you have to call from your programs (java or workflow pl/sql)
    Let's look at the workflow and putting an OAF Page as notification.
    As Sameer said, you have kick-off workflow process from PR of CO and with in the workflow function, you make a call to AME Engine API's with the AME Transaction ID. This transactionId belongs to the AME Transsaction Type that you setup. Based on the rules setup, AME Engine generates list of approvers/approver and stores them AME Tables for that transactionId. Then, it sends a notification to the approver.
    In the workflow, where that notification is defined, in the message body you have to put an attribute(&XX_WF_FWK_RN) of type document/send. And this attribute will have the constant JSP:/OA_HTML/OA.jsp?OAFunc=XX_FUNC&paramId=-&DOCUMENT_ID-. This function is SSWA Jsp function that makes a web html call to your OAF Region.
    If your requirement is to just show the list of approvers on the OAF Page, you may have to call AME API diectly passing your AME TrasnactionId with other parameters. Then AME generates list of approvers and stores them in AME tables with each approver status. You can pickup those approvers using VO and show them on OAF Page.
    Hope this gives some idea.

  • How can I use some of the image i am working on to paint with? like if I wanted to give someone an extra eye in the forehead, ow could i then paint their own i in the forehead? I know there is a paint tool for that, i just can't find it ... :/

    How can I use some of the image i am working on to paint with? like if I wanted to give someone an extra eye in the forehead, ow could i then paint their own i in the forehead? I know there is a paint tool for that, i just can't find it ... :/

    It sounds like you are talking about the cloning tool?
    Tool looks like this:
    Then when selected you can change the size of the brush and using Alt (windows) and Command (Mac) to select your region you want to copy then start to create you cloned image.
    Hope this helps?

  • How can I use Method in the bean

    Hi every one
    please I made a method in for example employees entity "EmployeesImpl"
    the name of method getmax() it return number
    how can I use it at the bean
    for eaxmple when I want to press button give me the value from this method
    sorry Iam still beginner
    thanks in advance

    Thanks sir for your response
    my version
    oracle jdeveloper reales 1 (11,1,1,4,0)
    I use business component
    I make method
    this metod wrote at enitity "EmployeesImpl"
    public Number getMax() throws JboException
    PreparedStatement stat=null;
    ResultSet rs=null;
    try {
    String sql="select max(EMPLOYEE_ID)+1 from EMPLOYEES";
    stat=getDBTransaction().createPreparedStatement(sql, 1);
    rs=stat.executeQuery();
    if (rs.next()) {
    return new Number (rs.getInt(1));
    } catch (Exception e) {
    // TODO: Add catch code
    //e.printStackTrace();
    throw new JboException("error");
    } finally {
    try {
    rs.close();
    stat.close();
    } catch (Exception e) {
    // TODO: Add catch code
    //e.printStackTrace();
    // oracle.jbo.domain.Number
    return new Number (1);
    I made a jsf page
    and I put button at the page
    I want when press the button give me message contain the number which come from previous metod
    thanks my dear

  • I got an iPhone 4 while I was living in Japan. How can I use it in the states now that I live here?

    I was using an iPhone 4 while I was living in Japan. How can I use it in the states now that I live here? It is a perfectly good phone and I don't want to use it only as an iPod and camera.

    That's one option. The other is to sell it (you can probably get close to what you paid for it) or trade it in and get a new unlocked phone directly from an Apple store. That way you can use it in the US, and also in Japan when you return there.

  • How can I using functions implicit in dll file in java code ?

    How can I using functions implicit in dll file in java code ?
    I'm developing a program that interfacing with fingerprint hardware.
    I have the finger print already, and I have to the SDK that have all functions for managing this fingerprint.
    These SDK functions are represented in dll files.
    I want to know how can I use these functions in java code .
    I looked on this link of sun forums :
    http://forum.java.sun.com/thread.jspa?threadID=305171&messageID=1215613
    but I don't Understand the meaning of native code.
    Thanks for help.

    please please please please please please please please help me:
    After reading a lot of articles, tutorials, and overviews about JNI (Java Native Interface)
    I found that these steps
    1.     Develop the Java code
    2.     Compile the Java code to a class file
    3.     Generate the header file
    4.     Implement the native method
    5.     Create the shared library or DLL
    6.     Run the Java program
    Is the common steps in JNI development
    The most powerful link was
    http://java.sun.com/docs/books/jni/html/start.html
    and
    http://www.netbeans.org/kb/55/beginning-jni-part2.html
    and the pdf oh this link
    http://www.ibm.com/developerworks/edu/j-dw-javajni-i.html requiring IBM registration to download it.
    But I have already the DLL, and want to the stright forward way to use its functions by java code only.
    I don not to write any C++ code .
    Is this possible???????????????????????????????
    The name of these dll is �zkemsdk.dll�
    It developed by ZKSOFTWARE company for managing a finger print �NP1500A�of
    http://www.napcogulfsecurity.com/finger_print.asp
    thanks for help

  • How can I use comma in the return values of a static list of values

    Hi all,
    I want to create a select list (static LOV) like the following:
    Display Value / Return Value
    both are "Y" / 'YY'
    one is "Y" / 'YN','NY'
    I write the List of values definition is like this:
    STATIC:both are "Y"; 'YY',one is "Y";'YN', 'NY'
    However, it is explain by htmldb like this:
    Display Value / Return Value
    both are "Y" / 'YY'
    one is "Y" / 'YN'
    / 'NY'
    I tried using "\" before the ",", or using single or double quote, but all these do not work:(
    How can I use a comma in the return values?
    Thanks very much!

    "Better still, why not process the code of both Y with 2Y and one is Y with 1Y? "
    Could you please explain in detail? thanks! I am quite new to htmldb
    In fact I have a table which has too columns "a1" and "a2", both the values of these two columns are "Y" or "N". AndI want to choose the records that both a1 and a2 are "Y", or just one of a1, a2 is "Y".
    So I write the report sql like this:
    "select * from t1 where a1 || a2 in(:MYSELECTLIST) "
    Thus, I need to use "," in the LOV, since expression list in IN(,,,) using ",".
    Any other way to implement this?

  • How can I use airplay in the classroom?

    I want to use my iPhone in the classroom via airplay.  How do I do this without having to pay for an airport express?  Can I not just mirror the images wirelessly?

    Hi
    To use airplay you need an airplay capable device such as Apple TV and an iPhone that is 4s or higher, mine is only 4 so I can't access airplay. Once both the Apple TV and phone or iPad are connected to the same wireless notwork you will be able to mirror your screens.
    I hope this helps.

  • How can I use WebGLview in the iBook widget template in iAd producer?

    Recently I am trying to use iAd producer to create a iBook Author widget. What I need is to show a 3D .obj file in it. How can I do that? Is WebGL supported in the iBook Author template?

    Per iAd Producer help (https://help.apple.com/iadproducer/mac/5.0/index.html?localePath=en.lproj#/iade7 39fa44):
    Available in ad projects only.
    It was noted during an iBooks Author / iAd Producer seminar I attended that iBooks had not enabled WebGL content, so I encourage you to request support from Apple:
    http://www.apple.com/feedback/ibooks.html
    Alternatively, iBooks Author can present .obj files natively in their own widget:
    http://www.apple.com/ibooks-author/gallery.html#gallery-interactive-3d
    Obviously, the presentation is limited to the object and not any of the other interesting things you might be able to do with HTML and a WebGL object.
    Does that help?

  • What is User flag and how can i use it with the mails?

    Hi.
    i do wana know what is meant by user flag and how it is different from System flag.?
    can i use user flag to distinguish the mail. in my application?
    Thanks,
    Dushyant Kumar

    System flags are defined by the IMAP spec and every server has to support them.
    User flags are defined by the application. Different IMAP servers may have different
    limitations on user flags.

  • How can I use most of the features of firefox 5 without changing the appearance of my browser?

    I just downloaded the new version of firefox, and everything seems great except for the new layout and the change in general appearance. It is less streamlined and more distracting. I do not like the blocky look of the buttons or the lack of division between sections. Is there a way to keep the changes in the way firefox 5 works without the change in appearance?
    If there is not, how can I reload the old version of firefox until one I like better is released?

    See items 1- 10 in
    You can make Firefox 4.0.1 and '''Firefox 5.0''' look like Firefox 3.6.17, see numbered items 1-10 in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 look like 3.6)]
    I would try to stick with the silhouette gray/black buttons, but since it already bothers you at least stick to a theme or style limited to the ones on the toolbars (not the dialogs, which would be too wasteful) see item #48
    * [https://addons.mozilla.org/firefox/addon/strata-xp/ Strata XP] (Theme (buttons), 13.3KB), replaces silhouette toolbar icons with color. Icons are smaller and perhaps less distinguishable.

  • How can I use eCompanion in the Author mode with the visual editor in Firefox?

    Our college uses eCompanion, but the current platform on works with the visual editor in the XP version of the Windows operating system. Online Chat help said that using Firefox with the Xihna Here plugin was a successful work around. I am unable to find information about the above listed plugin. I need help.

    I have been experiencing similar problems with the HTML Editor and have managed to find an answer that should start to answer some of my questions. The Apex HTML Editor Standard is actually an HTML editor called FCKeditor. The FCKeditor has a Javascript API that can be found at http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/JavaScript_API. Unfortuately this doesn't seem to give the whole answer and I found more at http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:49607.
    I needed to get the text entered within my html editor standard (e.g. P1_MYTEXT) and use it within my javascript function. I did this by using the following script
    <script language="JavaScript" type="text/javascript">
    function showtext(){
    var oEditor = FCKeditorAPI.GetInstance('P1_MYTEXT');
    var editortext = escape(oEditor.GetXHTML(oEditor.FormatOutput));
    alert(editortext);
    </script>
    Hope this helps.
    Matthew

  • MacBook purchase in USA, can i use it with the french language ?

    Hello,
    If i buy a MacBook in USA, can i use it with french language.
    I'm gong in USA for holiday, and i may buy a Mac, but i dont Know if i can use it in France.
    Is warranty are the same.
    Thanks for your answer.
    By.

    Fcea11 wrote:
    Hello,
    If i buy a MacBook in USA, can i use it with french language.
    Yes, but it will be a QWERTY layout.  Warranty is the same.

  • HT1947 Lost Apple TV remote, how can I use app if the home sharing is not already enabled?

    I lost my Apple TV remote so I can't change the settings on the tv.  Is there a way to use the remote app on my ipad without having the actual hardware remote to program the tv?

    The remote app requires home sharing to be enabled and both to be on the same network. Since that's not the case you will have to purchase a new remote.

Maybe you are looking for

  • How to automate refresh of the existing Xcelsius 4.5 dashboard

    Hi, I have bunch of dashboards developed in 4.5. These dashboards are manually refreshed via updating the spreadsheets and importing and exporting to swf file. Now my company wants all this process to be automated. I would like to know more about aut

  • Upgrading to Production Version of XE

    Is it necessary to un-install XE-Beta prior to re-downloading the production version. Below is the version information for what I have currently installed. I didn't want to start the download process without first understanding what the install progr

  • Cant play flash games.

    For about a year now I have been trying everything. I am on a second computer since then but after a Windows 7 update I lost the ability to play some facebook games like war of mercenaries and poker games like pureplay poker. I have tried everything

  • OS X YOSEMITE

    I have upgraded to Yosemite on my Mac and now Photoshop CS5 has stopped working asking you to download the legacy JAVA SE6 runtime. Does anyone know where the link is to find this as I cannot find it on the Java website!

  • HP 7410 Drivers just Quit/Crash During Installation

    Hi all,       I have an HP All in One 7410 printer which I am trying to install the drivers for on Windows 7 Ultimate, 64 bit. The issue is that during "Applying Updates" the program just closes, there is no error message or anything. What is this ca