Click here to Skip to main content
15,884,298 members
Home / Discussions / C#
   

C#

 
AnswerRe: Wrong path. Pin
stancrm1-Sep-09 2:50
stancrm1-Sep-09 2:50 
AnswerRe: Wrong path. Pin
Luc Pattyn1-Sep-09 4:48
sitebuilderLuc Pattyn1-Sep-09 4:48 
AnswerRe: Wrong path. Pin
Tony Richards1-Sep-09 9:09
Tony Richards1-Sep-09 9:09 
QuestionHow to add Sort Icon to Gridview Header? Pin
Ganapatisb1-Sep-09 2:09
Ganapatisb1-Sep-09 2:09 
QuestionAuto hide view component Pin
anishkannan1-Sep-09 2:08
anishkannan1-Sep-09 2:08 
AnswerRe: Auto hide view component Pin
stancrm1-Sep-09 2:28
stancrm1-Sep-09 2:28 
GeneralRe: Auto hide view component Pin
anishkannan1-Sep-09 4:25
anishkannan1-Sep-09 4:25 
QuestionWindows Form Freeze Pin
Shyamraja1-Sep-09 1:11
Shyamraja1-Sep-09 1:11 
Hi All,
I have created a custom video player in C#. This player has two forms.
1. The Video Player window ( running in primary (UI) thread )
2. The content playing window (running in a secondary thread)

Everything goes fine for nearly 5-6 hours, then the main video player window freeze.So i cannot access any of the buttons (stop, pause ,exit) in the player.

But the secondary thread keeps playing the files for even two days continuously ( which is the max i tested).

Things i have checked :
1. There is no memory issue, since i dispose the objects i create after playing each file ( few min videos) . I have checked the process in task manager, where status is running and memory usage as same as it is started.

2.I have used BeginInvoke from secondary thread to update the current playing file in the list box on the main video player window ( once the main window freeze, the update is not visible)

3. I have used a timer in the main video player window and tried refreshing form , calling Application
.DoEvent() for every few minutes , still it gets freeze up after 5-6 hours.

Why the UI window freeze up?
Is my architecture for the player is wrong?
(I need to do lots of processing in secondary thread for the images and videos to be played, but it is working fine)

Kindly give me your suggestions.
QuestionLogin failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection. Pin
Rajesh Koriya1-Sep-09 0:38
Rajesh Koriya1-Sep-09 0:38 
AnswerRe: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection. Pin
Aman Bhullar1-Sep-09 0:42
Aman Bhullar1-Sep-09 0:42 
QuestionHow to Bind C1TDBDrop Down with C1Database Grid Pin
Manish791-Sep-09 0:30
Manish791-Sep-09 0:30 
AnswerRe: How to Bind C1TDBDrop Down with C1Database Grid Pin
Mycroft Holmes1-Sep-09 1:44
professionalMycroft Holmes1-Sep-09 1:44 
QuestionImage to binary Pin
tanweer1-Sep-09 0:27
tanweer1-Sep-09 0:27 
AnswerRe: Image to binary Pin
JoeSharp1-Sep-09 0:45
JoeSharp1-Sep-09 0:45 
AnswerRe: Image to binary Pin
Md. Marufuzzaman1-Sep-09 1:47
professionalMd. Marufuzzaman1-Sep-09 1:47 
QuestionTo import .Doc file into rich text box in c# Pin
tanweer1-Sep-09 0:22
tanweer1-Sep-09 0:22 
AnswerRe: To import .Doc file into rich text box in c# Pin
Hristo-Bojilov1-Sep-09 0:25
Hristo-Bojilov1-Sep-09 0:25 
GeneralRe: To import .Doc file into rich text box in c# Pin
tanweer1-Sep-09 0:31
tanweer1-Sep-09 0:31 
GeneralRe: To import .Doc file into rich text box in c# [modified] Pin
Hristo-Bojilov1-Sep-09 0:43
Hristo-Bojilov1-Sep-09 0:43 
GeneralRe: To import .Doc file into rich text box in c# Pin
smshepard2-Sep-09 2:55
smshepard2-Sep-09 2:55 
QuestionSlow in displaying Crystal report Pin
sharad Pyakurel31-Aug-09 23:59
sharad Pyakurel31-Aug-09 23:59 
AnswerRe: Slow in displaying Crystal report Pin
Jacobb Michael1-Sep-09 0:49
Jacobb Michael1-Sep-09 0:49 
GeneralRe: Slow in displaying Crystal report Pin
sharad Pyakurel1-Sep-09 1:21
sharad Pyakurel1-Sep-09 1:21 
QuestionIndexers Question Pin
Programm3r31-Aug-09 23:49
Programm3r31-Aug-09 23:49 
AnswerRe: Indexers Question [modified] Pin
Keith Barrow1-Sep-09 0:01
professionalKeith Barrow1-Sep-09 0:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.