Search:
Type: Posts; User: Ben321
Search:
Search took 0.03 seconds.
-
The only way in VBScript to read data properly from a binary file is the ADODB.Stream object. Here's some code I have to read a file in the VBScript code of my ASP page.
dim obj
dim bytearray...
-
I posted it in case anybody else was, like me, searching if VB6 had a Continue statement. I wanted to have a concrete answer for anybody else who ended up here from a Google search (like I did)....
-
The not including of a Continue statement in the VB6 programming language is a major oversight on the part of the idiots at MS who were writing the VB6 programming language. There absolutely is...
-
You say this trick lets you make publicly defined UDTs in a reg-free manner, but remember, VB6 will automatically register your DLL immediately after building your ActiveX DLL profect. It's not...
-
For that, you'd first need to know what the internal structure of a TLB file is. As far as I know, the internal structure of a TLB file is undocumented. If anybody has reverse engineered it yet...
-
Still though is the problem that this guy writing tB doesn't seem to know his audience. He's writing software intended to be a drop-in replacement for VB6, to help those who are familiar with VB6 to...
-
-
I know developers have monetary incentive to go the route of subscription software, and while younger people might be ok with this and expect it, I come from a generation who's used to buying a...
-
The actual VB6 was offered for a one-time purchase at a price of about $600 by MS. I'm sad to see that you have chosen to offer only perpetual licenses. I hope you will reconsider this, and allow...
-
VB6 doesn't use regsvr32 though, when compiling an ActiveX DLL.
Maybe @TheTrick you could help out here. You know all about these kinds of undocumented VB6 internals.
-
Is this how VB6 actually registers classes and interfaces when you are compiling an ActiveX DLL type of project? I know that VB6 does automatically register these, from running an attached...
-
It seems my function declaration for DispCallFunc had been missing the "As Long" at the end for the return type. Though I thought I'd checked that a dozen times already and I didn't see it missing.
-
Nope. It's supposed to push just the arguments on the stack before calling the DispCallFunc, but instead it's pushing an extra argument. This is causing everything to be shifted by 4 bytes from where...
-
I'm looking at what it's doing in my debugger, and every call to DispCallFunc that my program makes, it pushes one too many arguments on the stack. The Private Declare Function statement I'm using...
-
After looking at some other example, I finally figured out how to do it (no thanks to the MS docs, as I'd already read all the applicable docs, but they weren't helping me get past this error)....
-
I'm trying to do this in Visual Basic 6. I'm following, to the best of my understanding, how I'm supposed to use the DeviceIoControl API function, and I'm trying to use it with the...
-
Put this code in a module, and set the first 3 constants to accurately describe the drive you are working with (these are the drive geometry parameters). In the code here, I already have these set...
-
That code suggestion makes no sense. What you have here is performing an initial XOR on the actual data. However, from my understanding of CRC parameters, it's not an initial XOR that is supposed to...
-
Thanks, but that is based on using a precomputed table. I'm looking to figure out specifically what is wrong with my algorithm, which directly performs the CRC calculation on the input data, without...
-
Nope. I had forgotten to define some of my variables (causing them to default to being variants), but that isn't the cause of the problem. If a variant contains a Long, then it behaves as a Long. I...
-
This 16bit CRC (sometimes incorrectly called CRC-16/CCITT, so is also known as CRC-16/CCITT-FALSE) I'm trying to implement, has the following properties:
polynomial = 0x1021...
-
So it's an ActiveX DLL then?
-
Please tell me how to install this DLL. I put it in the same folder as VB6.EXE but VB6 isn't detecting it.
-
What folder should I put this in so VB6 can find it? I vaguely remember there being a dedicated addins folder for VB6, but I can't find it now. Am I supposed to just put it in the same folder as the...
-
I just found that and updated my post to reflect that I found that.
-
While the IDE seems to recognize the syntax Declare Function SomeFunctionName Cdecl Lib "SomeDllName.dll" (Function Params) As RetValType it doesn't actually work when you then try to call one of the...
-
The default VB6 linker outputs an ActiveX DLL, with no way to output a standard DLL. Also the VB6 linker automatically calls the resulting DLL's DllRegisterServer function, forcing it to be...
-
I found this very interesting thing here https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/savesetting-statement that the VBA SaveSetting statement (which also is...
-
I have VS Community 2022, and I found it has tons of versions of libcmt.lib? There's the normal x86 and x64 versions, but then there's also onecore versions of x86 and x64 (plus a onecore Arm...
-
I know that the Windows API function CoCreateInstance lets you create an instance of a specified class with a specified interface that's implemented by that class (based on the inteface GUID and...
-
I tried going to the menu project>references and then adding mscorlib.dll which does give me some level of access, but not very good. I mean I can see all the classes in the Object Browser window,...
-
The ActiveX control called Microsoft Script Control appears to be undocumented. Nothing about it on the MS documentation website (that used to be called MSDN). Somebody else was looking for it here...
-
I'm using VB6 to write my own MSI installer maker. I'm using the "Microsoft Windows Installer Object Library" ActiveX component for this. It basically wraps all of the normal MSI Windows API...
-
Thanks for that. It seems that indeed there is indeed a This pointer to the current object in all these functions. As for VB6, I think it doesn't turn interface functions into subs. It keeps them as...
-
Still, there are some obviously missed very useful functions. The VirtualFree one is a good example. Each memory allocation function should have a matched memory free function.
-
This is awesome! However the TLB is missing a few important things in the kernel32 module. While it has VirtualAlloc, it's missing VirtualFree. So if you just use VirtualAlloc, you'll find yourself...
-
I see. So the version I need to be using is the 2 argument version then, which is shown here https://learn.microsoft.com/en-us/windows/win32/api/unknwn/nf-unknwn-iunknown-queryinterface(refiid_void)...
-
I decided to try to learn how the internals of VB6 objects (which I think are actually COM objects) actually work. To do this, I decided to try to code my own object, with VTables and everything. It...
-
I know they have a unique shape, and are positioned at 3 corners of the QR Code, but how are they actually detected? I was thinking about it, and it seems like a "chicken or egg" problem.
To align...
-
Normal ways of accessing files like reading data via the DataInputStream( which then contains a FileInputStream), only allows sequential reading from the file with things like readDouble(), or...
|
Click Here to Expand Forum to Full Width
|