Search:
Type: Posts; User: jpbro
Search:
Search took 0.17 seconds.
-
Why press 2 keys when you can press 6?
Or should I say:
ASK: Why press 2 keys when you can press 6
Just teasing :p
-
OK, I finally have something I'm happy with (for my own uses at least), and hopefully the latest version will be useful to others too.
MRc6Base.bas is now MRegFree.bas and it includes a whole slew...
-
I wasn't aware of the performance difference, thanks for the tip - I'll try to remember to modify my default behaviour and instantiate without VB6 collection compatibility in the future.
...
-
Ahh, thanks Olaf. I can confirm that everything is working as expected after turning VB6-compatibility mode off.
I think it would be a good thing if there's no technical reason not to have the...
-
I've just noticed the PropTry method of the RC6 cCollection object, and based on its name & method signature, I thought it might be a nice replacement for boilerplate "test if key exist/return...
-
Thanks taishan. The more I think about it, the more I wonder if it makes more sense to make the Path* methods Private so that they are only used by regfree module, and leave the path handling outside...
-
Don't get too excited yet, there's still one puzzle I'm working on re: IDE and compiled differences.
The good news: Right now everything works great when compiled, and most things work just as...
-
Only Olaf can answer that definitively - DirectCOM.dll is closed source. But you're right about it not being an ActiveX DLL, it's a standard DLL with the following magic function that instantiates...
-
Updated March 20, 2024:
Added new public methods:
GetOrCreateObjectRegfree
Public Function GetOrCreateObjectRegfree(ByVal p_DllName As String, ByVal p_ClassName As String, Optional ByVal...
-
Just watched the video - if you are constantly replacing the text and there's always 4 hex characters separated by a space, why not use a label instead and just change the caption? Do you need to be...
-
This works for TextBoxes with lines that wrap:
Option Explicit
Private Declare Function SendMessage Lib "user32.dll" Alias "SendMessageW" (ByVal p_Hwnd As Long, ByVal p_Msg As Long, ByVal...
-
-
Works for me every time (in Firefox at least, haven't tested any other browsers). But there's so much going wrong with the site right now, who knows.
-
I've been able to confirm (for attachments mid-August 2012 and earlier at least*) that the attachment files are thankfully not corrupted on the file system - the data is being mangled in transit by...
-
Try double-clicking "Reply with Quote", that works for me.
-
You can reply with quote if you double-click Reply With Quote instead of the usual single click.
-
IMO the only reason *any* other languages should be at VBforums is because VB programmers might come in contact with those languages within the scope of their VB programming. The only reasons a VB...
-
Apparently gaouser is 11 years old, which (if true) means the point is just figuring stuff out I guess. At that age you should put a lot of focus on exploring and learning IMO - even if it's not...
-
Anyway this is all way off-topic, sorry Olaf. Conversation has been moved to the OffTopic twinBasic Discord.
Mods, if you can please move the OT posts elsewhere once the fire(s) have been put out,...
-
All I can say is that neither curl nor wget can write the attachment data to disk, and AFAIK they both honour the content-length header and error out if there's a mismatch. So that seems to imply...
-
Ah well, thought that might have been the issue, but either way it doesn't seem to matter as even copying the exact HTTP request header from a browser request that works 100% of the time, doesn't...
-
Forgot that you need to be logged in to download attachments (and the referrer header probably needs to be set amongst others). Hoped that duping my browser request headers would work over openssl,...
-
Looks like netcat might be the ticket - it can slurp raw data over the network and won't stop until the connection is closed. Unfortunately vbforums.com returns nothing over Port 80/HTTP though, so...
-
I've been trying to do just that in case the server is actually sending the full data with the wrong content length, but the browser is chopping at the exact content length. ChatGPT gave me a few...
-
Well there's no guarantee, they're OK, but it seems most plausible to me. When you ask vbforums.com for EdgeDetection.zip, it will look in its storage area and seethe ZIP file is 241,112 bytes long....
-
I hope so too, it would be a real loss. I'm cautiously optimistic that the binary ZIPs are fine as it would be a really weird decision to modify them for almost any reason IMO. Maybe to stuff a...
-
It could be, but it looks more like the problem is with the building of the response. As Olaf mentioned (with his nice bit of sleuthing), the server is probably adding the GTM crap to responses where...
-
It looks like you have your surfaces backwards - you want to create the context for nNew and write the surface content of srf to it:
nNew.CreateContext.RenderSurfaceContent srf, 0, 0, 200,...
-
'jsonJudges.Remove (jsonJudges![1]) 'Example
jsonJudges.RemoveByIndex 1 ' Remove the second array item since arrays use 0-based indexing
-
It's good to do all of your alpha work/layering/compositing within Cairo and then render the final result to the VB/Windows-side hDC. For example:
Dim CroppedSrf As RC6.cCairoSurface
...
-
You can use shared forms with an OCX because it will use the OCX library name for the control references, not the VB project name. e.g.:
VERSION 5.00
Object =...
-
As I read Mustaphi's question, there are some rows that start with a number and some that don't. If they start with a number, he wants the second "word". If it doesn't start with a number, he wants...
-
Right, but you can avoid regex headaches entirely if you're not familiar with them by using a UDF and vanilla-VB6 code. Something like (untested air code):
Dim l_Data As String
Dim...
-
Are you using RC5/RC6 for this project? You could create a user defined function and write the code in VB in that case if you are more proficient in VB as compared to SQL.
-
-
INSERT INTO Tbl2 (Column1) SELECT CASE WHEN INSTR(Column1, ' ')=0 THEN Column1 ELSE SUBSTR(Column1, 1, INSTR(Column1, ' ')) END FROM Tbl1;
-
Looks great! Might be cool if the light flashed the red light on/off and the hand swept quickly back and forth in the nether region between 100 and 0 to indicate that it is a useless/nonsensical...
-
I asked the admins to ban him a few years back and they refused because they thought he would either go away, or get better. He's done neither unfortunately.
-
WithEvents should be a single keyword (no space). If that's not the problem, what is the exact error message?
-
Stunning! Great work @reexre (as always)!
|
Click Here to Expand Forum to Full Width
|