|
Wow, I missed that one. I guess I'm a beginner at CodeProject reading comprehension. :->
|
|
|
|
|
I don't know why people do so...!!!!!!!;P
they did not want to try one time to self develop. they wnat only Soln.
Pavan Pareta
|
|
|
|
|
The OP asked:
Martand S wrote: hello !!
plz do list topics for final year degree(ug) proj in c# for a beginner
You said:
Pavan_pareta wrote: don't know why people do so...!!!!!!!
they did not want to try one time to self develop. they wnat only Soln.
He wasn't asking for a solution, complete or otherwise. He was asking for suggestions for a "final year degree(ug) proj in c# for a beginner".
Steve
|
|
|
|
|
Do something that solves some problem from your other class (algebra, whatever), if you can apply results from your app in that class too.
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
|
|
|
|
|
I learned C# in order to do my final year project - very rewarding. My project was a webcam security camera - to be implemented in whatever fashion or means I saw fit.
Other interesting ideas for projects I've heard along the way:
Nanite simulator (how would they communicate, create large scale structures with simple instructions)
Remote control helicopter controller (you might need an expensive toy for that one though)
Any of those are feasible projects and should give you plenty to study, write about and actually implement - there's a lot of real world and computer science theory to be studied and learned in the implementation of any of them
|
|
|
|
|
When you have a DataGridView of a table how do you sort multi-column in DataGridViw?
Any help will be appreciated.
Thank you.
Jamestown
|
|
|
|
|
|
Thanks. I'll try it to see how it works.
|
|
|
|
|
Is there one (and possibly if that include media player call, hide it's actually MP, but I hope to more elegant solution anyway)?
I know I seen some presentation where they did quick example of it, but can't remember how...
So?
|
|
|
|
|
Can you explain a bit more clearly what you're trying to achieve.
|
|
|
|
|
Enable user to play audio or video of their choice... is there some namespace that deal with this?
|
|
|
|
|
No. You need to use the windows media player control, or involve the DirectShow platform, which requires the PSDK.
Are you an Iron Maiden/Black Sabbath fan, or does your name mean something else ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Christian Graus wrote:
Are you an Iron Maiden/Black Sabbath fan, or does your name mean something else ?
Definitely big fan of Iron Maiden, but also like Ozzy Osbourne as well so I combined name of two songs into nick name...
Christian Graus wrote: No. You need to use the windows media player control, or involve the DirectShow platform, which requires the PSDK.
Direct X SDK or?
Anyway first one looks to be more simple... how to do it some simple example please if possible?
|
|
|
|
|
I saw Maiden in Toronto - awesome.
DirectShow is in the platform SDK. Intuitive, no ?
The WMP control is actually more code, but you have it already. Just google, there are plenty of samples out there for both. The DirectShow comes with samples, too, but it's pretty self explanatory.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
[ot]Never seen Maiden live, last time they were here I was 7... so that was long time ago actually, now they promise each year they will come but always miss our country for some reason (mostly local promoter don't have enough money to pay in advance, event though I'm sure it would be great concert, every 2nd kid in town during summer have IM T-shirt, so go figure)...[/ot]
Thing I seen on local MS presentation was, guy dragged button on form, and written simple event that opened and played media (audio) file from disc on click... but I guess it was just System.Media.SoundPlayer call (and at least to documentation it only play wav)... so not much use of that...
anyway I'll go for second solution I guess... I'll return later if I can't figure out how to do it...
BTW visit this www.ironmaiden.co.sr not in English... but anyway...
|
|
|
|
|
I'm in Australia, I flew to Toronto to see them, they never come here either
TrooperIronMan wrote: guy dragged button on form
You need to right click on the toolbox and choose 'change items' or something, and you get a list, from there you can add WMP to the toolbox. Then, you can indeed drag it onto a form.
TrooperIronMan wrote: written simple event that opened and played media (audio) file from disc on click
I believe the control has a Url property, it has something like that, which you can point to a file, and it will just play it. It has a property call CtlControls, or something, under that are methods like play, pause, stop.
TrooperIronMan wrote: BTW visit this www.ironmaiden.co.sr not in English... but anyway...
Will do
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
This work, I guess that is best solution, what is minimal version of MP that user should have in order this to run?
Does it work on 2000/ME/98?
does 2.0 run at all on 9x systems? how about 3.0?
|
|
|
|
|
.NET 2.0 requires 2000, and 3.0 requires XP.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
In .NET 2 I think there's a SoundPlayer [^]component that you can drop onto a form.
|
|
|
|
|
Ed.Poore wrote: In .NET 2 I think there's a SoundPlayer [^]component that you can drop onto a form.
Looks like link is bad or something
Page not Found<br />
<br />
An error occurred:<br />
The file '/script/comments/msdn2.microsoft.com/en-us/system.media.soundplayer.soundlocation.aspx' does not exist.<br />
<br />
This error has been recorded.<br />
|
|
|
|
|
Just do a google for SoundPlayer +msdn.
I have no idea what I just said. But my intentions were sincere.
|
|
|
|
|
How do I trap the event that is fired when the column header of a Datagrid is clicked?
Thanks!
I am a SysAdmin, I battle my own daemons.
|
|
|
|
|
This is from MS Help file example.
It might be usable to your occasion.
//===================================
private void sortButton_Click(object sender, System.EventArgs e)
{
// Check which column is selected, otherwise set NewColumn to null.
DataGridViewColumn newColumn =
dataGridView1.Columns.GetColumnCount(
DataGridViewElementStates.Selected) == 1 ?
dataGridView1.SelectedColumns[0] : null;
DataGridViewColumn oldColumn = dataGridView1.SortedColumn;
ListSortDirection direction;
// If oldColumn is null, then the DataGridView is not currently sorted.
if (oldColumn != null)
{
// Sort the same column again, reversing the SortOrder.
if (oldColumn == newColumn &&
dataGridView1.SortOrder == SortOrder.Ascending)
{
direction = ListSortDirection.Descending;
}
else
{
// Sort a new column and remove the old SortGlyph.
direction = ListSortDirection.Ascending;
oldColumn.HeaderCell.SortGlyphDirection = SortOrder.None;
}
}
else
{
direction = ListSortDirection.Ascending;
}
// If no column has been selected, display an error dialog box.
if (newColumn == null)
{
MessageBox.Show("Select a single column and try again.",
"Error: Invalid Selection", MessageBoxButtons.OK,
MessageBoxIcon.Error);
}
else
{
dataGridView1.Sort(newColumn, direction);
newColumn.HeaderCell.SortGlyphDirection =
direction == ListSortDirection.Ascending ?
SortOrder.Ascending : SortOrder.Descending;
}
}
Jamestown
|
|
|
|
|
Thanks Jamestown48,
I saw this too but it's not quite what I wanted. When a user clicks on the header of a column, I expect that an event is fired and datagrid processes it by sorting the rows accordingly. What I have in mind is that after this event is fired and datagrid does what it has to do, I will do my own processing (i.e. add an extra row to the bottom of the newly sorted rows).
I dunno if my question is too simplistic but I just couldn't find any resource for it.
regards
I am a SysAdmin, I battle my own daemons.
|
|
|
|
|
I want to translate data from one language to other in one of my .Net Web application. Say for instance from English to Chinese and vice versa. Any idea on how to do this. Are there any free source translation libraries available.
Thanks
sj
|
|
|
|