16,004,406 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Rezame (Top 52 by date)
Rezame
2-Nov-13 18:11pm
View
I can read row by row from file by getfile().
But suppose my csv file is very huge(5Gb) and when read row by row from file, need 24 hours to read, but by buffer only 2-3 seconds..
Format is csv between cells is ",".
Rezame
14-Oct-13 8:38am
View
So what is solution for this?
How can get whole string in another client side?
Rezame
12-Oct-13 12:55pm
View
Thanks.
If want transfer bigger size data for example txt file, better use WinHTTP?
Rezame
28-Sep-13 11:30am
View
Hi,
I call this function only one time when start application no every time.
Rezame
29-Aug-13 11:56am
View
Thanks.
Can you say me what is best method for shows number?
Or any other Tool or function that print number in Main form?
Rezame
29-Aug-13 11:04am
View
Can you say me what is problem with DoEvents ?
Rezame
29-Aug-13 8:38am
View
I set timer function that shows every second only one number.
But it write all numbers in same time.
Rezame
29-Aug-13 7:56am
View
I have C# books, and know about this: txt3.Text += randomNumber.ToString();
But first tried next come here to ask.
Rezame
29-Aug-13 7:44am
View
Thanks.
It shows all variable together.
I want it shows separately during loop.
Rezame
29-Aug-13 7:42am
View
Thanks.
It shows all variable together.
I want it shows separately during loop.
Rezame
28-Aug-13 18:00pm
View
Thanks.
Rezame
28-Aug-13 17:31pm
View
This. this Format works:
string s = Regex.Replace(str, @"\bReza\b", " Behnaz ", RegexOptions.IgnoreCase);
Rezame
28-Aug-13 14:58pm
View
escaped that, but error again.
Rezame
28-Aug-13 14:39pm
View
My file name is: "reza.txt" and added in resource.
Now how must call that?
What is format?
var resourceName = "reza.txt";?
var resourceName = "namespace.reza.txt";?
or other?
Rezame
28-Aug-13 14:20pm
View
So how define that?
Rezame
28-Aug-13 14:20pm
View
project is Console.
First resource was in C drive, but next copied that in all project folders.
Rezame
28-Aug-13 14:19pm
View
This is part of console project.
First resource was in C drive, but now copied that in Project folder.
Copied in all folders of project.
Rezame
28-Aug-13 14:13pm
View
Removed that.
Used only resource name, but same error.
tried add namespace name to that, same error again.
Rezame
28-Aug-13 14:06pm
View
Trying define as below:
using (StreamReader reader = new StreamReader(assembly.GetManifestResourceStream(resourceName)))
But same error.
Rezame
28-Aug-13 13:49pm
View
When compile script not shows any error.
but when try run I get this error.
Rezame
28-Aug-13 12:47pm
View
Can you explain more?
How must do that?
Rezame
11-Aug-13 5:32am
View
For default there is one Program Files folder in each PC, but I create manually that folder when install new software. So I have more Program files Folder.
Rezame
11-Aug-13 5:32am
View
For default there is one Program Files folder in each PC, but I create manually that folder when install new software. So I have more Program files Folder.
Rezame
26-Jan-13 5:34am
View
Added this to code
SetWindowPos( hDlg, HWND_TOPMOST,0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | WS_EX_TOPMOST );
Now it works.
Thanks again.
Rezame
26-Jan-13 5:09am
View
Thanks.
Must add exactly in Which section of Dialog?
Rezame
25-Jan-13 13:34pm
View
Possible show dialog front of screen by CreateDialogParamA function?
Rezame
25-Jan-13 13:27pm
View
Must run in same time. Because in main software there are other API too and this Dialog using for some parts of screen. Any solution to show both in same time? And dialog on front main software?
Rezame
25-Jan-13 13:04pm
View
I used DialogBoxParam, but when run software, appear Dialog and after close that, main screen start. So How can run both in same time?
Rezame
25-Jan-13 2:38am
View
Hi,
Jibesh below your solution works:
move your Text setting code to WM_INITDIALOG, WM_COMMAND will be executed only when someone send a command message to this dialog
Rezame
24-Jan-13 13:48pm
View
This dialog only call one time, when start my application that this dialoge using on that.
Rezame
26-Dec-12 9:01am
View
I have one code trying to modify that.
Rezame
30-Nov-12 8:41am
View
Thanks. Can you please say how use this?
Rezame
1-Nov-12 17:13pm
View
Want call exported function and compile my dll included slave dll.
Rezame
12-Oct-12 16:09pm
View
I found this code in internet. I want know how to create this function? Must copy/paste manually or VS2010 has ready this scrip ready?
Rezame
12-Oct-12 15:30pm
View
What do you mean be "level"? You mean better work with MFC or level means my C++ knowledge?
Rezame
10-Oct-12 13:15pm
View
When add above lines get this errors:
Creating library C:\Users\Reza\Desktop\Test_Projects\C#\Reza2\Debug\Reza2.lib and object C:\Users\Reza\Desktop\Test_Projects\C#\Reza2\Debug\Reza2.exp
1>dllmain.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) double pp" (__imp_?pp@@3NA)
1>C:\Users\Reza\Desktop\Test_Projects\C#\Reza2\Debug\Reza2.dll : fatal error LNK1120: 1 unresolved externals
Rezame
9-Oct-12 17:21pm
View
I tried same calling methods too.
When call both functions from same platform(Metatrader) works correct, but call each function from different platform returns incorrect.
Rezame
9-Oct-12 14:20pm
View
I used MessageBox:
function: MT4_EXPFUNC double __stdcall Reza(double ppp) shows correct value
function: double price() shows incorrect, zero(0) value
Rezame
9-Oct-12 12:04pm
View
Yes, same.
Try call that double type too.
Rezame
21-Feb-12 5:33am
View
thanks
Rezame
20-Feb-12 15:12pm
View
Thanks,
After find size want do below:
li_96 = MathMin(size_0 , size_4 );
vector<double> lda_12;
vector<double> lda_16;
for(int i=0;i<li_96;i++)lda_12.push_back(ad_0[i]);
for(int i=0;i<li_96;i++)lda_16.push_back(ad_4[i]);
double x="0.0;
" double="" y="0.0;
" s="0.0;
" p1="0.0;
" p2="0.0;
" p="0.0;
" for(int="" i="0;i<li_96;i++){
" x+="lda_12[i];
" y+="lda_16[i];
" }
=""
="" =li_96;
="" s+="(lda_12[i]-x)*(lda_16[i]-y);
" p1+="(lda_12[i]-x)*(lda_12[i]-x);
" p2+="(lda_16[i]-y)*(lda_16[i]-y);
" ld_76="s/sqrt(p1*p2);
" return="" ld_76;
=""
}
after="" value="" to="" main="" code="" get="" this="" error:
1="">Source\ea.cpp(276): error C2664: 'f0_55' : cannot convert parameter 1 from 'std::vector<_Ty>' to 'std::vector<_Ty> *'
Regards,
Rezame
20-Feb-12 13:56pm
View
Thanks. how to find size vector?
size_0=a0.size()
this function not works.
Rezame
20-Feb-12 13:55pm
View
Thanks.
how to find size vector?
size_0=a0.size()
this function not works.
Rezame
20-Feb-12 13:46pm
View
I can receive vector too.
must do same solution 1?
Rezame
20-Feb-12 13:09pm
View
thanks for this.
if want have this vector with complete data how must use that in f0?
for example:
vector<double>ss;
ss=a0;
how must copy ao on ss vector?
regards,
Rezame
11-Jan-12 2:08am
View
hi,
I done loop. try clearing buffers too but not works.
how must clear buffers?
Rezame
10-Jan-12 16:16pm
View
Yes, changed
int x;
char* fileNameArray[3] = {"book2.csv", "1.csv", "book3.csv"};
char* file[3] = {"book11.csv", "book22.csv", "book33.csv"};
for (x = 0; x < 3; x ++) {
readInput(fileNameArray[x]);
parseValues();
writeOutput(file[x]);
}
After run this, I have 3 output with content "book2.csv" only.
It means it read only first csv nd write that in 3 output. I think must clear vctor after each read/write. I try that too and when try clear vector second and third output were zero. So my code cant read file 2 and file 3.
maybe problem is with freopen?
how I can write my code with fopen?
Rezame
10-Jan-12 15:32pm
View
yes,
c++
Rezame
10-Jan-12 15:10pm
View
Hi,
clear my data vector.
data.clear();
But not work yet.
Rezame
10-Jan-12 15:04pm
View
Hi,
I close file too.
But only read book1.csv and writ same data for 3 output.
Rezame
10-Jan-12 15:01pm
View
Thanks.
Done.
But only read book1.csv and write for 3 csv one data that read from book1.
For book3 write correct data that read from book1.
Rezame
10-Jan-12 5:10am
View
Hi,
Thanks. I used above function but not return correct number.
Regards,
Show More