PC Review
Forums
Newsgroups
Windows XP
Windows XP Embedded
Weird problem with DUA
Forums
Newsgroups
Windows XP
Windows XP Embedded
Weird problem with DUA
![]() |
Weird problem with DUA |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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? |
|
|
|
#2 |
|
Guest
Posts: n/a
|
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? |
|
|
|
#3 |
|
Guest
Posts: n/a
|
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/e...eationFlags.asp) and StartupInfo (http://msdn.microsoft.com/library/e...StartupInfo.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? |
|
|
|
#4 |
|
Guest
Posts: n/a
|
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:e5o2VDtGFHA.544@TK2MSFTNGP12.phx.gbl... > 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/e...eationFlags.asp) > and StartupInfo > (http://msdn.microsoft.com/library/e...StartupInfo.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? > > |
|
|
|
#5 |
|
Guest
Posts: n/a
|
Heidi,
The EXECUTEPROCESS command is described in the documentation: http://msdn.microsoft.com/library/e...CUTEPROCESS.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:e5o2VDtGFHA.544@TK2MSFTNGP12.phx.gbl... >> 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/e...eationFlags.asp) and StartupInfo >> (http://msdn.microsoft.com/library/e...StartupInfo.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? >> >> > > |
|
|
|
#6 |
|
Guest
Posts: n/a
|
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" <heidi.linda@un-inspiredbroadcast.net> wrote in message news:e9KA30yGFHA.2132@TK2MSFTNGP14.phx.gbl... > 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:e5o2VDtGFHA.544@TK2MSFTNGP12.phx.gbl... >> 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/e...eationFlags.asp) >> and StartupInfo >> (http://msdn.microsoft.com/library/e...StartupInfo.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? >> >> > > |
|
|
|
#7 |
|
Guest
Posts: n/a
|
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\)" <seanl@seanliming.com.NOSPAM> wrote in message news:<OpoPw2fHFHA.2860@TK2MSFTNGP12.phx.gbl>... > 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" <heidi.linda@un-inspiredbroadcast.net> wrote in message > news:e9KA30yGFHA.2132@TK2MSFTNGP14.phx.gbl... > > 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:e5o2VDtGFHA.544@TK2MSFTNGP12.phx.gbl... > >> 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/e...eationFlags.asp) > >> and StartupInfo > >> (http://msdn.microsoft.com/library/e...StartupInfo.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? > >> > >> > > > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

