Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

q1 . Am I able to save some of my program settings inside the .exe file instead of doing an external e.g. config.ini or using the registry ? The application should remember the changed settings next time it is started... I think this sounds impossible to save data in the application.exe file itself ?

 

q2. Am I able to save .wav files inside the exe so I could play them from the .exe code ? (I think this should be possible)

Edited by DR00ME

"Everything should be made as simple as possible, but not simpler."

"It's not that I'm so smart , it's just that I stay with problems longer ."

- Albert Einstein

Posted

Oh yeah thx for the info (q2)

 

q1. Why not ? I remember there was a bug once in windows e.g. u played .avi and you could execute something same time...the exe was associated with the .avi file somehow...so I was thinking if you could somehow attach .ini / .txt or whatever with .exe file. And you would be also able to modify it(save .exe settings in it)..... Just a thought...

"Everything should be made as simple as possible, but not simpler."

"It's not that I'm so smart , it's just that I stay with problems longer ."

- Albert Einstein

Posted (edited)

I made a new folder and added existing item .wav inside it....

 

 

So how do I play the .wav file ?

 

 

Private Const SND_FILENAME As Integer = &H20000

 

PlaySound(_WHAT COMES HERE_, 0, SND_FILENAME)

 

And how do I import the resourcemanager or is that even possible ?

Edited by DR00ME

"Everything should be made as simple as possible, but not simpler."

"It's not that I'm so smart , it's just that I stay with problems longer ."

- Albert Einstein

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...