|
Any of the NT based operating systems, Win2000 being the best for development at the moment. I haven't developed on a 9x machine for years, they just crash too often and I could never tell if it was my bug or 9x being flaky.
I'm surprised at the amount of developers who still use 9x, even in large companies who can afford the Win2000 licences.
Michael
Errata 1: p. 154, section 'Defusing'. For 'red wire' read 'blue wire'.
|
|
|
|
|
LOL, I like your sig Michael.
Mark A
|
|
|
|
|
I'm surprised at the amount of developers who still use 9x, even in large companies who can afford the Win2000 licences.
Just because they can make Bill Gate$ richer doesn't mean that they want to.
|
|
|
|
|
Hi all,
I have a second user that logs into my computer that would like to have the same settings profile that I currently have on my machine. I am talking about the default IDE settings like the file directories, colors, macros and such, have all been reset with a new user account. I want to know if anybody knows how to transfer these settings from one user to another.
Thank you
kilowatt
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
I figured out how to get the same macro file as the original setting, There is a macros tab on the custom ize dialog that allows you to select the file to enable for macros. I am still looking at how to import all of the other general settings though.
THanks
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
Export and import the HKCU/Software/Microsoft/DevStudio (or Visual Studio) registry key.
|
|
|
|
|
Thanks!!
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
Sender: megawatt
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
Oops that went anonymous. I thought that changing name did not effect post counts.
|
|
|
|
|
Rama Krishna wrote:
Oops that went anonymous. I thought that changing name did not effect post counts.
Serves you right for trying to pick on Kilo's poor nick
Nish
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
Nish - Native CPian wrote:
Serves you right for trying to pick on Kilo's poor nick
I have a poor nickname, or did you mean "poor kilo's nick", or both could be true
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
kilowatt wrote:
I am still looking at how to import all of the other general settings though.
Most of the other settings are stored in the registry.
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\7.0
Nish
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
Thanks, I just wasn't sure where to look at first. It is all taken care of now.
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
is there a standard way of doing this or does one just scramble the data in the usual ways and store that?
"... and so i said to him ... if it don't dance (or code) and you can't eat it either f**k it or throw it away" sonork: 100.18128 8028finder.com
|
|
|
|
|
No standard that I'm aware of. We use a light encryption here (bit fiddling).
|
|
|
|
|
You gotta do the encrypting part yourself!
Nish
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
How do you give each entry into m_list1 a row number so that it'll appear in the list box? The reason for this is that m_list1.DeleteString would use the row number to delete specific entries.
-----------------------------------------------------
void CISGUIDlg::OnButton1()
{
UpdateData(); // Transfer data from controls to variables
m_strFullName = m_edit1 + " " + m_edit2;
m_list1.AddString(m_strFullName); //Add string to list
UpdateData(FALSE); // Transfer data from variables to controls
}
void CISGUIDlg::OnButton2()
{
UpdateData();
m_list1.DeleteString()
UpdateData(FALSE);
}
|
|
|
|
|
int iRow = 0; // global row counter
void CISGUIDlg::OnButton1()
{
UpdateData(); // Transfer data from controls to variables
iRow++;
m_strFullName.Format(%d %s %s",iRow,m_edit1,m_edit2;
m_list1.AddString(m_strFullName); //Add string to list
UpdateData(FALSE); // Transfer data from variables to controls
}
void CISGUIDlg::OnButton2()
{
UpdateData();
// When you delete a string, you must renumber all the rows beyond the deleted entry and decrement iRow.
m_list1.DeleteString()
UpdateData(FALSE);
}
|
|
|
|
|
Hey Guys
Im using a microsoft crypto API func and it has the ability to hand in a callback function to it. What i want to know is if i can get it to use my call back function and then after its run that get my function to go back to the micrsoft function rather then my callback. You see what i want to do is just get a pionter that is handed to the callback function i then want it to get on and do all the work.
Is this possible
Peter
|
|
|
|
|
No.
Christian
I am completely intolerant of stupidity. Stupidity is, of course, anything that doesn't conform to my way of thinking. - Jamie Hale - 29/05/2002
|
|
|
|
|
In the MSDN Library Help window, there is a results window displayed when the "search" tab is selected which I would like to emulate. The three buttons, "Title, "Location" and "Rank", seem to be part of that window. Does anyone know how this is done? Is it a custom class derived from CListBox? Any insight or a link to some sample code would be appreciated.
Kevin Torvik
|
|
|
|
|
Kevin Torvik wrote:
Is it a custom class derived from CListBox?
It's a listview control in report mode. If you're using MFC, check CListCtrl.
Tomasz Sowinski -- http://www.shooltz.com
- It's for protection - Protection from what? Zee Germans?
|
|
|
|
|
I have an MDI MFC application and in some sitations I don't want the user to be able to switch between documents. It sounds easy but I have not not been able figure it out.
Any help will be appreciated
|
|
|
|
|
Perhaps you can save the identity of the current document in some kind of global along with a switch indicating whether the user can switch or not. In the OnActivate for the view, check to see if the document being activated is the right one, if not, re-active the correct one.
You might be able to do something more sophisitcated with PreTranslateMessage to suppress the activation altogether.
|
|
|
|
|
you could look for the document you want on top losing focus (there is an event for this) and force it back to the top of the z-order
just a guess
"... and so i said to him ... if it don't dance (or code) and you can't eat it either f**k it or throw it away" sonork: 100.18128 8028finder.com
|
|
|
|