Search:

Type: Posts; User: Bruce Fox

Page 1 of 13 1 2 3 4

Search: Search took 0.63 seconds.

  1. Replies
    100
    Views
    104,065

    Re: Advanced VB/Office Guru™ SpellChecker™

    I noticed! :)
  2. Replies
    12
    Views
    2,319

    Re: Empty Path Name Is Not Legal Error help

    Put a breakpoint at the line of code, run it, and watch the filename to retrieve the value and post back the result.
  3. Replies
    12
    Views
    2,319

    Re: Empty Path Name Is Not Legal Error help

    What is an example of the value for filename
  4. Replies
    7
    Views
    2,008

    Re: error database

    Tehya,

    Is this 'really' what you are doing: "my project should create about 100 table per day using same pc"
    Or, do you just want to create a series of 'records' each day in a given table?
  5. Replies
    7
    Views
    2,008

    Re: error database

    Also, you should consider closing the objCon 'before' the dialog code block to prevent keeping the connection open until a user has acknowledged it.

    To go one better, you should have error...
  6. Replies
    7
    Views
    2,008

    Re: error database

    Hi Yehya,

    You obviously don't have privileges for that on the SQL database. Are you the DB admin? If so then search for something like "GRANT PRIVILEGES".
  7. Replies
    9
    Views
    1,698

    Re: DataBase load

    Something like:
    ("SELECT * FROM sql2256547. '" & Textbox1.text & "'", connection)
  8. Replies
    9
    Views
    1,698

    Re: DataBase load

    Hi Yehya,

    So is the intent for the user to 'enter' the database name (via Textbox1.Text)? or just be able to 'filter' what records are pulled back?
  9. Replies
    9
    Views
    1,698

    Re: DataBase load

    Well, what is "sql2256547" exactly?
  10. Replies
    9
    Views
    1,698

    Re: DataBase load

    Possibly:

    ("SELECT * FROM '" & sql2256547.Textbox1.text & "'", connection)

    Note the single quote, followed by a double quote and & , and then & followed by a double and a singhle then by a...
  11. Replies
    9
    Views
    994

    Re: Validation

    Private Sub btnCalculate_Click(sender As Object, e As EventArgs) Handles btnCalculate.Click
    ' ********
    ' Validate
    ' ********
    ' At least one needs to be selected...
  12. Replies
    9
    Views
    994

    Re: Validation

    You need to place your validation (has a radio button been selected) code at the top of your:

    Private Sub btnCalculate_Click() sub.

    Additionally, you could implement passel's idea too to...
  13. Replies
    13
    Views
    3,322

    Re: IE11 Incorrectly Rendering HTML5 Tags

    Thanks for the replys guys.

    It is frustrating. It works on dev machine but not on the client ones (unless I change compatibility, then that causes another issue). We need to stay with IE at this...
  14. Replies
    13
    Views
    3,322

    Re: IE11 Incorrectly Rendering HTML5 Tags

    Ughh, The TreeView (can't expand [x]) is inoperable now......
  15. Replies
    13
    Views
    3,322

    Re: IE11 Incorrectly Rendering HTML5 Tags

    Lightning,

    You got in one...

    It was the "Display internet sites in Comparability View" that was causing the rendering issue. Well done. Thank you! :)
  16. Replies
    2
    Views
    2,433

    Re: Get IP with different segment in asp.net ?

    Hi tantan05,

    If I understand your post, the issue may be due to the way the OSI (TCP/IP) Model works. If the user is on a different sub-net the router will replace the host IP with it's IP when it...
  17. Replies
    2
    Views
    1,034

    Re: how to see the page margin in asp

    Hi abcd_2014,

    Are you asking for a 'grid' in the IDE?
  18. Replies
    4
    Views
    3,931

    Re: Keep label and text box on the same line

    If you can, set a min width. IE. Possibly a <div> and CSS and seting a Min width of the parent container to prevent the wrap see here?
  19. Replies
    13
    Views
    3,322

    Re: IE11 Incorrectly Rendering HTML5 Tags

    Hi NeedSomeAnswers,

    Thanks for your efforts.

    That post you refereed to was the 'trick' I had tried initially to no avail.

    I have a cut back test.aspx page that has header, nav, section etc...
  20. Replies
    13
    Views
    3,322

    Re: IE11 Incorrectly Rendering HTML5 Tags

    Hmm, I'll knock up a basic page to re-test............ I'll post the results.
  21. Replies
    13
    Views
    3,322

    Re: IE11 Incorrectly Rendering HTML5 Tags

    Hi NeedSomeAnswers,

    Thanks for the response, but I tried that and the other 'trick' of declaring the elements to no avail.

    In any case, I feel like bashing my head into a brick wall as the...
  22. Replies
    13
    Views
    3,322

    IE11 Incorrectly Rendering HTML5 Tags

    Hi Guys,

    I have created a Default.aspx page using HTML5 tags such as header, nav, section, footer.

    1. The content renders fine on my dev machine (running IE11).

    2. However, it doesn't render...
  23. Replies
    28
    Views
    13,791

    Re: 2010 vs 2012?

    ADOBE products went that that way too I seem to recall (flat/mono etc). Must have been the in thing at the time.
  24. Re: Where is my salted/hashed password in my DB?

    BTW, where are you keeping track of the used 'salt' for that instacne of the salted-hash?

    I ask, cause you havn't shown how you are going to reverse the process (when validaing a user).

    One...
  25. Re: Where is my salted/hashed password in my DB?

    So, something like:

    cmd.Parameters.AddWithValue("@password", HashPassword("something", password.Text, "somethingeles"))
  26. Re: Where is my salted/hashed password in my DB?

    Hi Steve,

    Post the code block that saves to the Access DB.
  27. Replies
    4
    Views
    3,339

    VS 2012 Re: Connect to MySQL database

    One of these may help:...
  28. Re: i want to add windows Context Menu some command

    Hi szlamany, I think your correct ;)

    Also, it seems to be a C# query too.
  29. Thread: Workday

    by Bruce Fox
    Replies
    4
    Views
    1,566

    VS 2012 Re: Workday

    For now, I have reverted back to the table approach. It is still slightly wasteful due to the padding, but I have tried small lengths, and large ones successfully (for example in a year, approx 1/3...
  30. Re: i want to add windows Context Menu some command

    Have a look at MSDN for ContextMenuStrip. As seen here.
  31. Re: Possible to skip certain string when adding textbox contents to listview?

    Have a look at .StartsWith() and .EndsWith() :)
  32. Re: Possible to skip certain string when adding textbox contents to listview?

    I haven't read in detail however could you use the Replace() function to remove all nominated instances?

    Such as:


    Dim strBuff As String = "Stuff to remove <VB>"
    strBuff =...
  33. Thread: Slot Machine

    by Bruce Fox
    Replies
    7
    Views
    1,809

    VS 2010 Re: Slot Machine

    Set out your rules on paper first. Eg randomise, if true, this run should be a win based on when was the last win was paid, if so calc amount based on x etc..

    Then you may find it easier to code...
  34. Thread: Slot Machine

    by Bruce Fox
    Replies
    7
    Views
    1,809

    VS 2010 Re: Slot Machine

    You could store all previous (current game) 'scores' and payouts, and timestamp in a List(of Int/Doubles) and have an algorithm decide based on those (temp) figures etc.
  35. Replies
    6
    Views
    2,417

    VS 2010 Re: battery status in time

    Why, that won't change the fact it is not returning a valid value - that is what -1 refers to. Also, the OP want's life remaining :)
  36. Re: i want to add windows Context Menu some command

    In line with 4x2y suggestion, you could alternately add the Control in-code as opposed to adding it from the ToolBox - just thought I'd through that out there.
  37. Replies
    6
    Views
    2,417

    VS 2010 Re: battery status in time

    Are you testing that on a PC, or a Laptop?

    Note: –1 if the approximate remaining battery life is unknown.

    (Once you obtain a valid response you can divide by 60 to get Minutes)
  38. Replies
    7
    Views
    798

    VS 2010 Re: Coding LinkLabels

    VB.Net is event driven, and in this case you would use the Click event (as you requested).

    However, There is at least one simple way to wrap the whole thing up in one Sub. Once the Control is...
  39. Replies
    22
    Views
    2,483

    Re: dataset connection??? help

    Don't be put off :). As previously mentioned there are two ways to go about this. Your current way, works well and is worth learning IMHO.
  40. Replies
    22
    Views
    2,483

    Re: dataset connection??? help

    A DataSet contains Tables that you have loaded using a query with a connection string. You can then access the elements of the contained Table(s) as an object in your code. When your ready to keep...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width