Search:

Type: Posts; User: techgnome

Page 1 of 13 1 2 3 4

Search: Search took 0.20 seconds.

  1. Re: Installation problem again - unexpected error quitting

    If it never prompts you for the key, then it's a cracked copy ... whether you use it or not is up to you. We're not in the position to tell you if it's safe or not.

    And my wife wonders why I have...
  2. Thread: TwinBasic

    by techgnome
    Replies
    987
    Views
    377,240

    Re: TwinBasic

    We use Ci/CD here, but only to our development branch/environs ... releasing to test and users is still on a daily/weekly schedule....

    -tg
  3. Thread: TwinBasic

    by techgnome
    Replies
    987
    Views
    377,240

    Re: TwinBasic

    Two updates in 5 hours ... you're a beast Wayne ...

    Have you thought about going to a single release per day? I can't keep up...

    -tg
  4. Replies
    9
    Views
    234

    Re: NullException on delete in WPF textbox

    Indeed... I never said anything about the code... I said to look at the "table structure" ... in the database ... it sounds like there are constraints on the fields to prevent them from being...
  5. Replies
    9
    Views
    234

    Re: NullException on delete in WPF textbox

    Look at the table structure. Can your fields even hold a NULL value - Are the Nullable? Or are they marked "Not-Null"? That maybe the source of the problem. You're potentially trying to stuff a NULL...
  6. Re: Customer Name which can contain a string and integer

    Wasn't part of the sample data there... but what about "ABC12345" or "ADBC12345a"? IT could be argued that there are 4 numbers in a row there ... Just something to keep in mind.

    -=tg
  7. Replies
    4
    Views
    227

    Re: String Split Remove SOME Empty Entries

    How often will you have a CR or LF that's not a CRLF?

    -tg
  8. Replies
    4
    Views
    227

    Re: String Split Remove SOME Empty Entries

    So, if I'm reading right... sometimes you want to remove the empty lines ... other times not ... Would an optional flag PreserveEmpty work? Default to false. False would include the...
  9. Replies
    4
    Views
    210

    Re: Retrieving values from an array

    You've returned the value into a string...


    Dim TransSDD As String
    ...
    TransSDD = Datarowview("Store")


    DateProcessed isn't an index, presumably it is a variable (it's what you used to...
  10. Thread: Weird error

    by techgnome
    Replies
    10
    Views
    288

    Re: Weird error

    I bet it's the DoEvents that's actually tripping things up.
    Putting in loops & sleeps and doevents isn't solving the problem, nor is it going to help find the problem. All it's doing is altering...
  11. Replies
    9
    Views
    308

    Re: Working with MSXML Post

    See if this is any help - it's Excel, but the syntax should still be the same. There's a POST example a little way down.
    https://codingislove.com/http-requests-excel-vba/

    -tg
  12. Replies
    9
    Views
    308

    Re: Working with MSXML Post

    Try using MSXML2 and the XMLTTP object...



    ' Set myMSXML = New MSXML.XMLHTTPRequest

    set myMSXML As New MSXML2.XMLHTTP
  13. Replies
    9
    Views
    308

    Re: Working with MSXML Post

    I'll admit it's been sometime since I've done VB6 ... but shouldn't this:


    Set myMSXML = New MSXML.XMLHTTPRequest

    be this:


    Set myMSXML = New MSXML.XMLHTTPRequest()
  14. Thread: TwinBasic

    by techgnome
    Replies
    987
    Views
    377,240

    Re: TwinBasic

    Yeah, in this case, Wayne takes input from people, but ultimately he gets to decide if something goes in or not, and if so, how. But, it is good to get some input from others based on how they might...
  15. Thread: TwinBasic

    by techgnome
    Replies
    987
    Views
    377,240

    Re: TwinBasic

    Does that include comments? Or only executable lines (which makes sense)?

    -tg
  16. Re: Double click .SQL file open in extant instance in SSMS

    If I recall correctly, there's an option burried deep in the SSMS somewhere ... a checkbox ... it's been too long since I've gone looking for it to remember off hand where it's at. I'll see about...
  17. Replies
    52
    Views
    1,356

    Re: VB.Variant vs C#.Object

    yeah, admitedly I almost never use int or long, but Int/Integer or Long ... And I can't think I've ever gone with a string, it's always String.
    I wouldn't be surprised if it's maybe leftover...
  18. Re: Code in Form vs code in Module ? Why one more the other ?

    It's all about organization and not duplicating code needlessly. So if you have a sub or funciton that is used by more than one form... stick it in a class or module (which ever is appropriate). If...
  19. Replies
    52
    Views
    1,356

    Re: VB.Variant vs C#.Object

    Sometimes I just need a simple int for a counter. Other times I plan to do more with it... that's when I go for the Integer. That said, something that's a pain is if a method wants an Integer, I...
  20. Replies
    6
    Views
    259

    VS 2022 Re: Creating the subroutine

    Yeah, your sub takes three parameters, but you only supplied two when calling it. Also it's a SUB, not a function so it's not going to retutn anything, so your 'total =' when you call it will do...
  21. VS 2010 Re: auto added byvals in subs on ocx components not exist vb.net

    That's what the sender object is on event handlers... the object that raised the event.

    -tg
  22. Replies
    28
    Views
    632

    Re: [RESOLVED] First workg day of Month

    Put your hands on your hips...

    -tg
  23. Replies
    28
    Views
    632

    Re: [RESOLVED] First workg day of Month

    I've heard of people doing that on Feb 29 every time it comes around.
    For me on New Years... it comes right at midnight doing The Time Warp.


    -tg
  24. Replies
    20
    Views
    552

    VS 2010 Re: I need quick help

    Here's my contribution:
    http://www.vbforums.com/showthread.php?t=585094

    -tg
  25. Replies
    28
    Views
    632

    Re: First workg day of Month

    Point of order... If Jan 1 (New Years) is on Friday, Monday would be the 4th... and a valid first work day of the month...

    -tg
  26. Replies
    15
    Views
    432

    Re: Another Post Removed .......

    Depends... what it full then emptied? Or was it empty then filled?

    If a hole is filled, is it really a hole any more?

    -tg
  27. Re: SQL Works In Debug Doesn't Work In Release Mode

    Also, you may want to print out, or use a MessageBox to display what your ModulesNumber is before you start the loop. If it's 0, it'll never execute the loop, and never read from the reader... which...
  28. Re: SQL Works In Debug Doesn't Work In Release Mode

    This doesn't make sense:


    For IVar = 1 To My.Settings.ModulesNumber
    dreader.Read()
    Next


    You're looping to a number, and reading from the reader ......
  29. Replies
    3
    Views
    238

    Re: German Question

    1) Rechner is set to 0... and never changes
    2) case var expression when Rechner <= 100001: doesn't look right to me ... case when Rechner <= 100001: should be right.
    3) But Rechner is always 0, so...
  30. Replies
    22
    Views
    691

    Re: Can't start timer.

    When you call it initially, the InvokeRequired will be set to true... so it drops into the Me.TextBox1.Invoke line ... which then calls the method on the UI tread... so yes, it's recursive... but on...
  31. Replies
    33
    Views
    663

    Re: Flavored Cigarette Ban - Thoughts?

    South Carolina did the same thing. I think it was an extra 10% for hybrids and an extra 30% for full electrics.

    -tg
  32. Replies
    33
    Views
    663

    Re: Flavored Cigarette Ban - Thoughts?

    Here the monies generated by the lottery really do go towards education. By law, by design, that's all it can be used for. A majority of it goes towards scholarships. $500 just for going to college....
  33. Replies
    8
    Views
    384

    Re: imma changing myself

    I've left FB for the most part. Lately been only using it to keep track of some hobby groups and that's it. I don't interact with anyone's posts or even make any. I removed all bookmarks for it...
  34. Replies
    33
    Views
    663

    Re: Flavored Cigarette Ban - Thoughts?

    How's that "war on drugs" working out for ya? "Just say no", amirite?

    -tg
  35. Replies
    33
    Views
    663

    Re: Flavored Cigarette Ban - Thoughts?

    Can't answer for other places, but here in South Carolina here's what's going on:
    Cigarettes as far as I know are largely unaffected. What did get hit here were flavored vapes. Like Number Five......
  36. Replies
    33
    Views
    663

    Re: Flavored Cigarette Ban - Thoughts?

    The banning of flavored cigs wasn't supposed to included menthols ... the intent was to ban "designer" cigs that have flavors to them that attract teens. That was the intent at least ... the result...
  37. Replies
    4
    Views
    341

    Re: New to VBA and need help!

    something else to potentially be considerate of... Let's say you have an acronym that's "ABC" ... and it appears 6 times. You run it oince, and it changes the first ABC to A Better Control, there are...
  38. Replies
    6
    Views
    359

    Re: Printer.PrintAction

    Meanwhle this was posted in the VB6 area... not .NET ... so..... yeah.... gonna need you to fill out the TPS reports by the end of the day.... yeaaaahhh.....

    -tg
  39. Re: How can I open a .bat file through a program?

    FYI - this:


    Shell Environ("COMSPEC") & " /c " & Chr(34) & "C:\Users\Administrator\Desktop\aegeg.bat" & Chr(34)


    Can be written this way:


    Shell Environ("COMSPEC") & " /c...
  40. Re: Regex VS MailAddress Function To Verify Proper Email Syntax?

    "" escapes it in the middle
    """ escapes it on the ends. More specifically the "" (2) escapes its, then the final " (1) then ends the string. You can't have "" (2) on the end... that would keep the...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width