Search:

Type: Posts; User: peterst

Page 1 of 10 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    9
    Views
    350

    Re: Project Gets Lost Somewhere

    So move to your second machine, extract the source in separate dir and try from command prompt to msbuild your solution. You may need to add to environment path to msbuild or use some of the VS dev...
  2. Replies
    9
    Views
    350

    Re: Project Gets Lost Somewhere

    Git as source control system (and natively supported in VS for 7+ years) uses .gitignore file where are described all compiler generated dirs and files which should not be included in the repository....
  3. Replies
    9
    Views
    350

    Re: Project Gets Lost Somewhere

    Gitea + MS Build Tools on separate clean machine + proper workflow :-)

    I've found some broken references when started adding projects to independent build process (including build machines)....
  4. Replies
    5
    Views
    684

    Re: Microsoft Visual Studio 2022

    I've been using VS.NET 2022 Preview from the beginning, also .NET 6 SDK on build machine (Windows and Linux). After the final release I've got problem (on Win machine - both full VS and SDK only) the...
  5. VS 2019 Re: Logged in user tracking and close instance of seleced user's

    BTW try on sheet of paper several login sequences + user sessions log + active sessions. Actually with local data access you don't need active sessions as it is useful only for server based checks....
  6. VS 2019 Re: Logged in user tracking and close instance of seleced user's

    It is developer job to implement sessions, sequences and all that. If you are the developer then it is your job :D

    Quick ideas:
    - create several tables for different info - login sequence events...
  7. VS 2019 Re: Logged in user tracking and close instance of seleced user's

    If you remove from equation WinForms (as I assume its what your app is using for user interface) and start thinking of the app only as frontend (UI), backend (some business logic, different helper...
  8. VS 2019 Re: Issue managing multi same forms with backgroudWorker

    CityManagementForm code:

    Public Class CityManagementForm
    Public Event OnLongCityProcess(city As City)
    Public Event OnSaveClicked(city As City)

    Private _city As City

    Public...
  9. VS 2019 Re: Issue managing multi same forms with backgroudWorker

    MainForm code:


    Imports System.Threading

    Public Class MainForm
    Private _forms As New Dictionary(Of Integer, CityManagementForm) ' Key=CityID, value=CityManagementForm

    Private...
  10. VS 2019 Re: Issue managing multi same forms with backgroudWorker

    Lets take as example editing cities info using following record of information:

    Public Class City
    Public Property CityID As Integer
    Public Property Name As String
    Public Property...
  11. VS 2019 Re: Issue managing multi same forms with backgroudWorker

    There are some tricky parts if you mix event based design and async code.

    Since events are synchronously executed in .NET, you have to create tasks with your own code, e.g. using Task.Run(Sub()...
  12. VS 2019 Re: Issue managing multi same forms with backgroudWorker

    Few things that can help you:
    - learn how to define own events and use them
    - learn about async/await and how to use it properly
    - learn how to separate processing code from user interface and how...
  13. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Niya, you have to try VS2022 with C#. You will find it do (black?) magic :D
  14. Replies
    7
    Views
    426

    Re: Remove Dynamic created labels

    If you reorder your original code, my single line will not help. Take a breath and look at your two samples, analyze what happens and you will find where is the problem in the second one.
  15. Replies
    7
    Views
    426

    Re: Remove Dynamic created labels

    Add labels to second list and use it to delete when required. Fix the code where needed to suit your needs.


    ' Module level variable
    Private _labels = new List(Of Label)

    ' Add...
  16. Re: Forum is bugging. I'm getting logged out when following links.

    Seems the problem is fixed. Tested in several browsers on Windows and Linux with and without add-ons and the link is redirected everywhere to https.

    The reason for the "logout" is that the forum...
  17. Re: Forum is bugging. I'm getting logged out when following links.

    Firefox 92.0.1 (64-bit) on Linux. Not reproducible :D

    Edit:
    Found the reason: uBlock Origin add-on (extension) causes the behavior with http:// result. Disabled on Firefox and Opera and now it is...
  18. Re: Forum is bugging. I'm getting logged out when following links.

    Firefox 92.0.1 (64-bit) on Win10. Still reproducible.

    Just found annoying "feature" of Firefox that it hides http:// but shows https:// in the URL bar. I have to type manually http:// (as it is...
  19. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Some language/platform features: multi-class definitions in single file; partial classes; extensions; delegates; expressions; attribute decorators for classes, properties and methods; object-oriented...
  20. Re: Forum is bugging. I'm getting logged out when following links.

    Some browsers are forcing https only connections without "asking". I tested with few Chromium ones: Opera, Vivaldi, Brave and also with non-chromium - Firefox. All behave equally - no auto-https...
  21. Re: Forum is bugging. I'm getting logged out when following links.

    It is just server configuration, as it already do vbforums.com to www.vbforums.com redirection. Activate again (if it started really few days ago) automatic redirection from http:// to https:// and...
  22. Re: Forum is bugging. I'm getting logged out when following links.

    Just ask IT guys to redirect all http to https in the web server settings and it will be enough. Browser is not important as this happens in Chromium based and non-chromium based browsers.
  23. Re: Forum is bugging. I'm getting logged out when following links.

    The link is to HTTP instead of HTTPS. Just put the missing S and you will be "logged" again. It is strange that the web server did not automatically redirect this link to HTTPS.
  24. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Why you don't use Dictionary(Of TKey, TValue) in VB.NET? To add (or replace existing key) you can use _vars.Item(varName) = varValue and TryGetValue will do same what you implemented for retrieval.
    ...
  25. Replies
    10
    Views
    452

    Re: Debtor System Design

    Simple event sourcing is very good case for such systems. But it is complex at the beginning and may require to create own library to handle events as most public libraries are overcomplicated for...
  26. Replies
    4
    Views
    1,207

    Re: Visual Studio blank solution fix

    Just connected to work machine with VS2019 Enterprise and there Blank solution is missing. But on all my VS Community installs (2017, 2019, 2019 Preview, 2022 Preview) the blank solution project type...
  27. Replies
    4
    Views
    1,207

    Re: Visual Studio blank solution fix

    Blank solution is available in (currently fully updated) VS2017, 2019 (including the Preview) and 2022 Preview. I remember there was update which caused it to disappear but it was for very short time...
  28. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    'Netters agree with 'Sixers... Where this world is going? Maybe soon all they will become JavaScripters :D
  29. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Probably no one had ever tried my PSC (Planet Source Code) tool (somewhere in PSC thread in VB6 subforum) to extract projects from CDs and to create the repos in Gitea. But it contains some examples...
  30. Re: Write interactive code "Print Spooler" in C# ?

    Execute:

    net stop spooler
    and then

    net start spooler
  31. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    VB.NET requires (grid of) quantum computers just to warm-up and start in half hour. It is not fair to compare it with Z80 power!
  32. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    So it is the right place for VB6 :D
  33. Replies
    8
    Views
    604

    Re: Can this be made 'cleaner'?

    I was showing you the language construct "Exit For" that you can use, but others just type faster than me. You can implement the rest of the logic just without GOTOs. Actually all specifics on...
  34. Replies
    8
    Views
    604

    Re: Can this be made 'cleaner'?

    if test_is_false then exit for
  35. Re: How soon may I have to give up VB.net (and VB6)?

    Today I updated my VS2019 Preview. And I updated (git pull) some sources from GitHub which include Roslyn compiler, .NET runtime, WPF, WinForms, SqlClient and others. Strange that I see many files...
  36. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    VB6 IDE shows different icon when you are writing code, not when you are reading. When you have to maintain 20-25 years old codebase (hundreds of projects, thousands of classes, millions of lines),...
  37. Re: [RESOLVED] Rotating an array of points clockwise 90, 180, and 270 degrees

    I am thinking of methods naming as most of time bad naming makes my code unclear of the real intent. Probably RotateLeft/RotateRight or RotateCW/RotateCCW (may include 90 as degrees) are more...
  38. Re: [RESOLVED] Rotating an array of points clockwise 90, 180, and 270 degrees

    Do you think making these extension methods will make the code more clean? (sorry to rename your function names but for me digits are more readable :))


    p1.Rotate180()
    p2.RotateMinus90()...
  39. Replies
    12
    Views
    998

    Re: MongoDB or NoSQL, do you use it?

    If you update title in books collection then you have to update it everywhere it is used. That is one of the differences between relational and NoSQL databases. You have to do that yourself as there...
  40. Replies
    12
    Views
    998

    Re: MongoDB or NoSQL, do you use it?

    When you are using relational database you don't present to users separate tables and links between them. You join that data and show the required fields in the UI.

    MongoDB as document database...
Results 1 to 40 of 381
Page 1 of 10 1 2 3 4



Click Here to Expand Forum to Full Width