10 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Smalls

The topic is the question, is there a way to access embedded resources folder by name dynamically via string? The closest I think I've gotten is the following code which has error "Cannot implicitly convert type 'System.Collections.Generic.IEnumerable<string>' to 'string'", if i try to get the only folder it should return …

Member Avatar for ddanbe
0
287
Member Avatar for noobeyne

In the following function, the first debug output line ("debugPut"), produces what seems like a valid result: X: 427 Y: 197src=http://www.mygameslab.com/Switch/settingsScreen.png and even pasting the image link itself correctly displays the screen graphics. However, the screen never displays and the next debug text which was supposed to print "Kukuriiiiiiku" doesn't …

Member Avatar for noobeyne
0
343
Member Avatar for Xakzi

Hello! I got a neaty tricky situation here.. I have a picturebox1 and listbox1 and a few items in listbox1. I got images in resources.resx (bmp) and want to load different images depending on what index is selected.. I wanted for it to be something like this.. Bitmap bmp = …

Member Avatar for Xakzi
0
2K
Member Avatar for Triryche

I am trying to play a wav file form a projects resources. I found this example: [Click Here](http://www.daniweb.com/software-development/csharp/code/258293/add-sound-file-into-resource-and-access-it.-in-.net-c) I imported two wav files per instructions named "Button.wav" and "Stop.wav". I commented out this line `Stream soundStream;` because it did not seem to belong. When I run the code the sound …

Member Avatar for tinstaafl
0
359
Member Avatar for ravinder yadav
Member Avatar for Aterin
0
281
Member Avatar for eskimo456

Hi there I have made and run several different graphics programs and applications. The applications I have made so far always use the full processor and graphics card available. The game for instance may run at 5000fps or some really high number. I am assuming this is not how games …

Member Avatar for eskimo456
0
150
Member Avatar for mwjones

Hello, My friend and I are learning to program by creating and solving little challenges for each other. In the most recent one, he hid something in the resources of his program. I can find and save the resource off manually using .NET Reflector; but I am trying to do …

Member Avatar for mwjones
0
943
Member Avatar for Pokenerd

Hi guys, I am writing a small application which needs to load some images, and other resources. I am currently trying to find the best way to package these resources in my application. I have looked at some examples, I but I have been having trouble understanding them, and many …

Member Avatar for lee.j.baxter
0
147
Member Avatar for end3r

Hy, I have a .properties file with a key-value defined like this: [icode]my_property.value=text text text bla bla bla {0} qwerty {1}.[/icode] I need to know what class should I use if I want to read the value and insert parameters in {0} and {1}. In the past I used to …

Member Avatar for end3r
0
4K
Member Avatar for Schoorsteen

Hey there, I've been attempting some Win32 programming for a while now, but I just can't seem to find a function where I can get the HWND by the resource ID. Just an example: [CODE] CreateWindowEx(NULL, L"BUTTON", text, WS_TABSTOP|WS_VISIBLE|WS_CHILD|BS_DEFPUSHBUTTON, x, y, width, height, parent, (HMENU)IDC_BUTTON_OK, GetModuleHandle(NULL), NULL); HWND btn = …

Member Avatar for Schoorsteen
0
4K

The End.