15,912,493 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 Python 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 ekonapikin1990 (Top 18 by date)
ekonapikin1990
16-Apr-21 13:33pm
View
I am using a testing tool ,that has all dependencies and packages to run JS code on the web.(Chrome browser to be exact).
The tool is web based tool so I am trying to go to file location and read a pdf file's content and have it printed on my console-
ekonapikin1990
16-Apr-21 7:17am
View
OK Sir,thank you
ekonapikin1990
16-Apr-21 7:13am
View
I can read the file successfully, but the texts is not readable, if do thesame for text file my code reads everything as is,but for pdf file I get bunch of weird texts and not the same LIKE WHEN i READ A TEXT FILE.
ekonapikin1990
16-Apr-21 7:01am
View
Sir thank you, but I am able to read the file with my code, but is not just readable, do you know why?
ekonapikin1990
2-Mar-21 12:14pm
View
ok thank you!
ekonapikin1990
2-Mar-21 11:42am
View
Just to be more clearer "I am saving data for a person[fn,ln,dob,income, salary]
Now all these data is tracked with *caseid*
Now this information is geting saved in the same location and I just append to the file everytime.
My ask is say in an event for a give caseid.
caseid;1234 that has person{Jake Anrrera,1978,engineer,120000}
I want to catch any line that has caseid 1234 data.
So if person data already exist then alert.
ekonapikin1990
2-Mar-21 11:32am
View
Ok thanks for your input sir
ekonapikin1990
1-Mar-21 12:43pm
View
oksir
ekonapikin1990
27-Feb-21 10:47am
View
Sir I have implemented the method you suggested below and it worked as expected
Thnk you for the directions
var mylist=Somerawdata;
var expectedWords="my name is Garner Eric";
for(let i =0;i<.length;i++){
if(mylist===expectedWords)
mylist.substring(0, mylist.indexOf(expectedWords));
console.log(mylist);
}
ekonapikin1990
26-Feb-21 11:03am
View
thank you sir
ekonapikin1990
26-Feb-21 10:54am
View
can you please show me how, above is my code please
ekonapikin1990
23-Feb-21 14:52pm
View
Thanks for your answer sir, it will be great if you can show how to go with some code snipet.
Given am saving my data in 'fileLoc ="C:/rawDeal.txt"
and first data saved was "apple" + NewLine + "mangoes" + NewLine + "orange" + NewLine
For the next runs I want validate if say 'mangoes' exist at a certain line -then report this as pass/fail
ekonapikin1990
21-Feb-21 7:56am
View
I will be comparing historical data.
for example when script runs for the first time it will save data from a given case id
these data are dynamic, persons last name, first name, DOB etc,
When the script runs the next time and saves the next info I just want to make sure none of the details listed above already exist.
If there is a matching I want to fail my test .
Thank you
ekonapikin1990
10-Feb-21 17:01pm
View
Awesome, thank very much sir!!
ekonapikin1990
10-Feb-21 16:48pm
View
any other way I can do this?
am actually parsing pdf data to the console, and is thesame data I am trying download a text file. Was wondering if you have any suggestion sir
ekonapikin1990
10-Feb-21 16:45pm
View
Sir-thank you, I have tried everything I can to no avail I am unable to copy console output to any file -the file just has [object object].
So am beginning to think you re right, but is there any solution to for me to achieve my goal?
Gave *3 because I believe nothing is impossible!!
ekonapikin1990
6-Feb-21 12:40pm
View
what can I do sir?
so what am doing is I opening word document and reading and copy all its contents to the log console ,now I need that data to manipulate for some kind of testing.
which is i AM Trying save the data back to a textfile.
which I will later read to perform data manipulation.
ekonapikin1990
31-Jan-21 13:19pm
View
Hi the sir,
This is what I have..
/**
* Download a list of files.
*/
function download_files(files) {
function download_next(i) {
if (i >= files.length) {
return;
}
var a = document.createElement('a');
a.href = files[i].download;
a.target = '_parent';
// Use a.download if available, it prevents plugins from opening.
if ('download' in a) {
a.download = files[i].filename;
}
// Add a to the doc for click to work.
(document.body || document.documentElement).appendChild(a);
if (a.click) {
a.click(); // The click method is supported by most browsers.
} else {
$(a).click(); // Backup using jquery
}
// Delete the temporary link.
a.parentNode.removeChild(a);
// Download the next file with a small timeout. The timeout is necessary
// for IE, which will otherwise only download the first file.
setTimeout(function() {
download_next(i + 1);
}, 500);
}
// Initiate the first download.
download_next(0);
}
I need help ==>>>
For the 1st PDF document open, read and save the text "codeproject"
Open the 2nd PDF document and check if it has "codeproject"
Open the next PDF doc and check if has "codeproject" By checking the details from pdf 1st and 2nd. Results If "codeproject" is matched in any of the pdf documents the test has FAILED Else it has PASSED
Show More