Search:

Type: Posts; User: Niya

Page 1 of 13 1 2 3 4

Search: Search took 0.32 seconds.

  1. Thread: flippin bits

    by Niya
    Replies
    18
    Views
    317

    Re: flippin bits

    Also let me address this:-



    I don't despise VB6. I just think it's a terrible idea to choose it over VB.Net in nearly all cases. Also, what I actually despise is all of the unwarranted attacks...
  2. Re: RC6 - New encrypt option for Sqlite DB: SqlCipher

    I guess not. ;)
  3. Thread: flippin bits

    by Niya
    Replies
    18
    Views
    317

    Re: flippin bits

    This is exactly what I'm talking about.

    You wanted specifics Olaf? Here is an example that can trip someone up if they are not careful:-


    Private Declare Sub memcpy Lib "kernel32" Alias...
  4. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Private Sub Form2_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Task.Run(Sub()
    For i = 1 To 10
    Threading.Thread.Sleep(500)
    ...
  5. Thread: flippin bits

    by Niya
    Replies
    18
    Views
    317

    Re: flippin bits

    Must you always be so pedantic? I wasn't criticizing you. Why are you always so defensive? I have had the experience where the compiler was sign extending my constants when expressed as hex. I don't...
  6. Re: RC6 - New encrypt option for Sqlite DB: SqlCipher

    I'll concede this to you as the resident COM expert. But hey, I have never seen any of the well known COM libraries fail like this with .Net. Something is wrong somewhere.



    You might be 100%...
  7. Replies
    10
    Views
    183

    Re: Font used by MsgBox

    Ah. wqweto beat me to it! :D
  8. Replies
    10
    Views
    183

    Re: Font used by MsgBox

    The LOGFONT structure has an lfHeight member. According the the online documentation, that height value has a relationship to a value called point size which is what we understand as a font size. The...
  9. Thread: flippin bits

    by Niya
    Replies
    18
    Views
    317

    Re: flippin bits

    It might be a better practice to be explicit with the datatypes like this:-


    Dim b As Byte

    b = CByte(&HFF& And -1&)


    I can't remember the exact circumstances but it is possible...
  10. Replies
    10
    Views
    183

    Re: Font used by MsgBox

    You don't know how to call that API?
  11. Replies
    5
    Views
    129

    Re: Hello here is my project

    I believe Google Translate chose that word. Google Translate can be quite dramatic sometimes. :ehh:
  12. Replies
    10
    Views
    183

    Re: Font used by MsgBox

    You use the Win32 API to get that information:-
    https://stackoverflow.com/questions/215988/determine-windows-system-wide-font





    I believe he is aiming for consistency with the rest of...
  13. Re: RC6 - New encrypt option for Sqlite DB: SqlCipher

    Oh I'm challenging this for the mere fact that none of us on the .Net side have never had any problems using COM libraries in .Net. The most common use case you see is Office Interop(Word, Excel...
  14. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Oh I'm well aware of that. A lifetime ago I first discovered the concept of multi-threading when I came across an online document about CreateThread. I remember very clearly wondering if VB6(or...
  15. Re: RC6 - New encrypt option for Sqlite DB: SqlCipher

    I was just about to suggest that there is nothing stopping him from just using your library in .Net until a suitable .Net alternative can be found but I decided to test this before I made this...
  16. Replies
    68
    Views
    2,403

    Re: How soon may I have to give up VB.net (and VB6)?

    :thumb: :bigyello:
  17. Re: How to use a specific portion of an image as the form background

    If we were to honor his request to the letter of how he described it, a far easier solution would be to load the image into a PictureBox and simply shift it beyond the upper left corner of the Form...
  18. Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

    Hahaha :D
  19. Re: How to use a specific portion of an image as the form background

    What are we using here? VB6? VB.Net? C#? WPF? WinForms?
  20. Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

    :sick:
  21. Re: Is it possible to get an example of how to drag an image from ?

    This difference between the two sub-forums is very noticeable. The VB6 side most of time has the more interesting questions because of this. It's not that .Net doesn't have skilled membership among...
  22. Re: Is it possible to get an example of how to drag an image from ?

    I see the infection has spread to the VB6 side of the forums. Half the threads in the VB.Net section starts with jmcilhinney asking some poor soul to explain his problem better because Google...
  23. Thread: TwinBasic

    by Niya
    Replies
    476
    Views
    40,439

    Re: TwinBasic

    It's fully qualified name is Microsoft.VisualBasic.Interaction.Shell(). The Microsoft.VisualBasic namespace is provided for compatibility with VB6. You will find all of the VB6 stuff in that...
  24. Thread: TwinBasic

    by Niya
    Replies
    476
    Views
    40,439

    Re: TwinBasic

    To be honest, I couldn't tell you why that fails because in my opinion it would just be a waste of time trying to figure out why since using the Process class is the way to go. When I first moved to...
  25. Replies
    170
    Views
    4,018

    Re: To Afghan or to not Afghan

    Though your posts don't seem to ever come to a point, I get the sense you really don't like American imperialistic ambitions. I'd like to point out that while nobody does, we accept it because...
  26. Replies
    68
    Views
    2,403

    Re: How soon may I have to give up VB.net (and VB6)?

    I appreciate the vote of confidence but language development is one of my weaker areas. There's a whole lot of science behind that like lexical analysis, abstract syntax trees, code generation,...
  27. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    I mentioned it as a must-have discussion for the development of TwinBASIC here. Async/Await is a must if you want your language to be competitive in 2021. It is probably the best asynchronous pattern...
  28. Replies
    18
    Views
    297

    Re: HexBox Control? View .bin file as ushort?

    Something like this:-



    Private Async Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    'rtb = richtextbox
    Dim name As String =...
  29. Replies
    18
    Views
    297

    Re: HexBox Control? View .bin file as ushort?

    Like I said, you're probably going to have to design this Control yourself. To be clear, you want to be able to edit this array of UShorts using some kind of GUI, right?
  30. Thread: TwinBasic

    by Niya
    Replies
    476
    Views
    40,439

    Re: TwinBasic

    A lot of TwinBASIC features, both suggested and implemented, are inspired by VB.Net. Generics even use the exact same syntax.
  31. Replies
    1
    Views
    146

    Re: Migrate VB6 to .NET

    COM Interop is pretty solid. I don't anticipate any problems as long as you're careful not to do anything too wild. I've helped a number of people over the years pass all kinds of things from .Net...
  32. Replies
    4
    Views
    133

    Re: Drag Drop problem....

    I'll co-sign this. Like this cannot be overstated. You can get away with it for very simple games or simple engines but it much better in the long run to avoid using Controls to implement game...
  33. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    That is both amazing and insane....at the same time!

    There was a time I would thoroughly enjoy such amazing hacks but as I get older, I realized that they tend to hamper productivity a quite bit,...
  34. Thread: TwinBasic

    by Niya
    Replies
    476
    Views
    40,439

    Re: TwinBasic

    Those old VB6 style things like Shell was provided to make VB6 programmers feel more comfortable with .Net but makes no mistake, doing things that way is strongly discouraged in VB.Net. I'm not...
  35. Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

    lol....;)
  36. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Whoa. I knew it was possible to do multithreading in VB6 once you can get past COM but damn! I didn't expect that to be so complicated. Mostly referring to the way objects have to be treated in the...
  37. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    I want to revisit what I said previously when I said this:-


    Here is an example of this very thing I described. A fellow wanted to know how to perform multithreading in VB6 and look at the...
  38. Thread: TwinBasic

    by Niya
    Replies
    476
    Views
    40,439

    Re: TwinBasic

    Here's a thing I got reminded of when I came across this thread. Asynchronous methods. Has there been any discussion about whether asynchronous methods will be implemented in TwinBASIC?

    Not only...
  39. Thread: Vb.net stopwatch

    by Niya
    Replies
    1
    Views
    916

    Re: Vb.net stopwatch

    Cute project ;)

    You should have also included the source code with the post though. People generally come to this section to download or copy paste code to play around with or put into their own...
  40. Replies
    6
    Views
    1,653

    Re: Basic asynchronous operations

    Asynchronous methods are a compiler feature. You can't do this in VB6 without a new compiler.



    Nah it can't. There are no equivalents in the VB6 space to match heavyweights like ASP.Net, WPF...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width