Click here to Skip to main content
15,911,711 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CPropertySheet PressButton does not work Pin
linton samuel dawson21-Jan-08 4:01
linton samuel dawson21-Jan-08 4:01 
GeneralDos windows invisible Pin
tom groezer21-Jan-08 1:30
tom groezer21-Jan-08 1:30 
GeneralRe: Dos windows invisible Pin
JudyL_MD21-Jan-08 2:01
JudyL_MD21-Jan-08 2:01 
GeneralRe: Dos windows invisible Pin
tom groezer21-Jan-08 16:08
tom groezer21-Jan-08 16:08 
GeneralRe: Dos windows invisible Pin
JudyL_MD22-Jan-08 2:36
JudyL_MD22-Jan-08 2:36 
GeneralRe: Dos windows invisible Pin
Rajesh R Subramanian21-Jan-08 21:29
professionalRajesh R Subramanian21-Jan-08 21:29 
GeneralUpdating source control status...Nightmare Pin
AbbyIndian21-Jan-08 0:40
AbbyIndian21-Jan-08 0:40 
GeneralRe: Updating source control status...Nightmare Pin
MrdavidOgle25-Feb-11 14:18
MrdavidOgle25-Feb-11 14:18 
http://www.codeproject.com/Questions/111260/VS-NET-2008-hangs-everytime-we-load-our-project-fr.aspx?tab=mostrecent

UPDATING SOURCE CONTROL STATUS
YaY! YOU FRIGGIN ROCK! Thank you so much! You dont know how bad this was affecting my work!

Because you helped me so much, I'm gonna return the favor and help those who dont know how to update the hosts file.

We have Visual Source Safe 2006 and Visual Studio 2008.
Our VSS database is on a network drive.

Step 1 - Determine which server\computer the VSS Database is on:
In Visual Studio 2008 select File->Source Control->Change Source Control. Note the "Server Name". You're only interested in the server name which is the value between the beginning back slashes and the next backslash. In my case it is dddmisfile
\\dddmisfile\vssdatabase\FocusDD

Step 2 - Determine the ip address of the server: Open a Command Prompt (start->Run type cmd and press enter) and ping your server name (type ping YOURSERVERNAME in the command prompt box). I typed ping dddmisfile and this is what I got:
c:\>ping dddmisfile

Pinging dddmisfile.azdes.gov [10.104.49.10] with 32 bytes of data:

Reply from 10.104.49.10: bytes=32 time=-52ms TTL=128
Reply from 10.104.49.10: bytes=32 time=-52ms TTL=128
Reply from 10.104.49.10: bytes=32 time<1ms TTL=128
Reply from 10.104.49.10: bytes=32 time<1ms TTL=128

Ping statistics for 10.104.49.10:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = -52ms, Average = 1073741798ms
The IP Address you are interested in is the one that follows Reply from
In My case its 10.104.49.10

You're also interested in the fully qualified domain name: which is the name of the server with the domain appended to it. In My case its dddmisfile.azdes.gov

Step 3 - Add a line to your hosts file with any text editor Open the file with notepad. Type this in the run box (Start->Run)
C:\WINDOWS\NOTEPAD.EXE C:\WINDOWS\SYSTEM32\DRIVERS\etc\HOSTS
This is what I see before I modify it:
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost

To add your server name to this list, simply add a new line and type the ip address then press tab then the fully qualified domain name:

10.104.49.10 dddmisfile.azdes.gov

Thats it! Close Notepad and you're done! Dont even need to reboot!
Dont for get to save your changes!
GeneralReading .reg file. Pin
neha.agarwal2720-Jan-08 21:26
neha.agarwal2720-Jan-08 21:26 
GeneralRe: Reading .reg file. Pin
jhwurmbach20-Jan-08 21:46
jhwurmbach20-Jan-08 21:46 
GeneralRe: Reading .reg file. Pin
neha.agarwal2720-Jan-08 23:00
neha.agarwal2720-Jan-08 23:00 
GeneralRe: Reading .reg file. Pin
jhwurmbach21-Jan-08 2:18
jhwurmbach21-Jan-08 2:18 
GeneralRe: Reading .reg file. Pin
Michael Schubert21-Jan-08 5:08
Michael Schubert21-Jan-08 5:08 
GeneralRe: Reading .reg file. Pin
jhwurmbach21-Jan-08 5:37
jhwurmbach21-Jan-08 5:37 
GeneralRe: Reading .reg file. Pin
Michael Schubert21-Jan-08 6:40
Michael Schubert21-Jan-08 6:40 
GeneralRe: Reading .reg file. Pin
Don Box20-Jan-08 23:26
Don Box20-Jan-08 23:26 
Generalcheck box problem... Pin
Chandrasekharan P20-Jan-08 21:16
Chandrasekharan P20-Jan-08 21:16 
GeneralRe: check box problem... Pin
baerten20-Jan-08 21:40
baerten20-Jan-08 21:40 
GeneralRe: check box problem... Pin
Chandrasekharan P20-Jan-08 22:18
Chandrasekharan P20-Jan-08 22:18 
GeneralRe: check box problem... Pin
baerten20-Jan-08 22:26
baerten20-Jan-08 22:26 
QuestionRe: check box problem... Pin
CPallini20-Jan-08 22:22
mveCPallini20-Jan-08 22:22 
GeneralRe: check box problem... Pin
baerten20-Jan-08 22:28
baerten20-Jan-08 22:28 
GeneralRe: check box problem... Pin
CPallini20-Jan-08 22:21
mveCPallini20-Jan-08 22:21 
GeneralRe: check box problem... Pin
Chandrasekharan P20-Jan-08 22:37
Chandrasekharan P20-Jan-08 22:37 
GeneralRe: check box problem... Pin
CPallini20-Jan-08 22:43
mveCPallini20-Jan-08 22:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.