Search results

  1. UncleRonin

    Entity Framework 6 - Intermittent Runtime Error Reading AppSettings from Config

    Hey folks, I've tried searching for solutions to this on the web and either I'm the only one experiencing this or the search criteria are too broad based on the details involved :| I have an application running which makes use of Entity Framework 6 and basic threading. It's quite typical. The...
  2. UncleRonin

    InstallShield LE - How to deploy as a single MSI file?

    This is my first time using IS LE and I've sorted out the installation process and everything is perfect EXCEPT for the installation setup file structure. Previously when building my deployment projects I would package everything into a single MSI or setup executable and just make that...
  3. UncleRonin

    How do you allow access to class library within solution but not externally

    I have an application with two executables and a common class library in my solution. I want the class library accessible ONLY to these two applications and not to any external applications through the DLL. How can I make this library 100% open to my solution's projects but prevent outsiders...
  4. UncleRonin

    Question How to Play Individual Sounds through Individual Speakers?

    I've done a lot of looking around and I know this is possible but I want to know what the best way to do it is... and I've never actually touched DirectX before so it's quite daunting :| I would like to play 5 different sounds through 5 different speakers. So I would like to control them all...
  5. UncleRonin

    Question Is there a solution to the Bleeding Cursor problem for Firefox 2 and IE 6?

    I have a CSS menu comprised of <div>, <a>, <ul> and <li> elements. The menu works just fine except for when an <input> element currently has focus and the carat marking the current position in the element blinks and bleeds through the menu when it is displayed. Changing the z-index of the menu...
  6. UncleRonin

    Question With a StatusStrip is it possible to Spring the entire width?

    I have a basic Form with a StatusStip at the bottom. I have set SizingGrip = False and the BackColor = White. Now, I have added a single ToolStripStatusLabel with Spring = True. What I notice is that the label does not extend its width to the entire length of the StatusStrip and insteads stops...
  7. UncleRonin

    Question How to change the button text on an OpenFileDialog?

    How can the button text of an OpenFileDialog be changed in the cleanest possible manner? I've looked around and so far none of the solultions are all that simple and all require some fiddling with handles and things.
  8. UncleRonin

    Question What is the best way to update a RichTextBox?

    Yesterday I was working with a RichTextBox and decided to add some formatting to my logging (I've never formatted text in one before!! O_O) ...not quite what I expected! Now, normally I work with plain unformatted text and I have an imposed limit on the number of characters I allow to be...
  9. UncleRonin

    DataGridView Performance and Management

    I'm sure by now most of us have come across and/or used a DGV in some way or another. Personally I only ever used it for small result sets until recently and never had any issues with it. Now, however, I have had to use it for thousands of results (maxed at 50000 only) and even then there is a...
  10. UncleRonin

    Prevent user.config from being created when there are no user settings

    How can I prevent user.config being created when there are no user settings? I have machine settings which cannot be changed and no user settings whatsoever yet user.config is created regardless. To me this is totally unnecessary and just adds clutter, especially if there are later versions of...
  11. UncleRonin

    Remoting and processing objects...

    How exactly should a person go about setting up remoting and passing information between two applications? I have a client application which queries a server for info on it's state. The client calls the server which then processes things internally and then that result is the one which should...
  12. UncleRonin

    Question Windows Service, Web Site and Remoting... A Good Idea?

    I have a Windows Service that contains information I want to use within my Web Site. Now, what is the best way to get information from the Service? I was originally going to use a flat file and then the Site backend would continuously just read the file and process the information (this...
  13. UncleRonin

    Question How to know when to Invoke?

    Is it possible to execute some sort of code to determine whether or not it's a good idea to call Invoke? I dunno what you would do once you'd found out you can't but it could be useful for detecting some dead locks (like the one I have a the moment). So can this be done? Maybe by checking the...
  14. UncleRonin

    Multi-threading with SyncLock and Invoke

    Once again Invoke has come back to haunt me! I have an application that has some background threads, serial communications and obviously a GUI. Now, the serial ports received incoming messages as events and these get processed and incoming data is logged both to a file and also appended to a...
  15. UncleRonin

    Question How do Application Settings really work?

    I've used application settings (My.Settings) in previous projects before and they worked out just fine. I use them now in my current project though and it's a total mess! Previously I had my applications using the Exe.config file from within the application folder. I did nothing other than set...
  16. UncleRonin

    SerialPort class bizarre behaviour

    I've worked with the .NET 2.0 SerialPort class a whole bunch of times and in general it's okay but I've noticed some very strange behaviour. First up is not really a problem, it's just a matter of sorting out Encoding I think? I've never actually made the effort to find out the source of the...
  17. UncleRonin

    Memory management with collections

    Say for example there is a Class with a member in the form of List(Of Object) and you populate it with a bunch of stuff. Now you wanna get rid of the items so you call ListVariable.Clear and then everything supposedly vanishes. What really happens to the list items? Does the ListVariable simply...
  18. UncleRonin

    Boolean and Integer conversion error

    I'm not sure if anyone has come across this before but I'm getting some very strange conversions between Booleans and Integers... In all of my past projects where I've done conversion between these two data types an Integer with the value of 1 has always mapped to a Boolean with the value of...
  19. UncleRonin

    When it comes to DDE what are the options?

    I am being forced to interface with an old PC which uses DDE to pass on data. I've done some checking and it seems MS decided that DDE is no longer supported and the only way to use it is to either create a COM library for use in .NET or to develop the entire thing in VB6 which has built in...
  20. UncleRonin

    Answered: Threading, Invoking and FormClosing

    Okay, this is the situation... I have an application that has a GUI and a couple of threads that run in the background. Every now and then one of the threads has to update a GUI control so I call Invoke and update it. When the application closes the threads must finish their execution cycle so...
Top Bottom