Cannot add component Rectangle dynamically by using the task

Hey all

I'm new to Java FX and animation in general (try the last FX2 in netbeans) but I think I'm missing something somewhere... According to documentation, it is recommended to use a task to perform the animation and the screen changes. For some reason although my code works very well outside of a task, but when it is placed in a task it stops just at the point where I want to add it to the main AnchorPane... from my controller below class code, where the "mainApplication' is the main AnchorPane. Any ideas? What am I missing or am I misunderstanding? In the end, I want to be able to add a large number of Rectangles dynamically and animate.

public class MyAppController implements Initializable {
    @FXML 
    private AnchorPane mainApplication;
    @FXML
    void menuItemClicked(ActionEvent event) {
        justDoIt();
    }
    void justDoIt() {
        Task<Void> task = new Task<Void>() {
            @Override
            protected Void call() throws Exception {
                Rectangle aperture = new Rectangle(10, 10, 250, 250); 
                aperture.setFill(Color.WHITE);
                aperture.setVisible(true);
                System.err.println("Last line executed");        
                mainApplication.getChildren().add(aperture); 
                //((Pane)mainApplication.getScene().getRoot()).getChildren().add(aperture); <-- not working either
                System.err.println("never gets here");
                return null;
            }
        };
        Thread th = new Thread(task);
        th.setDaemon(true);
        th.start();
    }
   
    @Override
    public void initialize(URL url, ResourceBundle rb) {
    }
}

The API Animation will take care of the threads for you questions. There is (almost?) never need to work with concurrency API and tasks when working with animations.

From your description, it seems that the best approach is to create each of the individual animations you need and put it in a SequentialTransition. You can implement the 'gaps' in there with PauseTransitions. Then you can just run the sequential transition button.

Small example:

import javafx.animation.Animation.Status;
import javafx.animation.PauseTransition;
import javafx.animation.RotateTransition;
import javafx.animation.SequentialTransition;
import javafx.animation.Transition;
import javafx.animation.TranslateTransition;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.Pane;
import javafx.scene.paint.Color;
import javafx.scene.shape.ClosePath;
import javafx.scene.shape.LineTo;
import javafx.scene.shape.MoveTo;
import javafx.scene.shape.Path;
import javafx.scene.shape.Rectangle;
import javafx.stage.Stage;
import javafx.util.Duration;
//
public class SequentialAnimationExample extends Application {
//
    @Override
    public void start(Stage primaryStage) {
        final Rectangle rect = new Rectangle(100, 100, 250, 150);
        rect.setFill(Color.CORNFLOWERBLUE);
        final Path arrow = new Path();
        arrow.setFill(Color.DARKBLUE);
        arrow.getElements().addAll(
                new MoveTo(150, 150), new LineTo(250, 150),
                new LineTo(250, 125), new LineTo(300, 175),
                new LineTo(250, 225), new LineTo(250, 200),
                new LineTo(150, 200), new ClosePath());
        final Group group = new Group(rect, arrow);
//
        final TranslateTransition moveRight = new TranslateTransition(Duration.seconds(1), group);
        moveRight.setByX(400);
        final Transition pause = new PauseTransition(Duration.millis(500));
        final RotateTransition turn = new RotateTransition(Duration.millis(500), group);
        turn.setByAngle(90);
        final TranslateTransition moveDown = new TranslateTransition(Duration.seconds(1), group);
        moveDown.setByY(200);
        final TranslateTransition moveLeft = new TranslateTransition(Duration.seconds(1), group);
        moveLeft.setByX(-400);
        final TranslateTransition moveUp = new TranslateTransition(Duration.seconds(1), group);
        moveUp.setByY(-200);
//
        final SequentialTransition animation = new SequentialTransition(
                moveRight, pause, turn, pause, moveDown, pause, turn, pause,
                moveLeft, pause, turn, pause, moveUp, pause, turn);
//
        final Pane pane = new Pane();
        pane.getChildren().add(group);
//
        final Button playButton = new Button("Animate!");
        playButton.disableProperty().bind(
                animation.statusProperty().isEqualTo(Status.RUNNING));
        playButton.setOnAction(new EventHandler() {
            @Override
            public void handle(ActionEvent event) {
                animation.play();
            }
        });
//
        final BorderPane root = new BorderPane();
        root.setCenter(pane);
        root.setBottom(playButton);
        final Scene scene = new Scene(root, 850, 650);
        primaryStage.setScene(scene);
        primaryStage.show();
    }
//
    public static void main(String[] args) {
        launch(args);
    }
}

