How to use the VBS MoveFolder methode in DIAdem without any error message?

Hi,
I want to move folders with the VBS MoveFolder methode, but in DIAdem I run in problems. When I use the following comman    fso.MoveFolder(project_folder & test_folder, project_folder & test_folder & "\" & test_ & " " & test_count) 
I get error message
"During call a sub routine no parentheses are allowed!"
When I remove the brackets and use    fso.MoveFolder project_folder & test_folder, project_folder & test_folder & "\" & test_ & " " & test_count 
I get the error message
"Invalid sub routine call."
How I have to use the command right?
(the text of error messages is free translated from German Version of DIAdem 11.0! Take only the sense, not the exact wording!)
Thanks for help.
Regards
Sven

Hello Sven!
Just add a 'Call' at the beginning of your first line will solve the syntatic error. I recommend always to use 'Call' and parenthesis.
But there is a fundamental problem in your code: MoveFolder moves a folder from a source to a new destination and the old source folder will be deleted. You try to move a folder to a location below the same folder. If the MoveFolder wouldn't recognize these situtation and throws an error all of your data would be deleted!
Just print out your paths in a Messagebox to clearify the situation.
Matthias
Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  

Similar Messages

  • I bought a used PowerMacPC G5. I can burn and read DVDs, but I can't read or burn CDs. The CDs are not even recognized. After the drive searches for a while, the CD is ejected without any error messages. The CDs work okay on my iMac.

    I bought a used PowerMacPC G5. I can burn and read DVDs, but I can't read or burn CDs. The CDs are not even recognized. After the drive searches for a while, the CD is ejected without any error messages. The CDs work okay on my iMac.
    I am running Mac OSX 10.4.11. According to the System profiler the CD/DVD drive is a "PioneerDVD-RWDVR-112D." When I compare the information under this heading, the only unusual difference from my iMac is that the G5 reads "Burn Support: Yes (Unsupported)." My iMac reads "Burn Support: Yes (Apple Shipping Drive)."
    Under the System Preferences the options are set to "Ask what to do" when a blank CD or DVD is inserted. Music CD set to open iTunes, Picture CD set to open iPhoto, Video DVD set to open DVD player.
    Do you have any suggestions?
    Thanks, Jack

    Hi Jack, great help so far!
    Internal...
    http://eshop.macsales.com/static_pages/Framework.cfm?page=superdrive/sdl_powerma c_g5.html
    External be sure it's Firewire & not Bus powered...
    http://eshop.macsales.com/shop/firewire/optical-drives/

  • Hello I Download Adobe Photoshop CC 2014 Last Night i INSTALLED it But it Crashes in 30-40 Sec After i Launch the Product Without Any Error Message I Need Help Can You Resolve This Problem i Tried Creative Cloud Sign Out Nd Sign iN But iT DidnT ReSolve My

    Hello I Download Adobe Photoshop CC 2014 Last Night
     i INSTALLED it But it Crashes in 30-40 Sec After i Launch the Product Without Any Error Message
    I Need Help Can You Resolve This Problem

    Lotfi are you receiving any error messages during the installation?  I would recommend reviewing your installation logs for errors.  Please see Troubleshoot install issues with log files | CC - http://helpx.adobe.com/creative-cloud/kb/troubleshoot-install-logs-cc.html for information on how to locate and interpret your installation log files.  You are welcome to post any specific errors you discover to this discussion.

  • How to exit from method if there is any Error message

    Hi All,
    I have one button (Retrieve) and on that button I am calling a method(OnRetrive) and in that method i am calling func module and in that i am getting some messages.
    <b>Now If that FM gives Error message then i have to exit from that method without processing further code.</b>
    How can i do this? Help!!!
    Expecting your reply ASAP.

    Use the RETURN statement. It will get out of your method.
    Regards
    Nithya

  • How to use mask in adobe director 11.5 without any language(lingo), just animation in timeline

    He people i have this problem i have to use mask, in adobe director, but i don't know how to do it, its kinda diferent then flash, i'm brazilian, my english isn't very good, so sorry everybody for any wrong word.
    what i should do ?
    don't wanna use Lingo or something like that

    hmmm, i don't know how to explain so much, but i'll try, i don't know if you know flash, but in it have a thing called mask.
    show just a part of the shape without code, just using the timeline

  • For PCI-4451,How to change the frequency of an output signal without any undefined state

    I would like to generate a signal using output channels of PCI-4451 and at the same time capture data using the input channels. Is there any method that I can generate a continuous signal without any undefined state when the signal frequency is being changed?
    Attachments:
    Input_Signal.bmp ‏729 KB

    Wee,
    DSA boards such as the PCI-4451 have a number of very desirable properties including high precision and a high sampling rate. The trade-off for the combination of these two properties is that the DSA boards cannot adjust their sampling rate on-the-fly. Instead they have to be stopped and reconfigured. During this reconfiguration time, the value of the board's output becomes flat and level.
    If you are looking to adjust the board's output without seeing these flat spots, you have to take a different approach to programming a DSA board. Instead of reconfiguring the board, what you need to do is allow the board to continue to run (at the same output frequency), and then overwrite the output buffer that the board reads to output values. This will
    allow you to output new data without the flat spots. Below you will find an example that displays this behavior.
    If you determine that this is not an acceptable workaround due to the limitations on output rates, you may want to look at using a Multifunction DAQ board (60xx or 62xx) or an arbitrary waveform generator (54xx) device instead.
    Best of luck with your application.
    Regards,
    Jed R.
    Applications Engineer
    National Instruments
    Attachments:
    Cont_Gen_Voltage_Wfm-Int_Clk-With_Updates_for_DSA.llb ‏161 KB

  • When I try to use the Vision Acquisitio​n vi, I get an error message saying that " The system did not receive a test packet from the camera."

    Error -1074360271 occurred at IMAQdx Start Acquisition.vi
    NI-IMAQdx: (Hex 0xBFF69031) The system did not receive a test packet from the camera. The packet size may be too large for the network configuration or a firewall may be enabled.

    Bruce Ammons wrote:
    Did you try disabling test packets?  I know Basler cameras have a "Enable Test Packets" setting buried in Advanced Network settings or something like that.  You have to change the setting in MAX to show all settings instead of just acquisition, then locate the setting.  I have been told regularly that the setting must be turned off for Basler cameras to work properly.  Perhaps your camera has the same setting and the same requirement.
    Bruce
    A very specific firmware revision for certain Basler cameras had an issue where the test packet would not be sent for certain packet sizes and certain specific conditions, causing a false report of a test packet failure when a normal acquisition would in fact succeed. However, this was fixed in later firmware revisions and I have never seen a similar issue on any other types of cameras. 
    Aside from this specific case, if a test packet fails, it generally means an acquisition will as well. Given that Pleora's software can acquire, we can rule out networking topology and hardware, assuming you are using the same packet size as the Pleora software is. The only other thing that would seem a likely candidate would be a software issue like a firewall or some other filter driver that is interefering with IMAQdx receiving the data.
    Eric

  • Why can't I log onto my itunes store? I enter the correct password and it brings me back to the screen as if I was not logged in without any error message.  If I enter an incorrect password it says so.  I just received a replacement 4s iphone

    I just received a replacement iphone (4s with ios7) but whenever I try to log into my itunes store, after I enter my password, it acts as if I never logged in.  If I enter an incorrect password it tells me so, but no error message at all when I enter the correct password - nothing happens.  My itunes is up to date.

    Have you tried going to Settings>iTunes and App Stores (or just Store) and signing out and then signing in again?

  • How To Use The SPULSRetriever.GetULSEntries Method

    This is the method in question:
    https://msdn.microsoft.com/EN-US/library/office/microsoft.sharepoint.diagnostics.spulsretriever.getulsentries.aspx
    I recently found this method and was interested in using it for a solution. However, the count is always 0 when executed. I create an instance of the SPULSRetriever class with the start time as 180 minutes ago, the forward check time of 300 minutes,
    and 1000 max entries.
    I then call GetULSEntries with a correlation ID that I found in the logs within the timeframe, but it never finds anything.
    I am simply running the code from visual studio on the same server as the SharePoint instance.
    Any suggestions?
    SPULSRetriever ulsRetriever = new SPULSRetriever(300, 1000, DateTime.Now.AddMinutes(-180));
    IList<LogFileEntry> ulsLogEntries = ulsRetriever.GetULSEntries(new Guid("8c65f19c-0237-605e-e12e-53328ffb7868"));

    I tried your code and I have no trouble getting entries back. Looking at the internal code, if and exception occurs the method just returns an empty IList. So you  need to check for something like this in the ULS logs "Cannot access ULS share
    on \\{0}\logs", appears to  be a permissions issue.
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • ANN: article how to use the CSS Sprites method with the TIP technique

    http://www.tjkdesign.com/articles/how-to_use_sprites_with_my_image_replacement_technique.a sp
    Thierry
    Articles and Tutorials:
    http://www.TJKDesign.com/go/?0
    http://www.divahtml.com/products/scripts_dreamweaver_extensions.php
    - divaGPS - Add "you are here" highlighting to virtually any
    menu
    - divaFAQ - Create FAQ pages that toggle (show/hide) the
    answers
    - divaPOP - Easy, clean, standards-compliant popup windows.

    Sorry, no knowledge of FW themes, but it would seem easier to adjust the positioning code
    than to try redo your sprite image.

  • I am using ios 4.2 gm how can i upgrade to ios 4.3.3 without any error?, i am using ios 4.2 gm how can i upgrade to ios 4.3.3 without any error?

    i am using ios 4.2 8c134, i can't upgrade to any ios.. but ios 5.xx above i not try yet.. any suggestion or ideas to make sure the upgrade will work?
    sorry for my bad english.. 

    It is not possible to update the iOS to any version besides the most recent version. You can only update to iOS 5.1 at the time.
    Start iTunes on your computer and use its menu to check for updates. If there is an update download and install the latest version of iTunes for your computer. Then restart your computer and start iTunes. Connect your iPad to your computer and in iTunes on your computer select your iPad in the left column. In the right column select General and click on Check for Updates. Follow the prompts to complete the update process.
    The iOS update is a large file. A good Internet connection is required. Many users have discovered that they need to turn off virus protection and their firewall to get the update to proceed to completion. If you have problems updating turn off these items and try again

  • I used the audio widget in iBA but got this error message when I tried to deliver in iTunes Producer

    -- any clue what to do? ERROR ITMS-9000: "Files of type audio/x-m4a are not allowed outside of widgets: assets/media/12%20Largo%20for%20Glass%20Armonica%20in%20G%20Minor.m4p" at Bo

    Seen this iBA User Tip?
                     ERROR ITMS-9000: "Files of type audio/x-m4a are not allowed outside of widgets:..."

  • I am using datasocket in seperate vi, with error catching, but network slowdown causes labview to crash without any error message ...

    I have a master computer setup as a datasocket server with several vi's that publish. I have about 5 other computers each with a vi that reads the data socket publisher. The interval at which the 5 vi's read is every 15 minutes, concurrently. It seems that when ever there is a network slow down, LabVIEW crashes catastrophically, even though I have timeouts in the datasocket readers. Is this error related to the datasockets not being able to handle the slow down or something else? Should I use another technique - if so - which is more reliable (FTP, TCP/IP?). This bug has been hounding me for several MONTHS.

    One thing I forgot to mention - the 5 datasocket readers are also web servers, serving out the front panels to the web after getting updated. Well, after weeks of trial and error, would you believe that if I turn off the web server logging, everything works fine. I have had it off for a week now and no crashes. I first discovered this by realizing that if I turned off the web server everything ran fine (which would be totally useless for my application), so then I searched this site and found an off the cuff remark about the web server logging function causing crashes for an unrelated problem. I figured what the heck, I'll disable it and see what happens. So far so good, I am still keeping my fingers crossed ...

  • How to use the "out" parameter in idl

    hello.idl:
    module HelloApp
    interface Hello
    string sayHello();
    void getPass(in string name,out string pass);
    HelloServer:
    public class HelloServer
    class HelloServant extends _HelloImplBase
    public void getPass(String name,org.omg.CORBA.StringHolder pass)
    System.out.println("Server pass = " + pass);
    if (name.equals("lxh"))
    pass = new org.omg.CORBA.StringHolder("1234");
    if (name.equals("cbj"))
    pass = new org.omg.CORBA.StringHolder("5678");
    HelloClient:
    public class HelloClient
    public static void main(String args[])
    try{
    org.omg.CORBA.StringHolder Pass = null;
    if (args.length == 1)
    System.out.println("Client pass = " + args[0]);
    helloRef.getPass(args[0],Pass);
    System.out.println(Pass);
    } catch(Exception e) {
    When I run client main method with parameter "lxh",I will get a error says the getPass() parameter which has given is wrong.
    How to use the out parameter in client?

    Does this error only occurs if you pass "lxh" or always?
    Did you try passing a StringHolder Object rather than a NULL Object?
    Perhaps you can post the error message!?

  • How to use the bind variable in custom.pll

    Hi,
    How to use the bind variable in custom.pll.Its through error.
    any one gem me.
    very urgent.
    M.Soundrapandian.

    Hello,
    Please, ask this kind of questions in the e-business forum.
    Francois

Maybe you are looking for

  • Idoc-xi-file scenario.  how to display file in html format

    I am not sure whether this is a valid question.........but want to confirm as it was asked by somebody In idoc-xi-file scenario.......  how to display file in html format ?? Thanks in advance Kumar

  • Hp C4580 printer won't connect to wireless network, but see network is available.

    I've sat through quite a few of the threads here with regard to photsmart C4580 printer not connecting to wireless network. My issues started with a cartridge issue, which I resolved with a new cartridge, but only after trying out different solution

  • Sending Mail with Form Attachment in PDF

    Dear ABAP Guru How to automate sending output of SALES ORDER in PDF to Sold-To-Party email address. Right now, We are able to output sales order one by one manually and need to automate it to orders (entered that day) send PDF to CUSTOMER email addre

  • Communication Channel Error: Help Please.

    Dear SAP Friends, May I ask how do I go about resolving the error message I have right now with my two communication channels: Configuration error: com.sap.aii.af.service.util.configuration.Configuration.ExceptionSet:The following configuration error

  • Reverse Cash journal Entry

    Hi all My client wants to reverse  a entry in FBCJ, he has saved, posted & printed the receipt for the said entry. System is allowing to reverse or delete a entry which is saved & posted but when a receipt is printed for that entry it is not. Message