|
The answer had something to do with DNS. After running Wireshark, I saw that the client was trying to use DNS to resolve an IP address from a host name that it got from an IP address (one in the same). I imagine changing DNS settings on Box B would have cleared the issue. Being unfamiliar with network configuration, I simply changed my code to use the IP address without any resolution.
|
|
|
|
|
A friend's laptop was acting really bizarre (e.g., very slow in doing basic things: taking minutes to delete files and display context menus) so he asked me to format the HDD and reinstall XP on it. This is usually no big deal (compared to those where the owner wants the problem fixed while preserving everything!) as I've done it dozens of times in the past.
During the installation, XP asks if I want to do a quick or regular format. Not thinking anything is wrong with the HDD, I opt for a quick format. It finishes and starts copying files. After the machine reboots and Windows is preparing to start, an error pops up about not being able to find ntoskrnl.exe. I wrote it off as odd and did it all again, only to be presented with the same error.
Thinking maybe there was a bad spot on the HDD, I tried it again except I opted for a regular format so that the HDD could be checked and corrected. At this point, the HDD spun and spun but never did anything. The progress meter was stuck at 0%.
So, how can I verify if the HDD is bad or not?
- DC
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
DavidCrow wrote: So, how can I verify if the HDD is bad or not?
Download the Ultimate Boot CD[^], burn it and obviously boot from it.
When the menu appears, down arrow to the Hard Disk Tools and hit Enter, then (if memory serves correctly) select Diagnostic and then choose the Tool that corresponds to the brand of HDD in the laptop.
These utilities usually have an option for a Quick Test, if they find something wrong they push you to run the Full Test which wil give you details of whatis wrong with it.
Michael Martin
Australia
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible."
- Mr.Prakash One Fine Saturday. 24/04/2004
|
|
|
|
|
DavidCrow wrote: So, how can I verify if the HDD is bad or not?
You already did. It's bad.
You have only 2 possibilities here. Either you've got a bad hard drive, which is cheap to replace, or a bad motherboard, which is really expensive.
|
|
|
|
|
These are the classic symptoms of a bad HDD.
So, as Dave Kreskowiak already answered, it's verified.
I'd like to add that one should have Smart[^] enabled in the BIOS. It will tell you if the HDD is broken or will get broken. Usually it tells you to late, but often enough it tells you early enough to save your data.
|
|
|
|
|
Can i install the .NET framework to Windows98/ME?
--------Don't forget--------------------
--always comes daylight after night-----
|
|
|
|
|
See here.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hi everyone,
Is it possible connect to internet of OS that I installed on the vritual pc?
Thanks
|
|
|
|
|
Your question doesn't make any sense. Are you asking if you can connect to the Internet from a child O/S running inside a VirtualPC?? Yes, with an appropriate configuration of both the host O/S and the child O/S. This configuration is spelled out in the Help File for VirtualPC. Search for "Accessing the web" in that Help file.
|
|
|
|
|
Hi David
Yeah you understood my question connect to internet of child os.
|
|
|
|
|
messages wrote: connect to internet of child os.
There is no internet "of child o/s". It's "connect to the internet FROM the child O/S".
|
|
|
|
|
Virtual PC can use the network facilities of the host PC right?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
hai,
i need to create a progress bar for my application.i tried the following code but this did not show the progress inside the bar while running the code.just the bar was displayed.what's wrong with this code???show any other coding must be added???and another doubt is how to show the status in a progress bar???
CProgressCtrl *Progress = new CProgressCtrl;
Progress->Create(WS_CHILD | WS_VISIBLE, CRect(10, 10, 288, 35), this,0x16);
Progress->SetRange(0, 100);
Progress->SetPos(0);
if (Progress->GetPos()!=100)
{
Progress->StepIt();
}
else
{
Progress->SetPos(10);
}
RAJA
|
|
|
|
|
Did you use of this code at a function and your code is working for me.
You must ask your questions on the correct forum not anywhere.
|
|
|
|
|
yes,i created a progress control in my dialog and wrote the code inside that.but iam able to see a blank progress bar only while i run the project,why is the progress not show while i run it???
void CmobtvapplicationDlg::OnNMCustomdrawProgress1(NMHDR *pNMHDR, LRESULT *pResult)
{
LPNMCUSTOMDRAW pNMCD = reinterpret_cast<LPNMCUSTOMDRAW>(pNMHDR);
// TODO: Add your control notification handler code here
CProgressCtrl *Progress = new CProgressCtrl;
Progress->Create(WS_CHILD | WS_VISIBLE, CRect(10, 10, 288, 35), this,0x16);
Progress->SetRange(0, 100);
Progress->SetPos(0);
if (Progress->GetPos()!=100)
{
Progress->StepIt();
}
else
{
Progress->SetPos(10);
}
*pResult = 0;
}
RAJA
|
|
|
|
|
Why you didnt declare CProgressCtrl *Progress = new CProgressCtrl; out of function?
|
|
|
|
|
did u mean this???i tried this but iam not able to view the progress in the bar while i run the project,i get a progress bar with only twwo incrementedpositions,how to view the progress in the bar???
void first::OnNMCustomdrawProgress1(NMHDR *pNMHDR, LRESULT *pResult)
{
LPNMCUSTOMDRAW pNMCD = reinterpret_cast<LPNMCUSTOMDRAW>(pNMHDR);
*pResult = 0;
progressbar.SetRange(0,1000);
progressbar.SetPos(0);
if (progressbar.GetPos()!=1000)
{
progressbar.StepIt();
}
else
{
progressbar.SetPos(100);
}
}
RAJA
|
|
|
|
|
Project RAJA wrote: why is the progress not show while i run it???
To find out, you'll need to ask in the correct forum.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
|
Using Regedit, add a key named HKEY_CLASSES_ROOT\*\shell. Under that key, add another key with the name you want displayed in the context menu (e.g., pack with CPACK). Under that key, add another key named command. Change the (Default) value of that key to whatever command is necessary to run your application (e.g., c:\some_folder\cpack.exe "%1").
You should end up with something similar to:
[HKEY_CLASSES_ROOT\*\shell\pack with CPACK\command]
@="notepad.exe %1"
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
i am accessing another system through RDP.
when i connect to VPN ,RDP is disconnected.
Is there any way to run both VPN and RDP simultaneously?
|
|
|
|
|
This is likely to be a routing issue. Many VPNs will change the default gateway of the system to be the other end of the VPN tunnel, meaning that all packets that you don't have a specific route for go over the VPN. If there's no route out of that site to the system you're connecting to, or they have an outbound firewall that prevents RDP, or the site you're using RDP with restricts the addresses which can use RDP to access their servers, the packets will never reach their intended target.
You also have to remember that routing decisions are taken entirely on the basis of where the packet's going: while IP does have source routing capabilities (i.e. the creator of the packet dictates the route it takes), this feature is very rarely used and most routers will ignore it due to the risk of spoofing. Therefore it could be that RDP packets from your computer are reaching their server, but there's no way back from the server to your computer.
About all you can do is note what your default gateway is before creating the VPN connection (use route print and record the gateway value against the 0.0.0.0 route), turn on the VPN, then add a new route (with route add ) to the target server's IP address, and the previous default gateway. Packets for the target server should then take the same path as they would without the VPN enabled.
This assumes that the VPN is implemented as a separate network adapter. If it's implemented as a filter driver on your real network adapter, it may not be possible to circumvent it.
You could also have problems if the server you're trying to use RDP with is on your local subnet. This technique may still work, depending on your router.
DoEvents: Generating unexpected recursion since 1991
|
|
|
|
|
After you're connected to the VPN do you have ping reply from the machine you're trying to connect with RDP?
|
|
|
|
|
I have found this to happen when the VPN connection is set to use the default gateway on the remote network - ie. you internet access is adjusted to connect through the internet at the remote network, not your own.
To prevent your gateway from changing, go into the properties of the VPN connection, on the networking tab, goto the TCP/IP properties and into the advanced settings to deselect 'Use default gateway on remote network'. This option is selected by default as well, so it has to be switched off by the user.
------------------------
Luke Lovegrove
------------------------
|
|
|
|
|
Hi Friends,
I have a system which has installed windows server 2003 OS. In my system, IIS6.0 is installed also. I could not run my asp.net applications through the visual studio 2005. Because, "Default Website" (in IIS6.0) is display always stopped. I could not trying to start the default website. I was trying to start the default website when it has returned the error "The process cannot access the file because it is being used by another process". I did to restart the IIS admin service by more time.
How can i start the default website in IIS6.0?
Thanks in advance
Rameshkumar Thirumalaisamy
|
|
|
|