NexusFi: Find Your Edge


Home Menu

 





try catch in easy language


Discussion in TradeStation

Updated
    1. trending_up 2,332 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 5 posts
    2. attach_file 0 attachments




 
Search this Thread

try catch in easy language

  #1 (permalink)
avivi
Jerusalem, Israel
 
Posts: 4 since Oct 2014
Thanks Given: 0
Thanks Received: 0

I'm new in easy language.. (Comes from C#)
I used the function "FileDelete"
How do I know if the file is actually deleted, or catch the error?

Sorry for my English......
Thanks for any help

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
MC PL editor upgrade
MultiCharts
Exit Strategy
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Diary of a simple price action trader
26 thanks
Just another trading journal: PA, Wyckoff & Trends
23 thanks
Tao te Trade: way of the WLD
21 thanks
My NQ Trading Journal
19 thanks
HumbleTraders next chapter
9 thanks
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,433 since Apr 2013
Thanks Given: 481
Thanks Received: 1,627

avivi,

as far as I know there is no direct way to know if the file deletion was successful. You can use a function from ELC to check if the file exists and then delete or not delete it (ELC.PathExists).

Regards,
ABCTG

Follow me on Twitter Reply With Quote
  #3 (permalink)
avivi
Jerusalem, Israel
 
Posts: 4 since Oct 2014
Thanks Given: 0
Thanks Received: 0


Thank you, ABCTG.
Do I need to add "using" or any "reference" For this ELC ?

Reply With Quote
  #4 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,433 since Apr 2013
Thanks Given: 481
Thanks Received: 1,627

avivi,

you need to install the function and DLL. You can obtain the installer from the official forum.
https://community.tradestation.com/Discussions/Topic.aspx?Result=1&Topic_ID=128732
Regards,
ABCTG

Follow me on Twitter Reply With Quote
Thanked by:
  #5 (permalink)
avivi
Jerusalem, Israel
 
Posts: 4 since Oct 2014
Thanks Given: 0
Thanks Received: 0

Error: "This Website is Currently Down for Maintenance"....
There is another place where i can download?

Thank you again

Reply With Quote
  #6 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,433 since Apr 2013
Thanks Given: 481
Thanks Received: 1,627

It works fine for me, besides that I haven't seen the installer somewhere else as it's an official product from Tradestation.

Regards,
ABCTG


avivi View Post
Error: "This Website is Currently Down for Maintenance"....
There is another place where i can download?

Thank you again


Follow me on Twitter Reply With Quote




Last Updated on October 28, 2014


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts