Carlos Antollini
Posts
-
Invoking a .exe into VC++ -
How to get process id given the process nameYou can not to get the Handle of the process from the process name, you need to do the contrary. You must to enum the process handles or Ids and the get the process name You need to use the psapi.dll library. You must to use the EnumProcessModules function and then the GetModuleFileNameEx function to get the filename of each process. Regards Carlos Antollini Do you know piFive[^] ?
-
how ADO using in MFC Diloguehttp://www.codeproject.com/database/caaadoclass1.asp[^] Carlos Antollini Do you know piFive[^] ?
-
A Web programming question -
How to Save Fiels? -
About VC.NETI believe that VC++ never will die. The visual Studio will improve but only to other languages like something called VB.NET, ASP.NET, ADO.NET, VC++ is too standard to change. The problem will be if MS starts to hide the new versions of the c compilers, for example a compiler to 64bits or greater. I believe that the evolution in VC++ are in the classes. Here in Code Project we are helping with that VC++ Improvement.;) I think that microsoft feels the same becuase the Redmond guys published the VC toolkit, that include the last versión of the compiler. Regards Carlos Antollini Do you know piFive[^] ?
-
About VC.NET -
Centralised Stored Proc.You must to inform the database by parameter.... I worked in a proyect where each database had the data of an specific mounth and Year. To solve that we had a central DB with the stored procedures and a set of parameters, for example, the name of the last DB, and the name of the previous DBs, etc.... Regards.... Carlos Antollini Do you know piFive[^] ?
-
Launch! -
Mourning day -
Dunas blocked by SpamCop? -
somebody listened about the Gandalf project?3.000 Times faster than ADSL!!!! :cool: That is Speed over Internet.... Sorry because the news is in Spanish, but I didn't find a link in English Gandalf Project[^] Carlos Antollini Do you know piFive[^] ?
-
Visual Studio.Net - The Untold Story -
Creating/Adding Tabs to a Tab Control -
Wanted Terrorists List (humour) -
How to load Cyrillic strings from resources? -
tab controls (is there a restriction on the number of edit boxes in a dialog box?)I was looking here in CP, but each article about PropertySheet and PropertyPage are about special implementacion. I pasted you a lines of code..... Trie to start with it, and then read in MDSN.... Don't worry is very easy.... Rememeber: each dialog must be derived from CPropertyPage, not from CDialog
CPropertySheet dlgProperties("Properties", this); CMyPropertieDlg dlg1; //this dialog is a property page. CMyPropertieDlg dlg2; //this dialog is a property page. dlgProperties.AddPage(&dlg1); dlgProperties.AddPage(&dlg2); dlgProperties.m_psh.dwFlags |= PSH_NOAPPLYNOW; if(dlgProperties.m_psh.dwFlags & PSH_HASHELP) dlgProperties.m_psh.dwFlags ^= PSH_HASHELP; dlg1.m_strCubeName = m_strCubeName; dlg1.m_strCatalogName = strCatalogName; dlg1.m_strCreatedOn = strCreatedOn; dlg2.m_strLastUpdate = strDate; dlg2.m_strDescription = strDescription; if(dlgProperties.DoModal() != IDCANCEL) return;
Regards Carlos Antollini Do you know piFive[^] ? -
tab controls (is there a restriction on the number of edit boxes in a dialog box?)Yes, I know that is a very hard work.... If you want you can use the tabctrl with a lot of controls like editbox, labels, custom controls, in it, but is very dificult to use because you must to oredr the controls in the OnInitDialog. Other solution is to create the controls in OnInitDialog. When you feel that you are going crazy, it's better to use Property Sheet and Property Pages, because you will have each control in its dialog.... Each Dialog that will be a tab must be derived from CPropertyPage and not from CDialog. Then When you need to principal dialog, with all the dialogs in it, you must to use the CPropertySheet class and use the funcion AddPage for add each dialog in the Property Sheet... Regards Carlos Antollini Do you know piFive[^] ?
-
SQL Server RantIt's very strange... I don't say that SQL Server have no problems, but I never had problems like that. I am an old user of SQL Server (Since version 4.2) but this behavior is very strange. First. What version are using You? Do you have any service pack installed? Did you check the Auto Shrink option? - I recomend to use this option checked... What Recovery Model you Have? How many transactions you have in your customer per day, or may be how many Bytes increase the database p/d? Carlos Antollini Do you know piFive[^] ?
-
my first time programmingit's not a problem... If you run your application from VC with Ctrl+F5 you will see the message, and then you must to press a button to close it. When you run your application for example in debug mode, the VC creates the console and close it when the app finish. If you like, you can run your app from command line, and you will see when the app finish the cursor returns to the prompt... Carlos Antollini Do you know piFive[^] ?