So I’m developing a windows application that uses XNA 4.0 embedded in a custom windows control. The main issue I have is when the code inside that embedded control errors out, the windows form and control result in a big red X across the control instead of stopping and going to the debugger so I can find out where the issue is. I’m using Visual Studio 2010 Express since my copy of VS2008 doesn’t work with XNA 4.0 (why do that to us Microsoft?). Anyways… Information about running XNA in a windows form: http://creators.xna.com/en-US/sample/winforms_series1 http://creators.xna.com/en-US/sample/winforms_series2 On your keyboard do the key-press combination of: CTRL-ALT-E That opens up the “Exceptions” window. The odd thing is I can’t find the menu item for that window. In the Exceptions window I have two main checkboxes, but the important one for this issue is: “Common Language Runtime Exceptions” Check the box for “thrown” so we can receive internal exceptions. Now instead of getting ...
Currently ChatGPT is in a free “initial research preview” . One of its well known use cases at this point is generating software code. I’ve also just used it to write most of this article… Well, actually a future article about cleaning up SRT subtitle files of their metadata faster than I have been by hand with Notepad++ and its replace functionality. Update: I recorded a screencast of writing the SRT subtitle cleaner application loading and processing portion. I relied heavily on ChatGPT for code. It was a fun process! https://youtu.be/TkEW39OloUA ChatGPT, developed by OpenAI, is a powerful language model that can assist developers in a variety of tasks, including natural language processing and text generation. One such task that ChatGPT can help with is creating an SRT cleaner program. SRT, or SubRip Subtitle, files are commonly used to add subtitles to video files. However, these files can become cluttered with unnecessary information, such as timing lines or blank spaces. To clean...