Search:
Type: Posts; User: dilettante
Search:
Search took 2.47 seconds.
-
See https://www.aivosto.com/articles/stringopt2.html#memorylayout for they structure of each String or element of a String array.
One thing left out of that is that a String can also hold ANSI...
-
Well, you could also buy some rope to tie around the PC. Then dangle the entire thing out the window wrapped in a garbage bag to keep the rain off. Voila!
-
Of course that doesn't explain anything related to relative paths.
Are you misusing terminology? Perhaps you mean UNC paths vs. mapped paths?
-
Normally you would always run the IDE with elevation.
Under split-token operation mode (UAC not disabled) a member of the Administrators group has two security profiles. Each of these has its own...
-
Don't forget the array descriptor for dynamic arrays:
-
Had my second dose last Thursday. Felt a bit crappy the next 2 days and had some itchiness in that upper arm the 2 days after. Otherwise my symptoms were about the same as dose #1: some upper arm...
-
-
Can't tell, but I assume it is locale-aware.
Have you looked at CompareStringW function yet?
-
You're still grasping. And besides, I offered an approach that can do this without ICO spelunking.
-
Yes, there is one absurd case. And today it often is not in ICO format anyway.
-
Sounds entirely contrived. ICO is not an image format you would normally store in a database or download. But ok, I guess.
You could also make use of OleLoadPictureEx() to do this:
Public...
-
Is there some reason to avoid LoadImage()?
180988
Option Explicit
Private Const WIN32_NULL As Long = 0
-
ByVal presbits As Byte
This makes no sense because the "p" tells the reader that you are passing a pointer but a pointer would be a Long, not a Byte.
ByRef resbits As Byte
Makes more...
-
Why not just use LoadImage() instead?
-
I think the problem is that you are passing the contents of an ICO file ("icon bag") that normally contains a directory structure and then one or more images.
This function wants an icon image's...
-
Dim F As Integer
Dim Text As String
F = FreeFile(0)
Open "sample.txt" For Input As #F
Line Input #F, Text
Debug.Print Text
Seek #F, 1
Line Input #F, Text
...
-
Stuff like:
ByRef presbits As Any
Is sort of hilarious. You are saying to pass a pointer ("p") ByRef, but that's not what you are doing or supposed to be doing. Instead:
ByRef resbits...
-
If you insist on using the bloated and slow FSO at least avoid magic numbers. Those values have predefined names, e.g.:
Set ts = F.OpenAsTextStream(ForReading, TristateFalse)
TextStream...
-
See Description of the Windows File Protection feature:
-
That's a little old now. Probably missing many monthly updates as well as the 20H2 version update for Windows 10.
I can't find a list of changes but I assume they are mainly security and...
-
That looks correct. You can manually edit the LST file or update it using the Wizard again.
-
Another standard tool for this is Microsoft's Log Parser 2.2 which is quite stable and widely used.
This provides a command line utility wrapping the library, a full ActiveX API, SQL queries, and...
-
You should be excluding the VB6 core runtime files ("VB6 Runtime and OLE Automation") from your package. Long ago those files became protected system components of Windows and it will defend against...
-
It sounds like writing the sorted data isn't required. Your intended use of the sorted data might help you choose what tools to use. There are numerous options but picking a good one should...
-
Even if you solve the (unrelated to VB) Terminal Services licensing issue, you may have work to do.
Most programs were not written to take Terminal Services access into account. Most older...
-
I'm not certain, but I suspect that a supported USB multitouch touchpad might be your best course of action for that.
-
.Net has the advantage of overloaded methods. So an interface might have "one method" that is really 8 or 9. Not sure whether that figures into the issue for VB6.
-
Of course in short order an enclosed space can end up damp and humid. Bad for electronics and it won't feel nice for very long either.
Better option:
Get rid of gratuitously wasteful...
-
Thanks, I see what is being done there now.
Basically the same idea, but compressing scanlines with a "circular" approach in code rather than StretchBlt(). That code first creates an image for...
-
One thought on a "cheat" to make the result look slightly better. Better in terms of replacing the linear blitting with an approximation of "circular" blitting.
Divide each scanline into 4...
-
I read that thread but I still can't see how any of it applies. Perhaps I am just too obtuse?
In the meantime I have gone through the code and optimized it, but mostly I moved to GDI calls to...
-
Wireless charging is wastefully inefficient. I can't imagine it will remain legal in China as its energy crisis grows.
-
Private Sub Form_Load()
With New C234567890123456789012345678901234567890
.X = 10
End With
End Sub
Runs just fine. But a public class in a DLL might not I suppose.
-
So 39/40 seems to be in question. Doesn't hurt to assume 39 though.
-
The docs say 40 characters. But since a line of code should not exceed 80 I can't imagine how longer names make any sense.
"Modern" programs have readable code? Er, not really.
-
Look up the FileCopy statement.
Also, in modern Windows the system drive root is a protected location. You should not be dumping folders in there.
-
I forgot to mention: Yes, I realize the demo code rotates Earth in the wrong direction. Easy enough to fix, but I was more interested in mapping the source image onto the presented face of the...
-
BTW:
I play all of those games with scaling because I wanted this to work no matter the ScaleMode of the destination "canvas" (PictureBox here, but might also be a Form, UserControl, etc.).
You...
-
This belongs in Games and Graphics but it seems that posting rates are so low nobody goes there. But a mod could always move this too.
I was curious as a non-graphics programmer how people do...
-
Another idea: Post in the correct forum?
|
Click Here to Expand Forum to Full Width
|