Need help with coding: getting an error

Hi there everyone, this would be my first post here, and my first post on any forum related to programming. Im taking a highschool computer science course, in which we are learning J2SE. I have read ahead a bit, and am having trouble with the following program:
//=============================================================================
//Converts US Dollars To Euros
//=============================================================================
public class currencyconverter1
     private Double dollarRate = 1.00000;
     private Double conversionRate = 1.22990;
     private Double dollarAmount = 0.0;
     private Double euroAmount = 0.0;
          public static void main convert Double(euroAmount)
               dollarAmount = euroAmount*conversionRate;
               System.out.println(dollarAmount);
               return euroAmount
               }JCreator is telling me I need a '(' on the "main" line. I simply cannot find where this is needed. Can anyone help, or recommend another forum where I may find some help? Thanks in advance!

Thanks for the reply... I tested out your code, and it didn't compile, so after playing with it, heres what I got to compile (please read past the code):
public class currencyconverter1
     private Double dollarRate = 1.00000;
     private Double conversionRate = 1.22990;
     private Double dollarAmount = 0.0;
     private Double euroAmount = 0.0;
     public Double convert (Double euroAmount)
          dollarAmount = euroAmount * conversionRate;
          System.out.println(dollarAmount);
          return euroAmount;
}It gives me the following message when I execute the .exe: "Exception in thread "main" Java.Lang.NoSuchMethodError: Main" ....
Does anyone know what the deal is and can explain wnat my source code error is? Thanks again in advance.

