Search:
Type: Posts; User: Steve Grant
Search:
Search took 0.03 seconds.
-
Just a guess but I bet you are running the IDE as administrator (elevated). So for a test, right click the exe and choose run as administrator and see what happens. This has happened to me after...
-
The Zip file in #2 opens ok with 7-Zip but not with Windows.
-
I too use Pro with the following results. Perhaps your VB6 install is not right! Win 11.
-
I completely agree about how bad LFN's are. would you mind sharing a demo of SHCreateStreamOnFileEx.
-
Firstly you need to ensure that you are running VB6.exe as administrator. If you are then go to the ocx's mentioned above and find out their version numbers. If they are different to the vbp modify...
-
Take a look at Eduardo's shape control https://www.vbforums.com/showthread.php?870259-VB6-Windowed-Shape-Control. Also read some of the comments in that thread. Good luck.
-
If you could outline what you are trying to achieve, we may be able to suggest something.
-
A shape control does not have any events, at least not on my PC. Have you created the event yourself? This is why it does not work!
-
Please read the code more carefully. What happens if there is no V2 tag or no tag at all?
-
https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-basic-6/aa263527(v=vs.60)?redirectedfrom=MSDN
-
ByVal is not the default, ByRef is. So all your calling variables are being changed module wide. In this instance it may not matter but you should remember that ByVal must be called explicitly.
...
-
It works fine with webp but you may have to Refresh the picturebox once rendered. I wouldn't have recommended it if it didn't work!!!
Also turn off picturebox autoredraw if you don't want to...
-
This class is by Victor Bravo VI and does NOT use any TLB's.
-
Search Codebank for cWicImage.cls by Victor Bravo VI. Load your image and then render it at the size you require.
-
You have set the reference to WIA under Controls. You actually need to look at the menu at the top of VB6 and click Project\References... and set it there. Undo the reference in controls.
-
I think the problem is colwidth as LONG. Try colwidth as Single instead.
-
Here are a couple of routines for finding the Audio and Image type. I don't claim they are exhaustive as they were written for my needs. I hope someone finds them useful.
Private Function...
-
The only time I ever saw the "Method of object failed" error was when having the CodeHelp addin start with VB. I personally found CodeHelp a bit flaky and stopped using it. No more error!
-
@ The Trick. This seems to be very fast with little code. Could you please show me how to do a vertical gradient of just 26 pixels x scalewidth between &HD98468 & &H700000. Many thanks.
-
Indeed so, I run my IDE manifested.
-
I thought I remembered this. So I put a scrollbar on a form and right clicked it;
-
Private Const HTCAPTION As Long = 2
Private Const WM_NCLBUTTONDOWN As Long = &HA1
Private Declare Function ReleaseCapture Lib "user32" () As Long
Private...
-
Private Function GetImageType(sFileName As String) As String
Dim bBuf(20) As Byte, FF As Integer
GetImageType = "UNKNOWN"
FF = FreeFile
Open sFileName For Binary...
-
I don't know if it might help but that colour is &HF7C991.
-
Here you go. Put the dll in the windows folder as it is more reliable. For me syswow64 often leaves me with no mousewheel.
-
Hi Jaafar, I can't answer your question directly but I can point you to a much more efficient way of converting a pointer to a VB String.
Option Explicit
Private Declare Function...
-
Both of you have come up trumps! With CAIRO_FILTER_BEST I can't see the difference either.
So in order to rid myself of the GDI+ module;
1) How to get the original image dimension?
2) How to...
-
Very many thanks Olaf. I have compared the RC6 method against the GDI+ and feel the latter is slightly better at this size (300 x 300). Could you have a look?
Indeed I invite anyone who sees this...
-
Like a lot of others I am trying out RC6. The FSO replacement is amazing and it would really help to know if I can;
Load an image file.
Resize said image at very high quality whilst maintaining...
-
Just to make sure, you did remove the form from the project before creating the exe from the bas module?
-
Option Explicit
Private Sub Form_Load()
Dim J As Long
For J = 1 To 4
List1.AddItem Choose(J, "A", "B", "C", "D")
Next
End Sub
Private Sub List1_Click()
-
Ok I've tried with the new version and the first thing I noticed was the Yellow square was hiding behind the IDE. You could just see the thinnest Yellow line. Moving the IDE down and removing the...
-
Sam, in the IDE the squares remain visible until I dismiss the msgbox. Is that not true for you?
-
I just took your posted code and put it into a module. It worked exactly as outlined above. Why don't you explain what it does on Win7 so we can compare. I run my VB6 SP6 with no compatibility...
-
Works fine for me in the latest 21H1 build. In the IDE the squares disappear when End is reached. Compiled the squares stay visible until I right click the desktop and select Refresh.
-
You didn't include any of the test images in the zip file.
-
-
@SearchingDataOnly You didn't prepend VBA to the split in slurp-n-spit thus it was using Merri's fastest split.
Are we convinced about the data integrity of Xiaoyao's method?
-
Thanks Olaf I was worried that with all the noise being caused by xiaoyao you might not see my post.
On my system your split comes in at approx 2mS slower than strings.bas (IDE or compiled) but is...
-
I noticed that you were not using the fastest of Merri's splits. The one I use 'Strings2.bas can be found here https://www.vbforums.com/showthread.php?540323-VB6-Faster-Split-amp-Join-(development)...
|
Click Here to Expand Forum to Full Width
|