Search Results - VBForums

Search:

Type: Posts; User: Niya

Page 1 of 13 1 2 3 4

Search: Search took 1.77 seconds; generated 52 minute(s) ago.

  1. Replies
    531
    Views
    22,927

    Re: What if there was a NEW vb6

    huh :ehh:
  2. Replies
    531
    Views
    22,927

    Re: What if there was a NEW vb6

    My mistake was to think that because this is a forum filled with programmers, logic and reason would prevail. I was wrong, this discussion is ruled by fanaticism. I should have realized sooner. It's...
  3. Replies
    17
    Views
    831

    Re: Proper .NET dll registration for COM Interop

    I see. Would be interesting to see.

    Socket programming is very easy in VB6 but far less flexible, not to mention there are a couple bugs with its UDP implementation. It is better to move it to...
  4. Re: Can two variables point to the same Multi-Dim array?

    There is a very easy way to answer this for yourself:-

    Create an array, it could be an array with a single element. Then assign another variable to this array. Change the value of one of the...
  5. Replies
    11
    Views
    504

    Re: Why use Object data type?

    VB6 and VB.Net are far too different for that upgrade wizard to do any kind of justice. To make matters worse, the original code was written very poorly. The curse of VB6 was that it gave way too...
  6. Replies
    12
    Views
    256

    VS 2013 Re: Shutdown system super fast?

    Firstly, did we even address whether Windows can be shutdown like that without pulling the cord ? I've never seen Windows shutdown "super fast" except in the case of Windows 3.1.
  7. Replies
    17
    Views
    831

    Re: Proper .NET dll registration for COM Interop

    Where would the game loop be ? In the .Net assembly or VB6 ?
  8. Replies
    531
    Views
    22,927

    Re: What if there was a NEW vb6

    Well I can't find the post. I was so sleepy when I wrote it. I was probably logged out or something and didn't realize......
  9. Replies
    531
    Views
    22,927

    Re: What if there was a NEW vb6

    Hmmm....well that's strange. Pretty sure I wrote it. Wonder if I posted it in the wrong thread....:(
  10. Replies
    17
    Views
    831

    Re: Proper .NET dll registration for COM Interop

    It may not be that simple. Like I said above, you need to pass information on what to draw and where to the renderer. Now you can pass "pointers", although it would be more accurate to say handles....
  11. Replies
    17
    Views
    831

    Re: Proper .NET dll registration for COM Interop

    Ok, its pretty customary for game engines to render at 60 FPS. That means you want your engine to be able to draw an entire scene 60 times in one second. The game loop is by far the most intensely...
  12. Replies
    17
    Views
    831

    Re: Proper .NET dll registration for COM Interop

    Well I wouldn't try to use COM Interop in a renderer since this is such a central part of any game engine. It needs to be very fast. The other things you mention, threading code and the social...
  13. Replies
    531
    Views
    22,927

    Re: What if there was a NEW vb6

    BTW....Why did no one mention PureBasic ? Its supposed to have all the goodies that the VB6 fans like such as native compilation and its supposed to be cross platform.
  14. Replies
    531
    Views
    22,927

    Re: What if there was a NEW vb6

    What the....did someone delete my last post ? Pretty sure I made a post ending my involvement in this silly argument ?
  15. Replies
    17
    Views
    831

    Re: Proper .NET dll registration for COM Interop

    Well if it works, then continue using it. Regasm with the 'codebase' parameter should be sufficient.



    This is precisely the role C++ would have filled. Using PureBasic in this manner in...
  16. Replies
    17
    Views
    831

    Re: Proper .NET dll registration for COM Interop

    One other thing, I am curious about why you would want to combine VB.Net and VB6 for a game. If the primary development language is VB6 then it would be better to write this game in a hybrid of...
  17. Replies
    17
    Views
    831

    Re: Proper .NET dll registration for COM Interop

    Know what, Some time over the weekend, I think I'll write a small article on using COM Interop to combine VB.Net and VB6. I've seen this topic come up a couple times.
  18. Replies
    17
    Views
    831

    Re: Proper .NET dll registration for COM Interop

    What you can do to avoid needing to re-register the DLL is manually assign GUIDs to the interfaces you're exporting from the .Net assembly. Only when you change these GUIDs would you need to...
  19. Re: [RESOLVED] Anybody ever had trouble with the GZipStream class ?

    Thanks. However, the application that is going to use this targets .Net 3.5 so I don't have access to that. Its no big deal though. I can simply implement it myself as an extension method.
  20. Re: Anybody ever had trouble with the GZipStream class ?

    Oh, ignore that. I was testing alternative implementations. I am talking about the GZipStream in the Framework.



    Very nice:D. It works now when I call Close. I can't figure out why flushing...
  21. [RESOLVED] Anybody ever had trouble with the GZipStream class ?

    Has anyone ever experienced the GZipStream class decompressing to a size different that the original data ?

    I used these functions:-
    '
    Public Function CompressBytes(ByVal bytes As Byte()) As...
  22. Replies
    13
    Views
    227

    VS 2013 Re: Best practice opinions for delays

    Here's a simple simulation:-
    Option Strict On
    Imports System.Threading

    Public Class Form1

    Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load

    ...
  23. Replies
    13
    Views
    227

    VS 2013 Re: Best practice opinions for delays

    This would be necessary in VB6 but we can use a worker thread in .Net. DoEvents should be avoided at all costs.
  24. Re: Program runs OK in IDE mode but VB6 crashes when I try to compile

    I would bet that this is simply some kind of access violation error. If you used an API incorrectly, you can end up writing to memory you are not supposed to write to but if that memory has been...
  25. Replies
    13
    Views
    227

    VS 2013 Re: Best practice opinions for delays

    This is where you would employ either multi-threading or asynchronous methods. The idea is that the waiting is performed on a worker thread and alerts the UI thread when something happens. Would you...
  26. Replies
    531
    Views
    22,927

    Re: What if there was a NEW vb6

    This is what I was talking about when I said the VB6 camp make misleading claims. There is NEVER any kind of interpretation by the CLR. All executing code is native code compiled by the JIT. Can you...
  27. Replies
    531
    Views
    22,927

    Re: What if there was a NEW vb6

    I've been using .Net for quite a while now and I've never seen it break. I even have apps running on a wide variety of Windows flavors and the only problems I experience come from my own program's...
  28. Replies
    13
    Views
    227

    VS 2013 Re: Best practice opinions for delays

    This is an interesting question. The correct answer is completely dependent on why you want a delay. What are you doing that you need such a delay ?
  29. Replies
    10
    Views
    301

    Re: Using $ to specify a string variable

    Also, if I remember correctly, string functions without the $ coerce non-string Variants into a String somewhere in that process so it takes an even greater performance hit. I'm not sure though. I...
  30. Replies
    10
    Views
    301

    Re: Using $ to specify a string variable

    Declaring a variable as String is the same as declaring it with $. The $ symbol is a holdover from BASICA/GW-BASIC. However, functions like Mid are more efficient when you use them with the $ symbol....
  31. Replies
    531
    Views
    22,927

    Re: What if there was a NEW vb6

    Saying that VB.Net is better is not bashing VB6. This is what the VB6 camp doesn't get that and always take offense to it.

    Olaf's comment about needing deterministic object disposal makes sense....
  32. Replies
    40
    Views
    1,120

    Re: Why did Microsoft kill VB6

    Where would people get to vent now ? Threads like these might be the only thing preventing massacres like all those high school shootings.
  33. Replies
    40
    Views
    1,120

    Re: Why did Microsoft kill VB6

    Aite, fair enough.
  34. Replies
    40
    Views
    1,120

    Re: Why did Microsoft kill VB6

    Wow, you're really talented at this. You should be a lawyer.

    This is what I said:-


    I made no mention of the VB.Net compiler.

    And unless you're talking about a VM like a VMWare product...
  35. Replies
    531
    Views
    22,927

    Re: What if there was a NEW vb6

    I am happy.
    http://i1210.photobucket.com/albums/cc417/jtvlove/haha.jpg
    See ?
  36. Replies
    531
    Views
    22,927

    Re: What if there was a NEW vb6

    I'm sure someone can write PhotoShop in pure ASM with a "clean, well-structured code-base" and good "professionalism". Doesn't mean its better to write it in ASM than C/C++.



    These are the only...
  37. Replies
    40
    Views
    1,120

    Re: Why did Microsoft kill VB6

    Here you go yet again proving what I was saying about you and those like you. You're misleading again. stuck-n-past said this:-


    You know damn well what he was thinking and instead of correcting...
  38. Replies
    531
    Views
    22,927

    Re: What if there was a NEW vb6

    I tend to lump all the VB6 fans together. Tanner_H is probably the only exception. He's extremely reasonable for a VB6 supporter.

    Olaf in particular may not have slandered .Net but I do see it all...
  39. Replies
    6
    Views
    250

    Re: Cannot create ActiveX component.

    You don't use Set in .Net. You can assign objects to object variables the same way you assign values to primitive types.

    Maybe a mod should move this thread.
  40. Replies
    531
    Views
    22,927

    Re: What if there was a NEW vb6

    I don't care. I only care that you deliberately mislead people because of your own broken hearts. Yall want to write your new VB6, go right ahead. You have my support 100%. In fact, I'd love to see...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.