SELVAN26 / Profile
Friends
Requests
Add friends via their profile or user search and you will be able to see if they are online
Outgoing
SELVAN26
Added topic Please Provide Small Example to save Txt File In D Drive using Named Pipes ( Mql4 Code )
Dear sir Please Provide Small Example to save an String in Text File In D Drive using Named Pipes ( Mql4 Code ) Thank you
SELVAN26
Added topic Code Running Success fully in Under Customer Indicator But Not In Expert Advisor
Dear Sir, I Had Written An Code And I Had Save As Mq4 ( Custom Indicator ( Mq4 File ) )Under Meta Editor And I Had Run The Code Without Any Error , The Output Of The Code Is Running In Chart Window As Expected But When I
SELVAN26
Added topic shell execuate not executing
Dear sir, I had try to execute the Following Programme //+------------------------------------------------------------------+
SELVAN26
Dear sir
my shell execute programming is not executing
please correct my code
//+------------------------------------------------------------------+
//| 1.mq4 |
//| Copyright 2016, MetaQuotes Software Corp. |
//| https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2016, MetaQuotes Software Corp."
#property link "https://www.mql5.com"
#property version "1.00"
#property strict
#import "shell32.dll"
int ShellExecuteW(int hWnd,int lpVerb,string lpFile,string lpParameters,string lpDirectory,int nCmdShow);
#import
//+------------------------------------------------------------------+
//| Expert initialization function |
//+------------------------------------------------------------------+
int OnInit()
{
//--- create timer
EventSetTimer(30);
//---
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| Expert deinitialization function |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
{
//--- destroy timer
EventKillTimer();
}
//+------------------------------------------------------------------+
//| Expert tick function |
//+------------------------------------------------------------------+
void OnTick()
{
//---
}
//+------------------------------------------------------------------+
//| Timer function |
//+------------------------------------------------------------------+
void OnTimer()
{
//---
ShellExecuteW (0,0,"WindowsApplication100.exe","C:\\Program Files\AUTOTRADER\\projects\\WindowsApplication100\\WindowsApplication100\\bin\\Debug\\","",1);
}
//+------------------------------------------------------------------+
when i run with "notepad.exe" instead of "WindowsApplication100.exe"
, it is working well
So Please Correct my code or Show me the Correct Path.
Thanking You
my shell execute programming is not executing
please correct my code
//+------------------------------------------------------------------+
//| 1.mq4 |
//| Copyright 2016, MetaQuotes Software Corp. |
//| https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2016, MetaQuotes Software Corp."
#property link "https://www.mql5.com"
#property version "1.00"
#property strict
#import "shell32.dll"
int ShellExecuteW(int hWnd,int lpVerb,string lpFile,string lpParameters,string lpDirectory,int nCmdShow);
#import
//+------------------------------------------------------------------+
//| Expert initialization function |
//+------------------------------------------------------------------+
int OnInit()
{
//--- create timer
EventSetTimer(30);
//---
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| Expert deinitialization function |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
{
//--- destroy timer
EventKillTimer();
}
//+------------------------------------------------------------------+
//| Expert tick function |
//+------------------------------------------------------------------+
void OnTick()
{
//---
}
//+------------------------------------------------------------------+
//| Timer function |
//+------------------------------------------------------------------+
void OnTimer()
{
//---
ShellExecuteW (0,0,"WindowsApplication100.exe","C:\\Program Files\AUTOTRADER\\projects\\WindowsApplication100\\WindowsApplication100\\bin\\Debug\\","",1);
}
//+------------------------------------------------------------------+
when i run with "notepad.exe" instead of "WindowsApplication100.exe"
, it is working well
So Please Correct my code or Show me the Correct Path.
Thanking You
: