Search:

Type: Posts; User: techgnome

Page 1 of 13 1 2 3 4

Search: Search took 1.91 seconds.

  1. Re: Reading .mdb without preventing other process to access

    What you'll want to do is open it non-exclusive, read-only mode, since all you want to do is read the data and not actually modify it. There's some settings you can use when opening the connection...
  2. Re: mssql why use OUTPUT and not select?

    I'm guessing it's an indicator signifying success (1) or failure (0)? If so, then that's a case that I'd probably would have used a RETURN rather than an OUTPUT or a SELECT (yes you can use a RETURN...
  3. Replies
    7
    Views
    208

    Re: Disable handler until code complete.

    As much as I hate to sound like an echo chamber...


    Maybe if you post the - relevant - code you're using, we can help... otherwise we're all just shooting in the dark here.

    -tg
  4. Re: mssql why use OUTPUT and not select?

    The answer is -- "it depends" ... and it really depends on what the shop standards are... I've worked in places where the SELECT was the standard way, and in places where using a OUTPUT is the...
  5. Replies
    7
    Views
    208

    Re: Disable handler until code complete.

    w/o seeing the code, it's hard to tell. It could be anything. To solve it, you could try removing the handler of the click event, or you could try simply disabling the control so that the user can't...
  6. Re: VB6 usercontrol takes away focus from NET usercontrol

    Yep... some IT departments care about such things. After you sell them the system, they have to maintain it... and often, they're not going to want to tinker with aging technology. Circa 2008 we lost...
  7. Re: VB6 usercontrol takes away focus from NET usercontrol

    Yes. Any and all compiled binaries should be removed. We can't see what's in compiled binaries, and we've been bitten by that before, so the policy is that you either only post the relevant code in...
  8. Replies
    4
    Views
    169

    Re: Recordset closure error.

    It's not that it had been closed, it's that it was Nothing. You can't call methods on objects that are Nothing. Since you had explicitly set the variable to Nothing during the first include, the...
  9. Re: How to open PDF in Reader rather than download file

    The op's code is on the server tho... so using Process.Start isn't going to work... They're transmitting a PDF file from the server to the client... and the client is downloading the file rather than...
  10. Re: User action versus code causing event to raise

    What about using the .Tag property? Just before you set the checkbox value, set the .Tag to a known value... then set the checkbox.... then in the event of the checkbox, check the .Tag property, if...
  11. VS 2015 Re: Why does the Arduino delay receiving data from Visual Basic.NET?

    Try opening the port, and keep it open... then send the command on demand. My guess is the delay comes from the opening of the port.

    -tg
  12. Re: POSSIBLE CAUSES to connect to My SQl server

    Too small and too blurry to read.... c'mon... you know better than that.

    -tg
  13. Replies
    60
    Views
    3,404

    Re: Reading Proficiency and Programming

    I will SELECT you... and I will DELETE you.


    -tg
  14. Re: [RESOLVED] Type Mismatch problem regarding an If Else statement

    Possibly.... strings are not variants and variants are not strings. Variants can contain anything, integers, stirngs, objects... so by not being explicit in what the variable holds, you're opening...
  15. Re: Create xml file in vb6.0 like the following

    Shooting from the hip here... this should get you going in the right direction:
    Add the appropriate references...



    Dim xDoc as XMLDocument
    Dim aNode as XMLNode
    Dim anotherNode as XMLNode
    ...
  16. Replies
    63
    Views
    2,014

    Re: Ignoring moderators

    People with certain nut allergies aren't necessarily allergic to all nuts, but maybe specific ones... but processing plants will often process one nut, then another, then a different one... allowing...
  17. Replies
    63
    Views
    2,014

    Re: Ignoring moderators

    We also wouldn't have stupid warning labels like "Do not use near an open flame" ..... on shaving cream. Really? What brought that on? As a comic I saw once said "That means somewhere, some time,...
  18. Replies
    3,756
    Views
    366,393

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

    That's what happens when you put up something for a vote expecting it to go one way and it doesn't. Something similar happened here with our local school board. People kept showing up to meetings...
  19. Re: DataBinding An ObservableCollection(Of string) to a Label

    public class ViewModel: INotifyPropertyChanged
    {
    public ObservableCollection<string> MembersList { get; set; }

    public ViewModel()
    {
    MembersList = new...
  20. Replies
    15
    Views
    413

    VS 2010 Re: Bad Record Num Error

    If you're writing the file from scratch and not trying to read in something existing or from another system, the easiest thing to do is create a class that has the properties that you want. So let's...
  21. Replies
    10
    Views
    341

    Re: SQL statement problem

    Or the text in sPAram has a ' in it and is breaking the string... this is why you use parameters... Also, post the SQL that's causing the error. And not a screenshot of it it. It's text. You can...
  22. Replies
    39
    Views
    1,072

    Re: Binary Search Not Finding Capitals

    It depends on what was used to sort the array... "a" and "A" have different values... "a" will sort before "A" will... unless you use a case-agnostic means to sort & compare the data. It's the same...
  23. Replies
    424
    Views
    61,013

    Re: Hamilton 5x World Champion ?

    So that makes it even closer:

    Max: 332.5 pts
    Hamilton: 318.5

    Hamilton wins the next 2 races, adding 50pts for a total of 368.5. Max takes second adding 36 to his total for 368.5 ...
    That...
  24. Replies
    424
    Views
    61,013

    Re: Hamilton 5x World Champion ?

    I thought it was 25-20-18.... I'll have to look it up...
    For me it's a short wait as I follow Formula-E, and with the exit of the Merc team this coming season, there's going to be some shuffling...
  25. Replies
    424
    Views
    61,013

    Re: Hamilton 5x World Champion ?

    Well.... doing some napkin number crunching...
    Max has 332.5 pts, and Hamilton has 318.5 ...
    If Hamilton wins the next two and Max takes P2, that gives Hamilton an extra 50pts for a total of 368.5,...
  26. Re: VB6 vs .Net......Ending the debate once and for all.

    From what I understand the best are double-baked... first time for the crust - plain - then the sauce and toppings added, then the second time is just long enough to melt the cheese ... we have a...
  27. Replies
    424
    Views
    61,013

    Re: Hamilton 5x World Champion ?

    That's the first race I've watched all season w/o skipping ahead any laps. The Hamilton passes Versstappen, Verstappen re-takes the lead on lap 57 though was fun to watch...
    Kept getting annoyed by...
  28. Re: VB6 vs .Net......Ending the debate once and for all.

    Eeew.... Among the pizzas that I rank as "bad" pizza are Dominos, Pizza Hut, Little Caesars, and just about every major pizza joint out there... I tollerate them because I have to. Pizza Hut has a...
  29. Re: VB6 vs .Net......Ending the debate once and for all.

    I've had good pizza, I've had bad pizza, I've had meh pizza... I've yet to have any that I'd describe as "the best I've had" there's some that are my favorites, but when it comes to pizza, I'm kinda...
  30. VS 2019 Re: Disable Mouse Wheel Scroll in DataGridViewTextBoxColumn?

    I don't think you can. There's only so much you can do to prevent the user from doing, but at the end of the day, if they want to find a way to shoot themselves in the foot, tjey're going to do it....
  31. Re: VB6 vs .Net......Ending the debate once and for all.

    Well, now that that's settled... can we get on to more important things.... like how jam is better than jelly?

    -tg
  32. Re: VB6 vs .Net......Ending the debate once and for all.

    Oh, trust me.,... some of us are keenly aware... we just don''t care. Besides the best foods don't originate here but are imported. Although everytime my kids refer to Taco Bell as "Mexican Food" a...
  33. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Found the guy who brought the cool-whip fruit salad!

    -tg
  34. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Chicken bog ... similar to jumbalya, but "wetter"...a Carolina Lowcountry thing...

    -tg
  35. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Hmmmm.... now I'm in the mood for some chicken bog...

    -tg
  36. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    That's why I don't really care for pancakes... they are generally too thick I think... at least how they are made here in the US. For some reason people think they should be thick, light, & fluffy......
  37. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Waffles man... that's where it's really at... with the nooks and crannies just holding all that syrup and/or honey goodness.... oh yeah... topped with a nice over-easy fried egg....

    -tg
  38. VS 2019 Re: Need Help : System.Data.OleDb.OleDbException: 'The table 'Tbl' is already opened

    DS = New DataSet
    DS.Clear()
    DA.Fill(DS, "Tbl_Karyawan")
    DataGridView1.DataSource = DS.Tables("Tbl_Karyawan")


    Also a couple of things... you create a new DataSet, then immediately .Clear...
  39. Replies
    19
    Views
    879

    VS 2015 Re: Windows Forms Stream Reader Problem

    Here.... does this help?



    Dim path as String = "Path to the file to read"
    Dim path2 as String = "Path to the file to write to"

    Dim readText() As String = File.ReadAllLines(path)
    Dim writer...
  40. Replies
    19
    Views
    879

    VS 2015 Re: Windows Forms Stream Reader Problem

    Did you even try it? Using a WRITE rather than a WriteLINE for the last line? That's what the difference is. That's all.

    WriteAllLine will use a WriteLine by default... so that's out... so will a...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width