Search:

Type: Posts; User: techgnome

Page 1 of 13 1 2 3 4

Search: Search took 2.22 seconds.

  1. Replies
    23
    Views
    1,548

    Re: Vb6 Community Compiler

    Naw... I think he's reluctant to post the code because he plans to sell it commercially ... if he posts it here, then anyone would be able to swipe it, and he'd lose out on all da big buck$.

    -tg
  2. Replies
    23
    Views
    1,548

    Re: Vb6 Community Compiler

    Did you really have it write it out to the C:\ ? yeah... I don't think Windows is going to allow that ... try writing it out to a folder somewhere ... your desktop even... or just anywhere anywhere...
  3. VS 2012 Re: How to calculate formulas with variables?

    There's a namespace in ,NET that you can use to build and execute .NET code, can be as simple or as complex as you want (as far as I know).



    -tg
  4. Re: setting RecordsetClone.RecordCount in a form in code

    So check to see if you have a RecorsetClone, or nothign...



    Function anyfunction(frm As Form )
    ' other stuff
    if frm.RecorssetClonee is Nothing then exit Funciton

    If...
  5. Replies
    10
    Views
    340

    Re: Management of sql server using vb6

    Keep in mind that the pathing to any files for the backup/restore of the database are relative TO THE SERVER, and NOT the application. So if you backup a database to...
  6. Replies
    153
    Views
    2,573

    Re: Is this justice???

    Something to keep in mind is that SYG isn't universal - not all states have it. Some have the Castle Doctrine instead. It's similar, but works differently and that difference can get people into...
  7. Replies
    13
    Views
    468

    Re: Adding Group by ID to a query

    Maybe ... depending on what the intent was ... A Distinct might also make more sense ... or maybe not... don't really know ... the query is pretty small and simple, so I'm not sure what's to be...
  8. Replies
    13
    Views
    468

    Re: Adding Group by ID to a query

    I'm also going to ask about the other elephant in the room and ask why are you grouping on the ID of the table? There doesn't seem to be a reason for it. There's no aggregation going on, and the ID...
  9. Replies
    153
    Views
    2,573

    Re: Is this justice???

    Every time I see/hear the word "plethora" I think of the movie Three Amigos!


    -tg
  10. Replies
    13
    Views
    468

    Re: Adding Group by ID to a query

    No... not like that .... like this .... pay attention to where you start and stop your strings...



    Sql = "Select from St_Tbl " & _
    " Where MDate Between " & FirstDate & " And " & LastDate & "...
  11. Replies
    13
    Views
    468

    Re: Adding Group by ID to a query

    try putting it inside of quotes...


    -tg
  12. Thread: TwinBasic

    by techgnome
    Replies
    861
    Views
    280,199

    Re: TwinBasic

    Really? You sure about that? Count me the number of ways you can concatenate strings in VB.NET ....

    -tg
  13. Thread: SQL Express

    by techgnome
    Replies
    26
    Views
    721

    Re: SQL Express

    Yes, by default, SQL Server will put the mdf/ldf files in a {some redoncously long path}MSSQL/DATA folder ... and that's fine ... that's the default location for those files. If you detach them and...
  14. Replies
    153
    Views
    2,573

    Re: Is this justice???

    That's actually not saying much ... the political landscape used to be very different ... Political Polarity has shifted ... there was a time though Republicans were liberal (Lincoln was a...
  15. Replies
    13
    Views
    451

    Re: VB6 Randomly Pastes in Reverse Order

    It's been a while ... but if memory serves ... it has to do with the way you're selecting them in the first place. I want to say if you click the first one, then shift-click the last one so that it...
  16. Thread: SQL Express

    by techgnome
    Replies
    26
    Views
    721

    Re: SQL Express

    Yes... you can stop SQL Server and copy the files... You can also do a "Detach Database" ... but then what? you need to re-start SQL Server and re-attach the files in order to use the database.
    ...
  17. Replies
    9
    Views
    300

    Re: getting this long sql qerry to vb

    That's because you're just using code blindly without understanding what you're doing or the code is doing.
    You need to put the line continuation character after EVERY line that you want to keep...
  18. Replies
    4,780
    Views
    417,214

    Re: Corona virus, China major city lockdowns, etc.

    If they are still doing that ... I'd hope they were fewer and father than before. I'm not saying that they aren't doing it, because that wouldn't surprise me. But seems like a crappy thing to do.
    ...
  19. Replies
    4,780
    Views
    417,214

    Re: Corona virus, China major city lockdowns, etc.

    I think that was early on... and mostly due to the lack of the ability to test for it at the time. Other places probably went the other route, and marked it as a Covid death regardless since "it...
  20. Replies
    13
    Views
    642

    Re: Randomize Questions and Answers

    Yeah, that simplifies somethings, but now ca, wa1, wa2, & wa3 need to be further shuffled so that sometimes the correct answer moves around randomly. It may be as simple as putting the 4 possible...
  21. Replies
    13
    Views
    642

    Re: Randomize Questions and Answers

    While the Universal Answer to Life, the Universe, and Everything is 42, in this case you want 46 .... you have 50 possible answers ... you need to leave 4 ... 50 -4 = 46 ... so you need to remove 46...
  22. Replies
    13
    Views
    642

    Re: Randomize Questions and Answers

    The number of questions aren't really the problem... the number of answers are. The code creates a copy of the answers, shuffles then removes two items from the list (I'm assuming the original code...
  23. VS 2015 Re: [RESOLVED] Breaking text into page size portions

    YEah, so that's what I thought... it's dropping that last little bit of your document. Your flaw is in the calculation of the numberOfPages ... the fact that you're doing it at all ... especially at...
  24. VS 2015 Re: Breaking text into page size portions

    How much of your document is missing? Half? More? Less? The last page? Ever other page? I have some guesses about what may be wrong but I'm not going to waste my time or yours going down that road if...
  25. Replies
    12
    Views
    953

    Re: log4j - High vulnerability malware

    Nope, not a virus.... just a vulnerability in an existing widely used logging library. Problem is, as soon as one vulnerability is patched, another hole seems to crop up. It's kind of like playing...
  26. Replies
    4,780
    Views
    417,214

    Re: Corona virus, China major city lockdowns, etc.

    Different times, different people, different locations, different results...

    -tg
  27. Replies
    31
    Views
    886

    Re: Teaching people to crawl

    Yeah, I know the thread you're talking about ... the same one where I tried to tell the op that the string "10" isn't the same as the number 10 and if he was sending over contents of his text box...
  28. Replies
    11
    Views
    520

    Re: eleminate surgable dates

    Wait... is all you're trying to do is see if the datetime is between midnight and 6am, and if it is, subtract a day? Just use DATEPART and pull the HOUR and look to see if it's between 0 and 5 the...
  29. Replies
    31
    Views
    886

    Re: Teaching people to crawl

    It could also be a cultural issue -- one thing I found with dealing with some off-shore contractors is that in some cultures it can be looked upon as being weak or emasculating to ask for help ......
  30. Replies
    31
    Views
    886

    Re: Teaching people to crawl

    Oh I don't know... we got a dozen Krispy Kreme donuts for a dollar yesterday. Seems like a pretty good exchange rate to me.

    -tg
  31. Replies
    438
    Views
    64,629

    Re: Hamilton 5x World Champion ?

    It'll be interesting to see what the off-season brings. Hamilton snubs the awards ceremony ... I've been seeing reports about how Wolff and Hamilton are now "disillusioned" with F1 and now Hamilton...
  32. Re: [RESOLVED] copying from List Box to Text box

    Instead of putting it into a textbox, put it into a String variable, then use Clipboard.SetText to set the text to the clipboard


    -tg
  33. Re: Is it possible to imitate the same program by programming Visual Basic 6?

    So it looks like some kind of accounting system built in the early 90's ... is it possible to make with VB6? Yep. Or you can jut buy QuickBooks and be done with it... be faster, easier, and cheaper....
  34. VS 2019 Re: [RESOLVED] Store image in ms access database from Resources

    Mmm.... sounds like maybe there was a data issue... and after reading the thread a couple times, I think I know what was going on... The OP probably THOUGHT they had a record to update, but after...
  35. Replies
    12
    Views
    953

    Re: log4j - High vulnerability malware

    It gets better ... here's the full twitter thread... https://twitter.com/rickhanlonii/status/1470074730279546895

    -tg
  36. Replies
    12
    Views
    953

    Re: log4j - High vulnerability malware

    183314183315
  37. Thread: Pay To Play

    by techgnome
    Replies
    36
    Views
    703

    Re: Pay To Play

    You're assuming single car... but with multi-threading and time-slicing, you can have two cars simultaneous, you just can't operate them at the same time, unless you aquire secondary tasks, but that...
  38. Re: Please solution Object reference not set to an instance of an object.

    Have you tried stepping through the code and checking thing? Make sure cn is the value it should be. When something isn't right, debugging and stepping through the code should be the first thing you...
  39. VS 2015 Re: The numbers change when I send data from Visual Basic.net to the Arduino

    Also, I don't think you want to send the CHARACTERS "10" but the numerical value 10 ... so you probably should be converting the values to an int, and possibly to a byte, then sending it, then...
  40. VS 2015 Re: The numbers change when I send data from Visual Basic.net to the Arduino

    So how are you validating that they are changing?

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



Click Here to Expand Forum to Full Width