Search:

Type: Posts; User: giodepa

Page 1 of 5 1 2 3 4

Search: Search took 0.05 seconds.

  1. VS 2019 Re: exe not starting with upgrade from Win10 to Win11

    Find solved issue jmcilhinney!!!! :D
    From Project_> xxx Proprierties I changed in Target CPU dropdown menu option x86 to AnyCPU
    This is probabily I didn't see in error log reference to line number...
  2. VS 2019 Re: exe not starting with upgrade from Win10 to Win11

    Finally I catched error from Viewer Event:
    Error ID is 1026



    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

    - <System>
    <Provider Name=".NET Runtime" />
    <EventID...
  3. VS 2019 Re: exe not starting with upgrade from Win10 to Win11

    I'm adding code only after my coworkers had issue. I build exe on my pc (Win10) and the I forward exe to my coworkers who tested it.
  4. VS 2019 Re: exe not starting with upgrade from Win10 to Win11

    Hi jmcilhinney,
    I followed example on link https://www.vbforums.com/showthread.php?868505-RESOLVED-How-To-Handle-Unhandled-Exceptions



    Public Sub New()

    InitializeComponent()
    ...
  5. VS 2019 Re: exe not starting with upgrade from Win10 to Win11

    No.
    My I didn't do any changes in code.
    I'm confused too.
    I'm trying to catch issue on Win11.
  6. VS 2019 Re: exe not starting with upgrade from Win10 to Win11

    You are perfectly right, UnhandledException event is for me a new thread and I'm studyng how it works.
  7. VS 2019 Re: exe not starting with upgrade from Win10 to Win11

    Hi jmcilhinney,
    no exception is triggered in sub (no messagebox.show is showed)


    Private Sub InitLogin_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Try
    .....

    Catch ex As...
  8. VS 2019 Re: exe not starting with upgrade from Win10 to Win11

    Hi dbasnett,
    I cannot check it as my collegue doesn't have Visual Studio installed
  9. VS 2019 [RESOLVED] exe not starting with upgrade from Win10 to Win11

    hi all,
    I created an exe application for team where I work and the application works fine on win10.
    For some of my collegues the pc was upgraded from win10 to win11 and the now exe doesn't work...
  10. VS 2019 Re: Handle Focus on second Form with two forms

    Hi .paul.,
    I checked what are &H112 and &HF012:

    WM_SYSCOMMAND = &H112
    MOUSE_MOVE = &HF012

    Now it is all clear.
    Thanks!!!
  11. VS 2019 Re: Handle Focus on second Form with two forms

    Hi .paul.,
    your code works fine!!!
    Can you explain your code below please?


    Dim m As Message = Message.Create(Me.Handle, &H112, CType(&HF012, IntPtr), IntPtr.Zero)
    MyBase.DefWndProc(m)

    ...
  12. VS 2019 Re: Handle Focus on second Form with two forms

    Hi .paul.

    this is code for drag PanelTitle:



    '******************************************** DRAG FORM**************************************************************************************
    ...
  13. VS 2019 [RESOLVED] Handle Focus on second Form with two forms

    Hi,
    I created a form called form1 with FormBorderStyle set to none and where on top there is a panel called TitlePanel in order to handle form1 moving.
    With a ToolStripmenuItem I open a second form...
  14. Re: Encrypt ConnectionString, is it necessary?

    thanks to all!!!!
    I'll close thread

    gio
  15. Re: Encrypt ConnectionString, is it necessary?

    before encrypting you string jfdaskfjgkldasjgfkldsafjgklfdag, do you use your credentials in source code without encryption?


    I provided to IT team RSA public key and I have private key too, so...
  16. Re: Encrypt ConnectionString, is it necessary?

    Sorry wqweto,
    but if I encrypt the connectionString , how can ODBC Connection decrypt connection string?
    I mean that when OdbcConn.open() will be executed, I will receive error message....
    I'm so...
  17. Re: Encrypt ConnectionString, is it necessary?

    Hi wqweto,
    do you mean that i.e. with WireShark they can see connection string?
  18. [RESOLVED] Encrypt ConnectionString, is it necessary?

    Hi all,
    I created a tool (exe file) that connects to server PostgreSQL and it fills data obtaneid by query in a dataTable:



    'postgreSQL
    dim T as new dataTable
    OdbcConn = New...
  19. VS 2019 Re: How to handle multiple Rectangle Annotations in same Chart

    yes, I'm agree with you.
    But


    --zz is a chart
    AddHandler zz.AnnotationPositionChanging, AddressOf ChartPositionChanging


    it will associated always to last added annotation.
    So in code
  20. VS 2019 Re: How to handle multiple Rectangle Annotations in same Chart

    Because AnnotationPositionChanging handler is associated to chart.
    Using same chart


    AddHandler zz.AnnotationPositionChanging, AddressOf ChartPositionChanging

    this code will handle always...
  21. VS 2019 How to handle multiple Rectangle Annotations in same Chart

    I want to add multiple Vertical line Annotations and Rectangle Annotations in same Chart/ChartArea and moving them.
    But, with Following code, only last RA/VA is handled:


    For Each ctl As Control...
  22. VS 2019 Re: [RESOLVED] Issue managing multi same forms with backgroudWorker

    Yhanks All!!!
    I'll close thread as Resolved.

    Bye
    Gio
  23. VS 2019 Re: Issue managing multi same forms with backgroudWorker

    Hi Karen,
    I meant without button to stop process but I understood what you mean.
    But sorry for further question...
    You said that this code is wrong as there is no way to exit from BGW:


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

    Thanks Karen,
    I will study your code but it some difficult to understand immediately ;)
    But I'm more and more confused :(
    I'm just wondering what is the best way to open several forms (starting...
  25. VS 2019 Re: Issue managing multi same forms with backgroudWorker

    Hi Peterst,
    first THANKS!!!
    You are perfectly right and now I'm studying your code :)
    But before reading it I understood a little more what you said in your first answer and so I created
    a...
  26. VS 2019 Re: Issue managing multi same forms with backgroudWorker

    Hi Paul,
    thanks for you reply.
    I want to work with two formB side by side.
    But I have to give you some informations on how formB works to understand better... :)
    in FormB there is a treview where...
  27. VS 2019 [RESOLVED] Issue managing multi same forms with backgroudWorker

    Hi all,
    I create two forms: formA and formB.
    First one is a combination of several options where it is possible to select i.e. country,city,State etc.
    Second one contains several kpi (key...
  28. VS 2019 Re: get treenode image under cursor during dragging from Treeview to panel

    Hi,
    actually I solved second point.
    I aadded
    AddHandler Panel2.MouseUp, AddressOf PictureMouseUp


    Public Sub New()
    ...
    AddHandler Panel2.MouseUp, AddressOf PictureMouseUp
  29. VS 2019 get treenode image under cursor during dragging from Treeview to panel

    Hi all,
    I'm trying to custom Drag Cursor with a picture where this picture shows name of treenode like this:

    179981

    Afterwards this picture can drop on Panel2 as label or image

    I'm using...
  30. VS 2019 Re: How to Visualize legend for each ChartArea

    Hi All,
    finally I found issue!!!
    Code above is correct but for each series it is necessary to specify legend too:



    series1.Legend = titolo


    and result is:
  31. VS 2019 Re: How to Visualize legend for each Chart Area

    Hi Delaney,
    link that you provided doesn't work
    I already tried legend insideDockArea
    This is result:
    179884
  32. VS 2019 [RESOLVED] How to Visualize legend for each ChartArea

    Hi all,
    I developed a Function that creates a Chart Area inside a chart.
    I tried to assign to each Chart Area a legend without success.

    A part of this Function is:



    Private Sub...
  33. Replies
    1
    Views
    832

    VS 2019 Regex SQL syntax highlighting

    Hi all,
    I decided to view my sql queries in a richtext box but when I loaded my query obviously I cannot syntax highlighting like SSMS.
    So I decided to use regex to plit each line and when I find...
  34. VS 2019 Re: Import large XML file into datatable: OutOfMemoryException was thrown

    Hi all,
    thank for your reply.
    @tg
    you are right
    AS I didn't know the name element whose I needed, first I used command:


    While reader.Read
    If reader.NodeType = XmlNodeType.Element
    dim elem...
  35. VS 2019 [RESOLVED] Import large XML file into datatable: OutOfMemoryException was thrown

    Hi all,
    I have a large xml file (about 2Gb) and I'm trying to import it into dataset or better in SQL Server.
    I read that to solve issue of memory, it's better to use XmlReader...
    So I started...
  36. VS 2017 Re: Import a csv file with delimiter(;) into Datatable

    I understood what you mean.
    Thanks Chris
  37. VS 2017 Re: Import a csv file with delimiter(;) into Datatable

    Hi,
    I solved import csv using schema.ini and also I tried to use TextFieldParser.
    In this last case I used this example found here:



    Using MyReader As New...
  38. VS 2017 Re: Import a csv file with delimiter(;) into Datatable

    Hi,
    I solved import csv using schema.ini and also I tried to use TextFieldParser.
    In this last case I used this example found here:



    Using MyReader As New...
  39. VS 2017 Re: Import a csv file with delimiter(;) into Datatable

    Thanks to both.
    I'll try it in the week.

    giodepa
  40. VS 2017 Re: Import a csv file with delimiter(;) into Datatable

    Thanks to both.
    I'll try it in the week.

    giodepa
Results 1 to 40 of 164
Page 1 of 5 1 2 3 4



Click Here to Expand Forum to Full Width