Search:
Type: Posts; User: TedH
Search:
Search took 0.01 seconds.
-
I have now installed another pair of virtual com ports using a different virtual port creator program.
If I now use one of these ports the VB6 IDE does not freeze, so it is almost certainly a bug...
-
This makes no difference.
I think "wqweto" suggestion that it is a problem with a background thread "blocking" is most likely.
I have now found that if I wait long enough (4-5 minutes) with the...
-
Hi,
I have a simple program that uses the MSComm control. The program runs fine as an EXE, and also runs ok within the VB6 IDE. However, when running it in the IDE, closing the program always causes...
-
Hi,
I have a project that uses a chm help file. I can display a help page using the code (for instance):
lngHandle = HtmlHelp(hwnd, AppHelpFile, HH_DISPLAY_TOPIC, "mytopic.html")
This all...
-
Thank you for the suggestions.
I tried the simple ones but they did not help.
However, LaVolpe got it right!
The query_unload events were taking too long (actually just one of them was the real...
-
I have a program consisting of an MDI form with multiple child forms.
When I close the program it closes in the correct way every time, with no problems at all.
However...
If I press the “Power”...
-
Just installed Rubberduck.Setup.2.3.0.4221 on the old laptop, and it works fine.
No "duplicate menu" in the VB6 IDE problems!
Ted.
-
Just installed Rubberduck.Setup.2.3.0.4221 on the old laptop, and it works fine.
No "duplicate menu" in the VB6 IDE problems!
Ted.
-
OK, I will hopefully try it later today.
I do not have MS Office on this PC. I use LibreOffice for "office" functions.
There is a folder "Microsoft Office" in "Program Files (x86)" full of all...
-
Windows 10 1803, with latest updates. VB6 SP6
I may give it try on another PC (and old "sacrificial" laptop), but I am reluctant to try it again on my main PC.
Ted.
-
Tried it here. It installed ok, but added another new RubberDuck menu to the VB6 IDE very time it started.
A whole long row of them!
Uninstalling it did not fix the problem. There appeared to be...
-
> Lookup(CStr(.Properties("Jet OLEDB:Engine Type").Value))
Reports: Jet Engine Type is JET4X
-
It doesn't use Access. It uses the MS Jet engine that comes with Windows.
-
OK, some progress.
Changing the database from Shared mode to Exclusive mode has helped. I don't know why it was ever opened in shared mode, as it is a single user system.
The SQL method now...
-
Many thanks for all the suggestions.
The PC is a fast, modern one. 8GB ram, Intel i5 2.2G processor, but who know what sort of computer other users are running it on?
This is not a "paying...
-
>>Doesn't seem all that hard:
The results I got using your code were:
Database created and compacted. Took: 13,032 ms.
Type to delete is: 0
Database re-opened. Took: 0 ms.
Deleted...
-
About 27000 records in total.
The delete might be about 5000 to 10000 records.
-
Just tried that.
The CreateQueryDef method works ok, but takes exactly the same amount of time as
the Dbs.Execute method.
-
Ok, I ran some tests with the same block of test data each time.
I ran
Dbs.Execute "DELETE FROM " & tblAcronym & " WHERE " & acrSOURCE & " = '" & sRecordType & "'"
It took 60 seconds.
I added...
-
Thanks for those comments.
The DB is not on a network share.
The primary (and only) index is on another field.
I was not using a transaction wrap.
I will try adding an index and/or using a...
-
I'm looking for some thoughts or explanation of the following.
I need to delete a number of records of a specific type from a very big table (many thousands of records)
I thought the most...
-
I have now changed the code to
Dim udtENLINK As ENLINK, tNMHDR As NMHDR
...
Case WM_NOTIFY
CopyMemory tNMHDR, ByVal lParam, Len(tNMHDR)
If tNMHDR.code = EN_LINK Then ...
-
I am getting confused here.
Windows defines the ENLINK structure as such.
Contains information about an EN_LINK notification code from a rich edit control.
typedef struct {
NMHDR nmhdr;
...
-
-
Sorry, that was a cut&past error.
it is actually SetWindowSubclass Me.hwnd, AddressOf SubClassProc, ID, 0
-
It does use CopyMemory.
Private Type ENLINK
hwndFrom As Long
idFrom As Long
Code As Long
msg As Long
wParam As Long
lParam As Long
cpMin As Long
-
Private Declare Function DefSubclassProc Lib "comctl32.dll" (ByVal hwnd As Long, ByVal uMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
Private Declare Function SetWindowSubclass...
-
Thanks.
I assume the program was ok with the exe, but you might be right about it crashing silently.
I will download that subclassing library and give it a try.
The program contains a lot of API...
-
I have a VB6 program that uses subclassing. As a compiled exe it works fine.
If I run it within the VB IDE it also works fine, but on closing the program the IDE crashes, sometimes immediately and...
-
>I didn't do it with FindFirstStream though, but with GetFileInformationByHandleEx.. but it returns more info than FindFirst.. anyway:
Thank you for that information. I will give your code a try...
-
Hi,
I am trying to use the Windows API calls FindFirstStreamW and FindNextStreamW
to enumerate any Alternative Data Streams in a file.
The call always returns INVALID_HANDLE_VALUE regardless of...
|
Click Here to Expand Forum to Full Width
|