Search:

Type: Posts; User: techgnome

Page 1 of 13 1 2 3 4

Search: Search took 0.16 seconds.

  1. Re: Create CSV File for European Number Format

    Put quotes around the value ... then you can still leave it as a CSV with "," as the field delimiter.

    -tg
  2. Re: [RESOLVED] Renaming of overloaded functions from .NET

    Neither would be called ... it wouldn't compile... regardless of what the output is, it's the parameters that matter which get called.
    If the definitions were as such:


    public float...
  3. Re: Validate text input length to 48 character only. Visual Studio 2019

    Shoiuldn't it be e.Cancel? Cancel by itself looks to be left over from VB6 code ... the cancel should be part of the event arguments ....

    -tg
  4. Re: Getting a Label control's text to update

    If you want something to show up in a textbox, then assign the text to the .Text of the textbox ... just like you are with the label. Also, why add the label at run-time? Just add it to the form at...
  5. Replies
    30
    Views
    729

    Re: Error Trapping in an Executable

    I know that the msgboxes are for finding the error ... I'm just saying be careful in using them like that because it can change behaviour unexpectedly. Personally I've moved from that to more...
  6. Re: Renaming of overloaded functions from .NET

    Yeah, I thought along the same lines ... the "fun" part will be determining which secondary method/function to call based on what's in args ... I didn't put much thought into it beyond that though....
  7. Replies
    30
    Views
    729

    Re: Error Trapping in an Executable

    Isn't that the definition of an upgrade: Take out old bugs, insert new ones.



    Be careful adding msgboxes... that can actually change the flow of how things execute. I had a case back in the day...
  8. Re: Validate text input length to 48 character only. Visual Studio 2019

    It is. The event handler signature in .NET is different from previous versions.
    However... you can set the MaxLength property to 48. That will stop the textbox from accepting anything more. You get...
  9. Replies
    6
    Views
    211

    Re: Merge multiple tables into one table

    I'd make it a virtual collumn... not something in the db itself...


    select *, 'Samsung' as Manufacturer from ...
    union all
    select *, 'LG' from ...
    union all
    ...
  10. Replies
    6
    Views
    211

    Re: Merge multiple tables into one table

    And then use a Union All in the SQL query...

    -tg
  11. Thread: TwinBasic

    by techgnome
    Replies
    1,059
    Views
    395,687

    Re: TwinBasic

    It'd be a Miracle to Whip it up...

    -tg
  12. Re: WITH ADO SQL query to substituite comma with ""

    So? What does the other project have to do with this one? If you've never used replace in a sql statement, that's fine ... I've never used dependency injection before my current project either ......
  13. Re: WITH ADO SQL query to substituite comma with ""

    use the REPLACE function in your select.


    -tg
  14. Replies
    759
    Views
    26,634

    Re: Current Russia Ukraine tensions

    Ukraine did not join NATO. If they had, NATO would be putting boots on the ground and being (more) actively than they are. What happened was Ukraine applied to NATO. The potential for missiles is the...
  15. VS 2010 Re: showing captions of childforms on combobox in vb.net 2010

    1) That has nothing to do with the problem of this thread.
    2) That's not how you should be handling dropdowns.
    You should be adding values to it, then handling one - one... ONE - event -...
  16. Re: how to use BeginTrans, CommitTrans, & RollBackTrans?

    No, but if you should still be able to get it from inside the transaction... but still remember to close the recordset.

    -tg
  17. Re: how to use BeginTrans, CommitTrans, & RollBackTrans?

    I'm guessing you never closed the recordset afterwards either.
    Because it left open a line... so when you then try to use the transaction again, it's getting a busy signal. If all you're after is...
  18. Replies
    24
    Views
    830

    VS 2015 Re: WebBrowser not loading phpmyadmin

    Can you open it using a browser like chrome, Edge, firefox?

    -tg
  19. Replies
    2
    Views
    240

    Re: SetParent and control Tab focus

    Does not using the vbModal on the form .Show method not work?


    oi... IT looks like you're "moving" the picture box to the second form... .why? Just add a property to the second form that would...
  20. Re: how to use BeginTrans, CommitTrans, & RollBackTrans?

    Thing is ... Excel may not support transactions. Sure, the method is there, but it's for supporting transactions on databases. I don't think the Excel provider supports it... and that may be (may)...
  21. Replies
    7
    Views
    351

    Re: Employee attendance table design

    I know of a system that made you enter time for everythikng... at the end of hte day, it wouldn't let you out of the entry screen unless you had accounted for all 8hrs of the day ... even that 15...
  22. Replies
    24
    Views
    830

    VS 2015 Re: WebBrowser not loading phpmyadmin

    Not sure why it would set the inputs...
    It looks like it is clearing them... not setting them.


    document.getElementById('input_username').value = '';
    ...
  23. VS 2015 Re: Making my app, to be shared from server to client

    My guess is that the folder where the database is hasn't been shared properly. Also, it should be in a shared folder on a server on the network rather than on your computer.
    Either way, the folder...
  24. Replies
    146
    Views
    2,997

    Re: Stop whining - just get numb

    when SC voted in Open Carry, they stopped just short of Constitutional Carry (this is how I came to find out there's a difference) ... you can cary only with a Conceal Carry License - bottom line,...
  25. Replies
    759
    Views
    26,634

    Re: Current Russia Ukraine tensions

    Was it a phishing attempt?


    -tg
  26. Replies
    759
    Views
    26,634

    Re: Current Russia Ukraine tensions

    So that's what Shaggy's been up to ... he's not going on walkabout as he claims, but making bioweapons outta fish... why that piscine sunnuva gun...


    -tg
  27. Thread: TwinBasic

    by techgnome
    Replies
    1,059
    Views
    395,687

    Re: TwinBasic

    FIFY...


    -tg
  28. Replies
    759
    Views
    26,634

    Re: Current Russia Ukraine tensions

    I find that more plausible than the intentional release ...

    -tg
  29. Replies
    146
    Views
    2,997

    Re: Stop whining - just get numb

    That would be Constitutional Carry ...
    As someone planning to move to Ohio in a year or two, this is good to know.

    Not that I plan to walk about town with my rifle slung over my shoulder...
    ...
  30. Re: How to move to the next TabStop field after pressing Enter (without using Tab)

    The index is for when the event handler connects to a control array (ie, mutlple textboxes) .... if you're not using a conrol array, delete the index parameter.

    -tg
  31. Re: How should I rewrite this to not use GoTo?

    Function world_ExamineMap() As Boolean
    With Character(Selected).Location
    If link(.world).map(.map).Mode < 4 Then world_ExamineMap = True
    If .world = 0 Then GoTo toEnd
    ...
  32. Re: One function from VB.NET Class Library throwing Error 91 in VBA

    1) Was the project in .NET marked as being "COM Visible"?
    2) attachments here are funny... they may or may not work... if posting code, just copy the code, paste it into the forums... select the...
  33. Re: One function from VB.NET Class Library throwing Error 91 in VBA

    Yeah, I'm confused about what the issue is ... VBA isn't VB.NET ... they are two different technologies. They just happen to share hte VB part in name only.

    -tg
  34. VS 2012 Re: Saving Different Controls Values to Sql Server Table

    This might be a case where you build an object model to hold the data, then serialize it to json, and save that in a field. That's what we're doing (albiet in Java) ... for generating reports, we get...
  35. Re: How to move to the next TabStop field after pressing Enter (without using Tab)

    Ah.. I woldn't ... I'd make the OK button the default dialog result button so that the enter will automatically "click" the button... not set focus there... otherwise I'd have to hit enter twice .....
  36. VS 2015 Re: WebClient.DownloadFileTaskAsync ProgressChanged can't get the real totalbytes

    I don't have a whole lot of experience, just enough to be dangerous. I see two solutions:
    1) Don't give a crap about the size, and just download the file, reporting the downloaded about, and not...
  37. VS 2015 Re: WebClient.DownloadFileTaskAsync ProgressChanged can't get the real totalbytes

    The sending stream isn't indicating the size... so it's an unknown quantity, hence the -1. As it completes and it gets the signal that the stream is about to close, it finally know how many bytes...
  38. Re: COM Visible library fails to access the UI thread?

    I'm questioning whether modal forms can even raise events to be handled externally... in that case this event handler:


    Private Sub _Form_Testing() Handles _Form.Testing
    RaiseEvent...
  39. Re: An issue on Inheritance Class UserControl vs Control

    Note - this question was also asked in VB ... https://www.vbforums.com/showthread.php?896654-An-issue-on-Inheritance-Class-UserControl-vs-Control


    -tg
  40. Re: An issue on Inheritance Class UserControl vs Control

    So is the problem in VB? Or in C#? Because you have the exact same question over here - https://www.vbforums.com/showthread.php?896650-An-issue-on-Inheritance-Class-UserControl-vs-Control

    -tg
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width