PC Review


Reply
Thread Tools Rate Thread

Weird problem with DUA

 
 
Heidi Linda
Guest
Posts: n/a
 
      24th Feb 2005
I've googled a bit and found nothing on this.
I'm looking at DUA for the first time today and it's not launching my apps
properly. Working through the exercises in Sean Liming's book, I tried the
script for starting the calculator. It does start it, but not properly. All
I get is a calculator icon and part of the title bar (blank, no buttons to
minimise, close etc). It shows in the task bar. If another app is launched
and goes over the top of it, an image of part of that window will 'stick'
where the calculator app is. I can launch the calculator fine manually. Much
the same happens with the 'reggie' app from the book. Any suggestions?


 
Reply With Quote
 
 
 
 
dsouzan@gmail.com
Guest
Posts: n/a
 
      24th Feb 2005
Heidi,

Could you post the script or send it directly to my email ?
What polling mechanism are you using to run DUA scripts ?

~n


Heidi Linda wrote:
> I've googled a bit and found nothing on this.
> I'm looking at DUA for the first time today and it's not launching my

apps
> properly. Working through the exercises in Sean Liming's book, I

tried the
> script for starting the calculator. It does start it, but not

properly. All
> I get is a calculator icon and part of the title bar (blank, no

buttons to
> minimise, close etc). It shows in the task bar. If another app is

launched
> and goes over the top of it, an image of part of that window will

'stick'
> where the calculator app is. I can launch the calculator fine

manually. Much
> the same happens with the 'reggie' app from the book. Any

suggestions?

 
Reply With Quote
 
KM
Guest
Posts: n/a
 
      25th Feb 2005
Heidi,

You may want to enable DUA Service Logging and check out Event log for more info on why it is failing.

