Search:

Type: Posts; User: OptionBase1

Page 1 of 13 1 2 3 4

Search: Search took 0.07 seconds.

  1. Re: If LOF = Finshed input into box, then exit sub, if LOF not Finished then goto lin

    The indentation in your code looks good.

    Beyond that, not sure what you want from us. That code is like someone saying they want to build a house, so they do jazz hands for 10 minutes and then...
  2. VS 2022 Re: Issues when writing to a File using StreamWriter

    I posit that your code is causing the problem.

    You have this as a Form level variable:


    Public testfile1 As String 'this is a variable since the file will change each year

    Then you have...
  3. VS 2022 Re: Issues when writing to a File using StreamWriter

    We need to see all the code that does any sort of file interaction.
  4. VS 2022 Re: Issues when writing to a File using StreamWriter

    We can only speculate, since you are only providing part of your code. You obviously have other relevant code you haven't posted, since, for example, you don't show any code where your variable of...
  5. Replies
    3
    Views
    190

    OJ Simpson dead of cancer

    But a jury has just found cancer Not Guilty of killing him. Karma.
  6. Replies
    5
    Views
    303

    Re: Save listview to text file

    No idea if this is what you are looking for or not.


    For j = 1 To lvGest.ListItems(i).ListSubItems.Count - intColumnsToIgnore
    If lvGest.ListItems(i).SubItems(j) <> "" Then
    ...
  7. Replies
    5
    Views
    303

    Re: Save listview to text file

    A lot wrong there. Your inner loop is assuming that the number of columns in a row is equal to the number of rows in the ListView, since you are using the ListItems.Count value as the upper bound...
  8. Re: Installing the VB6 IDE on Windows 10 or 11 (64-bit)

    I would bet money that the "Create a 0 byte MSJAVA.dll file and copy it to C:\Windows" has and will continue to trip some people up because:

    - They right-click an empty area of their desktop and...
  9. Re: garbage collection error, give me an example here that is correct for this form

    There are such massive differences in database interaction between how to do it in VB6 and how to do it (best) in VB.NET that there is no way that a conversion could (or at least should) be done by a...
  10. Re: garbage collection error, give me an example here that is correct for this form

    There is no constant called "VBRestore" in VB6. The "working" functionality is purely happenstance because of the fact that the desired behavior results from passing a value of 0, which will happen...
  11. Replies
    662
    Views
    146,876

    Re: Hamilton 5x World Champion ?

    I caught the evening replay on ESPN and watched the whole thing. There was more action than I had thought as you said.

    Daniel's best racing days seem pretty far in the rear view mirror. I wonder...
  12. Replies
    662
    Views
    146,876

    Re: Hamilton 5x World Champion ?

    After the opening lap Red Flag I didn't even try to stay awake to watch the rest of the race. I caught a few laps here and there, but it seemed like very little was happening overall.

    Red Bull...
  13. Replies
    36
    Views
    1,762

    Re: Legality and future of VB6

    There's no laws that prevent programming language syntax from being reused in other languages. None. Two seconds of Googling will show that programming syntax is not copyrightable or patentable or...
  14. Re: VS 2008 is it free to download anywhere? I don't find any working links

    VS 2008 Express With SP1 included:
    http://download.microsoft.com/download/E/8/E/E8EEB394-7F42-4963-A2D8-29559B738298/VS2008ExpressWithSP1ENUX1504728.iso

    VS 2008 Professional 90 Day Trial:...
  15. Re: Need algorithm to determine what part of an order was charged sales tax

    Apologies, I thought for sure Amazon's order history would somehow indicate which items were taxed in each order. I just checked some of my past orders that had a mix of taxed and non-taxed items,...
  16. Re: Need algorithm to determine what part of an order was charged sales tax

    Pseudocode:


    Keep better records
  17. Re: [UNRESOLVED] - MS FlexGrd - some sets list just fine while others don't

    Fantastic.
  18. Re: [UNRESOLVED] - MS FlexGrd - some sets list just fine while others don't

    But the underlying database field is apparently "Text". And I posted a *second* piece of code for you to try which you seem to continue to ignore for some reason.
  19. Re: [UNRESOLVED] - MS FlexGrd - some sets list just fine while others don't

    Ok...So you are also also posting as cafeenman? :rolleyes: :rolleyes: :rolleyes:
  20. Re: [UNRESOLVED] - MS FlexGrd - some sets list just fine while others don't

    It would work if your database field was numeric, which it should be based on the field name. Did you try the last thing I posted in post #7?
  21. Re: [UNRESOLVED] - MS FlexGrd - some sets list just fine while others don't

    Your cardnumber field must be some sort of String/Text type. That can't be known by anyone here by just seeing your code.

    That said, this should work (it forces conversion to a numeric type):

    ...
  22. Re: MS FlexGrd - some sets list just fine while others don't

    Could be as simple as making this change:


    cmd.CommandText = "select * from Table1 where cardset = '" & gCardSet & "' order by cardnumber"
  23. Replies
    36
    Views
    1,762

    Re: Legality and future of VB6

    1) No, selling software developed with (a legal copy of) VB6 doesn't require any sort of remuneration back to Microsoft.

    2) It is not legally free at this point.

    3) Your best bet is to find...
  24. Re: Process failing to open file

    You didn't say what version of Windows you are running or the "bitness" of your compiled C# exe file. That being the case, the issue is almost certainly that you are running a 64 bit version of...
  25. Replies
    4
    Views
    461

    Re: 1 on 1 coaching

    You could try a site like fiverr.
  26. Replies
    95
    Views
    3,923

    Re: new project - DB help needed please

    You are missing the:


    Set rs = cmd.Execute

    line in getTotalValues()
  27. Replies
    95
    Views
    3,923

    Re: new project - DB help needed please

    Just throwing out a general suggestion. I believe you are using an Access database, so I'm assuming you have Office/Access installed.

    In Access, you can create queries fairly easily using wizards...
  28. Replies
    6
    Views
    474

    Re: Please Reset With ElRuffsta

    :thumb::thumb::thumb:

    Sounds good to me.
  29. VS 2005 Re: Resource filepath with id using res:// protocol

    The below threads are C#, but should be able to be easily adapted for VB.

    https://stackoverflow.com/questions/7827792/using-the-res-protocol-with-system-windows-forms-webbrowser...
  30. Replies
    662
    Views
    146,876

    Re: Hamilton 5x World Champion ?

    Well, that race certainly was interesting. I guess Max needs a DNF once in a while to spice things up.

    The ending was sure scary. The FIA needs to look at how they handle a last lap incident...
  31. Replies
    95
    Views
    3,923

    Re: new project - DB help needed please

    Already been asked and answered in one of your past threads. Please learn from your previous questions and answers.
    ...
  32. Replies
    662
    Views
    146,876

    Re: Hamilton 5x World Champion ?

    fyp.
  33. Replies
    12
    Views
    580

    Re: Using a module

    You seem to be stuck in the thought process that a Module would make this all easier or better organized, and then in practice you will discover that it isn't either of those things.

    There's...
  34. Replies
    662
    Views
    146,876

    Re: Hamilton 5x World Champion ?

    I think it is normal for F1 teams to bring 3 cars to each race. I didn't see an explanation as to why Williams only brought 2. I would guess cost of transporting an extra car to Australia may have...
  35. Replies
    662
    Views
    146,876

    Re: Hamilton 5x World Champion ?

    I saw that too. Albon is clearly the better driver than Logan, but it still sucks for Logan.

    Reminder for everyone that the race is late Saturday night / early Sunday morning (depending on your...
  36. Replies
    4
    Views
    2,181

    Re: [RESOLVED] VB6 Draw Using API

    That page is archived in the Wayback Machine.

    https://web.archive.org/web/20100106230245/http://www.bitwisemag.com/copy/vb/vb_graphics1.html

    The links to the zipped source code in the page seem...
  37. Replies
    4
    Views
    661

    Re: binary file

    Realistically, no. You should use this as an incentive to come up with a backup strategy where you are storing a copy or copies of your work on an external drive, in cloud storage, or at the very...
  38. Replies
    12
    Views
    653

    Re: Error to do with Connectivity

    If they push back on the move from VM->Physical, and they go down the road of doing log examination on the clients and server to see if any unusual events or errors coincide with the time(s) that the...
  39. Replies
    12
    Views
    653

    Re: Error to do with Connectivity

    At an old job we had an extensive virtualization infrastructure using VMWare. We had many, many hosts, and VMWare has functionality called VMotion where a virtual machine can "seamlessly move" from...
  40. Replies
    12
    Views
    653

    Re: Error to do with Connectivity

    Is the new daily error happening only on a limited subset of PC's using your software at that location? Or is it happening on all devices at that location?

    In either case, one of the first things...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width