Search:

Type: Posts; User: peterst

Page 1 of 5 1 2 3 4

Search: Search took 0.45 seconds.

  1. Replies
    214
    Views
    13,726

    Re: Re PlanetSourceCode

    Finally was able to finish testing and cleanup some of the code of the tools to decrypt and extract PSC files, prepare project repos and upload to Gitea server. Some tasks take too much time -...
  2. VS 2015 Re: WebClient.DownloadString(URL) returns Error 403 - Forbidden

    I can't connect from major EU countries - all are forbidden. Anyway your code is OK and works with other sites. Seems there are some other checks some web-dev added to gamestop web site.
  3. VS 2015 Re: WebClient.DownloadString(URL) returns Error 403 - Forbidden

    Multi-country checks - seems forbidden in many places:
    https://www.vbforums.com/images/ieimages/2020/09/3.png
  4. VS 2015 Re: WebClient.DownloadString(URL) returns Error 403 - Forbidden

    The provided link returns 403 in the browser. Also the main site (gamestop.com/) returns 403. Tested with two 3 ISPs from 2 different countries.
  5. Replies
    214
    Views
    13,726

    Re: Re PlanetSourceCode

    I've read the news on HN about the new CLI, but even it can be used for single repo creating, the whole process of errors handling will become more complex when there are thousands of repos. Anyway,...
  6. Replies
    214
    Views
    13,726

    Re: Re PlanetSourceCode

    I had few hours and tested Gitea API how to create repository in organization and then initialize new Git repo for each project and push it to server. GitHub API is very similar so I expect the code...
  7. Replies
    214
    Views
    13,726

    Re: Re PlanetSourceCode

    There is no time these days but the creation of README.md is done:
    https://www.vbforums.com/images/ieimages/2020/09/1.png

    If someone knows the relation between picture names (e.g....
  8. Replies
    214
    Views
    13,726

    Re: Re PlanetSourceCode

    Some ugly and messy test code for those interested in decryption and extraction process. It will be re-written for the final version. Written in VB.NET (VS2019, targeting .NET Framework 4.8):

    ...
  9. Replies
    214
    Views
    13,726

    Re: Re PlanetSourceCode

    Yes, it is what you've done. But to create good looking README.md file requires to add some formatting and insert the image from Data\Pictures directory (still haven't checked the relation of IDs in...
  10. Replies
    214
    Views
    13,726

    Re: Re PlanetSourceCode

    Found the "secret" and "magic" offset where the bad encryption happens. Even the section is not encrypted (header + some of the data) it could be partially encrypted and that's why my algo failed....
  11. Replies
    214
    Views
    13,726

    Re: Re PlanetSourceCode

    From the readme file name: @PSC_Readme_NNNN_1.txt, the NNNN part is the Submission.id field in the MDB.
  12. Replies
    214
    Views
    13,726

    Re: Re PlanetSourceCode

    Creating remote repo in organization requires use of API. Having thousands of projects will require thousands of repos. That's what I am thinking of the process steps.
  13. Replies
    214
    Views
    13,726

    Re: Re PlanetSourceCode

    These are some of the steps my project is planned to have. Here is my list:

    Decrypt and extract projects from each CD to own directory
    Copy in properly named directory each project
    Remove...
  14. Replies
    214
    Views
    13,726

    Re: Re PlanetSourceCode

    PSC files encryption is a bit nasty as some files are not fully encrypted but only some sections of the ZIP (local file header, central directory file header, end central directory record) could be...
  15. Thread: Help

    by peterst
    Replies
    5
    Views
    840

    Re: Help

    Search for ASP.NET REST API. Most articles these days are for ASP.NET Core (.NET Core) but there are some older articles how to use .NET Framework. Anyway, basics are the same but .NET Core (ASP.NET...
  16. Thread: Help

    by peterst
    Replies
    5
    Views
    840

    Re: Help

    You already have IIS and possibility to run there web services. Create few web services - authentication of users, get data from server, upload data to server. Then connect to your server public IP...
  17. Re: VS2019 Community edition COM Aware setting ?

    Yes, it supports. I've created recently some COM libraries targeting .NET Framework 3.5, 4.0, 4.5, 4.6.1, 4.8 - all used in different setups from Win XP/Server 2003 (still used somewhere in...
  18. Replies
    4
    Views
    385

    Re: [vbRichClient] SQLite replication

    If your data is created with some rules where each branch will have own naming/numbering of the unique data, it is quite easy. E.g. you have table items (id, item_number, description, field1, field2,...
  19. Replies
    20
    Views
    875

    Re: Create Form Explicitly?

    Reasons to use Sub Main() instead of Application Framework are for more specific for our development:

    - Easy transition to C# if required. This applies for specific language features - everything...
  20. Replies
    5
    Views
    391

    VS 2010 Re: Windows-Form Customized Top Border Design

    For custom UI you need to do some work on getting/creating icons, choose color schema for the app, find some custom controls libraries or create them yourself. Then you have to play with controls...
  21. Replies
    20
    Views
    875

    Re: Create Form Explicitly?

    Using C# style where no "Application Framework" is involved, allows implementing some useful features like:
    - configuration variables management - not all apps use app.config but something more...
  22. Re: SQL Select and resolve bitmask values

    Another query but it doesn't return commas:


    select trim(Motorola+' '+StateNCC+' '+Customer) as MonitoredBy from
    (select
    MonitoredBy,
    (case MonitoredBy & 1 when 0 then '' else...
  23. Re: SQL Select and resolve bitmask values

    Use & for bitmask (as logical AND) and CASE to get the desired string value (Y or N) instead of 0 or 1:

    create table #MMockTable
    (
    MonitoredBy int not null
    )

    insert into #MMockTable values...
  24. Re: Copy the last line from textbox into another textbox

    You are right. I just translated first C# answer I've found (not using Google :) ) to VB.NET without testing and without any IDE or compiler around.
  25. VS 2017 Re: Get Public IP Address Without Use Of External Website

    Few more hints:

    - If you expose HTTP services, it is highly recommended to configure it to use SSL (HTTPS protocol) to avoid man-in-the-middle attacks

    - If you expose public web site, then...
  26. Re: Copy the last line from textbox into another textbox

    Split the text by Chr(10) (line feed) and get last line:


    Dim lines() = TextBox1.Text.Split(Chr(10))
    Dim lastLine = lines.Last()
  27. VS 2017 Re: Get Public IP Address Without Use Of External Website

    I am running my own server(s) for last 16 years, also in the office we are running own public servers (again for 16 years). Here are some hints (some of the already mentioned above):

    - Ask ISP to...
  28. VS 2010 Re: How to save My.Settings even when the exe application is copied

    Use registry key or file placed somewhere in \Windows subdirectories to save the information you need. You may set hidden attribute of the file so regular users can't "see" it with default file...
  29. Replies
    6
    Views
    416

    VS 2010 Re: text to voice

    From similar thread:
  30. Re: Why is my form locking up my computer when it loses focus?

    Show your approach and present the advantages - workflow with simplified data view and navigation. No one will read and modify 200+ fields, so it is better to keep single record info on single...
  31. Re: Why is my form locking up my computer when it loses focus?

    Now about the discussion what customers/users want and what in reality it should be. I have similar experience like techgnome. Usually everything starts with very complex requirements where UI...
  32. Re: Why is my form locking up my computer when it loses focus?

    I did few tests and benchmarked reading from database and creating many controls.

    First is the reading from MSSQL. When data is read for first time it takes between 50 and 400ms. Next reads are...
  33. Re: VB 2008 How to bold a date from a monthcalendar after a left mouse click

    Call UpdateBoldedDates() method after you change (add or remove) bolded dates:

    Private Sub EventsCal_DateSelected(sender As Object, e As DateRangeEventArgs) Handles EventsCal.DateSelected
    ...
  34. Replies
    9
    Views
    712

    Re: Modern C# to VB

    Quick try without IDE:



    services.AddAuthentication(sub(options)
    options.DefaultScheme = "Cookies";
    options.DefaultChallengeScheme = "oidc";
    End Sub).
    ...
  35. Re: How Run SQL Server database 2014 on the user's PC.without Installing Server data

    True. Here is what ConnectionStrings.com says about attaching MDF file using System.Data.SqlClient:
  36. Re: Ozeki SDK MP3StreamPlayback issue

    Also in this code:

    If _mp3Player.IsStreaming.ToString = False Then

    Don't use ToString of boolean property (IsStreaming) and then to compare with boolean value.
  37. Re: Ozeki SDK MP3StreamPlayback issue

    With quick search I found this documentation about MP3StreamPlayback Class and there are two events:



    Just add handler for the Stopped event and it will occur when the audio playing stops. No...
  38. Replies
    6
    Views
    531

    VS 2019 Re: SAPI.spvoice

    System.Speech.Synthesis works from console application and doesn't "mess" with WinForms, Excel or System.Data... Also my code doesn't know how to make source backups before changes :)
  39. Replies
    6
    Views
    531

    VS 2019 Re: SAPI.spvoice

    About the async routines, the same library has async versions, but you have to declare synth variable outside the routines:


    Imports System.Speech.Synthesis

    Private _synth As New...
  40. Replies
    6
    Views
    531

    VS 2019 Re: SAPI.spvoice

    Your code looks like VBA, not VB.NET. There is Speech library in .NET you can use like this:


    Imports System.Speech.Synthesis

    ...
    ...
    Dim synth As New SpeechSynthesizer...
Results 1 to 40 of 162
Page 1 of 5 1 2 3 4



Click Here to Expand Forum to Full Width