Click here to Skip to main content
15,895,142 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# - sending mails Pin
Nil_IQ16-Jun-09 0:04
Nil_IQ16-Jun-09 0:04 
GeneralRe: C# - sending mails Pin
treuveni16-Jun-09 1:59
treuveni16-Jun-09 1:59 
QuestionRead Text Pin
arkiboys15-Jun-09 21:35
arkiboys15-Jun-09 21:35 
AnswerRe: Read Text Pin
himanshu256115-Jun-09 21:41
himanshu256115-Jun-09 21:41 
AnswerRe: Read Text Pin
Christian Graus15-Jun-09 22:16
protectorChristian Graus15-Jun-09 22:16 
GeneralRe: Read Text Pin
arkiboys16-Jun-09 0:35
arkiboys16-Jun-09 0:35 
QuestionProblem with data GridView C# Pin
PrakashPaul15-Jun-09 21:13
PrakashPaul15-Jun-09 21:13 
QuestionAdd Event to a CustomControl Pin
Sreedhar Kadiyala15-Jun-09 21:02
Sreedhar Kadiyala15-Jun-09 21:02 
AnswerRe: Add Event to a CustomControl Pin
DaveyM6915-Jun-09 22:16
professionalDaveyM6915-Jun-09 22:16 
GeneralRe: Add Event to a CustomControl Pin
Sreedhar Kadiyala15-Jun-09 23:04
Sreedhar Kadiyala15-Jun-09 23:04 
QuestionQR barcode decoder..... Pin
S K Y15-Jun-09 20:04
S K Y15-Jun-09 20:04 
AnswerRe: QR barcode decoder..... Pin
DidiKunz15-Jun-09 22:06
DidiKunz15-Jun-09 22:06 
QuestionDatetime problem Pin
Pankaj Saha15-Jun-09 20:01
Pankaj Saha15-Jun-09 20:01 
AnswerRe: Datetime problem Pin
SeMartens15-Jun-09 21:01
SeMartens15-Jun-09 21:01 
AnswerRe: Datetime problem Pin
Vikram A Punathambekar15-Jun-09 21:36
Vikram A Punathambekar15-Jun-09 21:36 
Questionwhat does a Object value return? Pin
svt gdwl15-Jun-09 19:32
svt gdwl15-Jun-09 19:32 
AnswerRe: what does a Object value return? Pin
SeMartens15-Jun-09 21:46
SeMartens15-Jun-09 21:46 
QuestionNode.Tag Pin
LTMKH15-Jun-09 19:24
LTMKH15-Jun-09 19:24 
AnswerRe: Node.Tag Pin
DaveyM6915-Jun-09 21:01
professionalDaveyM6915-Jun-09 21:01 
GeneralRe: Node.Tag Pin
LTMKH16-Jun-09 0:26
LTMKH16-Jun-09 0:26 
Questionsystem.io.filenotfoundexception from using WaveFormat structure Pin
tjeffries15-Jun-09 15:49
tjeffries15-Jun-09 15:49 
This is bizarre!

I've got an app in C# that uses DirectSound. I set up the SecondaryBuffer in the normal way, using a WaveFormat struct. It runs fine on my machine and on other machines that have downloaded and installed the latest version of DirectX (DirectX 9.0c (4.09.0000.0904)).

However, on machines that show the exact same DirectX version number, when I run the program, if there is so much as a declaration that there is the slightest chance that I might possibly be considering using a WaveFormat structure, I get a file not found dialog box which tells me there was a "system.io.filenotfoundexception". Nothing in the detailed error report tells me what file was not found.

If I download and install the latest DirectX install, everything is fine. If I UNINSTALL DirectX from the machine, the program STILL WORKS!!! I've been comparing installed DLLs, looking for something that might account for the problem, but so far no luck.

I'm gonna get some pushback from my client if I tell him that all of his customers have to download and install the latest DirectX even if they already think they have it installed. Heck, I'd be pretty annoyed if somebody told me that! But, so far, that's the only solution I've found. I hope somebody else has run into this, or has an idea about tracking down the missing file.

In case it's not clear, all I have to do is have the following line in my code, and the program will not run on a computer that has not had DX re-downloaded and installed:

WaveFormat wFormat;

That's all it takes. And, as I'm sure many of you know, the WaveFormat structure has been around since before the last ice age, it's not something new.
AnswerRe: system.io.filenotfoundexception from using WaveFormat structure Pin
Dave Kreskowiak15-Jun-09 16:31
mveDave Kreskowiak15-Jun-09 16:31 
GeneralRe: system.io.filenotfoundexception from using WaveFormat structure Pin
tjeffries15-Jun-09 16:52
tjeffries15-Jun-09 16:52 
GeneralRe: system.io.filenotfoundexception from using WaveFormat structure Pin
tjeffries15-Jun-09 18:39
tjeffries15-Jun-09 18:39 
GeneralRe: system.io.filenotfoundexception from using WaveFormat structure Pin
molesworth15-Jun-09 23:21
molesworth15-Jun-09 23:21 

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.