Search:

Type: Posts; User: jmcilhinney

Page 1 of 13 1 2 3 4

Search: Search took 1.23 seconds.

  1. Re: System.Management EventWatcher, best practices?

    I've never actually used that class myself but, from a quick look at the documentation, it appears that you are probably calling the WaitForNextEvent method, which is synchronous and gets just the...
  2. Replies
    4
    Views
    39

    Re: show image from ultrasound

    If you're talking about interfacing with external hardware then that hardware will pretty much always come with accompanying software, so the first thing you should do is review the documentation for...
  3. Replies
    15
    Views
    171

    Re: Happy birthday jmcilhinney!

    "By and large" is actually a nautical expression, or at least a combination of nautical terms, that pretty much means "into the wind and with the wind". That means that, as an every day expression,...
  4. Replies
    15
    Views
    171

    Re: Happy birthday jmcilhinney!

    Happy birthday jmcilhinney. You are the toppest of top blokes and obviously everyone thinks you're tops. Keep up the top work.
  5. Re: vb.net.exe stooped working in windows 8

    That information mentions System.Drawing and an OutOfMemoryException. Are you doing anything with Images in the application?
  6. VS 2012 Re: Correcting null values in boolean columns

    The column supports that situation without any extra code from you.

    http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridviewcheckboxcolumn.threestate.aspx
  7. VS 2010 Re: Why is it "bad" to only have an exception catch block?

    First of all, you should only ever be writing Catch blocks for exceptions that you know for a fact can reasonably be thrown. You don't just stick Catch blocks in just in case something might happen....
  8. VS 2012 Re: SQL Server Compact and INSERT Statement

    If you have a question that relates specifically to the topic of this thread then just ask it, rather than asking if you can ask it. If it doesn't relate specifically to the topic of this thread...
  9. Replies
    94
    Views
    51,797

    Re: Retrieving and Saving Data in Databases

    Using SQL Server CE is pretty much exactly as I've shown above, as it is for pretty much any data source when using ADO.NET. You need to add the SQL Server CE ADO.NET provider, which you do by...
  10. Re: [VB2010] - if form is a control, why isn't in collection list?

    The Form class has a TopLevel control. To nest a form inside another form you must set TopLevel to False for the child form.
  11. Replies
    5
    Views
    129

    VS 2010 Re: moved from xp to windows 7 problem

    Editing designer-generated code by hand should generally be avoided for two reasons:

    1. You might do something that will break the designer.
    2. Each time you make a change in the designer it will...
  12. VS 2012 Re: Opening a game with a button

    The most common reason for this issue is the working directory. When you run an EXE from the commandline, its working directory will be the folder containing the EXE. If you run an EXE by calling...
  13. Re: DataGridView: Bound and Unbound information

    As I said in my previous post, if you want to sort and filter the data locally then you use the Sort and Filter properties of the BindingSource. That said, if you only want a portion of the data to...
  14. Re: [VB2010] - if form is a control, why isn't in collection list?

    The code you posted originally must already be in the form. That code accesses the Controls collection of the form. In order to get its Controls collection, you must already have the form. What do...
  15. Replies
    5
    Views
    106

    Re: Get content from changing website

    Are you saying that you want to navigate to the page containing the graph(s) in a WebBrowser control or that you just want to download the data and display it some other way?
  16. Re: DataGridView: Bound and Unbound information

    Firstly, don't create a DataView. If you have a typed DataSet then add a BindingSource and bind your DataTable to that and bind that to the DataGridView. You set the DataSource and DataMember of...
  17. Re: [VB2010] - if form is a control, why isn't in collection list?

    Consider this. If you had a bag and you wanted to list all the things that were inside the bag, would you add the bag to that list? Of course not. When you loop through the form's Controls...
  18. Re: datetimepicker change month & years animation

    If you're talking about navigating in the drop-down calendar, that is provided by the OS so it's not really something you can change unless you do it all yourself from scratch and don't use the...
  19. Re: DataGridView: Bound and Unbound information

    The easiest way would be to actually add a column to your DataTable and set its Expression and then let that be bound to the grid. The fact that the column exists in the DataTable does not mean that...
  20. Replies
    3
    Views
    239

    3.0/LINQ Re: Add Icons to TreeView

    A tree is an inherently recursive structure so, unless you have a compelling reason to do otherwise, it makes sense to use recursion to populate it, e.g.Private Function GetFileSystemNodes(folderPath...
  21. Replies
    7
    Views
    125

    VS 2010 Re: Button.click delay

    Firstly, please don't ask unrelated questions in the same thread. It just makes it harder for everyone. If have questions on two different topics then please create two different threads that each...
  22. Replies
    5
    Views
    103

    VS 2012 Re: httpclient help and utf-8

    The 'Await' keyword is very new, introduced in VB 2012, which is why there's not so much information around about its use and many have little to no experience using it, myself included.
  23. Replies
    5
    Views
    129

    VS 2010 Re: moved from xp to windows 7 problem

    If you can't open the forms in the designer then you obviously can't delete the FlexGrid control(s) in the designer. What you can do is open the designer code file and delete the field referring to...
  24. Replies
    3
    Views
    84

    VS 2012 Re: Datagridview image formatting

    This is a bit of an educated guess but I think that you'll need to set the DefaultCellStyle.NullValue property of the column to Nothing.
  25. VS 2012 Re: SQL Server Compact and INSERT Statement

    That's the configuration of the ID column in your DataTable, which you're not even using in that code. What's the configuration of the corresponding database column?
  26. VS 2010 Re: want to see a grown man cry..errors after changing framework 4.0 to 3.5

    You could have a look in the DataSet code file and see if there is indeed a TableAdapterManager class definition in there. As I said though, deleting the DataSet and generating a new one should...
  27. Replies
    7
    Views
    175

    Re: if else statement

    Or rather:

    If oRng IsNot Nothing Then

    End If
    Functioanlly equivalent but much more natural, which is why IsNot was added to the language.
  28. VS 2010 Re: want to see a grown man cry..errors after changing framework 4.0 to 3.5

    Maybe if you were to actually describe the errors rather than just say that they exist, then we may be able to determine the cause. That said, you could simply delete the whole typed DataSet and...
  29. Replies
    7
    Views
    132

    Re: Upgrade ASP.NET

    .NET was specifically designed with side-by-side installation in mind, so you can have every version of VS, from VS.NET 2002 to VS 2012, all installed at the same time if you want, and you can even...
  30. VS 2012 Re: Searching for and copying a file listed in a Datagridview

    It's mostly fairly simple stuff. You would use a For Each loop to go through the rows in the grid. For each row, you can use Directory.GetFiles to get the full path of a file with a specific name...
  31. Replies
    3
    Views
    239

    3.0/LINQ Re: Add Icons to TreeView

    Images are displayed against nodes in a TreeView the same way they are displayed against items in a ListView. You create an ImageList and assign it to the ImageList property of the TreeView. You...
  32. VS 2012 Re: Best way to notify user an external program is stil running.

    I had every desire to help but my repeated requests for relevant information were apparently falling on deaf ears. Again, I assure you that you could get much clearer than the description you...
  33. VS 2012 Re: Best approach to animating lots of images?

    You'd certainly want to be using double-buffering at least, i.e. draw everything to a single Bitmap first and then, on the Paint event, draw that Bitmap with a single call to DrawImage.
  34. Replies
    4
    Views
    98

    VS 2012 Re: question about dll and ocx

    I understand that it was an honest mistake but you then compounded it by creating a duplicate thread even after I specifically said that I'd asked the mods to move the existing thread. Anyway,...
  35. VS 2012 Re: Best way to notify user an external program is stil running.

    I assure you that you could get much clearer than that. What does "stopped" mean? Does it mean that the process has completed? That the application is not responding? Something else entirely? ...
  36. Replies
    4
    Views
    98

    VS 2012 Re: question about dll and ocx

    God damn it! I specifically told you in your other thread that I had asked the mods to move that thread. You've posted in the wrong forum and now you've compounded that error by posting a duplicate...
  37. VS 2012 Re: Best way to notify user an external program is stil running.

    Remember when I said:What exactly does "seized up" mean?
  38. Re: Combine Three List(Of string) to listview LINQ

    Because you have the data in three different collections, you need to get an index from somewhere to get the three items to combine. You would normally do that using the loop counter in a For loop. ...
  39. VS 2012 Re: Best approach to animating lots of images?

    If animation is fundamental to your application then you may be better off looking into WPF. It's more work to learn than Windows Forms but has native support for animation.

    If you are going to...
  40. Replies
    5
    Views
    103

    VS 2012 Re: httpclient help and utf-8

    So, what's the question?
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4