Search Results - VBForums

Search:

Type: Posts; User: jmcilhinney

Page 1 of 13 1 2 3 4

Search: Search took 0.94 seconds.

  1. VS 2010 Re: Reading Data From a Database to a Combobox?

    I'd be inclined to do this slightly differently. I would actually populate two DataTables: one with just the names and the other with the names in one column and all the email addresses in the...
  2. Replies
    2
    Views
    65

    Re: Surface Pro 3

    Undoubtedly it will be able to run those applications. A Surface Pro 3 is a fully-fledged PC in a tablet form factor. Performance will not be an issue. That said, usability may be. I think that...
  3. Replies
    16
    Views
    247

    VS 2013 Re: Where did my stuff go?

    I've seen something like that happen a few times, although I'm not sure whether it was exactly the same. As you say, it's certainly not normal, so not a reason to lose faith in VS altogether. I'm...
  4. Replies
    16
    Views
    247

    VS 2013 Re: Where did my stuff go?

    Check posts #2 and #3. That's already been covered.
  5. Replies
    23
    Views
    348

    Re: Playing Video

    Ooohh, baby! Make sure that picture wasn't synced to iCloud or it will end up being stolen and posted all over. ;)

    Am I only seeing a single video card in there? Interesting for such an...
  6. Replies
    16
    Views
    247

    VS 2013 Re: Where did my stuff go?

    It's not on Tapatalk at the moment. There is discussion going on about how to improve the mobile experience and using Tapatalk is one of the options suggested but I'm not sure what the current...
  7. VS 2013 Re: Dispose large number of controls quickly? or better manage resources?

    Yes, you do have to dispose each control. That's why each control is being disposed in the ProgressChanged event handler. As is the point of the BackgroundWorker, DoWork is raised on a secondary...
  8. Replies
    16
    Views
    247

    VS 2013 Re: Where did my stuff go?

    Something is obviously corrupt somewhere. If you've had multiple issues like this then I'd say that VS is broken and you should probably repair/reinstall, although that's not guaranteed to fix it. ...
  9. VS 2012 Re: Transparent Picturebox Overlap Controls

    You would have to draw the Image directly onto the control(s) rather than using a PictureBox. If you follow the CodeBank link in my signature below, you'll find a link to a thread on drawing a...
  10. Replies
    9
    Views
    170

    VS 2010 Re: My first question!

    You'll learn quite a bit from that tutorial, which is why I prefer to direct you there rather than solve this one problem and then see you back over and over with questions about lots of basic...
  11. Re: Unable to cast object of type 'System.Windows.Forms.DataGridViewRow' to type 'Sys

    By the way, this is extremely verbose:
    Dim Year As String = DateTime.Now.ToString("yy")
    Dim Month As String = DateTime.Now.ToString("MM")
    Dim Day As String = DateTime.Now.ToString("dd")
    Dim Hour...
  12. Re: Unable to cast object of type 'System.Windows.Forms.DataGridViewRow' to type 'Sys

    Firstly, don't put error messages in the thread title. The title should be a description of the issue and then the error message is part of the information you provide in the post. As you can see,...
  13. Replies
    9
    Views
    170

    VS 2010 Re: My first question!

    You really should take the time to read a beginners tutorial instead of jumping in and asking others to explain the fundamentals to you along the way. There's a link in my signature below to a good...
  14. VS 2013 Re: Picturebox.Left and .top (VB6) vs. Picturebox.Location.X and .Y (Can't set)

    If you want to change just one of the Top, Left, Height and Width properties then you should set that property specifically.

    If you want to change both the Top and Left properties but not the...
  15. Replies
    9
    Views
    170

    VS 2010 Re: My first question!

    How do you get an item from a collection? By specifying its index. What's the index of the first item in a collection. Zero. So, get the item at index zero in the collection and call SetAttribute...
  16. VS 2013 Re: Dispose large number of controls quickly? or better manage resources?

    Here's that example:Private ReadOnly garbage As New ConcurrentQueue(Of Control)

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    For Each child As Control In...
  17. VS 2013 Re: Dispose large number of controls quickly? or better manage resources?

    Yes there is. Put the PictureBoxes into a temporary array or collection, Clear the FlowLayoutPanel and then loop through the temp list to Dispose everything.

    You could even run the loop on a...
  18. Replies
    9
    Views
    170

    VS 2010 Re: My first question!

    It's like you read this part:
    and then ignored this part:

    You're not picking out the one you want so why would you expect it to work? Is there only one match? If so then you know you have to...
  19. Replies
    23
    Views
    348

    Re: Playing Video

    Can you get your computer to send me a nude selfie? ;) Sounds sweet!
  20. Replies
    2
    Views
    100

    VS 2010 Re: Check the names of tabcontrol tabs

    That's really not great code even if you do use the correct loop bounds. You shouldn't be selecting each TabPage as you go.

    As for the issue, you don't need to use indexes at all. Just use a For...
  21. Re: Question regarding attachment policy

    The fact that people do that doesn't mean that it's OK. Basically, you can't upload binary files because they might contain malware that anyone downloading can't see the way they can in source code....
  22. Replies
    23
    Views
    348

    Re: Playing Video

    There is a first pass. The period for which it is displaying each frame for the first time is the first pass. I thought perhaps the issue was the time it took to load the frames the first time but...
  23. Replies
    9
    Views
    142

    Re: Just thinking about the VBForums Rep

    That's true. In broad terms it works out but certainly, if the same person helps the same other person regularly, that first person may not get the reputation points that they might have if they'd...
  24. Replies
    12
    Views
    174

    Re: Communication DB Location

    I guess the question that first comes to my mind is how frequently would these machines send out these messages and how long would it be acceptable to wait for a message before prompting the user for...
  25. Replies
    9
    Views
    170

    VS 2010 Re: My first question!

    Welcome to VBForums. I guess you were a bit excited about your first post but it is important that you provide meaningful titles for your threads. For those of us who spend a lot of time here,...
  26. Replies
    9
    Views
    142

    Re: Just thinking about the VBForums Rep

    Yes, that is true. If someone feels strongly enough about your post - usually if you provide some meaningful help on their problem but not limited to that - they can click the "rate this post" icon...
  27. Replies
    23
    Views
    348

    Re: Playing Video

    As I said before, I'm not imaging expert so I may not have an answer for you. It may even be that the issue is that a PictureBox can't handle a GIF with that many frames very well. One thing I...
  28. VS 2010 Re: NumericUpDown Value to update a value in a database?

    The NumericUpDown doesn't save anything to the database. If you think about it that way then it's no wonder the answer isn't as obvious as it should be. It's your form that talks to the database,...
  29. VS 2012 Re: Error: "The value for column 'Answer' in table 'Table1' is DBNull."

    As Shaggy suggests, a typed DataRow has methods specifically for testing whether a field is NULL and for setting a field to NULL. The Answer property is type String so it can't possibly be...
  30. Replies
    4
    Views
    154

    Re: Left Click Macro

    May I ask why? The first thing that comes to mind is trying to create a bot for a game, which is generally against their rules and therefore against ours.
  31. Re: How to create database that can be accessed from different devices?

    You wouldn't access the database from those devices. You would create a web service that accesses the database and then have the devices run an app that makes calls to the web service. To create a...
  32. Replies
    4
    Views
    141

    VS 2010 Re: Adding SubItems to listview

    There's nothing in that code that is going to wipe anything out. That code is adding an item with three subitems but not affecting any existing items. Why are you adding a new item though? Did you...
  33. VS 2010 Re: Inserting character to the left of a string

    The `startIndex` parameter of the String.Insert method specifies the index of the character BEFORE which you want to insert the value. If you want to insert AFTER a particular character then that is...
  34. Replies
    8
    Views
    189

    Re: How to do this in Linq?

    Even using StartsWith, you might end up with issues like "X\Y\Room10" starting with "X\Y\Room1". If you want to do that in L2S then the only way I can see it happening is if you write a function in...
  35. VS 2010 Re: How to read the displayed column name from my datagridview at runtime.

    Here's how I'd do it.

    Function syntax:
    Dim fieldList = String.Join(";",
    Me.DataGridView1.Columns.Cast(Of DataGridViewColumn)().
    ...
  36. Replies
    8
    Views
    189

    Re: How to do this in Linq?

    So what is it that you actually want to do? I said probably not possible but that doesn't mean definitely.
  37. Replies
    7
    Views
    155

    VS 2013 Re: MySQL Textbox login

    You need to construct the connection string and pass it to the second form when you create it. Passing an argument to a constructor is just like passing an argument to any method. Your first code...
  38. Replies
    8
    Views
    189

    Re: How to do this in Linq?

    Keep in mind that, while all LINQ providers support all LINQ syntax, they don't necessarily support all LINQ operations. It depends on the provider implementation. Anything you do in LINQ to SQL...
  39. Replies
    7
    Views
    155

    VS 2013 Re: MySQL Textbox login

    The first form should simply construct the connection string and pass it as one to the second form. You should do it via the constructor so that anyone who creates an instance MUST provide a...
  40. Re: Seeing Changes take place on current Form when stepping through Project

    8 months was fixing all the errors flagged by turning Option Strict On. ;)
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.