blah blah blah is here! blah blah » Close

0
votes
1 answers

Include File

eeboy
499

I have a C# class which uses some constants that frequently change. These constants are offsets of memory in an external device. When the device firmware is compiled these offsets may change. There are hundreds of constants. Currently, the ...

0
votes
1 answers

Generic Progress Bar - WPF

eeboy
499

I want to create a window which contains a progress bar and a label. This window will be shown when certain time consuming tasks are performed (upload/download). It should be a modal window in the sense that it is in the foreground and the ...

1
votes
1 answers

WPF Property Binding And/Or and Non Bool Types

eeboy
499

Is it possible to bind to a property using logical operators? Take for instance my earlier question of binding to the IsEnabled property of a button. I was using... [code] <Button Name="btnUpdate" Content="Update" ...

1
votes
1 answers

WPF Binding Button Property

eeboy
499

I have a button. I want to bind the IsEnabled property to a boolean value. I tried something like this... [code] <Button Name="btnUpdate" Content="Update" Click="btnUpdate_Click" TabIndex="3" ...

1
votes
1 answers

WebClient - Stripping CR

eeboy
499

I am using WebClient to download simple xml files from a server. During the process it's stripping out the carriage returns from the file. It doesn't affect the usability but it does affect the readability. Can I force it to treat the downl ...

0
votes
1 answers

Project Dependencies

eeboy
499

I have a WPF application in which I am utilizing a third party component. It came packaged in a .msi file so there was an actual installation. I am assuming it registers the component during the install. I've added a reference to the compon ...

1
votes
1 answers

All About Versions

eeboy
499

I have a WPF application that I need to assign a version to. Is there a standard method for this? I see version information on the publish tab of the project properties but I am not using the publish feature. Ideally my version would consis ...

1
votes
1 answers

Folder Browser Dialog In WPF?

eeboy
499

Is there a folder browser dialog box built in to WPF? If so, can someone point me in the right direction. If not (and I am guessing this is the case given my searching) can I reference System.Windows.Forms and use the dialog box from there? ...

1
votes
1 answers

Getting A Reference To Another Object Outside The Current Scope

eeboy
499

I've got a problem and I don't know what jargon would accurately describe it so I'll just put it out there... [code] public class MyClass { public List<Device> Devices; public Library GlobalLibrary; ...

0
votes
1 answers

Screenshot

eeboy
499

How can I obtain a bitmap (or jpg or png or...) of my application window?

0
votes
1 answers

Check For Updates

eeboy
499

A lot of applications have a drop down menu item which allows the user to check for software updates. Is there a standard method for this? If so, what is done behind the scenes? Are they downloading a small file via FTP which details the re ...

1
votes
1 answers

Bug Reporting - Suggestions

eeboy
499

I'd like for the users of my application to be able to submit bug reports containing useful information. Perhaps this is done at the time of an exception or simply upon user request (Help->Bug Report). There are certain files that I want ...

0
votes
1 answers

Project Structure

eeboy
499

What is the correct way to structure a project in Visual Studio? I currently have a few classes which serve as a back end to an application. I then have two versions of applications, a console app and a WPF app. Up until now I *know* I ...

0
votes
1 answers

Exceptions - Catch All

eeboy
499

Is there a way that I can catch any exception that is not handled further down the stack? Basically if an exception occurs and is not handled then I want a catch all method to log the exception to a file along with some other information. T ...

1
votes
1 answers

Build Number

eeboy
499

This question is in the context of ANSI C. Is there a method to automate tracking of the build? I'd like to have access to the build number at runtime. As of now I have to manually edit a define statement like so: [code] #define BUILD_N ...

Feedback