16,005,080 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 Pdeveloper (Top 9 by date)
Pdeveloper
29-Sep-15 0:54am
View
Thanks Saksham, will try and implement this. Thanks !!! :)
Pdeveloper
15-Jul-14 5:38am
View
I have seen there Play_wind2008 sample which is near to my req. but the video is played to the form, I need to play it in pannel control....so that i cn then save images form pannel.
Pdeveloper
15-Jul-14 5:36am
View
Actually I am developing windows / winform application. I am trying to use directshow library. As I am very new to directshow and just going through there samples.
Play -pause - stop are very easy funtions to develop. but my additional req is to take snapshots from the video and save it to local disk, along with the speed to be increased when req by the user.
Pdeveloper
1-Apr-14 6:56am
View
Thanx for u reply will Google these terms and try to implement this in my app, as I have no idea about pooling and NOLOCK.
Pdeveloper
1-Apr-14 6:54am
View
Thanx for ur reply, but my database is not stored remotely, its on the same machine as of now.
so u mean first create the server to install sql server and then create users.
but how to optimize the transactions from differnt machines ? can u provide me any link where I can get step by step procedure for this kind of app ?
I have really no idea
Pdeveloper
16-Jan-14 0:08am
View
thanks @OriginalGriff !! I got what u want to say, but even i use IO exception or sql server, OR even if I make a copy of file and then use that copied file...still the error comes, its becoz while copying also if h/w writes to original file, it wont work and will say that the file is in use..
Actually I cnt control h/w time. It continuously puts data into file. there is no fixed interval for h/w. So, how cn I parallel read the data irrespective of h/w write time.
I can set my time interval for reading(for ex 1seconds...2seconds), But I dont have any control over h/w.
do u have some idea how can I do this ?
Pdeveloper
15-Jan-14 6:27am
View
here is my code
public DataSet LoadCSVToGrid()
{
DataSet ds = new DataSet();
if (File.Exists( @"C:\\Count_06.csv"))
{
try
{
// Creates and opens an ODBC connection
string strConnString = "Driver={Microsoft Text Driver (*.txt; *.csv)};Dbq=" + dirCSV.Trim() +";Extensions=asc,csv,tab,txt; Persist Security Info= false";
string sql_select;
OdbcConnection conn;
conn = new OdbcConnection(strConnString.Trim());
conn.Open();
//Creates the select command text
sql_select = "select * from [" + fileNaneCSV + "]";
//Creates the data adapter
OdbcDataAdapter obj_oledb_da = new OdbcDataAdapter(sql_select, conn);
//Fills dataset with the records from CSV file
obj_oledb_da.Fill(ds, "csv");
DataTable dt = new DataTable();
dt = ds.Tables["csv"];
for (int i = 0; i <= dt.Rows.Count - 1; i++)
{
string temp = dt.Rows[i][0].ToString();
}
//closes the connection
conn.Close();
}
catch (Exception e) //Error
{
MessageBox.Show(e.Message, "Error - LoadCSV", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
else
{
MessageBox.Show("The csv File does not exists");
}
return ds;
}
AND then this dataset is passed to datagrid.
Pdeveloper
15-Jan-14 6:21am
View
no..
Pdeveloper
15-Jan-14 6:18am
View
I have done this also..when it is in try-catch block and if the file is not use in that second...it reads file and again if while reading the file is in use with h/w.. then this does not work :(
Show More