Search Results - VBForums

Search:

Type: Posts; User: jmcilhinney

Page 1 of 13 1 2 3 4

Search: Search took 1.04 seconds; generated 45 minute(s) ago.

  1. Replies
    1
    Views
    65

    Re: Message Box "OK" Hijacked by Timer

    What exactly is the Timer for?
  2. Re: Calculate average values from text file using Streamreader?

    By the way, how exactly are you reading the file? You're going to have to read it line by line if you want to treat each record separately.
  3. Re: Calculate average values from text file using Streamreader?

    You need to break each record into its three separate fields, convert the last two to actual numbers (i.e. Integer or Double values rather than Strings) and THEN you can perform mathematical...
  4. Replies
    3
    Views
    74

    Re: Decimal point

    Multiply by 100, Math.Truncate, Divide by 100.
  5. Replies
    3
    Views
    74

    Re: Decimal point

    Where is that value coming from in the first place? It's got to have come from somewhere to be in the Label in the first place so you should use that original data.

    Also, what are the actual...
  6. VS 2012 Re: vb.net get a cell value of a csv file

    There aren't any actual cells so thinking of it like that won't really lead you to a solution. A CSV is a text file so you read the file as text. There are various ways you could do that,...
  7. Replies
    18
    Views
    299

    VS 2013 Re: Where did my stuff go?

    If you use source control then you won't be taking up lots of room with multiple full backups but you'll still be able to return to any previous committed state. One of the main reasons for the...
  8. Replies
    4
    Views
    121

    Re: Question regarding attachment policy

    I guess one question that raises though is what is acceptable to include in a ZIP or other compressed file. I suppose the logical conclusion is only files of those types mentioned. Also, I'm not...
  9. 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...
  10. Replies
    2
    Views
    77

    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...
  11. Replies
    18
    Views
    299

    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...
  12. Replies
    18
    Views
    299

    VS 2013 Re: Where did my stuff go?

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

    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...
  14. Replies
    18
    Views
    299

    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...
  15. 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...
  16. Replies
    18
    Views
    299

    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. ...
  17. 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...
  18. Replies
    9
    Views
    173

    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...
  19. 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...
  20. 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,...
  21. Replies
    9
    Views
    173

    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...
  22. 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...
  23. Replies
    9
    Views
    173

    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...
  24. 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...
  25. 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...
  26. Replies
    9
    Views
    173

    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...
  27. Replies
    23
    Views
    358

    Re: Playing Video

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

    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...
  29. Replies
    4
    Views
    121

    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....
  30. Replies
    23
    Views
    358

    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...
  31. Replies
    10
    Views
    165

    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...
  32. Replies
    12
    Views
    184

    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...
  33. Replies
    9
    Views
    173

    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,...
  34. Replies
    10
    Views
    165

    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...
  35. Replies
    23
    Views
    358

    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...
  36. 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,...
  37. 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...
  38. Replies
    4
    Views
    158

    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.
  39. 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...
  40. Replies
    4
    Views
    145

    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...
Results 1 to 40 of 498
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.