|
Thanks for the post. I have ordered a null modem cable (awaiting for it), also I have downloaded FastLynx (Demo version) so when the cable arraives I will try and transfer the files across.
|
|
|
|
|
Hi there -
i want to start a program on logon, that should not be terminated by the user.
i cannot use a service - so i have to start the program e.g. as administrator
or as system. then, the user should not be able to stop the program.
any idea how i can implement this?
thank you...
tom
|
|
|
|
|
tommy_tanaka wrote: i want to start a program on logon, that should not be terminated by the user.
i cannot use a service
Build your own application. When the user close your application it will check to validate the level of the right of your user. If it is a litmit user account than block them from closing your application.
|
|
|
|
|
Hi,
I have the following line in a vbs script. I want to capture whatever would be output on the dos command line into a variable that I can print can print from the vbs file onto the command line, using the wscript.echo command. (I hope this makes sense.)
Here is the line of code:
<br />
objShell.Run("cmd /c vcp -noprompt -pw TESTING \tmp\INETPUB_DEV.ZIP admin@BOBQA1:\downloads\INETPUB_DEV.ZIP")<br />
Any help is greatly appreciated!
PS.
I was using the following, but it didn't work, and anyway, I would like to have a more specific error message:
<br />
objShell.Run("cmd /c vcp -noprompt -pw TESTING \tmp\INETPUB_DEV.ZIP admin@BOBQA1:\downloads\INETPUB_DEV.ZIP")<br />
objShell.Run("cmd /c if errorlevel 1 strErrorLevel = 1")<br />
If strErrorLevel = "1" Then Call ProcessError(vcp)<br />
<br />
Sub ProcessError(command)<br />
WScript.Echo("PROCESS ERROR at " & command & " command.")<br />
End Sub<br />
|
|
|
|
|
I found a great solution for this, using the WSH SHELL EXEC Method:
<br />
strVcpCommand = "cmd /c vcp -noprompt -pw TESTING \tmp\INETPUB_DEV.ZIP admin@BOBQA1:\downloads\INETPUB_DEV.ZIP"<br />
<br />
Call DoCommand(strCopyCommand)<br />
<br />
Sub DoCommand(strCommand)<br />
WScript.Echo(strCommand)<br />
Set objShell = CreateObject("Wscript.Shell")<br />
objShell.Exec(strCommand)<br />
Set objExec = objShell.Exec(strCommand)<br />
Set objStdErr = objExec.StdErr<br />
Set objStdOut = objExec.stdOut<br />
strStdOut = objStdOut.ReadAll<br />
If strStdOut <> "" Then WScript.Echo(strStdOut)<br />
strResult = objStdErr.ReadAll<br />
If strResult <> "" Then Call ProcessError(strCommand, strResult)<br />
Set objExec = Nothing<br />
Set objStdErr = Nothing<br />
Set objShell = Nothing<br />
End Sub<br />
<br />
<br />
Sub ProcessError(strCommand, strResult)<br />
WScript.Echo("PROCESS ERROR using command: " & strcommand)<br />
WScript.Echo("Error Code: " & strResult)<br />
End Sub<br />
Thanks!
|
|
|
|
|
hi there -
i got the following problem:
i implemented a client as a service and installed it.
now the following problem occured:
e.g.:
on pc1 a program is running - the server, that controls the remote clients.
on pc2 should run a service, that logins the server of pc1. ip and port of
the server will be read from a text-file, placed in a public network directory.
with pc1 i now can lock pc2 by calling a form (onTopMost) remote on pc2.
or i can get a screenshot of pc2 that will be send to pc1.
for this, my service needs the activation of desktop interactivity (can be activated
in the service-manager).
for the remoting things like login on the server, read ip and port from a
network directory, the service must run as network service.
if i run the service like this, everything works fine. the client log on the
server and so on... but as soon, as i call "lock screen", calling the form, or
try to catch a screenshot - just everything that needs communication with the
desktop, i get an exception.
how can i get both into one service - network service AND desktop interactivity?
the problem is, that i can whether run the service as local service with interaction
with the desktop OR run it as network-service without interaction.
how can i get out of this mess? anyone any idea? i wasn't successful by looking in google.
so you are my last hope!
greetings -
tom
|
|
|
|
|
I have a loptop which use at home and at work. At my home, i have an internet connection via LAN which has it own IP, subnet mask, gateway, DNS, computer name and workgroup. At my office also has it own IP, subnet mask, gateway, DNS, computer name and workgroup too. But it is differences (IP, DNS, GATEWAY, WORKGROUP). When I come to my office i have to change all of these thing to match at my office. When I take it to home, i have to change to match to the system at my home. But now I'm tired in just 2 days. Does anybody know a good method to switch between the system at home and at work very fast without doing manual? I think it could be don't using the script, but I don't know how to do it. Can any people give me some idea or comment?
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Look into netsh . You could also look at using DHCP at work or home. A fair number of DSL/cable routers have DHCP server software built-in.
I don't think there's an easy way to set the workgroup name, but it's not really important - you can still see all workgroups in Entire Network, and you can access network shares by name. It's just a little trickier to browse. What you can't do is have one machine on two different domains - that isn't permitted.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
How about using the script file or using hardware profile? I never don't that before but I think we might be able to use it. Using the script to change the computer IP, GATEWAY, DNS, Workgroup... between home and office. Or using hardware profile to remember the setting of the network card (IP address, DNS, Gateway...). I will try to use it in my lab machine at home.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Hi, my computer have a problem, i try to install windows 2000 on it. The installation is finish and start to logon windows for the first time. I think the windows logon screen nearly appear, the computer unexpected restart by itself. I try to do it many time but it still restart when the logon screen nearly appear. I decide to install windows xp instead of windows 2000 and the same problem occure. I don't know what is the main problem. Does anybody have any idea about that?
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Hi, I use ADSL router to share the internet in my house. Because difference people use at difference time and difficult to control the power it the router. I have an idea to set auto power shutdown function in my router. What I want to do is set a schedule to turn off the power of my router at 12:00AM everyday. Are there any software or hardward device that could control the time to turn off the device? I need it
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
|
Thank you very much for your information.
|
|
|
|
|
Hi, I just create the an author console in MMC and select Computer Management as the node that I add to my console. I could view the user name... I wonder, if the other computer perform this procedure too, how could I secure my system and data?
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Hi, I have a problem when I connect my computer to the workgroup in my house. I use workgroup system and use static IP address. I already check the workgroup in every computer and it appear the same. Then I check an IP address and it have the same network ID. So it should work fine, but when I turn on two computer running togehter at the same time (one is windows 2k pro and the other one is win2k server) the first computer (win2k server) could see the second computer (win2k pro). But the second one (win2k pro) could not see the first computer (win2k server) on the network. But if I use ping command to ping from the second computer to the first computer, then it is reply. I don't know why it have this problem. Could any one give me an advice or suggestion?
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
I've set my email account in MS Outlook 2003 to IMAP. When I mark my emails to delete they do not get deleted. It seems there is tips here. Thanks for your help.
Mazy
"One who dives deep gets the pearls,the burning desire for realization brings the goal nearer." - Babuji
|
|
|
|
|
I searched for 'imap delete' in Outlook Help, and discovered that you have to click Edit > Purge Deleted Messages.
So obvious, isn't it?
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Thanks.
Mazy
"One who dives deep gets the pearls,the burning desire for realization brings the goal nearer." - Babuji
|
|
|
|
|
Yeah, I used to see this kind of similar function in Netscap 4.7. If I use IMAP in my e-mail account in Netscape and want to delete the file I have to select the message and click on the delete button. And it display the cross sign near the message. If I want to permanently delete it, I have to go to the File menu and click on command "Compact Folder...". Then it will delete the message permanently from the server and its display on your computer.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Anyone know if there is a log file somewhere for Add/Remove Programs. I have a pc where someone removed some programs and now it isn't working well. He doesn't remember what he removed.
*no it wasn't me*
thanx
If there's one thing I've learned, it's that life is one crushing defeat after another until you just wish Flanders was dead. - Homer Simpson
|
|
|
|
|
If the programs used Windows Installer, you'll see events in the Application event log (Control Panel > Administrative Tools > Event Viewer).
If not, you might find some logs in the user's Temp directory. This isn't standard, though.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
How can I disable the focus switching when the mouse is moved across the windows in a multiple window desktop view? In other words, require that the mouse be clicked before focus is switched... as is done in win2k and all the older window versions?
Nulli Secundus
|
|
|
|
|
|
Thanks for the input.
Nulli Secundus
|
|
|
|
|
Hi, I use workgroup in my house and use ADSL router to the share the internet in my house. My question are:
1. Can I use Microsoft ISA in workgroup system?
2. Can I use Microsoft ISA to control the internet usage? If I use ADSL router to share the internet.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|