Also, verify what Creation flags (http://msdn.microsoft.com/library/en...ationFlags.asp) and StartupInfo
(http://msdn.microsoft.com/library/en...tartupInfo.asp) you set for the Execute command.

--
Regards,
KM, BSquare Corp.


> I've googled a bit and found nothing on this.
> I'm looking at DUA for the first time today and it's not launching my apps
> properly. Working through the exercises in Sean Liming's book, I tried the
> script for starting the calculator. It does start it, but not properly. All
> I get is a calculator icon and part of the title bar (blank, no buttons to
> minimise, close etc). It shows in the task bar. If another app is launched
> and goes over the top of it, an image of part of that window will 'stick'
> where the calculator app is. I can launch the calculator fine manually. Much
> the same happens with the 'reggie' app from the book. Any suggestions?



 
Reply With Quote
 
Heidi Linda
Guest
Posts: n/a
 
      25th Feb 2005
KM, this may be because I've not yet had any coffee, but I don't understand.
The first script I'm using is from Sean's book,
15,0,0,0,c:\windows\system32\calc.exe,0,,1,4294967295,,1,,,,1,,,,,,,1,0,WinSta0\Default

"KM" <konstmor@nospam_yahoo.com> wrote in message
news:(E-Mail Removed)...
> Heidi,
>
> You may want to enable DUA Service Logging and check out Event log for
> more info on why it is failing.
>
> Also, verify what Creation flags
> (http://msdn.microsoft.com/library/en...ationFlags.asp)
> and StartupInfo
> (http://msdn.microsoft.com/library/en...tartupInfo.asp)
> you set for the Execute command.
>
> --
> Regards,
> KM, BSquare Corp.
>
>
>> I've googled a bit and found nothing on this.
>> I'm looking at DUA for the first time today and it's not launching my
>> apps
>> properly. Working through the exercises in Sean Liming's book, I tried
>> the
>> script for starting the calculator. It does start it, but not properly.
>> All
>> I get is a calculator icon and part of the title bar (blank, no buttons
>> to
>> minimise, close etc). It shows in the task bar. If another app is
>> launched
>> and goes over the top of it, an image of part of that window will 'stick'
>> where the calculator app is. I can launch the calculator fine manually.
>> Much
>> the same happens with the 'reggie' app from the book. Any suggestions?

>
>



 
Reply With Quote
 
KM
Guest
Posts: n/a
 
      25th Feb 2005
Heidi,

The EXECUTEPROCESS command is described in the documentation:
http://msdn.microsoft.com/library/en...UTEPROCESS.asp

Give the following sample command a try first:
EXECUTEPROCESS,,,,c:\windows\system32\cmd.exe,,c:\windows\system32\cmd.exe /k set,DAYES,60000,,DASEC_REV

If works, change it to the calc.exe. (you can remove "c:\windows\system32\cmd.exe /k set").

If not, you have problems with the user accounts under which the DUA is started and you are launching the command.
DUA Logging should help you to narrow this down.

KM

PS. For your own debugging, I'd recommend you using symbolyc constant that are defined for DUA.

> KM, this may be because I've not yet had any coffee, but I don't understand.
> The first script I'm using is from Sean's book,
> 15,0,0,0,c:\windows\system32\calc.exe,0,,1,4294967295,,1,,,,1,,,,,,,1,0,WinSta0\Default
>
> "KM" <konstmor@nospam_yahoo.com> wrote in message news:(E-Mail Removed)...
>> Heidi,
>>
>> You may want to enable DUA Service Logging and check out Event log for more info on why it is failing.
>>
>> Also, verify what Creation flags (http://msdn.microsoft.com/library/en...ationFlags.asp) and StartupInfo
>> (http://msdn.microsoft.com/library/en...tartupInfo.asp) you set for the Execute command.
>>
>> --
>> Regards,
>> KM, BSquare Corp.
>>
>>
>>> I've googled a bit and found nothing on this.
>>> I'm looking at DUA for the first time today and it's not launching my apps
>>> properly. Working through the exercises in Sean Liming's book, I tried the
>>> script for starting the calculator. It does start it, but not properly. All
>>> I get is a calculator icon and part of the title bar (blank, no buttons to
>>> minimise, close etc). It shows in the task bar. If another app is launched
>>> and goes over the top of it, an image of part of that window will 'stick'
>>> where the calculator app is. I can launch the calculator fine manually. Much
>>> the same happens with the 'reggie' app from the book. Any suggestions?

>>
>>

>
>



 
Reply With Quote
 
Sean Liming \(eMVP\)
Guest
Posts: n/a
 
      1st Mar 2005
Heidi,

The decription on page 336 and 337 discuss the values set. Were a value
isn't set the default is applied. Are you running this in SP1 or SP2? Are
you using TaskManager Shell or Explorer Shell?

Regards,

Sean Liming (eMVP)
Managing Director
SJJ Embedded Micro Solutions

Author of
Windows XP Embedded Supplemental Toolkit Covering XPe SP2
Windows XP Embedded Advanced
Windows NT Embedded Step-by-Step

All available at www.sjjmicro.com

XPe Center website: www.seanliming.com

To learn more about Windows XP Embedded, come to MEDC 2005 in Las Vegas!
www.medc2005.com


"Heidi Linda" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> KM, this may be because I've not yet had any coffee, but I don't
> understand.
> The first script I'm using is from Sean's book,
> 15,0,0,0,c:\windows\system32\calc.exe,0,,1,4294967295,,1,,,,1,,,,,,,1,0,WinSta0\Default
>
> "KM" <konstmor@nospam_yahoo.com> wrote in message
> news:(E-Mail Removed)...
>> Heidi,
>>
>> You may want to enable DUA Service Logging and check out Event log for
>> more info on why it is failing.
>>
>> Also, verify what Creation flags
>> (http://msdn.microsoft.com/library/en...ationFlags.asp)
>> and StartupInfo
>> (http://msdn.microsoft.com/library/en...tartupInfo.asp)
>> you set for the Execute command.
>>
>> --
>> Regards,
>> KM, BSquare Corp.
>>
>>
>>> I've googled a bit and found nothing on this.
>>> I'm looking at DUA for the first time today and it's not launching my
>>> apps
>>> properly. Working through the exercises in Sean Liming's book, I tried
>>> the
>>> script for starting the calculator. It does start it, but not properly.
>>> All
>>> I get is a calculator icon and part of the title bar (blank, no buttons
>>> to
>>> minimise, close etc). It shows in the task bar. If another app is
>>> launched
>>> and goes over the top of it, an image of part of that window will
>>> 'stick'
>>> where the calculator app is. I can launch the calculator fine manually.
>>> Much
>>> the same happens with the 'reggie' app from the book. Any suggestions?

>>
>>

>
>



 
Reply With Quote
 
Kesavan
Guest
Posts: n/a
 
      2nd Mar 2005
KM/Heidi,

I dont see any chances of login permissions issues over
here,because the app is able ot open ...The problem is that it is not
opening properly.It makes me seriously think whether there could be a
problem with the app itself getting up.As KM said,it wouldbe a good
idea to try a sample command and see if that works.. Did the script
get stuck for some reason !! just a thought.

Regards,
Kesavan


"Sean Liming \(eMVP\)" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> Heidi,
>
> The decription on page 336 and 337 discuss the values set. Were a value
> isn't set the default is applied. Are you running this in SP1 or SP2? Are
> you using TaskManager Shell or Explorer Shell?
>
> Regards,
>
> Sean Liming (eMVP)
> Managing Director
> SJJ Embedded Micro Solutions
>
> Author of
> Windows XP Embedded Supplemental Toolkit Covering XPe SP2
> Windows XP Embedded Advanced
> Windows NT Embedded Step-by-Step
>
> All available at www.sjjmicro.com
>
> XPe Center website: www.seanliming.com
>
> To learn more about Windows XP Embedded, come to MEDC 2005 in Las Vegas!
> www.medc2005.com
>
>
> "Heidi Linda" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > KM, this may be because I've not yet had any coffee, but I don't
> > understand.
> > The first script I'm using is from Sean's book,
> > 15,0,0,0,c:\windows\system32\calc.exe,0,,1,4294967295,,1,,,,1,,,,,,,1,0,WinSta0\Default
> >
> > "KM" <konstmor@nospam_yahoo.com> wrote in message
> > news:(E-Mail Removed)...
> >> Heidi,
> >>
> >> You may want to enable DUA Service Logging and check out Event log for
> >> more info on why it is failing.
> >>
> >> Also, verify what Creation flags
> >> (http://msdn.microsoft.com/library/en...ationFlags.asp)
> >> and StartupInfo
> >> (http://msdn.microsoft.com/library/en...tartupInfo.asp)
> >> you set for the Execute command.
> >>
> >> --
> >> Regards,
> >> KM, BSquare Corp.
> >>
> >>
> >>> I've googled a bit and found nothing on this.
> >>> I'm looking at DUA for the first time today and it's not launching my
> >>> apps
> >>> properly. Working through the exercises in Sean Liming's book, I tried
> >>> the
> >>> script for starting the calculator. It does start it, but not properly.
> >>> All
> >>> I get is a calculator icon and part of the title bar (blank, no buttons
> >>> to
> >>> minimise, close etc). It shows in the task bar. If another app is
> >>> launched
> >>> and goes over the top of it, an image of part of that window will
> >>> 'stick'
> >>> where the calculator app is. I can launch the calculator fine manually.
> >>> Much
> >>> the same happens with the 'reggie' app from the book. Any suggestions?
> >>
> >>

> >
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
weird weird weird... multiple text boxes alves Microsoft Powerpoint 6 12th Oct 2007 05:53 PM
weird problem =?Utf-8?B?amFtZXM=?= Windows Vista Performance 0 8th Sep 2007 07:48 AM
Weird WEIRD Outlook Problem FBA Microsoft Outlook Discussion 1 24th Jan 2006 01:25 PM
Weird, weird problem... =?Utf-8?B?Um9iIFM=?= Microsoft Dot NET Compact Framework 2 28th Apr 2005 03:58 PM
Weird, weird, Sp2 firewall problem (I think) Chris Powell Windows XP Help 0 23rd Aug 2004 05:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:58 AM.