Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: salman108

Page 1 of 21 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    5
    Views
    627

    Re: serial port function

    We here at Codeguru love this site, when it comes to serial port issues.
    Our beloved site

    Enjoy :wave:
  2. Replies
    6
    Views
    2,677

    Re: How to load Jpeg image in vc++?

    Another way of doing the same is by using the IPicture control.

    here is an example of how to do it

    Example

    Enjoy :wave:
  3. Re: How to load & save irregular dialog to bitmap?

    Here is an example of exactly what you are trying to do.

    Exact example

    now remains the question of making the CRgn object from the png file.

    here is how

    If you go through the first...
  4. Thread: Memory help

    by salman108
    Replies
    4
    Views
    555

    Re: Memory help

    Claythefool I am sorry, i dont understand your question .... a little more information would able me to understand your question.

    What information do you want to save ?

    Is it the program state...
  5. Replies
    7
    Views
    1,848

    Re: redirect TRACE output Visual c++

    You should take a look at the CObject's Dump function.

    If ur class is derived from CObject, then u can create a new CDumpContext, and have the output where ever.

    However, If it is only upto...
  6. Replies
    10
    Views
    1,098

    Re: Run application when computer start

    The simplest short cut to this problem is

    That u make a service, standard wizard generated one.

    and u WinExecute ur exe from within the service.

    This way the application will start and the...
  7. Replies
    16
    Views
    3,877

    Re: CFileDialog problem please help

    This works fine with me


    MessageBox("Alpha","U pressed Alpha");
    CFileDialog dialog1(TRUE,"txt",NULL,OFN_FILEMUSTEXIST|OFN_HIDEREADONLY,"Text files(*.txt)| *.txt||");
    dialog1.DoModal();
    ...
  8. Re: Use a comma instead of a point as a decimal separator

    Here, see if this works for u


    CString c;
    float num;
    num=3.1428;
    c.Format("%4f",num);
    c.Replace(".",",");

    Enjoy :wave:
  9. Replies
    3
    Views
    701

    Re: User Privileges

    One way of doing so, is u declare the SECURITY_DESCRIPTOR structure,
    and initialize, in the application you are running, under the username that u want to check ..

    Then from the structure u can...
  10. Re: How to send buffer data or file to Printer?

    You should find out about a class called CPrintInfo also CPrintDialog

    MSDN is the palce where u will learn how to print ...

    u should also learn about the

    OnPreparePrinting

    OnBeginPrinting
  11. Replies
    3
    Views
    504

    Re: serial port reading

    Here .. we at codeguru just love this site as reference for Serial communications.

    Our Beloved Site

    Enjoy :wave:
  12. USB / RSA Makes XP's Winlogon Crash . Blue SCreen

    hello M8s,

    Just wondering, if some one can help me with this problem ...

    I am using RSA Authentication tokens the USB model ...

    what happens is, that it makes Windows XP's Winlogon.exe...
  13. Replies
    14
    Views
    2,724

    Re: Need help in CFileFind::FindFile

    You can have names such as *.txt

    This is my sample. im sorry the code is not neat, i copied this from my other project,
    :wave:


    char szPath[MAX_PATH];
    BROWSEINFO lpbi;...
  14. Re: Automatically Resize CRichEditCtrl and Dialog

    here you go


    void CClientDlg::OnSize(UINT nType, int cx, int cy)
    {

    CDialog::OnSize(nType, cx, cy);

    // TODO: Add your message handler code here
  15. Re: How to bind all views with single document

    Did you search on Code Guru before you posting a new Thread ??

    Here is the solution

    Single Document Multiple Views

    Enjoy :wave:
  16. Replies
    5
    Views
    728

    Re: implemeting own class in vc++

    Go to Menu Insert

    Select New Class

    From the Dialog the opens, select Generic Class from the combo Box.

    Make your own class.

    OR
  17. Replies
    1
    Views
    1,596

    Re: to get file security permission in network

    U will have to check the security descriptor structure.

    use the NetShareGetInfo API.

    Enjoy :wave:
  18. Re: Checking if a COM port is already in use

    U Open the port like so ..



    hCom = ::CreateFile(_T("\\\\.\\COMn"), // filename
    GENERIC_READ | GENERIC_WRITE, // desired access
    0, ...
  19. Replies
    7
    Views
    1,038

    Re: Raw socket help

    U can ask Krishnaa or Wildfrog here ...

    They would be able to provide better response then me.
  20. Replies
    5
    Views
    4,399

    Re: MFC subclass with messages

    did u override the implementation of these functions ?

    I have derived the class from CComboBox,
    and created the commboBox like so


    bool...
  21. Replies
    7
    Views
    1,038

    Re: Raw socket help

    Yannifan

    MAC address remains the same, only IP addresses change.

    Now, If I understand correctly, If the IP acquisition on B fails, then the process running on B, should start to communicate on...
  22. Replies
    11
    Views
    13,589

    Re: Low pass filter in Visual c++

    U will do this by a recursive function call.

    Since the function F is eating it's own output.

    U create a function CalculateY(int y)

    and in the function u replace the y(n) with a call to the...
  23. Replies
    5
    Views
    637

    Re: system date and time

    u can't add time, just like that, between CTime objects.
    The compiler complains, becuse u have not defined Operator overloading for "+".

    After that, when u need to add or subtract time, u will...
  24. Replies
    7
    Views
    1,038

    Re: Raw socket help

    im not sure if this is the way u acomplish this



    MAC address are unique these can't be ported.

    What will happen is you will have to implement a switchover routine.

    both the LAN Cards will...
  25. Replies
    1
    Views
    920

    Re: Usage of gethostbyname()

    Here is how u do it


    SYSTEM_INFO Sys_Info;
    TCHAR p_name[255];

    DWORD size = sizeof(p_name);
    GetComputerName(p_name,&size);
    hostent *name_info;
    ...
Results 1 to 25 of 511
Page 1 of 21 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center