Search:

Type: Posts; User: VisualBeginner.NET

Search: Search took 0.01 seconds.

  1. VS 2019 Re: Forms under a project instead of solution

    This is for my own calculation work. The original in VB3 was started in 1996 and had the meaningless name Form1. Then came Form2 and it kept growing. And then some forms were removed. And the bad...
  2. VS 2019 Re: Forms under a project instead of solution

    But how about one form (shared by) in two projects?

    And why did it put that bitmap there which was just supposed to be in one PictureBox?
  3. VS 2019 Re: Forms under a project instead of solution

    OK. Thanks. I added new forms by Add Form from Solution name. If I had two projects under this solution, which project would have received that new form? Sorry for very stupid questions. I don't find...
  4. VS 2019 Re: Forms under a project instead of solution

    That's right. It misleads me to believe that everything is fine.
  5. VS 2019 Re: Forms under a project instead of solution

    182507

    Thanks. I think this should work.
  6. VS 2019 Re: Forms under a project instead of solution

    How should I attach the image? Trying to insert it resulted in this.
  7. VS 2019 Re: Forms under a project instead of solution

    Please check again. The attachment is very much visible. I tried to insert an image and this is what it did. IT shows only the Solution explorer. Not the whole screen. And I am using Windows 7.
  8. VS 2019 Re: Forms under a project instead of solution

    This is how it looks.

    182506
  9. VS 2019 Forms under a project instead of solution

    I am still not terribly familiar with Visual Studio and .NET. As a result, I put all my forms and modules in a solution instead of a project.

    (1) Was this stupid? Or it does not matter?

    (2) Is...
  10. VS 2019 Re: Tiling one Form with a part of another Form

    More details are in the original post but here is that part:


    Using g As Graphics = Graphics.FromImage(NewImage)
    ' g.CopyFromScreen(Form70.Location.X, Form70.Location.Y, 400, 100,...
  11. VS 2019 Re: Tiling one Form with a part of another Form

    OK. But I have also tried to put the whole form background on frmImage. And then from another Form I try to take a part of that frmImage. That too does not work. Why?
  12. VS 2019 Re: Tiling one Form with a part of another Form

    No. It is not. This might be difficult to do.
  13. VS 2019 Re: Tiling one Form with a part of another Form

    OK. But I have also tried to put the whole form background on frmImage. And then from another Form I try to take a part of that frmImage. That too does not work. Why?
  14. VS 2019 Re: Tiling one Form with a part of another Form

    No. It is not. This might be difficult to do.
  15. VS 2019 Re: Tiling one Form with a part of another Form

    Yes. It is the default instance. (I have never used anything else.)

    It is not complaining but just not drawing anything on Form71. I just get a gray background on Form71.

    If I use the tBrush...
  16. VS 2019 Re: Tiling one Form with a part of another Form

    It did not help. It is still not drawing anything on Form71.
  17. VS 2019 Re: Tiling one Form with a part of another Form

    Form70 is used first. Then one can come to Form71. Form70 is not disposed. Only hidden.
  18. VS 2019 Tiling one Form with a part of another Form

    I want to tile one Form with a small portion of another Form. What am I doing wrong?



    Public Class Form71

    Dim backImg As New Bitmap(Form70.Picture1.Image) ' 214 by 169
    Dim tBr As...
  19. Re: Command buttons from upgrade and newly added in Visual Studio 2019 are different

    Thank you very much. I have to learn what these DirectCast and TryCast are. The third alternative is easier (but that too was new for me). For the time being, I just manually selected all the buttons...
  20. Re: Command buttons from upgrade and newly added in Visual Studio 2019 are different

    Thanks. Now I understand (I think) what is going on. Even manually replacing is not difficult because I could select a lot of buttons using the pointer (and ctrl to add more) and then set the Visual...
  21. Re: Command buttons from upgrade and newly added in Visual Studio 2019 are different

    I had looked at the properties. FlatAppearance settings are the same, FlatStyle is Standard, Modifiers were different but I made them all Public. UseVisualStyleBackColor was different. This might be...
  22. Command buttons from upgrade and newly added in Visual Studio 2019 are different

    There is a difference in appearance of the new command buttons that have been added in Visual Studio from the upgraded ones from VB6. What is the best way to make all of them look similar?
  23. Re: Arranging textbox array causing IndexOutOfRangeException at 41

    Thanks.
  24. cancelling; trouble found

    cancelling; trouble found
  25. Re: Small trouble with PowerPacks in Visual Studio 2019 Community

    I think I like this idea of giving up on legacy classes. Otherwise, I could as well continue with VB6.

    For the time being, I can even give up printing forms (and claim to save a couple of trees)...
  26. Re: Small trouble with PowerPacks in Visual Studio 2019 Community

    Still what bugs me is that PowerPacks works fine for another project on the same computer. It could be an issue of just the reference to it. I know too little to be able to figure out what to add and...
  27. Small trouble with PowerPacks in Visual Studio 2019 Community

    I have used PowerPacks in another project and it seems to be working all right for printing forms. Now I have started with another project and it is not being found. This means it has probably been...
  28. Re: How soon may I have to give up VB.net (and VB6)?

    2, What should I install to learn the basics of VB.net web app and mobile app development? I don't believe that very many engineering applications will move to small screens, but no harm in learning...
  29. Re: How soon may I have to give up VB.net (and VB6)?

    This is very good to know. I have used Fortran IV to Fortran 77 before I started with Visual Basic.
  30. Re: How soon may I have to give up VB.net (and VB6)?

    I don't think there are any free compilers for Visual Fortran. I suspect Microsoft will probably not allow it to run smoothly just like older versions of VB.
  31. Re: How soon may I have to give up VB.net (and VB6)?

    This has been a very good reply. For my engineering work, VB3 was optimal, but it is more or less impossible to use it today (and give the .exe to others). Installing VB6 on Windows 10 is not easy...
  32. Re: How soon may I have to give up VB.net (and VB6)?

    I definitely like the advice to not stop learning. However, I have a million things on the list to be learnt. And I have a full time job. And I am not a programmer by profession but an engineer. So I...
  33. How soon may I have to give up VB.net (and VB6)?

    Sorry if this is not a relevant question, but a serious issue for me. I would like some advice from people who have worked with programming for a long time.

    1, I have a fair amount of engineering...
  34. Re: VS 2019 - fonts blurred on Windows 10, higher resolution screen

    1. Is there any alternative to VB.net and Visual Studio which will produce good font appearance on smaller as well as bigger (higher resolution) screens?

    2. How does Microsoft manage to show sharp...
  35. Re: VS 2019 - fonts blurred on Windows 10, higher resolution screen

    Then why are all other programs appearing sharp but only VB6 and VB.net programs do not? Can we not use some settings such that the Form painting is done like in Windows Explorer?
  36. Re: VS 2019 - fonts blurred on Windows 10, higher resolution screen

    The AutoScaleMode is font. Would it help to change this?

    By default, I have Microsoft Sans Serif, but the problem is the same for all the available (200+) fonts on that computer.
  37. VS 2019 - fonts blurred on Windows 10, higher resolution screen

    I have searched for this problem and find complicated answers which require messing with system files. Is this a well known problem?

    The fonts look fine on two laptops running Windows 7, but when...
  38. Re: SmoothingMode AntiAlias and HighQuality not working in Form_Paint

    This problem has disappeared when I moved the DrawLogo call from Form_Paint to Form_Load. Is there something in Form_Paint which prevents high quality? I have not changed the Sub DrawLogo.


    ...
  39. SmoothingMode AntiAlias and HighQuality not working in Form_Paint

    Private Sub Form15_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint
    Dim br1 As Brush = Brushes.White
    e.Graphics.SmoothingMode =...
Results 1 to 39 of 39



Click Here to Expand Forum to Full Width