Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

Jose Cezar S Ynion

@Jose Cezar S Ynion
About
Posts
20
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Palm PPP Connection
    J Jose Cezar S Ynion

    Hi, How can I connect my device to my PC via PPP so that I could use NetLib socket programs running on my Palm? I found articles discussing RAS and I also followed their steps configuring null modem but to no avail. My palm still flags "No modem". Can anyone share thier valuable ideas. I am using Sony Clie connected via USB. My OS is Windows 2K Pro. Thanks in advance.

    Mobile question

  • VC and Crystal Report
    J Jose Cezar S Ynion

    sorry, here's the link http://www.geocities.com/jcynion/jcynion\_codes.htm

    C / C++ / MFC c++ database oracle help tutorial

  • VC and Crystal Report
    J Jose Cezar S Ynion

    sorry, here's the link http://www.geocities.com/jcynion/jcynion\_codes.htm

    C / C++ / MFC c++ database oracle help tutorial

  • VC and Crystal Report
    J Jose Cezar S Ynion

    VC++ fronend, MS Access backend with Seagate Crystal Report sample code can be downloaded at

    C / C++ / MFC c++ database oracle help tutorial

  • establishing connection..?
    J Jose Cezar S Ynion

    You can use sockets. You can find sample codes at http://www.geocities.com/jcynion/jcynion\_codes.htm, Echo Server sample Though the server project is a VC++ you can just extract needed classes to create Win32 console mode application.

    C / C++ / MFC delphi linux question

  • hello
    J Jose Cezar S Ynion

    hi, MFC + MS Access using ADO sample code can be found at http://www.geocities.com/jcynion/jcynion\_codes.htm, look for VideoRental sample code. It load data to a listview, allows add,edit and delete. Hope this will help

    C / C++ / MFC c++ database help announcement

  • EnumWindows
    J Jose Cezar S Ynion

    Hi, try calling SetActiveWindow(win) before the line SetActiveWindow(hcoom). It should look like this if (hcomm) { ::SetActiveWindow(win); ::SetActiveWindow(hcomm); LRESULT lResult2; lResult2 = ::SendMessage((HWND) hcomm,(UINT) BM_CLICK,0,0); return FALSE; } I had tested this and i had sent a sample applications (sender and receiver) in your email.

    C / C++ / MFC com json tutorial

  • image's read pixel with VB6
    J Jose Cezar S Ynion

    GetPixel is an API. You can declare this at the top of your code Private Declare Function GetPixel Lib "gdi32" _ (ByVal hDC As Long, _ ByVal x As Long, _ ByVal y As Long) As Long hDC is a device context handle, needed when working a display or printer. This can be compared to HWND when your are working with window object, one use of HDC on the other hand is for drawing.

    Visual Basic com question

  • image's read pixel with VB6
    J Jose Cezar S Ynion

    HI, I can't fully understand your question but if your trying to read the image pixel in VB then here's an alternative. 1. Put a PictureBox in your form. 2. Load your desired image by setting its Picture property. 3. Then use this code dim x as long dim y as long dim rgbColor as long For y = 0 To picBox.ScaleHeight - 1 For x = 0 To picBox.ScaleWidth - 1 rgbColor = GetPixel(picBox.hDC, x, y) Next x Next y

    Visual Basic com question

  • leWinsock Control Array
    J Jose Cezar S Ynion

    Set the index property of your winsock control to 0 then modify the function delaration with this one: Private Sub Winsock1_DataArrival(Index As Integer, ByVal bytesTotal As Long)

    Visual Basic help data-structures regex

  • EnumWindows
    J Jose Cezar S Ynion

    BM_CLICK message will fail if the window that will recieve the is not active. Try the code below. if(!strcmp(temp,"RBNal_Optocomm")) { HWND hcomm = ::FindWindowEx((HWND) win,NULL,"BUTTON","COM 1"); if (hcomm) { ::SetActiveWindow(hcomm); LRESULT lResult2; lResult2 = ::SendMessage((HWND) hcomm,(UINT) BM_CLICK,0,0); return FALSE; } }

    C / C++ / MFC com json tutorial

  • Face Recognition
    J Jose Cezar S Ynion

    Hi, I had seen running projects for that one, but it is not really realible and robust. What the programmer did : 1. Capture the image using the webcam 2. Search from the databank by comapring pixel by pixel. The matching percentage will be compared based on the tolerance defined level say +/- 90% Of course the lightings and position of the head will sureley affect, even hairdo.

    C / C++ / MFC question

  • How can I get a Text where mouse cursor is placed?
    J Jose Cezar S Ynion

    Just few cents of ideas 1. Create a global mouse hook. 2. Keep track of mouse events to trigger your procedure. 3. Send double click message to the window where specific mouse trigger occured. 4. This will highlight a text, if there is. 5. Send message to capture the selected text to clipboard. 6. Let your main aplication get the text from the clipboard and process it.

    C / C++ / MFC question graphics tutorial

  • Messagebox
    J Jose Cezar S Ynion

    Jose Cezar S. Ynion wrote: But in this example class A { public: void Display() { MessageBox(...); // OK, juts like calling this->MessageBox(..) AfxMessageBox(...) // ok } Sorry for that this should be: class B:public CDialog { public: void Display() { MessageBox(...); // OK, just like calling this->MessageBox(..) AfxMessageBox(...) // ok }

    C / C++ / MFC question c++

  • Messagebox
    J Jose Cezar S Ynion

    Anonymous wrote: well, can u point the main difference between MessageBox and AfxMessageBox? AfxMessageBox - a global function. MessageBox - a method available within a CWnd derived class You cannot call MessageBox within a non CWnd derived class. Ex: class A { public: void Display() { // error MessageBox(...); // should be AfxMessageBox(...) } }; But in this example class A { public: void Display() { MessageBox(...); // OK, juts like calling this->MessageBox(..) AfxMessageBox(...) // ok } };

    C / C++ / MFC question c++

  • Generate report using C++ (MFC)
    J Jose Cezar S Ynion

    OK. I could send you a sample application. Just send me you email or your MSN ID so that we could chat. Using crystal report in vc++ is just like using any other registered control or active control if we would speak in vb. All you need is to add project reference to it, then drag the control to your dialog, assign a variable name to that control, then you can access the methods to display the report as simple as m_crystalreport.setaction() after initializing it. To make it simple, here are the steps that i followed: 1. Install Crystal report 2. Create a dialog based application. 3. Click PROJECT->ADD TO PROJECT->COMPONENTS AND CONTORLS menu. 4. Locate under registered activex control the crystal report. 5. Click OK. Some info will prompt. Just click OK 6. Back to you resource viewer. A new icon will be listed in your Control Toolbar. If you hover your mouse pointer to it, it will have a tooltip indicating a crystal report... 7. Add that to your dialog. 8. Assign a variable name to it, using class wizard. Say you name it m_crystalCtrl; 9. Back to your class browser, crystal report interface classes will be added to your project. Dont bother about that. 10. add a button to your dialog, then add event hadler to it. say button _click event. 11. Assuming that you already created a report template( connected it with your db), then you can display the report by adding the following code: m_crystalCtrl.SetReportFileName("MyReportFilename.rpt"); // change to you report filename m_crystalCtrl.SetWindowMaxButton(TRUE); m_crystalCtrl.SetWindowMinButton(TRUE); m_crystalCtrl.SetProgressDialog(FALSE); m_crystalCtrl.SetWindowShowProgressCtls(FALSE); m_crystalCtrl.SetWindowState(2); //Maximized m_crystalCtrl.SetDestination(0); //To Window = 0 Printer = 1. m_crystalCtrl.SetAction(1); m_crystalCtrl.Reset();

    C / C++ / MFC c++ database help tutorial

  • registry handling in my software
    J Jose Cezar S Ynion

    It depends. If you want all users of that machine to be able to use you software then you need to saved it on HKEY_LOCAL_MACHINE. But if for currently logon user only, then save it to HKEY_CURRENT_USER.

    C / C++ / MFC windows-admin question

  • Generate report using C++ (MFC)
    J Jose Cezar S Ynion

    Best approach is using crystal report. You can use the Crystal report control just like in VB by adding the its OCX to your project. Crystal report object itself is capable of printing. You can pass query to your report in vc++.

    C / C++ / MFC c++ database help tutorial

  • Reading Cookies
    J Jose Cezar S Ynion

    Maybe this link will help: http://support.microsoft.com/default.aspx?scid=kb;EN-US;241492

    C / C++ / MFC help question

  • Help with inheritance
    J Jose Cezar S Ynion

    Make sure you include the header file of your base class in your derived class. 1. say you defined class a in "a.h" file class a { }; 2. In class b header file #include "a.h" class b: public a { }; Jose Cezar S. Ynion

    C / C++ / MFC help oop
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups