Search:

Type: Posts; User: peterst

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: Is the VB6 community capable to grab the bull by its horns?

    Isn't that the problem with the "migration" to VB.NET? Even WinForms is the nearest form to what VB6 forms are. I am not even talking about WPF and UWP, where the learning curve is much higher.
    ...
  2. Re: Is the VB6 community capable to grab the bull by its horns?

    I am very aware, but other people are not. That is what I am trying to explain in few threads I wrote and (again) the expectations.



    Very hard choice for people who want to compile every old...
  3. Re: Is the VB6 community capable to grab the bull by its horns?

    That is what I was going to write. And what I am trying to explain in few posts in this subforum, also in this thread.

    Basic (and VB as just another Basic variant) as language is one thing. The...
  4. Re: Is the VB6 community capable to grab the bull by its horns?

    Adding more and more requirements where some of them are really improving the product will let the people who will do the deep analysis think what and when it is suitable to add a feature. Because if...
  5. Re: Is the VB6 community capable to grab the bull by its horns?

    If you can't write real requirements, then it is lost cause. If you can't split your requirement and expect someone else to do it, then I really can't imagine how you manage with software development...
  6. Re: Is the VB6 community capable to grab the bull by its horns?

    That's exactly the requirement.

    And we already have that with the original VB6.

    The idea of this thread is to get the original VB6 replaced part by part, one at a time.

    Then, the purpose is...
  7. Re: Is the VB6 community capable to grab the bull by its horns?

    Prepare initial list of requirements what this new "VB6" (as it will be no VB6 by definition) should include: IDE, forms designer, compiler, runtime, language features (projects, classes, modules,...
  8. Re: Is there anyone who have been used a Control in vb6 like DataGridview which in .N

    Niya, in my case there was quite complex data management and logic written in VB6 so without way to call back it was unusable. On form shown event it shows initial state, user clicks here and there,...
  9. Re: Is there anyone who have been used a Control in vb6 like DataGridview which in .N

    We are using many mixed libraries in our legacy projects - VB6 main EXE with reference to .NET where some UI is implemented as form. Also I've created many .NET libraries with many exposed COM...
  10. VS 2017 Re: Using .NET 5 Rich Text Box with .NET 4 Windows Forms application

    .NET 5/Core and .NET Framework can share libraries but I doubt this will work for duplicate libraries required for WinForms. Check .NET Standard about compatibility between different "frameworks" and...
  11. VS 2017 Re: Using .NET 5 Rich Text Box with .NET 4 Windows Forms application

    This is simply not true. If you edit your project, you can set if you want to publish _all_ libraries, so destination system may not have .NET 5/Core runtime installed and still run the project, or...
  12. Re: Trying to use a service and service list only once.

    You have 3 different instances of same services but you probably added using "Add service reference" using URLs for each server. This generates configuration in app.config for each service. But the...
  13. Re: Trying to use a service and service list only once.

    Have you tried this:

    How to: Create a Service Endpoint in Code

    Specifying an Endpoint Address
  14. Replies
    20
    Views
    866

    Re: CCur Function

    What I've found on StackOverflow is that during debugging JIT optimizations are not applied. Real performance improvements are when you build in Release mode and run the application outside Visual...
  15. VS 2010 Re: Windows 7 - Windows 10 conversion - Slow running

    Refactor code slowly procedure by procedure where users complain. Abusing UI thread has different impact on different OS versions as it is seen from this thread.

    I remember when Win 7 was...
  16. Replies
    20
    Views
    866

    Re: CCur Function

    If someone is interested, here is interesting video about performance in JIT compiled code and how it can be optimized with new CPUs:

    https://www.youtube.com/watch?v=ot3PESmNXhE
    * Disclaimer:...
  17. Replies
    12
    Views
    285

    VS 2017 Re: Creating new project

    VS 2008 - no solution and location in dialog. Default project name selected (WindowsApplication1). Click Save - dialog with project name, location and solution name shown

    VS 2013 - exactly the...
  18. Replies
    12
    Views
    285

    VS 2017 Re: Creating new project

    In versions of Visual Studio prior to 2017 if I remember correct, creation of VB.NET project don't allow you to choose the solution and location. This is done when you save the project for first time.
  19. VS 2010 Re: Windows 7 - Windows 10 conversion - Slow running

    If the given example is not written in so abusive style for the UI thread, maybe the results will be quite similar on different OSes and same hardware. Actually such example is great to show how not...
  20. VS 2010 Re: Windows 7 - Windows 10 conversion - Slow running

    I've seen something similar with .NET Core - running same project on Win 10, Win 7 and Linux results are so different so I gave up. The app was console one for obvious reasons, so there is no...
  21. VS 2010 Re: Windows 7 - Windows 10 conversion - Slow running

    Win7 - 15 - 16 seconds (5 runs)
    Win10 - from 22 seconds to 73 seconds (5 runs)
    VS2019, project targets .NET 4.8

    Everything runs on same hardware.
  22. Replies
    4
    Views
    195

    Re: Images as checkboxes

    User control with FlowLayoutPanel, property for number of "stars" as some may want 3 or 10 stars, properties to set different icons (on, off, on hover). Dynamically add number of icons (stars) to the...
  23. Replies
    14
    Views
    460

    VS 2019 Re: Byte Array to String Problem

    Contest winning entry :D

    Dim connstr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=
    C:\Users\pc\Desktop\data.mdb;Jet OLEDB:Database Password=crY4nRikUlZ5Ze;"
    Using conn = New...
  24. Re: [RESOLVED] Prevent Main Form from Continuing

    In C# (and also VB as part of .NET ecosystem) there is another extreme application termination with different intent but similar results. It depends on application and developer how the exit is...
  25. Re: [RESOLVED] Prevent Main Form from Continuing

    End statement:



    It is dangerous as app may have opened connections, files or some objects that require explicit closing.

    But checking what End does is that it actually is a call to...
  26. Replies
    53
    Views
    1,440

    Re: Do you use ()'s for your IF statements?

    We started from brackets and reached C#, semicolons and landed in Rust world in VB.NET talk. For those who are interested in languages evolution, there is the link to Kotlin language in Wikipedia,...
  27. Replies
    53
    Views
    1,440

    Re: Do you use ()'s for your IF statements?

    Removing all ugly brackets (except where required), semicolons, change syntax here and there and what we get? Another language. That is what happens all the time. It is no more C# (or whatever other...
  28. Replies
    26
    Views
    821

    VS 2019 Re: Save text file to disk?

    Part of the original question is:


    And until now I saw only ChrisE to write example using streams, which is the proper way to start working with files. File.ReadAllText and File.WriteAllText are...
  29. Replies
    53
    Views
    1,440

    Re: Do you use ()'s for your IF statements?

    Take a look in the VB.NET sub-forum around your topic or just click the icon with the link to the quote. It is current days example why people don't want to learn change and learn anything new.
  30. Replies
    53
    Views
    1,440

    Re: Do you use ()'s for your IF statements?

    I remember I read the thread you linked. And it repeats again and again every year, every month. "I am used to, I don't want to change, I don't want to learn, I just want my VB6":


    While there...
  31. Replies
    53
    Views
    1,440

    Re: Do you use ()'s for your IF statements?

    Coding style changes during years. Sometimes it is to reduce code length and increase readability, sometimes it to comply some new "standards" used by big companies or language and libraries...
  32. Replies
    53
    Views
    1,440

    Re: Do you use ()'s for your IF statements?

    VB.NET 2019 code style proposals for first code are:

    - Remove unnecessary parentheses:

    If val = True Then
    x = x + 1
    End If


    - Remove redundant equality:
  33. Thread: Control Array?

    by peterst
    Replies
    93
    Views
    2,957

    Re: Control Array?

    If you want to continue with .NET, you have to forget most VB6 habits. Learn about user controls, different layout panels (TableLayoutPanel, FlowLayoutPanel) which are using different layout engine...
  34. Replies
    10
    Views
    661

    Re: Safely discard old system

    Remove the SSD and use it in your new computer. There is always need for more space on fast drive like SSD. As it is old drive, you can check drive SMART status with app like CrystalDiskInfo (free...
  35. Re: Use C# ref struct in VB.NET Today. And vote against preventing this in Roslyn

    Because it is not so easy if you want to handle all cases. Imagine JSON coming from (or passed to) Go, Scala and Node.js services or clients and how much they can differ. That's why the advanced JSON...
  36. Replies
    3
    Views
    322

    Re: Open Source Controls

    NuGet is your friend. Search for library, then check the license in the Info column. There are also links to project site and/or source code repository if available.
  37. Replies
    7
    Views
    333

    Re: special numbering

    If we forget for a moment about code, coding style and everything else, that is not related to the task, the requirement is not fully written and maybe not clear to the author of the topic.

    What...
  38. Re: Database at domain hosting vs database servers....

    There are different editions of MSSQL server and no one should expect enterprise features on the free express edition. At least for free or low price.

    Here is a list of differences in max...
  39. Re: Update a field in multiple tables

    Why not save list of the queries in separate table? When you add or remove table with the field to be updated, then updated your queries in the "queries" table. In your application you can cache the...
  40. Re: Database at domain hosting vs database servers....

    Databases are created on database servers. Database is data stored in memory and/or files, while the server is the software application that manages the data and provides the features that are used...
Results 1 to 40 of 210
Page 1 of 6 1 2 3 4



Click Here to Expand Forum to Full Width