Click here to Skip to main content
15,921,548 members
Home / Discussions / C#
   

C#

 
AnswerRe: SQL Server Connection Best Practice Pin
Dave Kreskowiak6-May-15 11:11
mveDave Kreskowiak6-May-15 11:11 
AnswerRe: SQL Server Connection Best Practice Pin
F-ES Sitecore6-May-15 22:39
professionalF-ES Sitecore6-May-15 22:39 
QuestionCreating Large, Blank Bitmaps Pin
JBHowl6-May-15 3:39
JBHowl6-May-15 3:39 
AnswerRe: Creating Large, Blank Bitmaps Pin
Dave Kreskowiak6-May-15 4:15
mveDave Kreskowiak6-May-15 4:15 
GeneralRe: Creating Large, Blank Bitmaps Pin
JBHowl6-May-15 4:41
JBHowl6-May-15 4:41 
GeneralRe: Creating Large, Blank Bitmaps Pin
Eddy Vluggen6-May-15 5:14
professionalEddy Vluggen6-May-15 5:14 
GeneralRe: Creating Large, Blank Bitmaps Pin
Dave Kreskowiak6-May-15 11:07
mveDave Kreskowiak6-May-15 11:07 
AnswerRe: Creating Large, Blank Bitmaps Pin
Pete O'Hanlon6-May-15 5:00
mvePete O'Hanlon6-May-15 5:00 
GeneralRe: Creating Large, Blank Bitmaps Pin
JBHowl6-May-15 5:03
JBHowl6-May-15 5:03 
GeneralRe: Creating Large, Blank Bitmaps Pin
Pete O'Hanlon6-May-15 8:50
mvePete O'Hanlon6-May-15 8:50 
AnswerRe: Creating Large, Blank Bitmaps Pin
OriginalGriff6-May-15 6:14
mveOriginalGriff6-May-15 6:14 
GeneralRe: Creating Large, Blank Bitmaps Pin
JBHowl6-May-15 7:16
JBHowl6-May-15 7:16 
QuestionHow can I use webcam in WebBrowser Control? Pin
Member 116126625-May-15 17:45
Member 116126625-May-15 17:45 
AnswerRe: How can I use webcam in WebBrowser Control? Pin
Dr Gadgit6-May-15 2:14
Dr Gadgit6-May-15 2:14 
QuestionC# Get Audio File From Resources Pin
Kevin Marois5-May-15 9:03
professionalKevin Marois5-May-15 9:03 
AnswerRe: C# Get Audio File From Resources Pin
Sascha Lefèvre5-May-15 10:28
professionalSascha Lefèvre5-May-15 10:28 
GeneralRe: C# Get Audio File From Resources Pin
Kevin Marois5-May-15 10:50
professionalKevin Marois5-May-15 10:50 
I tried using Assembly.GetManifestResourceNames() and I got back an array of 33 resources:
var resources = System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceNames();
using (var sw = new StreamWriter(@"C:\someplace\resources.txt", true))
{
    foreach (var resource in resources)
    {
        sw.WriteLine(resource.ToString());
    }
}
I get this:
FALCON6.g.resources
FALCON6.DownloadDialog.resources
FALCON6.ucAdvancedSettingsConfig.resources
FALCON6.ucConfigureBluetoothSensor.resources
FALCON6.ucBluetoothPairing.resources
FALCON6.ucBluetoothPairingItem.resources
FALCON6.ucCOPSoundSelector.resources
FALCON6.ucConfigureFalcon6Sensor.resources
FALCON6.ucConfigureWiredSensor.resources
FALCON6.ucCOPIconSelector.resources
FALCON6.ucCOPSettings.resources
FALCON6.ucFC6ActivityListContainer.resources
FALCON6.ucFC6Sensor.resources
FALCON6.FALCON6MainForm.resources
FALCON6.Properties.Resources.resources
FALCON6.ucCameras.resources
FALCON6.ucConnectMain.resources
FALCON6.ucConnect_Prof.resources
FALCON6.ucConnect_Profs.resources
FALCON6.ucFC6Activity.resources
FALCON6.ucFC6SensorPictureBox.resources
FALCON6.ucFC6Timeline.resources
FALCON6.ucGSMConfig.resources
FALCON6.ucImageResizer.resources
FALCON6.ucImageViewer.resources
FALCON6.ucIPAddressConfig.resources
FALCON6.ucLiveView.resources
FALCON6.ucRow.resources
FALCON6.ucTable.resources
FALCON6.ucMapCompositeExtended.resources
FALCON6.ucUploadSettings.resources
FALCON6.ucVideo.resources
FALCON6.ucVideoPlayer.resources

I have no clue which of these is right, and I have no idea how to use it.

Sascha Lefévre wrote:
and simply copy the resource name from there.


.. I don't understand.
If it's not broken, fix it until it is

GeneralRe: C# Get Audio File From Resources Pin
Sascha Lefèvre5-May-15 11:02
professionalSascha Lefèvre5-May-15 11:02 
GeneralRe: C# Get Audio File From Resources Pin
Kevin Marois5-May-15 11:05
professionalKevin Marois5-May-15 11:05 
GeneralRe: C# Get Audio File From Resources Pin
Kevin Marois5-May-15 11:17
professionalKevin Marois5-May-15 11:17 
GeneralRe: C# Get Audio File From Resources Pin
Sascha Lefèvre5-May-15 11:32
professionalSascha Lefèvre5-May-15 11:32 
GeneralRe: C# Get Audio File From Resources Pin
Kevin Marois5-May-15 11:33
professionalKevin Marois5-May-15 11:33 
GeneralRe: C# Get Audio File From Resources Pin
Sascha Lefèvre5-May-15 11:35
professionalSascha Lefèvre5-May-15 11:35 
GeneralRe: C# Get Audio File From Resources Pin
Mycroft Holmes5-May-15 14:15
professionalMycroft Holmes5-May-15 14:15 
GeneralRe: C# Get Audio File From Resources Pin
Sascha Lefèvre6-May-15 1:46
professionalSascha Lefèvre6-May-15 1:46 

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.