Similar Messages

  • I need help with Mavericks Server: an error occurred while configuring your server.  I

    I need help with Mavricks Server, I get the following: an error occurred while configuring your server.  I have deleted the Server.app several times along with the associated com.apple and Server folder.  Any more help would be appreciated.

    There are usually some log files around, related to the installation.  See if Console.app (Applications > Utilities) shows anything relevant to the error, when you've done a fresh install of Server.app and tried the configuration.

  • Need help with coding for HTML5 Video with Flash fallback

    Hello, need help with my coding in Dreamweaver CS5.5 for HTML5 video with Flash fallback. Not sure if the coding is correct. Do I need anything else Javascipt etc?

    The reason you see a blank page is because it's trying to load the file that is pretty humungous and there is no preloader. So, you see a white screen till it complets loading.
    Also, the reason why its loading a SWF file and not any of HTML5 type video is because your doctype declaration is XHTML1.0 and not HTML5.
    Change the 1st line in your .html file from:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    to:
    <!DOCTYPE html>
    Then see if your HTML5 video types load with <video> tag.

  • Need help with Acrobat Xi installation error

    Here is the error I am getting...
    Exit Code: 7 Please see specific errors below for troubleshooting. For example,  ERROR:   -------------------------------------- Summary --------------------------------------  - 0 fatal error(s), 3 error(s)    ----------- Payload: Acrobat Professional 11.0.0.0 {23D3F585-AE29-4670-8E3E-64A0EFB29240} -----------  ERROR: Error 1311.Source file not found: C:\Windows\Installer\Data1.cab.  Verify that the file exists and that you can access it.  ERROR: Install MSI payload failed with error: 1603 - Fatal error during installation. MSI Error message: Error 1311.Source file not found: C:\Windows\Installer\Data1.cab.  Verify that the file exists and that you can access it.  ERROR: Third party payload installer AcroPro.msi failed with exit code: 1603  ------------------------------------------------------------------------------------- "Windows 7.  Have tried installation several times.  Need help now, considering I am paying for this service!

    Thank you for the replies. 
    Jeff, I will check that link and try what is suggests.
    Bill, to answer your questions...
    1. This is a CC installation.
    2. Yes, I am logged in as the admin and I have no anti-virus other than Microsoft Essentials enabled.
    3. This is a download installation.
    To give even more info that might help, I am using a Windows 7 machine with more than enough capability to run CC.  I had installed Photoshop, Illustrator, among other apps successfully.  I then tried the Acrobat XI installation.  Acrobat XI downloaded and extracted, but when it started installing it froze around 50% and then I received the installation failed error from Windows.  Once that was confirmed the CC install progress finishes but shows failure.  The More Info reveals the error I pasted in above.  Afterward, none of the CC apps worked properly and had to be uninstalled.  So, next I installed the CC downloader and tried to start installing Acrobat XI first but the same error occurred.  That's when I got frustrated and posted my original message.  My limited knowledge leads me to think the error issue lies in the AcroPro.msi file but I have no idea what that is or how to find, correct, or install it.
    Thanks again for any help you can provide.  I'm really frustrated that I'm paying for something that I can't use.

  • Need help with Muse PHP (JavaScript error...email)

    Hey all....
    I searched and did not see an answer for this:
    I am exporting my Muse file to HTML and keep getting this error for my Contact Us page (email issue):
    "JavaScript Error:Form PHP Script is missing from web server, or PHP is not configured correctly or your web host provider.  Check if the form PHP script as been uploaded correctly, then contact your hosting provider about PHP configuration."
    What PHP version does MUSE support....5.1?  I contacted HostGator and they just updated my PHP to 5.5 and asked me what PHP MUSE needs. HostGator says 5.1 is old and they do not support 5.1. Can anyone help me?
    Also, when I try to check PHP with: http://my-site.com/scripts/form_check.php I just get an "oops" screen, but does not verify my PHP.????
    Thanks

    Difficult to debug without the URL for the form page on your site...
    Are you using the built-in File > Upload to FTP Host in Muse? Or did you use File > Export as HTML and uploaded with some other tool?
    Does http://<insert your domain name here>/scripts/museutils.js load anything? Or does it also give an "oops" screen? If it gives an "oops" screen, that would imply not all the exported files were uploaded to your server, they weren't uploaded to the correct location, or the permissions aren't set correctly.
    For forms Muse only requires PHP 4.1 or later. PHP version is not the issue.

  • Need help...getting an error about obsolete method

    I'm getting an error on two of my logical tables that i created. I'm using a formula to calculate the Required Execution Rate and Actual Execution Rate. When i try to check in my code i get an error; [38083] The Attribute 'Required Execution Rate' defines a measure using an obsolete method.' Please see formula below:
    COUNT(MQCREPORT.HPQC_TEST_SET.TC_TEST_ID) / ( TIMESTAMPDIFF( SQL_TSI_DAY , TIMESTAMPADD( SQL_TSI_DAY , 7 - DAYOFWEEK(MQCREPORT.HPQC_REL_CYCL.REL_START_DATE), MQCREPORT.HPQC_REL_CYCL.REL_START_DATE), TIMESTAMPADD( SQL_TSI_DAY , 7 - DAYOFWEEK(MQCREPORT.HPQC_REL_CYCL.REL_END_DATE), MQCREPORT.HPQC_REL_CYCL.REL_END_DATE)) / 7 * 5 + CASE 7 - DAYOFWEEK(MQCREPORT.HPQC_REL_CYCL.REL_START_DATE) WHEN 6 THEN 5 ELSE 7 - DAYOFWEEK(MQCREPORT.HPQC_REL_CYCL.REL_START_DATE) END - CASE 7 - DAYOFWEEK(MQCREPORT.HPQC_REL_CYCL.REL_END_DATE) WHEN 6 THEN 5 ELSE 7 - DAYOFWEEK(MQCREPORT.HPQC_REL_CYCL.REL_END_DATE) END ) * 1.0
    Can somebody tell me how and why i'm getting this error? And also how to resolve this error for both column?
    THanks a million for all your help.
    Cedric

    Thanks Sandeep. I replace the count with RCOUNT and i'm not getting the error. Can you tell me what did this do by adding Rcount to my formula? Also i'm still getting the error with my actual execution rate. THis is a different formula. The actual execution rate is below:
    SUM( CASE WHEN MQCREPORT.HPQC_TEST_SET.TC_EXEC_STATUS = 'Passed' OR MQCREPORT.HPQC_TEST_SET.TC_EXEC_STATUS = 'Failed' THEN 1 ELSE 0 END ) / ( TIMESTAMPDIFF( SQL_TSI_DAY , TIMESTAMPADD( SQL_TSI_DAY , 7 - DAYOFWEEK(MQCREPORT.HPQC_REL_CYCL.REL_START_DATE), MQCREPORT.HPQC_REL_CYCL.REL_START_DATE), TIMESTAMPADD( SQL_TSI_DAY , 7 - DAYOFWEEK( CURRENT_DATE ), CURRENT_DATE )) / 7 * 5 + CASE 7 - DAYOFWEEK(MQCREPORT.HPQC_REL_CYCL.REL_START_DATE) WHEN 6 THEN 5 ELSE 7 - DAYOFWEEK(MQCREPORT.HPQC_REL_CYCL.REL_START_DATE) END - CASE 7 - DAYOFWEEK( CURRENT_DATE ) WHEN 6 THEN 5 ELSE 7 - DAYOFWEEK( CURRENT_DATE ) END ) * 1.0

  • Need Help with my School Assignment - Error Message

    Hey guys,
    I'm doing a school assignment for my Object Oriented Java programing class. Here's the assignment requirements:
    "There are five kinds of flowers, and their associated costs. Create an array of strings that holds the names of these flowers. Create another array that holds the cost of each corresponding flower. Your program should read the name of a flower and the quantity desired by a customer. Locate the flower in the name array and use that index to find the cost per stem in the cost array. Compute and print the total cost of the sale. Write your solution in one class: FlowerCounterArray.
    The solution should implement the following two methods:
    - addOrder(String flowerName, int quantity) to add to the order. This is in addition to reading from the terminal.
    - printTotal() to print out the total cost to the terminal."
    I wrote up some code so far and I want to test it, but I am getting this error: "']' expected" on the newFlower[0] = new FlowerCounterArrays("petunia", 0.50]; line near the end of the code.
    Here's my code:
    public class FlowerCounterArrays {
        private String flowerName;
        private double price;
        public void addOrder(String flowerName, int quantity) {
            for (FlowerCounterArrays flower : newFlower) {
                if (flower.equals(flowerName)) {
                    total = price * quantity;
                    System.out.println("The price for " + quantity + " " + flower + "(s) is " + total);
                else {
                    System.out.println("Unfortunately we do not carry that type of flower here.");
        public void printTotal() {
            System.out.println(total);
        FlowerCounterArrays[] newFlower = new FlowerCounterArrays[5];
        newFlower[0] = new FlowerCounterArrays("petunia", 0.50];
        newFlower[1] = new FlowerCounterArrays("pansy", 0.75);
        newFlower[2] = new FlowerCounterArrays("rose", 1.50);
        newFlower[3] = new FlowerCounterArrays("violet", 0.50);
        newFlower[4] = new FlowerCounterArrays("carnation", 0.80);
    }Thanks for the help guys! Much appreciated!
    Edited by: he4dhuntr on Oct 14, 2008 1:33 PM

    Ok. I'm kind of new to all this, so some stuff I'm not 100% clear on.
    I get what you're saying though. I put the array into the method.
    Although now I get a new errod: "cannot find symbol - constructor FlowerCounterArrays(java.lang.String,double)"
    I get this error on my newFlower[0] = new FlowerCounterArrays("petunia", 0.50); line
    Here's my new code:
    public class FlowerCounterArrays {
        private String flowerName;
        private double price;
        public void addOrder(String flowerName, int quantity) {
            FlowerCounterArrays[] newFlower = new FlowerCounterArrays[5];
            newFlower[0] = new FlowerCounterArrays("petunia", 0.50);
            newFlower[1] = new FlowerCounterArrays("pansy", 0.75);
            newFlower[2] = new FlowerCounterArrays("rose", 1.50);
            newFlower[3] = new FlowerCounterArrays("violet", 0.50);
            newFlower[4] = new FlowerCounterArrays("carnation", 0.80);
            for (FlowerCounterArrays flower : newFlower) {
                if (flower.equals(flowerName)) {
                    total = price * quantity;
                    System.out.println("The price for " + quantity + " " + flower + "(s) is " + total);
                else {
                    System.out.println("Unfortunately we do not carry that type of flower here.");
        public void printTotal() {
            System.out.println(total);
    }Thanks for the help so far!

  • Need help with java.lang.UnsatisfiedLink Error

    hello,
    i'm trying to access a channel using Java Channel Access(JCA) on HP UX
    [please ref for documentation: http://www.aps.anl.gov/xfd/SoftDist/swBCDA/jca/doc/index.html]. I set the java.library.path to the directory where my JCA libraries are. But I get the following error and finally core dump when I try to load the library, libjca.sl or even when I comment out the lines that load the library.
    Any help would be appreciated. Thanks, Srik.
    My Source code looks like this:
    try{
    System.out.println(System.getProperty("java.library.path"));
    try{
         //System.loadLibrary("libjca.a");
         System.loadLibrary("libjca.sl");
    }catch(UnsatisfiedLinkError ule){
         ule.printStackTrace();
    Ca chanAcc = new Ca();
    chanAcc.init();
    System.out.println("Hello: Connected to Channel");
    PV procvar = new PV("ioc:heartbeat");
    chanAcc.flushIO();
    String host = procvar.hostName();
    System.out.println("Host: "+host);
    procvar.clear();
    chanAcc.exit();
    }catch(Exception e){
    e.printStackTrace();
    Error:
    java.lang.UnsatisfiedLinkError: no libjca.sl in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1419)
    at java.lang.Runtime.loadLibrary0(Runtime.java:788)
    at java.lang.System.loadLibrary(System.java:832)
    at ChAccess.main(ChAccess.java:12)
    aCC runtime: Error 215 from shl_findsym(/cs/prohome/lib/libcsue.sl.v5,_shlInit)
    /usr/lib/dld.sl: Unresolved symbol: typeid__XTQ2_3std9exception_ (data) from /cs/prohome/lib/libcsue.sl.v5
    /usr/lib/dld.sl: Unresolved symbol: Cclassic_table__Q2_3std5ctypeXTc_ (data) from /cs/prohome/lib/libcsue.sl.v5
    /usr/lib/dld.sl: Unresolved symbol: __nullref__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__ (data) from /cs/prohome/lib/libcsue.sl.v5
    /usr/lib/dld.sl: Unresolved symbol: __ct__Q3_3std8ios_base4InitFv_1 (code) from /cs/prohome/lib/libcsue.sl.v5
    /usr/lib/dld.sl: Unresolved symbol: Cfire_event__Q2_3std8ios_baseFQ3_3std8ios_base5eventb (code) from /cs/prohome/lib/libcsue.sl.v5
    /usr/lib/dld.sl: Unresolved symbol: __dt__Q2_3std9exceptionFv (code) from /cs/prohome/lib/libcsue.sl.v5
    /usr/lib/dld.sl: Unresolved symbol: Cinitfacet__Q2_3std5ctypeXTc_FRCQ2_3std6locale (code) from /cs/prohome/lib/libcsue.sl.v5
    /usr/lib/dld.sl: Unresolved symbol: Cvformat__Q2_3std14__rw_exceptionFiPd (code) from /cs/prohome/lib/libcsue.sl.v5
    /usr/lib/dld.sl: Unresolved symbol: do_out__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCwT2RPCwPcT5RPc (code) from /cs/prohome/lib/libcsue.sl.v5
    /usr/lib/dld.sl: Unresolved symbol: __dt__15_HPMutexWrapperFv (code) from /cs/prohome/lib/libcsue.sl.v5
    /usr/lib/dld.sl: Unresolved symbol: do_in__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCcT2RPCcPwT5RPw (code) from /cs/prohome/lib/libcsue.sl.v5
    /usr/lib/dld.sl: Unresolved symbol: __dt__Q3_3std8ios_base4InitFv (code) from /cs/prohome/lib/libcsue.sl.v5
    ABORT instruction (core dumped)

    hi jonas..
    thanks for the reply. actually I set SHLIB_PATH on HP UX which is the equivalent of LD_LIBRARY_PATH and i'm trying to load the library using
    System.loadLibrary(..) and i type out the path using System.getProperty to make sure that the path to the library is included.
    but still i'm getting the error.
    i'd appreciate any suggestions.
    thanks in advance.

  • Help with Coding and Warning/Error Messages

    Can someone help me with Java Language to get SAP to enter through soft warnings and errors?
    I am working to record/write a script to change orders but am hitting a road block when error messages pop up. I need to get it to enter through if the message pops up or move to the next step if not... there can be 1 error or multiples depending on the number line items.
    THANKS!

    I'm guessing that your computer is too slow to record
    real-time audio.
    Of itself it should be fine - I still use a G3 desktop to record stereo with no problems at all - though GB may add an overhead. Still, this shouldn't be happening.
    If you have other tracks playing
    while you are recording this could be an issue,
    especially if there are a lot playing.
    Yes...
    If this is the
    case then you can lock the tracks playing by pressing
    the lock icon.
    This won't make any difference to audio tracks, only to MIDI tracks, and in that case it reduces demands on the processor but increases demands on the disk - which appears to be the trouble in the first place.
    I agree that you should consider
    getting an external hard drive. You can set the
    record path to the external hard drive
    Since laptop disks are usually slower than external ones this might help - particularly if your internal drive is very full.
    which will
    free up working memory to your computer.
    No it won't, but it will take the strain off the internal disk, if that's what you mean. The memory might be an issue, which would be resolved by installing more RAM if possible.

  • I need help with solutions to Licensing error 150:30.

    I transferred Elements with Time Machine from a Mac OS 10.6 machine to a newer Mac with 10.9.4. I've printed the 5 solutions, but can't get through them without help; I'm 73!

    You can't do that, ever. Elements is not a tidy package like most mac apps and you can never move an installed copy. You must always install from scratch on a new machine.By trying to move it you've made extra work for yourself. You will need to download and run this:
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    after which you can go around and manually delete what you can find in the applications folder, hard drive>library>application support>adobe, and your username>library>preferences.
    Then install from your original media.

  • Need help with coding

    Hi
    I created a Flash photo gallery in Photoshop CS2, but when I go to load the page the following page comes up first:
    It asks me to upgrade my Flash Player. Followed by a line saying: Already have Flash Player. Click here if you already have Flash Player 6 installed.
    Hit the link and there is my gallery.
    I'm hoping there is a simple bit of code that needs deleting.  I have enclosed the code from the flashobject.js file, does anyone know what needs tweaking to resolve this issue?
    Thanks
    * FlashObject embed
    * by Geoff Stearns ([email protected], http://www.choppingblock.com/)
    * v1.0.7 - 11-17-2004
    * Create and write a flash movie to the page, includes detection
    * Usage:
    *    myFlash = new FlashObject("path/to/swf.swf", "swfid", "width", "height", flashversion, "backgroundcolor");
    *    myFlash.addParam("wmode", "transparent");                     // optional
    *    myFlash.addVariable("varname1", "varvalue");                  // optional
    *    myFlash.addVariable("varname2", getQueryParamValue("myvar")); // optional
    *    myFlash.write();
    FlashObject = function(swf, id, w, h, ver, c) {
        this.swf = swf;
        this.id = id;
        this.width = w;
        this.height = h;
        this.version = ver || 6; // default to 6
        this.align = "middle"; // default to middle
        this.redirect = "";
        this.sq = document.location.search.split("?")[1] || "";
        this.altTxt = "Please <a href='http://www.macromedia.com/go/getflashplayer'>upgrade your Flash Player</a>.";
        this.bypassTxt = "<p>Already have Flash Player? <a href='?detectflash=false&"+ this.sq +"'>Click here if you have Flash Player "+ this.version +" installed</a>.</p>";
        this.params = new Object();
        this.variables = new Object();
        if (c) this.color = this.addParam('bgcolor', c);
        this.addParam('quality', 'high'); // default to high
        this.doDetect = getQueryParamValue('detectflash');
    FlashObject.prototype.addParam = function(name, value) {
        this.params[name] = value;
    FlashObject.prototype.getParams = function() {
        return this.params;
    FlashObject.prototype.getParam = function(name) {
        return this.params[name];
    FlashObject.prototype.addVariable = function(name, value) {
        this.variables[name] = value;
    FlashObject.prototype.getVariable = function(name) {
        return this.variables[name];
    FlashObject.prototype.getVariables = function() {
        return this.variables;
    FlashObject.prototype.getParamTags = function() {
        var paramTags = "";
        for (var param in this.getParams()) {
            paramTags += '<param name="' + param + '" value="' + this.getParam(param) + '" />';
        if (paramTags == "") {
            paramTags = null;
        return paramTags;
    FlashObject.prototype.getHTML = function() {
        var flashHTML = "";
        if (window.ActiveXObject && navigator.userAgent.indexOf('Mac') == -1) { // PC IE
            flashHTML += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="' + this.width + '" height="' + this.height + '" id="' + this.id + '" align="' + this.align + '">';
            flashHTML += '<param name="movie" value="' + this.swf + '" />';
            if (this.getParamTags() != null) {
                flashHTML += this.getParamTags();
            if (this.getVariablePairs() != null) {
                flashHTML += '<param name="flashVars" value="' + this.getVariablePairs() + '" />';
            flashHTML += '</object>';
        else { // Everyone else
            flashHTML += '<embed type="application/x-shockwave-flash" src="' + this.swf + '" width="' + this.width + '" height="' + this.height + '" id="' + this.id + '" align="' + this.align + '"';
            for (var param in this.getParams()) {
                flashHTML += ' ' + param + '="' + this.getParam(param) + '"';
            if (this.getVariablePairs() != null) {
                flashHTML += ' flashVars="' + this.getVariablePairs() + '"';
            flashHTML += '></embed>';
        return flashHTML;   
    FlashObject.prototype.getVariablePairs = function() {
        var variablePairs = new Array();
        for (var name in this.getVariables()) {
            variablePairs.push(name + "=" + escape(this.getVariable(name)));
        if (variablePairs.length > 0) {
            return variablePairs.join("&");
        else {
            return null;
    FlashObject.prototype.write = function(elementId) {
        if(detectFlash(this.version) || this.doDetect=='false') {
            if (elementId) {
                document.getElementById(elementId).innerHTML = this.getHTML();
            } else {
                document.write(this.getHTML());
        } else {
            if (this.redirect != "") {
                document.location.replace(this.redirect);
            } else {
                if (elementId) {
                    document.getElementById(elementId).innerHTML = this.altTxt +""+ this.bypassTxt;
                } else {
                    document.write(this.altTxt +""+ this.bypassTxt);
    function getFlashVersion() {
        var flashversion = 0;
        if (navigator.plugins && navigator.plugins.length) {
            var x = navigator.plugins["Shockwave Flash"];
            if(x){
                if (x.description) {
                    var y = x.description;
                       flashversion = y.charAt(y.indexOf('.')-1);
        } else {
            result = false;
            for(var i = 15; i >= 3 && result != true; i--){
                   execScript('on error resume next: result = IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.'+i+'"))','VBScript');
                   flashversion = i;
        return flashversion;
    function detectFlash(ver) {   
        if (getFlashVersion() >= ver) {
            return true;
        } else {
            return false;
    // get value of querystring param
    function getQueryParamValue(param) {
        var q = document.location.search;
        var detectIndex = q.indexOf(param);
        var endIndex = (q.indexOf("&", detectIndex) != -1) ? q.indexOf("&", detectIndex) : q.length;
        if(q.length > 1 && detectIndex != -1) {
            return q.substring(q.indexOf("=", detectIndex)+1, endIndex);
        } else {
            return "";
    /* add Array.push if needed */
    if(Array.prototype.push == null){
        Array.prototype.push = function(item){
            this[this.length] = item;
            return this.length;

    i'm getting the same error.  please help!  thanks.

  • Need help with the Get Specified Servers action..

    Hello,
    Here is a workflow I have made (saved as a Finder plug-in):
    1. Get specified servers --- afp://Sean:[email protected]/Sean
    2. Connect to servers
    3. Get selected finder items
    4. Move finder items (to: desktop)
    5. Eject disk
    This workflow allows me to right-click on a file on my MacBook and move it to my iMac (it mounts the imac share, connects to it, transfers the file, then unmounts the share). It works perfect for me but I have one annoyance with it - the password part.. I would like your guys help in removing that bit.
    I don't want my Mac to have a password, but I had to make one just for that step to work properly. Can anyone help me out here? I don't know much about server/URL stuff so any improvements that can be made there would be helfpul.
    Thanks

    Well, I could be wrong, but I don't believe you will be able to avoid using a password as it is a key element in security measures of the operating system.
    As you found out even if you set up an account with no password and save off the keychain the OS still issues a dialog asking for a password for mounting the shared volume. In that case all you do is hit the "Connect" button and this could be automated in various ways (some listed below).
    Setting up this method, while not really recommended, would still provide the facade of a secure system by challenging any other potential users to enter a password and reduce the number of keystrokes you need to enter.
    Use AppleScript/Automator
    tell application "System Events" to key code 36 -- return key
    which could be placed in an Automator "Run AppleScript" action and saved off as a Finder plug-in contextual menu or an application/workflow.
    Use Third-party Keyboard Shortcut apps
    The AppleScript/Automator workflow could also be attached to a keyboard shortcut using one of the various third party apps that provide that functionality.
    Some of those third party apps also give you the capability to send a keycode directly and have that attached to a keyboard shortcut.
    RECOMMENDATION
    Retain the password account with the user account info saved in the keychain. This can avoid the password dialog for server mounting and if automated, as described below, any situations in which the dialog can not be avoided.
    The previously mentioned automation methods can easily be set up to actually enter your full password and hit the Connect/OK button so that you get complete security as long as someone else doesn't find out about the contextual menu or keyboard shortcut. It's as simple as adding another line or two to the AppleScript:
    tell application "System Events"
    keystroke "yourfullpassword"
    delay 2
    key code 36 -- return key
    end tell

  • Need Help with "Not Enough Memory Error" when running executable (is my VI reworkable?)

    When I started making this VI, I had no clue about proper VI flow, sub-VI usuage, and much more I'm sure.
    The VI is a program that outputs a 0-5V digiatl signal to a relay board (to actuate an air cylinder) and monitors 4 input voltages (lets say from a pressure transducer) . The program would then shut down the corresponding output channel if a pressure threshold is not met.
    Surprissingly for my first LV program, The VI functions "fine" (the quotes are because I know my programming flow is a mess and probably not efficient) unitl I reach a given cycle count or time elasped, at which time my VI blows up and I receive an error for "not enough memory to complete operatoin".
    I am wondering if there is a simple DAQmx (or something else) command misplaced or missing that would solve this issue. When I started making this VI I had a poor top down design layout, or lack of one. I would like to believe I have learned a lot from making this program with no LV training and if I were to do it again I would utilize state machines and sub VI's more. However, with time not on my side and LV not a priority in my job I would like to know if this VI is reworkable..?
    I should also mention that this program is being run as an executable on a laptop without the full LV development software. I dont know if the executable creation process could have left to this problem either...
    Attached is LV version 10 and 11
    Thanks for the help
    Attachments:
    LCT_DAQmx v11.0.vi ‏173 KB
    LCT_DAQmx.vi ‏135 KB

    There are some things you can probabaly do fairly easily.  Four of the inner while loops appear to be very similar.  You could probably make a subVI from one of them and reuse the code.  Some of the shift registers are initialized and some are not.  I suspect that this is an error, although I did not look closely enough to determine which way is intended.  Read up on reentrancy.  You may need that for the subVI.
    The outer loop, if it is needed at all should be stopped by a front panel boolean, not by the Abort button.  Someone on the Forums has suggested that using the Abort button to stop a VI is like using a tree to stop a car - it works but may have undesirable consequences!
    Re-initializing the DAQ tasks and clearing them on each iteration is not very effficient, is slow, and may lead to problems.
    The inner inner while loops (inside On Cycle and Off Cycle) are very similar, differing mostly in the data written. Perhaps you only need Idle and Run (with Data as a parameter).  The inner inner loops might be combined with the outer loops with some change in the way the timing is handled.
    You Dequeue in two places in each loop.  There is no data dependency bewteen the two Dequeue functions, meaning that you cannot be sure which will execute first.  Also, none of the Dequeues has a timeout set. They will wait forever if no data is available.  Queues should not usually be read in more than one location to avoid loss of data or confusion about which data came first.
    Lynn

  • Dreamweaver 4 Dinosaur needs Help with Clean Up HTML Error

    I'm a dinosaur still using DW 4.01 for our company website.  Recently, due to a PC crash, I had to reinstall it on a new DELL Workstation running under XP Pro SP3.
    Tried to run the Clean Up HTML command and got this error every time on any page I tried to use it on:
    "While executing onClick in Clean Up HTML, a JavaScript error occurred." Then you have to select Cancel, or DW will abruptly close/crash.
    There are a few references to external javascript files - do I need to comment these out to get CleanUp HTML to work???
    Has anyone ever seen this problem before?  I find ZERO references to it online.
    Can't afford the $200 to upgrade to a newer version this month, nor do I have the time to learn a new piece of software.  Just trying to ride the Edsel to the dinosaur graveyard til the economy gets better.
    If you have a suggestion on how to FIX or workaround this bug, it would be great.  Any help is greatly appreciated.

    See if this helps:
    http://kb2.adobe.com/cps/191/tn_19105.html

  • Need help with destinatio​ns.msi error

    When I try to access the internet via "Firefox", I receive, the message:  "Please wait while windows configures Destinations"  "The feature you ae trying to use is on a cd-rom, error 1706."  My PC proceeds to hang there until I cancel out the message.  I'm wondering if an overzealous registry cleaner is to blame for "cleaning" something necessary out of an msi folder.   What is causing this and how do I fix it?
    I have a Compaq Presario SR1820NX and a HP deskjet 5440 printer running XP. 

    Same problem with my desktop with windows XP . When computer starts up, get windows installer popping up with same message Tried inserting Hp printer software disc, doesn't help. Then when I go to browser (firefox) get same thing again, and have to cancel, cancel cancel to get out of of it. Only way I found was to uninstall HP photosmart essential software, and leave it off. Re-installed from site as well, with no luck either. Seems to be a very widespread problem from what I can see from searching for a cure, but still haven't seen a cure that works for me. Make's it a little hard to use printer features when you can't install software for it.

Maybe you are looking for

  • XI - ABAP Proxy

    Hi, is there a way to make XI/PI to call an ABAP proxy sync in some interval (let's say every 5 min)? I don't want to do this on ABAP side with sceduling some BGD job/report...... thx mario

  • Switching on external audio ejects external hard drives

    Hi folks. Weird problem here. I have an iMac (27-inch, Late 2012, 2.9 GHz Intel Core i5, 32 GB 1600 MHz DDR3) with a regular 3.5mm line-out jack going from the audio out port to an external speaker/subwoofer system. Whenever my mac is on and I have f

  • Poster movie not working

    Hi all, I want to use a jpg button "stream.jpg" instead of a poster movie. Clicking on it should open the referenced movie in QT player. According to the info at http://developer.apple.com/documentation/QuickTime/Conceptual/QTScriptingHTML/QTScriptin

  • Realplayer download

    I have a realplayer download – "untitled.flv" from facebook I would like to edit the movie and be able to burn it to a DVD. IDVD and Disk Utility will not let me import. I tried to open in QT Pro – says, "The file is not a movie file." VLC will open

  • Preview external css stylesheet

    I open two pages, both linked to the same external stylesheet .In design view, the first appears with the CSS stylesheet's specs, the other without. How do I set the second one so it appears too with the stylesheet specs? Thanks for the help. Mark