Search:

Type: Posts; User: PlausiblyDamp

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

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

    Why are you trying to convert the presumably binary data into a string before putting it into the .Data property? Why are you trying to save directly to the root of the C: drive?


    Think about...
  2. VS 2022 Re: Confirmation dialog box not showing

    If you put a breakpoint on the line, does the breakpoint get hit?
  3. Re: If LOF = Finshed input into box, then exit sub, if LOF not Finished then goto lin

    So you are already reading file contents, but you don't know when you are starting, reading, and stopping this process?

    Could you explain what you want the end result to be, rather than this...
  4. Re: If LOF = Finshed input into box, then exit sub, if LOF not Finished then goto lin

    So you want to read the contents of a file into a string variable?
  5. Re: If LOF = Finshed input into box, then exit sub, if LOF not Finished then goto lin

    You should know this by now, but please just post the relevant code and not a zip of the entire project.

    Is LOF the same as this...
  6. Re: garbage collection error, give me an example here that is correct for this form

    Are you sure, the only reference I have been able to find to the Form's WindowState enum is at https://learn.microsoft.com/en-us/previous-versions/visualstudio/visual-basic-6/aa265107(v=vs.60) and...
  7. Re: garbage collection error, give me an example here that is correct for this form

    Is vbrestore a valid window state in vb6? IIRC the options were vbNormal, vbMaximized, and vbMinimized - so no wonder the upgrade tool struggled with vbrestore.

    Did your vb6 application use Option...
  8. Re: garbage collection error, give me an example here that is correct for this form

    Normally no need to set things to nothing under .net, just let the garbage collector do it's thing.

    There isn't any option to run without doing a full compile.
  9. Re: garbage collection error, give me an example here that is correct for this form

    You don't need to call close if you are also calling Dispose.

    Also no need to set the variable to nothing either.

    Easiest way is to use...
  10. Replies
    36
    Views
    1,773

    Re: Legality and future of VB6

    The zip format itself was nothing to do with Microsoft and it makes no sense to mention it regarding vb6. If you mean the zipfolders Explorer extension then that was a side project written by a...
  11. Replies
    10
    Views
    863

    Re: VB6 Ray Tracing?

    Not VB.Net but https://github.com/lukehoban/LINQ-raytracer is a C# example written mainly in LinQ :D
  12. Re: what is the MS Paint HSV?

    https://en.m.wikipedia.org/wiki/HSL_and_HSV explains the two systems pretty well.
  13. VS 2022 Re: Suddden errors when trying to build

    The screenshot has an option "Show Potential Fixes", did you try clicking that? If so it would have either suggested the full class name, or adding an Imports statement to the top of the source file....
  14. Replies
    3
    Views
    434

    Re: Problem with two Values

    https://learn.microsoft.com/en-us/dotnet/api/system.math.abs?view=net-8.0 should be what you need.
  15. Replies
    8
    Views
    1,867

    Re: Creating Installer

    If you are going to be creating an installer then it would make more sense to put the .wav files in the same folder as the application itself.
  16. Replies
    22
    Views
    1,055

    VS 2019 Re: Process faster in nested for loops

    VB.Net does have Structures - they could be used instead of a class, although the reasons for using one over another aren't always as straight forward as they might be in VB6.
  17. Replies
    22
    Views
    1,055

    VS 2019 Re: Process faster in nested for loops

    Sorting a multi-dimensional array on just one dimension isn't a straight forward thing - https://steemit.com/utopian-io/@cheretta/sorting-a-multi-dimensional-array-in-net gives some ideas on how you...
  18. Replies
    22
    Views
    1,055

    VS 2019 Re: Process faster in nested for loops

    What format is the data from the tool saved as? Whatever the format it is probably better to load it into a class and then process it like Shaggy said here...
  19. Re: VS 2022 can't put database into datasource

    Did you try the suggestion from post 4, https://www.vbforums.com/showthread.php?903085-VS-2022-can-t-put-database-into-datasource&p=5636984&viewfull=1#post5636984 to see if you can identify what is...
  20. VS 2005 Re: Resource filepath with id using res:// protocol

    Did you look at the link I posted back in https://www.vbforums.com/showthread.php?903059-Resource-filepath-with-id-using-res-protocol&p=5636853&viewfull=1#post5636853 as that explains what a windows...
  21. Replies
    6
    Views
    432

    Re: Ltrim to trim textbox

    The various Trim commands just remove whitespace, also if you are using .Net you are probably better with one of the Trim methods on the string type -...
  22. VS 2005 Re: Resource filepath with id using res:// protocol

    For starters you can't use resx files, this works with the more traditional Windows resource files.

    Secondly, are you expecting to access this via Internet Explorer?
  23. Replies
    6
    Views
    1,326

    Re: List of Anonymous objects

    You can't return a list on anonymous types, but you can return a list of Tuples e.g.



    static void Main(string[] args)
    {
    var results = GetStuff();
    foreach (var result in results)
    ...
  24. Re: Everything is Nullable???

    https://learn.microsoft.com/en-us/dotnet/csharp/nullable-references gives a bit more background on nullable reference types and some of the ways you can control it.
  25. VS 2005 Re: Resource filepath with id using res:// protocol

    When you talk about the res:// protocol are you refering to https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/jj710218(v=vs.85) or something...
  26. Replies
    5
    Views
    2,259

    Re: Master to Master Azure DevOps

    I am not aware of a single place to view branch policies, in the past I have always just gone into the Branches section of Repos and checked each branch individually. Normally not an issue as I tend...
  27. Re: How to Add Platform property in .vbproj file?

    Although the error was the same it is a completely different problem, the solution you have linked to is only relevant for a VB.Net project. With VB6 you can only create a 32-bit x86 dll / exe so...
  28. Re: How to Add Platform property in .vbproj file?

    VB6 doesn't have this option as there is no choice other than x86.

    It might help if you explained a bit more about what you are trying to do and why you think you need to change this setting.
  29. Re: How to Add Platform property in .vbproj file?

    Then you won't have a vbproj file and VanGoghGaming's comment about VB6 only targeting x86 is true.
  30. Re: How to Add Platform property in .vbproj file?

    vbproj files are for vb.net and not vb6 - which one are you using?
  31. Re: installed 8.0.36 alongside 5.7 How to access 8 from commandline, it takes me to 5

    https://dev.mysql.com/doc/refman/8.0/en/connecting.html that tells you how to connect using a different port.
  32. Replies
    6
    Views
    2,965

    Re: how optimizate the programming?

    Also get familiar with a good benchmarking / performance profiler if you really want to see what different algorithms and performance tweaks actually change. Be aware that modern compilers can often...
  33. Re: mysql 8 cannot drop some databases I created, others do drop?

    IIRC this error can be caused by you not having permissions to drop the database (unlikely if you created them) or by something preventing the folder containing the database files from being deleted....
  34. VS 2010 Re: VB2010: how get more timer precision?

    That logic isn't really proving your point - or your need for a more precise / faster timer; fps is how quickly you can update the screen - it has nothing to do with how much other work you are...
  35. Re: How do I reverse pitch in a C# Console App? Fix error with ''Inverse'' in ''FFT''

    So which line was giving the build error? What was the error message?

    Regardless of what you think, that method doesn't return anything. That is what the error messages is telling you.

    In fact...
  36. Re: How do I reverse pitch in a C# Console App? Fix error with ''Inverse'' in ''FFT''

    There is nothing to "write to return what's void", void means the method doesn't return anything.

    FFT.Inverse(flippedSpectrum) presumably just modifies the data passed in. Try putting...
  37. Re: How do I reverse pitch in a C# Console App? Fix error with ''Inverse'' in ''FFT''

    The error message tells you the problem, FFT.Inverse doesn't return anything (it returns 'void') therefore you can't assign the result of calling it to a variable. Perhaps it performs the action in...
  38. VS 2010 Re: vb2010 - how add a VB6 dll on VB2010 project?

    If you add a reference to a COM dll then you should get the interop dll generated automatically, if you build your app and then check the folder where the .exe is generated then can you see the...
  39. Replies
    6
    Views
    526

    VS 2019 Re: Get status code with HttpClient

    Typically AggregateException is thrown by code executing as part of the Task Parallel Library or PLinq, if you are getting an AggregateException then you probably want to investigate the exception's...
  40. VS 2010 Re: vb2010 - how calculate the hit direction?

    If the wall Top is less than 10 then you still need to use -speed.Y, not +speed.Y - -speed.Y is the same as saying speed.Y *= -1 so you are flipping the direction.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width