Search Results - VBForums

Search:

Type: Posts; User: jmcilhinney

Page 1 of 13 1 2 3 4

Search: Search took 1.13 seconds.

  1. Re: how not override document PrintPreviewControl

    There is no "overriding". A PrintPreviewControl is for previewing a print run. If what you want is something other than previewing a print run, which this is, then don't use a PrintPreviewControl....
  2. Replies
    3
    Views
    106

    Re: Strange Warning and Errors

    Start by selecting Clean and then Rebuild from the Build menu. If that doesn't work, close VS, delete the `bin` and `obj` folders from under the project folder and try building again. If that still...
  3. Replies
    6
    Views
    133

    Re: a generic error occured GDI+

    But surely the incredibly informative error message enabled you to sort the issue out in a jiffy. :sick:
  4. Replies
    6
    Views
    133

    Re: a generic error occured GDI+

    How did you load the Image into your PictureBox (which I assume the poorly named `pic` is)? If you called the Load method or set the ImageLocation property then that will be the explanation. ...
  5. VS 2010 Re: Conversion from string to type integer is not valid

    Aha. I don't use MsgBox so I don't know what combination of parameters it accepts. MessageBox.Show, which I use and I recommend others do too, would have accepted the two Strings as provided but it...
  6. VS 2010 Re: Conversion from string to type integer is not valid

    I SPECIFICALLY SAID:

    You have not done that. I have better things to do than ask you multiple times for the same information in order to provide the help that you have asked for.
  7. Re: [help] Database and Date Time Picker Query

    Follow the Blog link in my signature below and check out my post on Parameters In ADO.NET. It shows three slightly different ways to do what you want. The first two are commonly used by beginners...
  8. Replies
    1
    Views
    116

    Re: error while fill data table

    Firstly, NEVER use string concatenation to insert values into SQL code. ALWAYS use parameters. To learn why and how, follow the Blog link in my signature below and check out my post on Parameters...
  9. VS 2010 Re: Conversion from string to type integer is not valid

    Also, this is very bad:
    Dim str As String
    str = "Delete from Table2 Where Phone = '" & TextBox1.Text & "' and Tnumber= " & TextBox2.Text

    Dim cmd As OleDbCommand = New OleDbCommand(str, Conn)You...
  10. VS 2010 Re: Conversion from string to type integer is not valid

    Rather than doing this:MsgBox(" Confirmation Receipt Number : " & confirmreceipt & vbNewLine & " Your Ticket Cancelled Sucessfully ! " & vbNewLine & " Ticket Number : " & TextBox2.Text & vbNewLine &...
  11. VS 2010 Re: [HELP?] Downloading a String from a URL

    You don't. You have to pull down the whole lot regardless. You then extract the part you want from the whole in whatever way is appropriate. If you're working with HTML then you might look at...
  12. Re: DataGridView Get row number where Col x = y

    No, there is nothing built into the DataGridView class itself. If the grid is not bound then you'd have to write custom code to test each row. If the grid is bound then it's good practice to work...
  13. Re: Our workplace rules for smokers. Does your office have similar? Are they extreme?

    They'd keep changing the shape of the fuel inlet every time they released a new one.
  14. Replies
    13
    Views
    1,194

    Re: Latest Poop on windows 10.

    "Build 2015" is Microsoft's developer conference. The new build of Windows 10 is 10074, which has been renamed Insider Preview from Technical Preview. It can be installed in exactly the same way as...
  15. Replies
    13
    Views
    1,194

    Re: Latest Poop on windows 10.

    I just push my mouse cursor all the way to the top-left corner and the Charms menu pops up, every time. The shortcut for the Charms menu is Windows+I. As I said, just press the Windows key on the...
  16. Re: Our workplace rules for smokers. Does your office have similar? Are they extreme?

    With regards to ashtrays, things may be different in the US but, here in Australia, I'm yet to see car without an ashtray. Maybe some newer models don't have them but older ones certainly do. I...
  17. Re: Conversion from type 'DataGridViewTextBoxCell' to type 'Date' is not valid.

    You are trying to use the cell itself rather than the contents of the cell. Just as you have to use the Text property of a TextBox to get the String it contains, so you have to use the Value...
  18. Re: Our workplace rules for smokers. Does your office have similar? Are they extreme?

    That Guinea Pig butt bouncing tho'!
  19. Re: Our workplace rules for smokers. Does your office have similar? Are they extreme?

    At least you didn't say "boring", so thanks for that. Finished a project early but can't go home just yet so one has to amuse oneself somehow. :)
  20. Re: Our workplace rules for smokers. Does your office have similar? Are they extreme?

    I'm a non-smoker. I've never been a smoker and I hate pretty much everything about smoking. I have a bit of an addictive personality myself so I understand the pull things can have on people,...
  21. Re: Our workplace rules for smokers. Does your office have similar? Are they extreme?

    This is a very relevant point. Smokers are, in my experience, often an extremely inconsiderate group. They may be as considerate as the next person in other areas but, when it comes to smoking,...
  22. VS 2012 Re: how do I convert a list of numbers from a loop into 1 line??? NEED HELP

    Again, I agree that that is what should be done in a real app but these exercises are often about getting to know the nuts and bolts rather than writing efficient code. It depends on the specific...
  23. VS 2012 Re: SQL query result to vb.net textbox error Conversion from string "" to type 'Integ

    That is more evidence that it's not that line that is actually causing the exception. Are you handling the TextChanged event of MetroTextBox17 and/or MetroTextBox18? If so, please post those event...
  24. VS 2012 Re: how do I convert a list of numbers from a loop into 1 line??? NEED HELP

    That's how it would be done in a real app but exercises like this are contrived to illustrate a specific thing, e.g. using a loop. For that reason, I think that we probably agree that using such...
  25. VS 2012 Re: Need Countdown Timer only after click event

    Think about the sequence of events. Don't just pluck code out of the air or elsewhere. Think about what needs to happen - pick up a pen and paper and write it down if you have to do so to get it...
  26. VS 2013 Re: use a my.setting entry as a parameter of a sub/function or class property

    If the point here is to create a base class that contains functionality to manipulate a StringCollection and then one derived class per StringCollection in My.Settings, you could go this way:Public...
  27. VS 2012 Re: Need Countdown Timer only after click event

    You set the Text of your Label to 5 in the Tick event handler, so you're setting it to 5 EVERY Tick. You need to set it to 5 OUTSIDE the Tick event handler. You might also need to Start the Timer...
  28. VS 2012 Re: how do I convert a list of numbers from a loop into 1 line??? NEED HELP

    While this is not the way you'd do it for a real app, as it is a learning experience you would start with an empty String and then concatenate (i.e. use &) to that String on each iteration of the...
  29. Re: how not override document PrintPreviewControl

    I have no idea what you're actually asking for. Your example code makes no sense and if you want to replace already-rendered pages then why did you render them in the first place? You preview the...
  30. Replies
    13
    Views
    1,194

    Re: Latest Poop on windows 10.

    Does your keyboard have a Windows key? If so then just press that. You can also click on the Windows button on the Charms menu, although that involves moving the mouse to the top-right and then...
  31. VS 2012 Re: SQL query result to vb.net textbox error Conversion from string "" to type 'Integ

    I don't think it actually does occur on that line. BankID would have to be a text data type for that to be possible at all and, even then, I think that another message would result but, even if that...
  32. VS 2012 Re: SQL query result to vb.net textbox error Conversion from string "" to type 'Integ

    On what line exactly does that exception get thrown? I can't see one in the code you posted that looks like it would cause that.
  33. Replies
    13
    Views
    1,194

    Re: Latest Poop on windows 10.

    Actually, the latest build (10074) includes some Aero Glass features, where the Start Menu and Task Bar are translucent and blurred backgrounds show through. I'm not sure how far that will extend...
  34. Replies
    13
    Views
    1,194

    Re: Latest Poop on windows 10.

    https://www.youtube.com/watch?v=1AsoSnOmhvU

    I believe that high-end Lumia phones, e.g. the upcoming Lumia 940, will include an Intel IR camera to make use of Microsoft Hello on phones too. They...
  35. Replies
    13
    Views
    1,194

    Re: Latest Poop on windows 10.

    Continuum is an important feature with regards to there being one Windows on all manner of devices and the same Windows apps running on all of them. Switching from laptop to tablet mode on a...
  36. Replies
    6
    Views
    295

    Re: Need help with updating datagridview

    There's only one index in that line so there's only one index that can be out of range. If zero is out of range then that means that your grid contains no columns when that line is executed.
  37. Re: VB.net VLOOKUP function returning multiple values

    :D :thumb:
  38. Replies
    13
    Views
    1,194

    Re: Latest Poop on windows 10.

    It is really good on a touchscreen, although you can never please all of the people all of the time. I think that it's issues on conventional PCs has been greatly exaggerated though. There were...
  39. Replies
    17
    Views
    690

    Re: command.execute but not scalar

    For an example of using ADO.NET parameters with arbitrary tables and columns, see this blog post of mine:

    http://jmcilhinney.blogspot.com.au/2009/07/database-independent-data-access-layer.html

    ...
  40. Re: VB.net VLOOKUP function returning multiple values

    I don't have an answer to your question but, having read your post, I figured I would offer some language advice. The expression "good night" is not typically used as a greeting, but rather as a...
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.