Search:
Type: Posts; User: chrislong2
Search:
Search took 0.03 seconds.
-
Thank you to both of you! It turned out as per the info fafalone gave that I was worried for nothing. I was assuming that my API call was failing because of that long problem when that wasn't it at...
-
Ok everybody, I'm stumped.
I've got an API call I'm making that has as its first member of its data structure an unsigned long. The value I need to pass needs to be 4 bytes and the value I need...
-
It's the same exact issue I saw. And I decided since ultimately the issue is because there's something quirky about the frame control (it had problems on XP too with theming option buttons), that I...
-
Just a note of a problem (or perhaps just a "quirk"?) with RichTextBox: if you assign Unicode text to the RTB that is outside of the Unicode BMP (i.e. UTF-32 charcodes > 65535) while the characters...
-
Because I messed up in what I posted. lol So sorry! When I was copying/pasting, I copied the code from the wrong place and mistakenly copied code I was "working on" trying a few months ago. It...
-
I didn't actually use it as RTF mode. I just never set the text mode to text only so it stayed on the default RTF mode. The text I was assigning to the box was straight text and didn't use RTF. ...
-
Thank you Krool! I was not setting the text mode to plain text even though I wasn't using it for RTF. I don't remember why I didn't set it, though I have noted that text assignment for larger...
-
Hi Krool,
So I have been using RTB from previous update and I have been experiencing RTL issues.
Consider a command button with this code:
RichTextBox1.RightToLeftMode =...
-
The above sample works fine on XP. This issue is observed on an app that runs on everything from Win95 to 11 and has existed for 20+ years and has looked correct on XP, Vista, 7, 8, 8.1, 10, but now...
-
Ok, I spent a little time investigating and producing sample project with attached screenshots. By moving the mouse over the combo boxes (and over other text and checkboxes and then onto the combo...
-
Wanted to see if anyone else has seen this or can verify. On Windows 11, with my longtime app that has combo boxes and check boxes on a frame (all standard MS controls), where the app is also using...
-
Hmm, maybe, tho I wonder why anyone would want to do that.
-
I understand and certainly MS is certainly the ones to generally follow for guidance, but I've seen that code before and I'm almost certain it is wrong. Adding the physical width offset to the...
-
Hi Krool,
Thanks! I am sorry for late response and I see you issued an update. Okay, first things first. In testing again today, I see that I made a stupid mistake when I was previously...
-
Thanks for the reply! :) The strange thing is that it's only happening on one of my forms. And yet I've gone through property by property in comparison with other similar forms and there's no...
-
Hi Dilettante, did you ever figure this out? I just ran into this where my icon with LoadResPicture is displaying on my form's title bar with a black background when DPI is at 120 instead of 96.
-
Hi Krool,
Sorry for the late reply.
1) Tes, I can confirm that the Aug 10th update fixes the amount of text allowed issues (including where changing scrollbars would reset).
2) Regarding...
-
Yeah, I've seen notepad buckle under large docs too, but not usually till you get to many MB's. 65K is a small amount. But I agree with your overall point.
Anyway, it's fine. In line with what...
-
I appreciate that, but 65kb isn't all that large at all (I have several text documents over that), and yes, many programs including Notepad do try to load it all at once. In any event with my...
-
Thanks for the reply! :)
1) Ok, so I set MaxLength to a really high number and it works for the initial load of text (I can now type beyond 65k), however, as soon as I change scrollbars (to...
-
First, thank you so much for your work with these controls - much appreciated!
A few major bugs with the RichTextBox control:
1) It it is limited to 65k text! It can load more than this but...
-
Thanks so much fafalone!! :) :)
-
Thank you so much for the explanation! :) I don't have VC6 installed anymore so am not easily set up to create a TLB and I don't really need the callback function so I'll just wait for your version...
-
Hi fafalone, First - THANK YOU for this! :)
I am not actually using the class, but took out the necessary parts I needed to do a basic move operation and it works fine. However, both my code and...
-
Well, .NET has a lot going for it and in many respects is a great choice. But VB6, even 18 years later, still has some significant pros compared to .NET and sometimes is arguably the better choice...
-
Just a note that the code Elroy posted does seem to work and obviously is a real easy way to get Unicode to display. :) But the catch is that as soon as you theme your compiled EXE to Common...
-
Thanks fafalone! Yes, I'm a bad, bad coder - I frequently don't declare my variables when I use them for simple things like For loops. I know lots of people frown on that, but I don't care - they...
-
First, thanks for this.
However, there's a rather quirky problem:
Brand new project. Add the reference to the TLB.
Now in your Form Load add the following:
For z = 1 to 2
-
You know what?
You were absolutely right and that was exactly the problem! I saw your VarPtr(0) and put that in code even though I knew that wasn't going to do anything since 0 wasn't a variable....
-
Thanks for the thought on that. I noticed that about the pdwIndex too, but the notes on the msdn page say that it is a reserved value and MUST be 0. Though just for kicks I tried it with VARPTR(0)...
-
Hi,
I'm trying to implement a simple Win32 API call. I've done lots of API stuff before but this one for some reason is causing me trouble (I've recently been working in C# and actually was...
-
No, it came out of my own task scheduler module. But Sam posted a worthwhile link showing how you could access the task information via the same scripting object - I hadn't really even read the...
-
Actually, it already had it. I posted that exact same piece of code about 2 weeks ago to someone asking this same question. :) See http://www.vbforums.com/showthread.php?779867-scheduled-task
...
-
This function below is direct from one of my major projects that I happen to already have open right now that heavily uses the task scheduler 2.0 service (Vista+), It's terrible code, but it works...
-
Thank you Olaf for the suggestion - appreciated. However, that control is extremely complex, requires C++ runtime, has dependencies on several other of his controls in order to get the shell...
-
Hi all,
Been using the CCRP FolderTreeview control for several years which works well for browsing folders. But it doesn't support Unicode. I am aware of SHBrowseForFolderW but that forces it's...
-
Assuming you are referring to Task Scheduler 2.0 (the one in Vista and later), just try to get the task object of the task name in question. If it errors, you know it likely doesn't exist. I...
-
dilettante is right on here. The issue is one of deployment. As he mentions, just trying to put them in same path and hope for the auto-registering always was very iffy and is much more so now. ...
-
That means what it says - you can't name your .bas file Main. Name it something else like modStartup.bas
Then in that .bas is where you put the Main sub as discussed earlier. From that main sub...
-
Another thought: MS made changes in the behavior in this area with msvbvm60.dll (the main VB6 runtime) circa SP3. So I would suggest you compare the versions of msvbvm60.dll on the servers. ...
|
Click Here to Expand Forum to Full Width
|