Search:
Type: Posts; User: wqweto
Search:
Search took 0.13 seconds.
-
No problem. Just use two Winsock controls for your server -- wskServer and wskAccepted -- and do this
Private Sub wskServer_ConnectionRequest(ByVal requestID As Long)
If...
-
The QR barcode image is generated to a vector picture.
Try using C:\Share\1.emf or 1.wmf for target filename.
-
The server implementation in this thread is bonkers. You don’t accept incomming connections on the listening socket they do.
Better start a new thread titled “How to write simple TCP server using...
-
Yes, this is result of aggresive manifest caching by the OS. You have to modify/recompile the EXE to invalidate the cache or use touch.exe utility to just change its last modified timestamp to...
-
He never fiddles with colors (or bitmaps) but activates and deactivates particular themes using these APIs:
Private Declare Function SetWindowTheme Lib "uxtheme" (ByVal hWnd As Long, ByVal...
-
That's because you need comInterfaceExternalProxyStub entries for mutli-threading only, more precisely for cross-appartment marshalling support, so no need to bloat the manifest if not needed. (Btw,...
-
Try If .Extract(App.Path & "\Unpacked") Then MsgBox "Success"
The same for If .CompressArchive("d:\temp\test.tar.gz") Then ...
cheers,
</wqw>
-
> As an additional precaution, would it be worth the trouble to change their file extension as well?
Yes, if in source .frm file the OCX is referenced/known as MSFLXGRD.OCX then it's COM server...
-
It's common knowledge that Std-EXE auto-registers OCXes (but not DLLs) if their registration is not found in HKLM on Form_Load but binary files are present in EXE folder on startup.
This is the...
-
Unfortunately not the fastest implementations. Check out single-line expressions for LShift32 and RShift32 in my recent Wheeler & Needham’s Tiny Encryption Algorithm.
Using the same idea here are...
-
There is no single color UXTheme "uses when a mouse is over a button or when a button is pressed". It just stretches and paints several pre-rendered bitmaps it has stored in theme's data for BUTTON...
-
MagnumDB is very nice.
I'm using an old HRPlus utility which is handy but less complete.
cheers,
</wqw>
-
This mdTea.bas is implementation of latest XXTEA variant of the Wheeler & Needham’s Tiny Encryption Algorithm. While the C code in the linked Wikipedia article is short and elegant the VBx variant...
-
New prices?
cheers,
</wqw>
-
It is what it is. By the looks of it (late-bound of not) obviously the approach is slower.
Edit: Yes, order of magniture slower:
Option Explicit
Private Declare Function...
-
0x80070490 is E_PROP_ID_UNSUPPORTED meaning there is no such theme color because there is a whole bitmap which is painted on hover i.e. you can instead request a RECT to be painted with button's...
-
Yes, you can test it as it currently is.
cheers,
</wqw>
-
Indeed!
https://www.vbforums.com/images/ieimages/2024/03/3.gif
cheers,
</wqw>
-
Researchers, please replace SQLite with DuckDB now
DuckDB Installation on Win10+ is as simple as:
c:> winget install DuckDB.cli
cheers,
</wqw>
-
Try this one (using JET engine)
Option Explicit
Private Function Eval(sExpression As String) As Variant
Static oConn As Object
Dim sConnStr As String
If...
-
This happens with version 9.22 of 7z.dll or with latest version you have installed on your PC?
-
There is no 7-zip.dll and it's not necessary to copy anything anywhere. Just use Init method with full path to 7z.dll as shown multiple times in the samples above.
Try using 7z.dll from 32-bit...
-
I'm thoroughly joking :-))
Programming in VBx is problematic nowadays while Delphi still lives on in the hearts and minds of OG devs.
cheers,
</wqw>
-
You'll need power bricks for the Raspberries while the RFID readers are powered by USB, you'll need plastic cases to put the barebones somewhere (so not 70-90$) and on top of it you'll need to...
-
https://github.com/StefH/SimMetrics.Net -- some algorithms besides basic Levenstein.
I've used this (similar library) to implement auto-correct on free-text search on a products catalog site.
...
-
https://github.com/wqweto/UsbBarcodeScanner
This works both for RFID readers and Barcode scanners or any other USB/HID device registered as a keyboard on the system.
Some of the fancy (more...
-
Btw, try pressing Win+V -- if it lists several past clipboard entries then clip history is not off.
cheers,
</wqw>
-
So you decided to reply to this one year old random message out of pure desire to clarify things to these young heads?
https://dl.unicontsoft.com/upload/pix/angry-old-man-get-off-my-lawn.gif
...
-
In MSSQL you have IGNORE_DUP_KEY option for unique indexes like this:
CREATE UNIQUE [CLUSTERED] INDEX MyIndex ON MyTable(UniqueCol1, UniqueCol2, ...) WITH IGNORE_DUP_KEY
It basicly does not...
-
This is on another level — https://questdb.io/blog/1brc-merykittys-magic-swar/
-
You can search Wine's source code too. I suspect that most of the re-implementations there are from the original Microsoft employees which wrote the components in first place :-))
For instance you...
-
You can make a wrapper procedure which does this and call it like baData = ReadCOM(5) to (synchronously) receive 5 bytes.
In fact in Win32 API there already is such wrapper function and it's...
-
FYI, the ZipAsync does not hit the disk i.e. all decompression is done in memory and output is asychnornously buffered until ReadChunk is called. I just updated the ZipAsync.zip archive above to...
-
In latest commit if you don't want to sink any events then you can instead loop all the files and call Extract individually on each archive entry with proper target output filename like this
...
-
Btw, you can unzip on a separate thread/process so that decompression and ingress happen in parallel. I've just cobbled a generic async approach to unzipping here: ZipAsync.zip
In the test project...
-
Btw, comctl subclassing API functions are available *by ordinal* since Win2000 and then later in WinXP they (some of them) were exposed by name as well.
So directly manipulating GWL_WNDPROC is...
-
You need to use RegisterRawInputDevices API to get raw keyboard input to be able to distinguish input from both readers (which are actually registered as system keyboards).
Look at this project...
-
Btw, it's possible to just use Shell32 provided file streams from VB6 as COM based IUnknown references so that on pressing End button/statement the reference is Release'd by the IDE and the file...
-
Original C is much like VB6 i.e. automatic vars are stack allocated at function prolog no matter in which sub-scope these are declared.
In C++ things get more complicated as there are constructors...
-
You can use Static daB(9) As String to prevent it from *clearing* the array on each procedure invocation. It's not the allocation that is slow but instead setting each member to an empty value which...
|
Click Here to Expand Forum to Full Width
|