|
This is my first project. I draw on desktop while playing video.But this is not correct way
|
|
|
|
|
ravindervilasagar wrote: This is my first project.
Too complex to start with as a first project. I strongly suggest you start with chapter 1 of a good book. I'm not going to provide personal education on the project of your choosing.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
Do not repost: it's rude and won't get you any more help.
|
|
|
|
|
1. Read in a frame as an image
2. Draw line on image
3. Write image back to frame
4. If more frames, repeat from 1.
|
|
|
|
|
Hi
This is my first project
Please send some code for drawing on frames.
|
|
|
|
|
If this is your first project, you really shouldn't be attempting something like this. What I have described is hard to do properly and will not fit into a single forum answer. You are going to have to implement threading so that you don't block things while you do the read/draw/write operation. You have to understand how to work with video. Assuming this is in realtime, you need to understand DirectDraw.
And no, I don't just hand over code. If you search in Google, you might find an implementation, but given your inexperience, I don't think you'll understand it.
Pick an easier topic to start your C# programming career with. If you don't, I suspect you will become disheartened and that would be a shame.
|
|
|
|
|
This[^] should get you started! you can work your way up from there.
good luck.
|
|
|
|
|
How to drawlines on video in c#
|
|
|
|
|
Using code. Find a programmer, maybe (s)he'll write some for you.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
Please Send some code. Please..please..please
|
|
|
|
|
ravindervilasagar wrote: Please Send some code. Please..please..please There you are;
Console.WriteLine("Hello world");
If you need more code, I suggest you learn to WRITE it, or HIRE someone who can. No-one is going to write your work, based on your wishes, "just for the fun of it".
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
Please read How to get an answer to your question [^] Specifically item 1. Also, in general, it helps to add what you have tried and what is going wrong, otherwise people here will assume you just want the code written for you. If you are having problems getting started, say so though a quick Google search[^] has at least two results that should get you started, so I doubt that is the case here.
|
|
|
|
|
Hi,
I wish to start and run an application automatically.
I can create a task in Task Scheduler (It's still called this in Vista, don't know about windows nt, 7 or 8) to start the application daily at a specific time. No problem.
However, I actually want the app to perform some functions.
I'm thinking that passing some command line parameter through to the app when it starts through the task I've set up but a) I'm not sure how to do that
in Task Sceduler and b) hot sure what code I need to include in the application to pick up on the command line parameter.
I'm using c# 3.5 and viz stud 2008 and i guess it's a winform application at the mo too.
thanks
Mat
|
|
|
|
|
matleeds wrote: I'm thinking that passing some command line parameter through to the app when it starts through the task I've set up but a) I'm not sure how to do that
in Task Sceduler and b) hot sure what code I need to include in the application to pick up on the command line parameter.
Picking up command line parameters works the same for all; you have a main-method, and if correct, it'll have an array of string that hold the params.
Take a look at the example here[^].
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
Hey thanks,
command line args 101...it's just been ages since I've had to use them. Task scheduler also has a property for adding the command line arg as well..so job done, cheers
Mat
|
|
|
|
|
why you use VS code? code by cmd very hard
|
|
|
|
|
Hi coders out there, i am a fresh man in C#, now i have want to select maximum member_id from mysql, use the returned value from cmd as a string variable to use elsewhere in the application, someone help, please?
|
|
|
|
|
Help with what? Writing the Sql-query, or writing the C# code? What have you tried so far?
And which university?
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
|
MySQL
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
Eddy Vluggen wrote: MySQL
I really didn't saw that.
------------------------------
Author of Primary ROleplaying SysTem
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.
|
|
|
|
|
suppose I have the code was inserting records into the file c: \ \ test.dat see the code http://www.koders.com/csharp/fid4FB06ED9F7F6AA6BB805F9152B3DB29BBD1D0C61.aspx?s = CDEF% 3Afile
ith now want to delete the records in the file c: \ \ test.dat I can copy the code
btnAppend_Click to delete sample letter how i
code:
'Add items
private void btnAppend_Click (object sender, System.EventArgs e)
{
....
sf.Open (System.IO.FileMode.Append, System.IO.FileAccess.Write, System.IO.FileShare.None);???
...
}
'Delete the ith sample
private void btnDelete_Click (object sender, System.EventArgs e)
{
....
sf.Open (System.IO.FileMode.Append, System.IO.FileAccess.Write, System.IO.FileShare.None);???
...
}
|
|
|
|
|
The steps are generally pretty simple. Read the file in, and look for the record you want to delete. Delete the record. Save the file back out.
What, exactly, are you having trouble with?
|
|
|
|
|
Looks like a spooky way to serialize something. I suggest you use a BinaryFormatter , and use a Collection to manipulate the data.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
for example: add, delete, edit, ... struct binary record form and load the data into the listview? I'm using C # 2005, if you share yourself with, thank you
|
|
|
|