Search results

  1. Grayda

    Reflection 'ambiguous match' error

    For a bit of self education, I'm writing a game using XNA and using NLua for scripting. I've got three classes, clsBase (which defines the functions and subs all things in the game must be able to do), clsSprite (which is objects such as doors) and clsPlayer. The last two inherit from clsBase so...
  2. Grayda

    Adding folders to libraries - Windows 7

    At my workplace, we're having troubles with Windows 7. Folders that are supposed to be in the libraries (e.g. Documents Library) aren't appearing. While we sort the issue out via Group Policy, I'd like a "DIY fix" that people can run and keep working instead of flooding IT support with requests...
  3. Grayda

    Tip Menu module

    Good afternoon everyone, While working on my first console app, I had the need to create an interactive menu. There were some solutions about, but most of them required the screen to be cleared with each key press. This wasn't a good solution for me so I came up with my own. You pass it two...
  4. Grayda

    Stopping "automatic" updating of controls with datasource

    I'm writing an app that pulls information from a DataSet as a one-way thing (e.g. the datasource populates a listbox, but for selection purposes only -- the user cannot change the list values). My problem is, when I select something from the listbox, all of the other listboxes change too, as if...
  5. Grayda

    Loading listbox selected items from a database

    Hi, I was originally going to ask this question, but I did a little poking around and came across the answer myself. Because I couldn't find the answer anywhere else, I thought I'd post it here for others to use. I was writing a program that would save the contents of a listbox to a database...
  6. Grayda

    Question Charting and annotations

    I've managed to get a good grip on the charting component that was introduced with .NET 4. I've managed to create a chart, add some series and legends and plot out some data. I've also worked out annotations in the designer, but cannot do so programatically. I've searched on a few sites, but...
  7. Grayda

    Battery serial numbers

    In my latest VB.NET app, I've written some code that grabs various laptop / UPS battery information from WMI. The idea is to let IT people see a battery's health and voltage and such. But in running this app on several of our Dell laptops, I've come across some interesting numbers. First off...
  8. Grayda

    Increasing CPU usage to simulate heavy computer use

    I'm building a VB.NET 2010 app that tracks battery usage. Run the app, start logging, then let the battery go flat. At the end, you get a nice graph that shows you how long the battery took to run down. Compare it to previous results and you can see how battery life is doing. But this is...
  9. Grayda

    Question Getting file name before execution

    Right now a project I'm working on is in the planning stage, but I'd like to know the best way of going about this: This project's end goal is to behave like Group Policy's Software Restriction Policy, whereby an administrator can block execution of a file or file within a path / registry key...
Top Bottom