|
Dear All,
I am developing an application in MFC VC++ Version 6.0 for Windows 2000. I start my application as soon as the system logs on, by giving the path of my exe in Run field i.e.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
I want to run my program in safe mode also. But unfortunately my program doesnot starts in the safe mode automatically because Run entry in registy doesnot work in this case.
Please suggest any way to run my application in safe mode also.
Feel free to ask any further queries in this regards,
Thanks
Rohit Dhamija
|
|
|
|
|
Run does not work because Safe Mode is for repairing your system and for diagnosing problems, not for running applications. If you're worried that users can reset the system and start in Safe Mode to avoid your program, don't give them the 'shut down system' privilege, and don't give them physical access to the computer.
Oh, hang on, they need to do that to use it...
If you really need your program to run all the time, write it as a service. However, Windows still won't run your service if it boots in Safe Mode, IIRC - there's a limited set of required services that are started. See Inside Windows 2000 (Solomon, Russinovich) for more information.
|
|
|
|
|
Try running it from AUTOEXEC.BAT. That should cause it to run even in a DOS mode boot.
"Your village called - They're missing their idiot."
|
|
|
|
|
I just installed a firewall (Zone Alarm). However, it won't allow me to browse my network. The only way to browse the network is by disabling the firewall.
In Zone Alarm you can select applications that want to get though the firewall. So my question is...
What is the applicaiton/service that I should add to allow network browsing.
or, if this is not how...
How do I do it with Zone Alarm?
/\ |_ E X E GG
|
|
|
|
|
Are you using PRO? It might be either way but the basics of it is you need to add your network into the "trusted zone" and make sure permissions are set up for that zone that allow you to browse the network. (There are several checkboxes that allow you to diable a bunch of stuff depending on what zone it's in)
|
|
|
|
|
Thank you. I just added an ip range. gracias!
/\ |_ E X E GG
|
|
|
|
|
It's a Pentium 233Mhz MMX owned by the retired Grandmother of one of the kids in my sons soccer team that I coach. So there's no chance I can just get another printer or buy a better computer/operating system. The printer is an Epson C40UX or C40UX or something like that connected to the computer via a USB cable.
I got a call several weeks ago about tis problem, the printer wouldn't print. I dutifully turned up with a parallel and USB cable in case the existing cable was at fault. I turned on the machine, it printed perfectly I went home.
A couple of days later another call, another problem. It would sometimes print and sometimes wouldn't. I went out again and again all is well.
Problem is there again, or you wouldn't be hearing about this now, would you? This time the daughter (mother of kid from soccer) went for a look and has this to tell me. When you print from programs nothing happens, the jobs appear in the spooler but won't print until you reboot the machine and then they just fly out.
The driver was originally installed by the computer expert son (I think he can spell computer) so it may have been done wrong (I don't know how, I'm grasping at straws here). So think I should uninstall the printer and start from scratch.
Anyone have any idea how to resolve this problem?
Michael Martin
Australia
"I suspect I will be impressed though, I am easy."
- Paul Watson 21/09/2003
|
|
|
|
|
What version of Windows is it running? Sounds like a funny problem. I'm also guessing you checked that the pause printing wasn't checked. Also it might be that there is no hard drive space on the pc, you might want to check that as well.
Despite the high cost of living, it remains popular.
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
|
|
|
|
|
It's Windows 98SE. Where is the 'Pause printing' option? There is at least a couple of gig to spare HDD wise. Thanks for the response.
Michael Martin
Australia
"I suspect I will be impressed though, I am easy."
- Paul Watson 21/09/2003
|
|
|
|
|
The 'Pause' option appears in the printer applet, under Start/Settings/Printers, when you double-click on the printer. Any time a problem occurs while printing a document, Win98 sets the printer to offline and pauses the print spooler, then leaves it there for all time. This same behavior occurs if the wrong (or just badly-written) driver is installed. It took almost a year for Lexmark to make a proper driver for my printer on Win2K - it exhibited the same problem - though their tech support denied that there was any problem with it from the start. A fixed driver just magically appeared on their website one day. Check the mfr's website for an updated driver first off, and take a copy with you next time you visit.
"Your village called - They're missing their idiot."
|
|
|
|
|
Hi, Any idea whether Windows CE supports Hooking APIs...? Please clear my doubt.
Thanks in advance.
Regards, Jinoj
|
|
|
|
|
|
Hi,
XP doesn't reconnect my network drives when I logon (to a domain). The network drives that are not reconnected are drives that are mapped to machines OUTSIDE the domain. XP "remembers" their credentials because I checked the "reconnect at logon" checkbox, but it simply doesn't actually reconnect them.
According to the following article:
http://support.microsoft.com/default.aspx?scid=kb;ko;kr283492
This is by design... but I was wondering if someone knows how to override this and force XP to ask for credentials during logon.
Thanks...
/=/=/=/=
Deus
/=/=/=/=
|
|
|
|
|
|
huh?
/=/=/=/=
Deus
/=/=/=/=
|
|
|
|
|
Hi, how do I set the environment variable for my JSDK?
I think I accomplished that by executing the following in DOS-command prompt:
set PATH = %PATH%;c:\jdk1.3.1\bin
But I have to do this everytime I invoke javac... I know there's a key in registry that stores all environment variables. I think/remember you can do this somewhere in control panel..? Any idea? Thanks.
norm
|
|
|
|
|
Mmm... right click My Computer, Properties..., Advanced tab, Environment Variables
|
|
|
|
|
|
When I am running my multi-thread application, I find that there's a process named "devenv" is running very busy too.
Does anyone know what it is?
Thanks in advance.
|
|
|
|
|
Visual Studio
// Steve McLenithan
Family Guy: Season 2 - Episode 8
|
|
|
|
|
Dear All,
I am developing an application for Windows 2000 using VC++ Version 6.0. I need to disable the F8 option so that user may not be able to boot the system in safe mode.
Is there any way out to disable safe mode option, i.e disable F8 key.
Thanks in advance.
Regards,
Rohit Dhamija
|
|
|
|
|
Rohit Divas wrote:
Is there any way out to disable safe mode option, i.e disable F8 key.
God, I hope not! If you manage to disable that I'll have to hunt you down and break both of your knees. I'll leave you with functioning fingers, though, as you'll need them to correct the error of your ways.
Any application that meddles with the safe operation of the OS is trash by definition, and Safe Mode is critical to the reliable operation (and recovery) of the system. I can think of no legitimate reason for breaking it, unless your application is malicious by design.
"Your village called - They're missing their idiot."
|
|
|
|
|
hi,
Q) :-DSafe Mode is critical to the reliable operation (and recovery) of the system....
Ans) I know this very well, but our s.w required this feature (it's a security s.w) so i wanted to enquire that is there any way out to disable F8 by some means...
Anyways thanks for your reply Roger,
Rohit
|
|
|
|
|
I'm still suspicious of your motives... I have to fix the damned things when they go bad. Invoking safe mode occurs very early in the boot process, right about the time that the BIOS hands off to the bootstrap loader on the MBR. That's going to be hard to catch, and may require replacing an interrupt handler at a very low level; I'm not sure how you might go about that, since you're quite limited in what you can do until the OS actually loads and takes control of the hardware.
"Your village called - They're missing their idiot."
|
|
|
|
|
No dear ,
i am developing a anti-hacking/security s.w....
I have seen this option in an application provided by
http://www.stormcoast-fortress.net/
but donot know how it works !
Rohit
|
|
|
|