Search:
Type: Posts; User: bahbahbah
Search:
Search took 0.03 seconds.
-
https://learn.microsoft.com/en-us/windows/whats-new/deprecated-features
Apologies if already posted, just came across this today.
-
virustotal.com is typically used.
@OP, I'd double check what API calls you're using (if any), I know I've had problems with certain ones in the past causing my programs to get flagged. I suppose...
-
Here's some code that will add a button to the IDE. When clicked it will add a comment at the end of the line with the results of Now()
Very untested and shoddy code. (like all my **** lol)
...
-
Database transactions will commit everything all at once. If there are errors, it'll roll back and not commit anything to the database.
I can't speak for cMemDB in particular, but you can find...
-
If I leave "Remove Integer Overflow checks" off, and the rest on, I get 3.82
I get 4.15 with all checks on (avg of 5 runs). Can anyone explain that difference? I thought removing integer overflow...
-
Here's one that subclasses the form. It draws the grip handle and responds to sizing events. The Invalidate bit doesn't quite work - not sure what the problem is. Roughly translated from here.
...
-
Here is some code that will draw the lines.
https://www.vbforums.com/images/ieimages/2023/08/13.png
Private Declare Function DrawFrameControl Lib "user32" (ByVal hDC As Long, lpRect As RECT,...
-
Use ASP.NET Core if you want speed. ASP.NET Core is compiled, other ASP.NET versions are interpreted, just like classic ASP.
Time: 00:00:07.0789885
@{
DateTime a = DateTime.Now;
int...
-
Don't use brackets with Call.
Use this:
Call modutil.proctest(z)
Not this:
Call (modutil.proctest(z))
-
https://www.vbforums.com/showthread.php?870537-vb6-Get-ScaleMode-when-no-ScaleMode-property-exists
-
ScaleX and ScaleY methods?
-
Impressive results, that's very exciting!
-
If you don't mind pushing the stop button twice, you could use TheTrick's functions. Put this in a module:
Private Declare Function FindWindow Lib "user32" _
Alias...
-
Here's the method that ended up working:
'In addin
Implements ICustomTaskPaneConsumer
Public TaskPaneFactory As Office.ICTPFactory
Private TaskPane As CustomTaskPane
Private Sub...
-
Thanks fafalone, good thinking and sounds like the way to go. I've had a quick play around and not having much luck so far but will keep tinkering as I get the time.
Quick build time with...
-
Hi all,
I'm struggling to create a CustomTaskPane for Office. I can't find any code online, and have read a couple of times that this isn't possible in VB6.
The docs give me a bit of hope:
...
-
Try this
Private Declare Function RedrawWindow Lib "user32" (ByVal hWnd As Long, _
lpRect As Any, ByVal hRgnUpdate As Long, ByVal fuFlags As Long) As Long
Private Declare Function...
-
You have a ValuesMax variable which holds the true size of the array. Once you have finished adding your items, you can do a redim preserve values(lbound(values) to ValuesMax). Probably put that in a...
-
Try move these lines before the If statement:
ChtScale.xOffset = mx - X
ChtScale.yOffset = my - Y
-
For 60fps smooth scrolling:
Add these to the declarations area of your form:
Private m_dLastRenderTime As Double
Private Declare Function GetTickCount Lib "kernel32" () As Long
-
Rendering at a certain fps might be the go, look into game loops.
-
With Application
.ScreenUpdating = False
.Calculation = xlCalculationManual
.DisplayStatusBar = False
.EnableEvents = False
End With
Dim vSheet As...
-
Possibly relevant:
https://stackoverflow.com/questions/62938364/refreshing-devicemap-serialcomm-or-getting-what-coms-are-available-in-device-ma
-
Thanks Niya! I'm a total noob at this stuff. You've provided a great explanation. ChatGPT is able to explain bits and pieces further. Am I right in thinking stack frames relate only to the function...
-
RetailCoder is the RubberDuckVBA guy. He's got some great blog posts and asks/answers a lot of great questions on StackOverflow.
https://rubberduckvba.wordpress.com/popular-posts/
And...
-
Can confirm it's the same problem on Windows 10. If you click into the search bar, you'll see the query it's using. It will be like this:
...
-
New timings below. Can't help you with the ASM one.
Call Cdecl dll api ,UsedTime:
V1_CallCdecl2--182.0814 MS,Result=300003
CallCdecl2(ModAsm)--198.9314 MS,Result=0
VbAdd--216.1119...
-
Timings from post #4:
---------------------------
Project1
---------------------------
Instr_Olaf: 12,089.45msec
Instr_SDO: 1,052.63msec
Instr_Marzo: 486.98msec
-
I don't have the VBlegend file so had to make some modifications to your project. Change the cCDCL file:
s = s & ChrB$(Val("&H" & Mid$(sHexCode, i, 2)))
to
s = s & VBA.ChrB$(Val("&H" &...
-
Tools > Options > General
https://www.vbforums.com/images/ieimages/2023/04/8.png
-
Try using ffmpeg. Look at the first answer here (How to cut a video, without re-encoding):
...
-
It's possibly related to the below link. You may need to install that to get the frxdll.dll
...
-
Looks sort of like a mandelbrot set.
https://www.vbforums.com/showthread.php?828979-Mandelbrot-Fractal-Drawer
-
Actually, ignore my response!
If VarType(Source) = vbObject Then
is never true. The timings for the other functions still stand!
-
Here's one more version, similar to your first one but a bit faster.
Private Function MoveVariant2(ByRef Destination As Variant, ByVal Source As Variant)
If VarType(Source) = vbObject Then
...
-
Brill, thanks mate. I'll look into the IISSample.LookupTable.
-
It looks like your While loop is just going to go on forever. Nothing is going to make it exit. Is it meant to be While(readByte > 0) instead of While(True) ?
-
I've fixed the issue with ASP slowness but still no idea why. Instead of declaring the object in the global.asa, I moved it to page scope.
So instead of this in global.asa:
<object...
-
Hi all,
I've created an activex DLL and use this class to call functions from a standard DLL (one that I don't own, can't look at the source code). It all works fine however when I call my DLL...
-
1) You're missing the quotes on line 565:
strSQL = strSQL & ""&surrender_dog_sleep&" "
Should be:
strSQL = strSQL & "'"&surrender_dog_sleep&"'"
|
Click Here to Expand Forum to Full Width
|