Search:
Type: Posts; User: jpbro
Search:
Search took 0.07 seconds.
-
Nice trick using the error object to get the source file! :D From there it should be trivial to get the project type (provided the project has been saved of course)
-
Check out the cRecordset.ToJsonUtf8 function. If you need the UTF8 as a String, you can use New_c.Crypt.UTF8ToVBString to convert it.
-
-
Just to clarify - my interest in this is because I am trying to "normalize" (for lack of a better term) the folders/files that an application and its related DLLs/OCXs refer to regardless of where...
-
Thanks Eduardo - never knew you could get the VBIDE window & ActiveVBProject like that. Too bad it's not available at runtime :(
-
Thanks Eduardo - I'm mostly interested in determining it at runtime, but if it's not too much trouble to dig out the code, it would be interesting to see how you do it at design time.
-
Thanks Elroy - I was hoping there might be a way to detect it in code because I have a single .bas module that other developers can use and I wanted to skip the step of asking them to configure it...
-
It won't re-appear until you close the IDE.
-
If you make sure the VB6 IDE is closed, THEN delete those keys, THEN restart VB6, the windows should go back to their default size/docked state.
-
Are you using a touch screen? If so, switch to a physical mouse and try again (you'll see the mouse icon change when you are over the correct dragging spot, and it's only a few pixels wide).
-
Both things I suggested worked here, don't know what else to suggest. Uninstall/reinstall might work as long as VB is good about cleaning up the registry after itself, but if it leaves your window...
-
Or even try Normalizing the window, then Maximize it.
-
Move the mouse to the right-edge of the IDE window, then slowly move it left until the mouse icon changes to the splitter resize icon. Click and hold the left mouse button and drag to the left.
-
This may be a stupid question, but is it possible to determine the Project Type (Standard EXE, ActiveX EXE, ActiveX DLL, ActiveX Control) when running from the IDE?
190948
Nothing in the App...
-
Thanks taishan, glad you like what you see :)
Regarding a way to instantiate vbWidgets, there are a few different approaches - all with their upsides and downsides - and I'm not firmly decided on...
-
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....
|
Click Here to Expand Forum to Full Width
|