Search:
Type: Posts; User: wqweto
Search:
Search took 0.15 seconds.
-
VB.Net has no such subroutine code size limitation as it's modern recently to compare. . .
Just kidding of course :-))
I've heard the 64k lines per module limit being hit but this IDE...
-
@fafalone: Check out this gist on how to produce huge string arrays by splitting concatenated multi-row consts.
cheers,
</wqw>
-
I did before previous post.
Do you want me to post some screenshots? (I would capture output from your code with and without the flag if possible.)
Edit: Here it is "native" OFN on Win10
...
-
Is this OFN_EXPLORER flag?
No, it doesn't help. There is a huge difference between OS provided open file dialog with OFN_ENABLEHOOK and without it on Windows 10 and everything since Vista.
...
-
Btw, no need to go over manually removing unused routines because the linker already does this to get the final executable to *not* include unused code from .bas modules.
For...
-
Btw, using OFN_ENABLEHOOK used to render old-style OFN dialog so I don't use if on Vista and newer. IFileDialog is the way to go for receiving notifications with new OFN style.
Btw, a caveat I see...
-
Passing both stride = 0 and scan0 = NULL is supported use-case for creating empty images. This is what the oridinary Bitmap::Bitmap (int width, int height) constructor uses to create a blank bitmap....
-
That's what most printing solutions use to keep vector/text output for high DPI printers (image setters) in printer native PostScript/PCL/PDF format.
For non-raster devices blitting bitmaps...
-
Try something like this:
Select Case True
Case Picture1.Picture Is Nothing, Picture1.Picture.Handle = 0
MsgBox "Empty"
Case Else
MsgBox "Non-empty"
End...
-
Ooops, scratch this alt solution then.
cheers,
</wqw>
-
The idea of xiaoyao's code is that if Caption property is writable then you can temporaty change the Caption to a unique string (a GUID) then use FindWindow API to locate the hWnd before restoring...
-
You are waiting for some other idea/solution besides storing Unicode texts as hex/base64 encoded chunks in the source code or keeping them in a separate resource DLL?
cheers,
</wqw>
-
Well, I don't have the sources for "saman kish" neither "pardakht novin" devices but you can wait here some more until these vendors notice this thread if they are willing to share some documentation...
-
OP does not even have to use this as he already has the data from GetClipboardData(CF_DIB) available and can just use CopyMemory at this stage.
In the pincipled sample code above GetDIBPointer...
-
I'm positive it is reading ANSI source files (in current codepage) but stores strings as Unicode in the final executable.
Why did you get questions marks in your first post if Unicode support is...
-
I just updated the sample above with some function from this thread.
pvInitOverlayArray can be used to "overlay" a VB6 array or random type over DIB's lpBits with a 1D, 2D or more (up to 4D). The...
-
I plan on posting on Rust discourse servers (a.k.a. their vbforums.com) a sincere plea for helping the abandoned VB6 community re-writing the compiler as an open-source project in Rust.
This could...
-
Everyone downloaded in an attempt to nudge the magnifying glass. . . closer to the eyes :-))
cheers,
</wqw>
-
No, you have to use CreateDIBSection to create an hDib. Here is a working sample code:
Option Explicit
Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any,...
-
I think they have this *useless* feature very well developed, probably by popular demand.
You don't need filtering data in the grid when you already have performant filtering in RDBMS (sqlite or...
-
Wow, naked ladies in the screenshots! Must be good :-))
cheers,
</wqw>
-
Actually, yes. The analysis is correct!
The assembly emitted does call ANSI-to-Unicode *and* uses __vbaFreeStrList run-time function to cleanup the As String result from the API call which is...
-
So this will allow using typelib declared cdecl imports in both compiled executable and IDE project?
That would be the best solution if the compiler can save us the trouble of providing manual...
-
TROLOLOL :-))
cheers,
</wqw>
-
100% sure.
VB6 sources cannot be Unicode encoded files i.e. the compiler cannot handle any Unicode/UTF-8 encoding.
The only option is to store your arabic texts in the source files as...
-
I just recompiled my C/C++ project that I use to come up with sizes and offsets in GDI API structs and here is what came up for x64
sizeof(DIBSECTION)=104
offset(bmBits)=24
You have to tweak...
-
You can search Ingenico site for any general codes.
Doubt anyone of the POS providers is monitoring VBForums.com, so any waiting in here will be most fruitless.
cheers,
</wqw>
-
On Send/Receive button Outlook downloads all "unread" messages from pop.gmail.com in a single connection, so I think it should be possible even with its non-compliant POP3 implementation.
cheers,...
-
It can stabilize even faster if instead of on a timer the image allocation/free is done repeatedly in an infinite loop, optionally with a single DoEvents to make UI responsive.
cheers,
</wqw>
-
Yes, you have to deallocate it but your SysAllocStringByteLen API declare does not allow this. It has to be tweaked to return a raw Long pointer so it can be invoked like this
Dim sText As...
-
This patch is not working (now and 15 years ago). You'd better get the whole thread google translated if you think my russian is that rusty :-))
cheers,
</wqw>
-
You have everything to figure it out in the code you posted.
Which part is slow for you? Have you micro-benchmarked it already?
cheers,
</wqw>
-
GetDIBits and SetDIBits actually *copy* DIB pixel data from/to the system DIB pixel buffer into a separate user-provided "offline" buffer.
When you call CreateDIBSection the system allocates an...
-
Solution? You don't even mention the model of the device you are interested in.
There is no general "solution" and there is no general "driver" to communicating with bank POS devices. Some use...
-
Sorry, I don't have sample code, only production code that you will not be able to compile without support classes which I'm unable to share.
I'm still not sure we are talking about the same POS...
-
This sucks!
I'm using this with a reference to Microsoft Windows Common Controls 5.0 (SP2) in C:\Windows\SysWOW64\COMCTL32.OCX with OCX file version 6.0.81.5
Is it with some other OCX version...
-
Yes, must be the Move method that fails only and if the UserControl is Windowless=True the SetWindowPos hack is impossible.
Also if you set Align property so that the parent form repositions the...
-
It's hard to be objective talking about VB6 when for N-th consecutive year VBA is the most disliked programming language on SO and most other sites while VB6 is ignored in those surveys as not worthy...
-
VB.Net is better than VB6 like C# is better than VB.Net and Rust is better than C# -- is this so offending? It must be objective evaluation if I feel it's so :-))
cheers,
</wqw>
-
I have no idea what you are testing here but if you change RTB to a custom VB6 created UserControl (with a blue background for instance) and try to span it with Move 0, 0, Me.ScaleWidth,...
|
Click Here to Expand Forum to Full Width
|