15,897,371 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 CDRxxx (Top 4 by date)
CDRxxx
8-Jul-19 14:47pm
View
Well, the question really is:
On a daily basis a textfile is generated with about a million strings (C:\Temp\NGDDIVlist.txt). Each string is in fact a record with two fields. The project needs to search this textfile for matches on field 0 of each record and has to do that for more or less 400.000 times. For the time being this is done using Instr, but I am looking for faster ways to do this. If I can split up the initial textfile in less longer subfiles, the Instr will take less time. Therefore these subfiles need to be named with the 'key' used for splitting. For this key I want to use the last two characters of field 0 of each record in the initial textfile. To build those subfiles fast, I want to use stringbuilders and since the 'key' = 2 characters, there are 36 x 36 = cases...
CDRxxx
28-Dec-17 9:35am
View
Thx for your help!! this is exactly what I was looking for, I mean the /Y ...
My solution looks now like
Process.Start("CMD", "/c net use * /delete /Y")
and it works as it shoud.
CDRxxx
27-Dec-17 15:33pm
View
Thx for this! Works fine...but do you know also how to make it autoexecute? (For now net use waits for confirmation to delete connections...)
CDRxxx
26-Feb-16 16:21pm
View
Why i want to this? To protect data from being read in memory by ... unallowed persons/programs/virusses etc...