Click here to Skip to main content
16,006,442 members
Home / Discussions / C#
   

C#

 
Generallooking for .Net class lib to edit mp3 and ogg tags Pin
spazzman29-Sep-04 12:37
spazzman29-Sep-04 12:37 
GeneralRe: looking for .Net class lib to edit mp3 and ogg tags Pin
Christian Graus29-Sep-04 13:28
protectorChristian Graus29-Sep-04 13:28 
QuestionA timer problem? Pin
cemlouis29-Sep-04 11:14
cemlouis29-Sep-04 11:14 
AnswerRe: A timer problem? Pin
smithriver29-Sep-04 11:47
smithriver29-Sep-04 11:47 
GeneralRe: A timer problem? Pin
cemlouis29-Sep-04 14:12
cemlouis29-Sep-04 14:12 
GeneralRe: A timer problem? Pin
smithriver30-Sep-04 5:26
smithriver30-Sep-04 5:26 
GeneralRe: A timer problem? Pin
smithriver11-Oct-04 6:24
smithriver11-Oct-04 6:24 
GeneralEmbed and play an AVI file Pin
smithriver29-Sep-04 11:12
smithriver29-Sep-04 11:12 
I have a process that can take over ten minutes to complete. So, I added an update dialog box with an axAnimation (axMSComCtl2) control. I update a label as the little wheels spin in the AVI. Works great (using an explicit path in the Open method)! Here's the current code that works:

string sAppPath = Path.GetDirectoryName(Application.ExecutablePath);
string sAviFile = sAppPath + "\\PleaseWait.avi";
axPleaseWait.Open( sAviFile );
axPleaseWait.Play(0, 0, 0);

The problem is the file distribution. I have been asked by the powers that be to embed the AVI file in the project. I have found two ways to embed an AVI file: 1) right-click on the project, select "Add existing item", then browse to and select the AVI file (found by trial & error); 2) create a resource file, add the AVI, and then add the .resource file to the project (found in the MSDN). But I have yet to figure out how to get either of these methods to work!

The problem with the first method is that I have no way to get a path to the AVI file listed in the Solution Explorer. I thought about writing it to a temp file, but I have not figured out how to read in the AVI file. (I think this would be the most straight foward method to use).

The problem with the second method is that the resource file will not let me explicitly state that this is an AVI file. So, I selected Bitmap. I don't even know if the AVI has been added to the .resource correctly. Likewise, I have not figured out how to get the AVI file back out of the .resource file.

Any help would be greatly appreciated. Thanks!
GeneralGetting CPU Usage of a particular process Pin
filburt129-Sep-04 10:46
filburt129-Sep-04 10:46 
GeneralRe: Getting CPU Usage of a particular process Pin
leppie30-Sep-04 2:48
leppie30-Sep-04 2:48 
GeneralRe: Getting CPU Usage of a particular process Pin
Anonymous30-Sep-04 6:13
Anonymous30-Sep-04 6:13 
GeneralTab Control on .NET CF Pin
Member 59042329-Sep-04 9:06
Member 59042329-Sep-04 9:06 
GeneralRe: Tab Control on .NET CF Pin
Christian Graus29-Sep-04 13:30
protectorChristian Graus29-Sep-04 13:30 
Generaltoolboards Pin
Dantubby29-Sep-04 9:06
Dantubby29-Sep-04 9:06 
GeneralRe: toolboards Pin
Nick Parker29-Sep-04 9:25
protectorNick Parker29-Sep-04 9:25 
GeneralRe: toolboards Pin
Dantubby29-Sep-04 9:34
Dantubby29-Sep-04 9:34 
Generalsoap wse Pin
jeffjf29-Sep-04 7:17
jeffjf29-Sep-04 7:17 
GeneralRe: soap wse Pin
Heath Stewart29-Sep-04 7:49
protectorHeath Stewart29-Sep-04 7:49 
GeneralRe: soap wse Pin
jeffjf30-Sep-04 0:18
jeffjf30-Sep-04 0:18 
GeneralRe: soap wse Pin
Heath Stewart30-Sep-04 5:30
protectorHeath Stewart30-Sep-04 5:30 
GeneralOutput is the same for datagrid itemtemplate. Pin
macsgirl29-Sep-04 6:38
macsgirl29-Sep-04 6:38 
GeneralOutput is the same for datagrid itemtemplate. Pin
macsgirl29-Sep-04 6:37
macsgirl29-Sep-04 6:37 
GeneralRe: Output is the same for datagrid itemtemplate. Pin
leppie29-Sep-04 7:04
leppie29-Sep-04 7:04 
GeneralRe: Output is the same for datagrid itemtemplate. Pin
macsgirl29-Sep-04 7:17
macsgirl29-Sep-04 7:17 
GeneralRe: Output is the same for datagrid itemtemplate. Pin
Heath Stewart29-Sep-04 7:52
protectorHeath Stewart29-Sep-04 7:52 

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.