Hi all,
I have an application running on several xp, vista and 7 computers. (access
versions >= a2k, db format = access 2000).
This application communicates with other applications using keybd_events and
appactivate
On some computers running vista (not all, why why why?), AppActivate often
hangs in these cases:
* when you put a windows in background, and try to activate it,
* when you minimize then maximize some times (1, 2, 3 times) then try to
activate it.
The problem can be reproduced at will on any of these computers (and the
problem doesn't occur on other computers running xp or even vista using the
same application).
The window to be activated is retrieved through the GetWindowTextA function
in user32.dll, so it is correct!
(Private Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA"
(ByVal hwnd As Long, ByVal lpString As String, ByVal cch As Long) As Long).
I would like to know if there is a patch (vista sp2 doesn't change anything)
or if someone knows a reliable alternative to AppActivate.
Regards,
Alain
|
|
0
|
|
|
|
Reply
|
Alain
|
3/8/2010 9:06:23 PM |
|
"Alain Bourgeois" wrote:subed going to jail
> Hi all,
>
> I have an application running on several xp, vista and 7 computers. (access
> versions >= a2k, db format = access 2000).
>
> This application communicates with other applications using keybd_events and
> appactivate
>
> On some computers running vista (not all, why why why?), AppActivate often
> hangs in these cases:
> * when you put a windows in background, and try to activate it,
> * when you minimize then maximize some times (1, 2, 3 times) then try to
> activate it.
>
> The problem can be reproduced at will on any of these computers (and the
> problem doesn't occur on other computers running xp or even vista using the
> same application).
> The window to be activated is retrieved through the GetWindowTextA function
> in user32.dll, so it is correct!
> (Private Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA"
> (ByVal hwnd As Long, ByVal lpString As String, ByVal cch As Long) As Long).
>
> I would like to know if there is a patch (vista sp2 doesn't change anything)
> or if someone knows a reliable alternative to AppActivate.
>
> Regards,
> Alain
>
>
> .
>
|
|
0
|
|
|
|
Reply
|
Utf
|
3/8/2010 10:35:01 PM
|
|
hi Alain,
On 08.03.2010 22:06, Alain Bourgeois wrote:
> This application communicates with other applications using keybd_events and
> appactivate
> On some computers running vista (not all, why why why?), AppActivate often
> hangs in these cases:
Vista has some security improvements which my interfere here. A simple
test: Logon as a user with administrative privileges. Disable UAC. Start
Access using 'Run As Administrator'. Run your database. If it works
then it is caused by this.
Otherwise you need to be more specific and yuo should post a concise and
complete example.
mfG
--> stefan <--
|
|
0
|
|
|
|
Reply
|
Stefan
|
3/9/2010 6:27:07 PM
|
|
"Stefan Hoffmann" <ste5an@ste5an.de> wrote in message
news:%23VXIgY7vKHA.5936@TK2MSFTNGP04.phx.gbl...
> hi Alain,
>
> On 08.03.2010 22:06, Alain Bourgeois wrote:
>> This application communicates with other applications using keybd_events
>> and
>> appactivate
>> On some computers running vista (not all, why why why?), AppActivate
>> often
>> hangs in these cases:
> Vista has some security improvements which my interfere here. A simple
> test: Logon as a user with administrative privileges. Disable UAC. Start
> Access using 'Run As Administrator'. Run your database. If it works then
> it is caused by this.
> Otherwise you need to be more specific and yuo should post a concise and
> complete example.
>
>
> mfG
> --> stefan <--
If I am administrator AND UAC is disabled the problem still occur.
We will try to create a sample.
Meanwhile, if someone has a workaround (vba code to restore a window then
trigger a click in the titlebar, it might be useful).
Regards,
Alain
|
|
0
|
|
|
|
Reply
|
Alain
|
3/9/2010 8:39:59 PM
|
|
"Alain Bourgeois" <brolspam00@skynet.be> wrote in message
news:4b96b224$0$2853$ba620e4c@news.skynet.be...
>
> "Stefan Hoffmann" <ste5an@ste5an.de> wrote in message
> news:%23VXIgY7vKHA.5936@TK2MSFTNGP04.phx.gbl...
>> hi Alain,
>>SMUGGED ALL EARLY REPEAT:WASTE OF RM!!!
>> On 08.03.2010 22:06, Alain Bourgeois wrote:
>>> This application communicates with other applications using keybd_events
>>> and
>>> appactivate
>>> On some computers running vista (not all, why why why?), AppActivate
>>> often
>>> hangs in these cases:
>> Vista has some security improvements which my interfere here. A simple
>> test: Logon as a user with administrative privileges. Disable UAC. Start
>> Access using 'Run As Administrator'. Run your database. If it works then
>> it is caused by this.
>> Otherwise you need to be more specific and yuo should post a concise and
>> complete example.
>>
>>
>> mfG
>> --> stefan <--
>
> If I am administrator AND UAC is disabled the problem still occur.
> We will try to create a sample.
> Meanwhile, if someone has a workaround (vba code to restore a window then
> trigger a click in the titlebar, it might be useful).
>
> Regards,
> Alain
>
|
|
0
|
|
|
|
Reply
|
ISTARReiI
|
3/10/2010 12:18:44 AM
|
|
"Alain Bourgeois" <brolspam00@skynet.be> wrote in message
news:4b9566d1$0$2888$ba620e4c@news.skynet.be...
> Hi all,
>
> I have an application running on several xp, vista and 7 computers.
> (access versions >= a2k, db format = access 2000).
>
> This application communicates with other applications using keybd_events
> and appactivate
>
> On some computers running vista (not all, why why why?), AppActivate often
> hangs in these cases:
> * when you put a windows in background, and try to activate it,
> * when you minimize then maximize some times (1, 2, 3 times) then try
> to activate it.
>
> The problem can be reproduced at will on any of these computers (and the
> problem doesn't occur on other computers running xp or even vista using
> the same application).
> The window to be activated is retrieved through the GetWindowTextA
> function in user32.dll, so it is correct!
> (Private Declare Function GetWindowText Lib "user32" Alias
> "GetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String, ByVal cch
> As Long) As Long).
>
> I would like to know if there is a patch (vista sp2 doesn't change
> anything) or if someone knows a reliable alternative to AppActivate.
>
> Regards,
> Alain
>
|
|
0
|
|
|
|
Reply
|
De
|
3/13/2010 5:36:43 PM
|
|
yk;:!!
"Alain Bourgeois" <brolspam00@skynet.be> a �crit dans le message de groupe
de discussion : 4b9566d1$0$2888$ba620e4c@news.skynet.be...
> Hi all,
>
> I have an application running on several xp, vista and 7 computers.
> (access versions >= a2k, db format = access 2000).
>
> This application communicates with other applications using keybd_events
> and appactivate
>
> On some computers running vista (not all, why why why?), AppActivate often
> hangs in these cases:
> * when you put a windows in background, and try to activate it,
> * when you minimize then maximize some times (1, 2, 3 times) then try
> to activate it.
>
> The problem can be reproduced at will on any of these computers (and the
> problem doesn't occur on other computers running xp or even vista using
> the same application).
> The window to be activated is retrieved through the GetWindowTextA
> function in user32.dll, so it is correct!
> (Private Declare Function GetWindowText Lib "user32" Alias
> "GetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String, ByVal cch
> As Long) As Long).
>
> I would like to know if there is a patch (vista sp2 doesn't change
> anything) or if someone knows a reliable alternative to AppActivate.
>
> Regards,
> Alain
>
|
|
0
|
|
|
|
Reply
|
joelgeraldine
|
3/17/2010 1:07:42 PM
|
|
ggnnnnnn
"Alain Bourgeois" <brolspam00@skynet.be> a �crit dans le message de groupe
de discussion : 4b9566d1$0$2888$ba620e4c@news.skynet.be...
> Hi all,
>
> I have an application running on several xp, vista and 7 computers.
> (access versions >= a2k, db format = access 2000).
>
> This application communicates with other applications using keybd_events
> and appactivate
>
> On some computers running vista (not all, why why why?), AppActivate often
> hangs in these cases:
> * when you put a windows in background, and try to activate it,
> * when you minimize then maximize some times (1, 2, 3 times) then try
> to activate it.
>
> The problem can be reproduced at will on any of these computers (and the
> problem doesn't occur on other computers running xp or even vista using
> the same application).
> The window to be activated is retrieved through the GetWindowTextA
> function in user32.dll, so it is correct!
> (Private Declare Function GetWindowText Lib "user32" Alias
> "GetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String, ByVal cch
> As Long) As Long).
>
> I would like to know if there is a patch (vista sp2 doesn't change
> anything) or if someone knows a reliable alternative to AppActivate.
>
> Regards,
> Alain
>
|
|
0
|
|
|
|
Reply
|
joelgeraldine
|
3/17/2010 1:17:19 PM
|
|
|
7 Replies
571 Views
(page loaded in 0.166 seconds)
Similiar Articles: vista - vba - appactivate trouble Follow - Microsoft NewsgroupsHi all, I have an application running on several xp, vista and 7 computers. (access versions >= a2k, db format = access 2000). This applicatio... VBA window keeps opening - microsoft.public.outlook.program_vba ...The problem is when I leave my computer and come back, the VBA window is open. It is simple enough to close it, but why does it keep popping open? VBA Code for Maximize - microsoft.public.access.formscoding ...VBA Code Cleaner - microsoft.public.word.vba.general Back to VBA Visual Basic for Applications ... ... minimize maximize; Maximize and Popup Forms; If DataSheet view then ... MS Access Themes not displaying on some Computers - microsoft ...... when displaying recordset in a sub form ..... the parameter string defined in VBA ... I am having trouble with only some of my wizards in MS Access 2003 ... Combo Box not ... Num Lock turned off when using SendKeys - microsoft.public.access ...Code is: AppActivate "MYOB Accounting", True Call ... problems - is it asking MS too much to fix the problem ... wrote: > >> And as far as my testing goes my Vista ... Exporting Tasks and Resources from MS Project 2007 to MS Excel ...... resource information to Excel but I am having trouble ... New Excel.Application xlApp.Visible = True AppActivate ... This is a relatively complex VBA macro and the odds ... A new HTA based message box - microsoft.public.scripting.vbscript ...... really shouldn't be possible from the point of view of ... However, I do have a problem with an application that ... VBA Input box (or MsgBox) with pull down or choices ... >> SendKeys - microsoft.public.access.formscoding ...Code is: AppActivate "MYOB Accounting", True Call ... Sendkeys doesn't work when you transfer over to Vista. ... VBA or sendkeys - mouse move and click - microsoft ... Snapshot of screen - microsoft.public.vb.general.discussion ...... As Long, ByVal dwExtraInfo As Long) AppActivate ... Yes both w/out Set work for me, in VBA too. I've ... in the past where others presented exactly that view. vista - vba - appactivate trouble DataBaseHi all, I have an application running on several xp, vista and 7 computers. (access versions = a2k, db format = access 2000). This application communica Answer : vista - vba - appactivate troublevista - vba - appactivate trouble - answer - Hi all, I have an application running on several xp, vista and 7 computers. (access versions >= a2k, db format = access ... vista - vba - appactivate trouble - microsoft.public.access ...Hi all, I have an application running on several xp, vista and 7 computers. (access versions >= a2k, db format = access 2000). This applicatio... Excel VBA AppActivate - Xtreme Visual Basic TalkExcel VBA AppActivate ... Though I've often had trouble grabbing onto IE Windows for some reason. ... AppActivate problem in Windows 7 - VBForumsAppActivate problem in Windows 7 Visual Basic 6 and Earlier ... Reps & Rating Posts • VS.NET on Vista • Multiple ... perhaps it might be easier to do it all in VBA so ... 7/26/2012 12:28:18 PM
|