Tags: Java

Similar Questions

  • Microsoft Money - when closing down, it saves ok but there is a message saying that the operation cannot be completed. I then use the Task Manager to complete.

    I use Money version 1105, 2004 updated.  I have 2 qusstions-

    1. in closing down, it saves ok but there is a message saying that the operation cannot be completed.  I then use the Task Manager to complete.

    2. is there a version of Money that runs this file?  I tried Sunset but does not recognize my file.

    Any help would be great, thanks in advance

    Eric

    For any question on any version of Microsoft Money, ask http://social.microsoft.com/Forums/en/money/threads.

    Make sure your data and Money backup files are in Documents or another non-protected area, not the default money Program Files or changes and updates will not be saved.

    Unless you are in the USA, the version of Money 2005 (released in 2004) 14.0.120.1105 is the latest available. Sunset silver bed only U.S. data files.

    Installation file to Money 2005 International English QFE2 (not for USA, Canada, UK) from Microsoft, including stand-alone updates 1105, is available at http://www.microsoft.com/download/en/details.aspx?id=26922

    Money 2005 UK - QFE2 (the fixed standalone UK Money 2005 file) can be downloaded from the link to http://www.microsoft.com/download/en/details.aspx?id=26915

  • Cannot deform stuck HAVE dynamic object using the free transform vector in PS CS6

    Hello

    I stuck a vector object in PS CS6 (13.0.1 x 32) today directly from Illustrator CS6 (16.0.1 x 32) and select 'Paste as smart object' (Windows XP Pro SP3).

    I then tried to distort the object glued using the free transform tool by dragging one of the handles to angle with hold CTRL (Windows).

    General warps\distorts the object, but instead, it launched an operation to bias .

    If I paste as Pixels or shape layer and then apply free Transform, < Ctrl + corner handle slide > performs a warp\distort operation.

    Also, if I have rasterized glued it opposed and then convert them to a smart object, I can warp\distort.

    Is it not possible to paste a vector Illustrator in as a smart object, then warp\distort directly using this technique?

    Thanks for your help.

    Richard

    Your right because on a stuck vehicle a smart cannot deform, false or perform perspective transformations.

    One solution would be to right click on the vector smart object layer in the layers panel and

    Choose Convert to smart object.

    It depends on what is your object, you would probably better quality of a pasted shape or path, but then you will not be able to open the object

    back in illustrator from photoshop.

  • Cannot add, remove, or edit contacts in the address book.

    Original title: address book problems

    On Windows XP, use Outlook Express, am not able to ADD, REMOVE, or EDIT contacts in my address book... not really sure WHY... any help will be GREATLY appreciated. Thank you very much.

    Hello

    Welcome to the Microsoft community!

    The description of your post, I see that you cannot add, remove, or edit contacts in the address book.

    Please, try the steps from the following link:

    An Outlook Express basic repair kit

    http://support.Microsoft.com/kb/2398839

    I hope that helps!

    Answer please if you need help on this page or the Windows problems.

    We will be happy to help you!

     

  • Cannot close Adobe Premiere cs 6.  I have to use the Task Manager.  I have 10 windows and uninstalled and reinstalled several times.

    Cannot close Adobe Premiere cs 6 I have to use the Task Manager.  I have 10 windows and uninstalled and reinstalled several times. Anyone know how to solve? 

    Hello world

    I "solved" the problem, or at least found a work around.  The program must be open as administrator.  Right click and open as administrator.

    If we don't do that all the time, set manually as open as administrator every time will strive do - follow the directions on the following link...

    Always run a program in administrator mode in Windows 10 - CNET

  • Cannot SSH in vmware player (can use the local IP address but not external IP)

    As above

    Cannot SSH in vmware player (can use the local IP address but not external IP)

    Am new to vmware, so if you need information to help me on what you'll need to tell me how to get

    See you soon

    Vodkaholic27, let me start with the layoff of vodka for a bit and then set Virtual Machine network card to bridged and then assign a static IP address that is appropriate for the guest as the physical LAN operating system is the host.  Then in the local physical network for static IP address router you assigned in the guest OS configure it to allow Port Forwarding on the appropriate port.  Then, you will be able to access from outside local physical host network.  If it's just on the other system on the physical LAN to the host that you want to access the guest you need not set up the Port Forwarding on the router on the local physical host network, simply use linked by a bridge to the network adapter in the Virtual Machine.  If you use NAT to the NIC of the Virtual Machine, then you need to set Port Forwarding in the virtual network Editor.

    Note: The virtual network Editor is not installed by default in Vmware Player 3.x and later versions.

    ==========

    To install the missing virtual network Editor, the command prompt:

    VMware-player-*.exe -e c:\vmptmp
    

    Then in the c:\vmptmp folder find the file c:\vmptmp\network.cab and extract (double-click on the .cab file) vmnetcfg.exe (virtual network editor) file in the working directory of VMware Player usually 'C:\Program VMware Player' or ' C:\Program Files (x 86) \VMware\VMware Player.  You can create a shortcut and place it with the shortcut of VMware Player, if you want to access it more easily.  Note: there are some for all the files to be extracted to then access the network.cab file.

  • Can I add watermarks to PDF files using the PDF package?

    Can I add watermarks to PDF files using the PDF package?

    Hi Susannah,

    Adobe PDF Pack does not allow to edit a PDF file. To do this, you would need Acrobat. We invite you to try Acrobat free for 30 days: see http://www.adobe.com/products/acrobat.html for more information.

    This help document describes how to watermark a PDF in Acrobat: add watermarks to PDF

    Best,

    Sara

  • What causes the "specified operation cannot be performed when no device in the task.

            using (task NationalInstruments.DAQmx.Task = new NationalInstruments.DAQmx.Task ())
    {
    task. Timing.ConfigureSampleClock ("", 1000, SampleClockActiveEdge.Rising, SampleQuantityMode.FiniteSamples, 2);
    task. DIChannels.CreateChannel ("PXI1Slot6/Port2/Line3", "", ChannelLineGrouping.OneChannelForAllLines);
    task. Triggers.StartTrigger.ConfigureDigitalEdgeTrigger (triggerLine, DigitalEdgeStartTriggerEdge.Rising);

    DigitalSingleChannelReader reader = new DigitalSingleChannelReader (task. Stream);
    drive. ReadSingleSampleSingleLine();
    }

    Why the code above throws an exception DAQmx with message:

    "Specified the operation can only be performed when there are no devices in the task."

    task name: _unnamedTask<2>

    "Status code:-200477"

    There is a device in the task.  I'm trying to PXI1Slot6 (map of IO 6535) to enter the 2 samples off Port 2 line 3.

    Hi CurtisHx

    Thanks for reporting this. I agree that the error message returned by the driver is very unclear and fails to a user of the API provide enough information to determine the cause of the error in the code. In addition, it seems that we don't document the correct order of operations to set up a task well (the best thing we could find was the subject of tasks in NOR-DAQmx , who actually seems to imply that the channel configuration and their calendar can be made in any order). We are producing several bug reports, to fix / improve the following:

    • The error message returned by the driver to the API.

    • The help topic for the tasks in NOR-DAQmx.

    • The documentation of the specific method provided with the NOR-DAQmx .NET API.

    To clarify the error, it seems that 'peripheral' in ' specified operation cannot be performed when no device in the task "is in fact reference to the channels configured in the task. At this point, I'm not sure what "device" can be applied to other entities in the DAQmx driver software, but I'll post at the time where I have an error message created by the development team working on it.

    Best regards,

  • How can I farm Metro application other than by using the Task Manager?

    How can I farm Metro application other than by using the Task Manager? If there is no way, please add a close button, Microsoft.

    Hello

    ·          What version of the operating system is running on your computer?

    Alternatively, press ALT + F4 to close the application.

  • Not able to change the plan of the quality during the inspection of reception using the task of ACEM.

    Hi all

    I am not able to change the plan of the quality during the inspection of reception using the task of ACEM.

    Please suggest what to do on the priority.

    Thank you and best regards,

    Piyush Kudawalee

    Hello

    If you use functions much jump, then you must add a new plan of the quality in the settings of jumps.

    Please go to the root of quality > process lots Skip parameters > application process of Skip lot number attached to the elements > go to settings to jump > add plan new collection...

    This will show you the two quality LIMM and Oracle plans. You can add as many plans as you want and can restrict their in asigning to specific jump lot.

    The quality plan is failing because there can be only plan quality attached to jump a lot.

    NOTE: Please indicate the post as helpful or answered if the update has really helped you. This would also bring the wire to the logical conclusion and will be useful for viewers.

    Thank you

    GHG

  • No start page, Google rises and there is no way out without using the Task Manager.

    I used to get the Google search engine at the start of Firefox, with bookmarks bar in side bars and tool at the top. Now, all I get is a Google search page, with a few buttons on the top like images, etc. There is no way to close the program without using the Task Manager. I downloaded the latest version of Firefox and installed, but the problem has not disappeared. Operating system is Windows XP Professional

    Make sure that you run not Firefox mode full screen (press F11 or Fn + F11 to toggle; Mac: Ctrl + Shift + F).

    It is possible that the screen is too wide or too high and bars scrolling down.

    • Use Restore or expand in the context menu of the taskbar icon to set the focus to the Firefox application if you do not see the window of Firefox.
    • Open the system menu of the window of Firefox via Alt + space and see if you can move and resize the window (use the arrows on the keyboard).

    If it works, then first close all other open windows of Firefox and then close Firefox via "file > exit/Quit" to save the setting.

    If the above didn't help then see:

  • Need a list of what I can stop using the Task Manager to help play games that are hanging up or jump or stopping programs.

    I know how to stop most of the programs running in the back ground by using the Task Manager and the process tab.  But, I click "Show processes from all users" list is double what it was.  I need a list of what I can finish process without going through the computer off and restart or with on dreaded blue screen.  So I ask if anyone has a list of processes that are sure to stop?  Thanks in advance, Frankster195

    Hi Frankster 195,

    Welcome to Vista forums.

    You can try to perform a clean boot. Check the mentioned below of items.

    How to perform a clean boot procedure to determine if background programs are interfering with a game or a program that you currently use

    http://support.Microsoft.com/kb/331796

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/default.aspx/KB/929135

    Hope this information is useful.

    Thanks and regards.

    Thahaseena M
    Microsoft Answers Support Engineer.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Hanging Windows desktop and does not, online or off the power. I have to use the task mgr constantly to "shake" the windows to startin

    Original title: Hello I have an xp pro sp3 dell dimension 2400. Hanging of Windows desktop and does not, online and off.

    Hello I have an xp pro, sp3, the dell dimension 2400. IE 8 for the internet.  I use McAfee through my SP which is AT & T. Windows Office suspended and does not, online or off the power. I have to use the task mgr constantly to "shake up" windows start and sometimes, it doesn't work anymore and I have to restart.

    I have used all sorts of anti-virus programs and can ensure that it is NOT a virus. It is not my regestry, all updates are current. I keep a clean machine.

    I have xp of the process and have nothing wrong.

    Sometimes my icons will disappear out of my office, but always come right away. Other times, I get a message that says stop running this script. a script on this page slows down IE run slowly. It is for the most part on Face Book, BUT sometimes also on other sites, like google mail. Yahoo mail, groups and news.

    Any suggestions would be greatly appreciated.

    Thank you! :>)

    Hello I have an xp pro, sp3, the dell dimension 2400. IE 8 for the internet.  I use McAfee through my SP which is AT & T. Windows Office suspended and does not, online or off the power. I have to use the task mgr constantly to "shake up" windows start and sometimes, it doesn't work anymore and I have to restart.

    I have used all sorts of anti-virus programs and can ensure that it is NOT a virus. It is not my regestry, all updates are current. I keep a clean machine.

    I have xp of the process and have nothing wrong.

    Sometimes my icons will disappear out of my office, but always come right away. Other times, I get a message that says stop running this script. a script on this page slows down IE run slowly. It is for the most part on Face Book, BUT sometimes also on other sites, like google mail. Yahoo mail, groups and news.

    Any suggestions would be greatly appreciated.

    Thank you! :>)

    The image (it back up to an external drive as full image) and reinstall Windows XP, update, drivers and everything.  Install any plugins that you NEED to do all that you see here that the bat hurt.  If the problem no longer exists, something has gone wrong with your system from before (corrupt files or your cleaning is not as complete as you think) and if the problem persists - probably something to do with the material. In all cases, you can return to the image if you wish.

    To the extent wherever it is the registry, I must ask, * how * you have come to this conclusion?  Not that I'm defending something - I was wondering what you did to decide who is not your registry database?  (Side: I agree with you.)

    That's what * I * would call cleaning and optimization of a Windows XP machine:

    Search for malware:

    Download, install, execute, update and perform analyses complete system with the two following applications:

    Remove anything they find. Reboot when necessary. (You can uninstall one or both when finished.)

    Search online with eSet Online Scanner.

    The less you have to run all the time, most things you want to run will perform:

    Use Autoruns to understand this all starts when your computer's / when you log in. Look for whatever it is you do not know using Google (or ask here.) You can hopefully figure out if there are things from when your computer does (or connect) you don't not need and then configure them (through their own built-in mechanisms is the preferred method) so they do not - start using your resources without reason.

    You can download and use Process Explorer to see exactly what is taking your time processor/CPU and memory. This can help you to identify applications that you might want to consider alternatives for and get rid of all together.

    Do a house cleaning and the dust of this hard drive:

    You can free up disk space (will also help get rid of the things that you do not use) through the following steps:

    Windows XP should take between 4.5 and 9 GB * with * an Office suite, editing Photo software, alternative Internet browser (s), various Internet plugins and a host of other things installed.

    If you are comfortable with the stability of your system, you can delete the uninstall of patches which has installed Windows XP...
    http://www3.TELUS.NET/dandemar/spack.htm
    (Especially of interest here - #4)
    (Variant: http://www.dougknox.com/xp/utils/xp_hotfix_backup.htm )

    You can run disk - integrated into Windows XP - cleanup to erase everything except your last restore point and yet more 'free '... files cleaning

    How to use disk cleanup
    http://support.Microsoft.com/kb/310312

    You can disable hibernation if it is enabled and you do not...

    When you Hibernate your computer, Windows saves the contents of the system memory in the hiberfil.sys file. As a result, the size of the hiberfil.sys file will always be equal to the amount of physical memory in your system. If you don't use the Hibernate feature and want to reclaim the space used by Windows for the hiberfil.sys file, perform the following steps:

    -Start the Control Panel Power Options applet (go to start, settings, Control Panel, and then click Power Options).
    -Select the Hibernate tab, uncheck "Activate the hibernation", and then click OK. Although you might think otherwise, selecting never under "Hibernate" option on the power management tab does not delete the hiberfil.sys file.
    -Windows remove the "Hibernate" option on the power management tab and delete the hiberfil.sys file.

    You can control the amount of space your system restore can use...

    1. Click Start, right click my computer and then click Properties.
    2. click on the System Restore tab.
    3. highlight one of your readers (or C: If you only) and click on the button "settings".
    4 change the percentage of disk space you want to allow... I suggest moving the slider until you have about 1 GB (1024 MB or close to that...)
    5. click on OK. Then click OK again.

    You can control the amount of space used may or may not temporary Internet files...

    Empty the temporary Internet files and reduce the size, that it stores a size between 64 MB and 128 MB...

    -Open a copy of Microsoft Internet Explorer.
    -Select TOOLS - Internet Options.
    -On the general tab in the section 'Temporary Internet files', follow these steps:
    -Click on 'Delete the Cookies' (click OK)
    -Click on "Settings" and change the "amount of disk space to use: ' something between 64 MB and 128 MB. (There may be many more now.)
    -Click OK.
    -Click on 'Delete files', then select "Delete all offline content" (the box), and then click OK. (If you had a LOT, it can take 2 to 10 minutes or more).
    -Once it's done, click OK, close Internet Explorer, open Internet Explorer.

    You can use an application that scans your system for the log files and temporary files and use it to get rid of those who:

    CCleaner (free!)
    http://www.CCleaner.com/
    (just disk cleanup - do not play with the part of the registry for the moment)

    Other ways to free up space...

    SequoiaView
    http://www.win.Tue.nl/SequoiaView/

    JDiskReport
    http://www.jgoodies.com/freeware/JDiskReport/index.html

    Those who can help you discover visually where all space is used. Then, you can determine what to do.

    After that - you want to check any physical errors and fix everything for efficient access"

    CHKDSK
    How to scan your disks for errors* will take time and a reboot.

    Defragment
    How to defragment your hard drives* will take time

    Cleaning the components of update on your Windows XP computer

    While probably not 100% necessary-, it is probably a good idea at this time to ensure that you continue to get the updates you need. This will help you ensure that your system update is ready to do it for you.

    Download and run the MSRT tool manually:
    http://www.Microsoft.com/security/malwareremove/default.mspx
    (Ignore the details and download the tool to download and save to your desktop, run it.)

    Reset.

    Download/install the latest program Windows installation (for your operating system):
    (Windows XP 32-bit: WindowsXP-KB942288-v3 - x 86 .exe )
    (Download and save it to your desktop, run it.)

    Reset.

    and...

    Download the latest version of Windows Update (x 86) agent here:
    http://go.Microsoft.com/fwlink/?LinkId=91237
    ... and save it to the root of your C:\ drive. After you register on theroot of the C:\ drive, follow these steps:

    Close all Internet Explorer Windows and other applications.

    AutoScan--> RUN and type:
    %SystemDrive%\windowsupdateagent30-x86.exe /WUFORCE
    --> Click OK.

    (If asked, select 'Run'). --> Click on NEXT--> select 'I agree' and click NEXT--> where he completed the installation, click "Finish"...

    Reset.

    Now reset your Windows with this FixIt components update:
    How to reset the Windows Update components?

    Reset.

    Now that your system is generally free of malicious software (assuming you have an AntiVirus application), you've cleaned the "additional applications" that could be running and picking up your precious memory and the processor, you have authorized out of valuable and makes disk space as there are no problems with the drive itself and your Windows Update components are updates and should work fine - it is only only one other thing youpouvez wish to make:

    Get and install the hardware device last drivers for your system hardware/system manufacturers support and/or download web site.

    If you want, come back and let us know a bit more information on your system - particularly the brand / model of the system, you have - and maybe someone here can guide you to the place s x of law to this end. This isn't 100% necessary - but I'd be willing to bet that you would gain some performance and features in making this part.

  • No mapping between account names and security IDS made mistake by attempting to use the Task Scheduler

    I have noticed that my msfeedssync.exe were not working or updated so I went to the Task Scheduler to see what was going on and received the number above mapping between user names and security ID error I never use Task Scheduler, but I do not know its also used for RSS updates , I do all my own maintaince so I need only of GI RSS using a 3-year-old dimensions of dell with xp pro and its in tip top except for that shape it came only with a 80 GB hard drive and I've only used 20 concerts in 3 years that I use online for things important and backup storage I hope there is a solution for this because I installed ram to 4 GB and it has a 2.8 ghz Processor blazin fast and is in very good shape all help will be appreciated thanks

    Hello syncere99,

    1. What is the user account in the Task Scheduler are you for the work you are trying to use the Task Scheduler?

    The error code indicates that the user account that was used to create the job no longer exists. This could be because the user account is deleted. I suggest that you remove and re-create a job and check if you have the same problem.

    Thank you
    Irfan H, Engineer Support Microsoft Answers. Visit ourMicrosoft answers feedback Forum and let us know what you think.

  • How to use the Task Scheduler to send an email

    I have Windows Live Mail + Windows 7

    I want my computer to send an email to someone on his own. I opened the Task Scheduler and creates a new task using the Task Scheduler 'send and send '. The problem is that the program asks only me who he is, which comes from the e-mail and how to use smtp server... He doesn't ask for my mail server login and user name, so in theory it would be rejected... and when it comes to send the message, now it does nothing without any error message.

    I have 2 settings of e-mail in Windows Live Mail accounts but how do I know the Task Scheduler program which includes use of e-mail and how to connect to the account to send it?

    best,

    Charlie

    This task seems to be used only in limited circumstances where a local Windows based SMTP server is available and security credentials are already established.  There is an interesting discussion about this in
    http://social.technet.Microsoft.com/forums/en-us/winservergen/thread/f087c57c-57b8-4c7f-ba2a-feb04c51f5ba

    One of the links posted http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/e4cf06f5-9a36-474b-ba78-3f287a2b88f2.mspx?mfr=true indicate a possible way to do so by implementing a service SMTP with IIS, but many (I think that most) ISPS block Port 25 and who would probably be a problem.

    It looks like using a 3rd party to contact the external mail server might be the best bet.

    'Charlie Cooper' wrote in the new message: * e-mail address is removed from the privacy... *

    Thanks for your reply, but I'm looking to make use of the 'send an Email' task which included in Task Scheduler... is something that has been there for a while and I've never understood how it would work... I open the Task Scheduler, create a "fundamental task" and click 'send', but I is not even asking me my user name or password? only the smtp server and the email I want to use!

Maybe you are looking for