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
R

rashin ghodratzade

@rashin ghodratzade
About
Posts
15
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • insert rows into single table from two table which has different columns
    R rashin ghodratzade

    INSERT INTO b (field list b) SELECT field list a FROM a

    Database tutorial

  • How to insert data in the tables
    R rashin ghodratzade

    in sql you have use from : INSERT INTO table name VALUES ( , , ,

    Database database tutorial question

  • USB Ports Not Working
    R rashin ghodratzade

    maybe usb is off to setup please check it

    Hardware & Devices sysadmin windows-admin help question

  • Order
    R rashin ghodratzade

    in first program you use more variable

    C / C++ / MFC question performance

  • What software are you using for learning programing ?
    R rashin ghodratzade

    visual c++ 6 is very easy

    C / C++ / MFC c++ question learning

  • About Password
    R rashin ghodratzade

    There are a few software which can also reset CMOS settings or BIOS password or both within a few clicks. But as stated above you should have access to a system which is turned on and should have access to MS DOS or MS Windows

    System Admin question

  • Deleting Recycle Bin
    R rashin ghodratzade

    To show or hide the Recycle Bin on the desktop 1.Click the Start button , type desktop icons into the search box, and then click Show or hide common icons on the desktop. 2.In the Desktop Icon Settings dialog box, do one of the following: •To hide the Recycle Bin, clear the Recycle Bin check box. •To show the Recycle Bin, select the Recycle Bin check box. 3.Click OK.

    System Admin tutorial question

  • How to remove welcomenote in windows 7 ?
    R rashin ghodratzade

    Start > RUN > type in the following > REGEDIT 1) Navigate to: HKEY USERS\ .DEFAULT\Control Panel\Desktop 2) Double click the wallpaper value, and type in the full path of your image

    System Admin help tutorial question

  • Troubleshooting Windows Media Player
    R rashin ghodratzade

    you can use another software :laugh:

    System Admin help tutorial question

  • 0x8024D001 windows update problem with windows XP 32 SP3
    R rashin ghodratzade

    XPs windows update having a problem

    System Admin help com question announcement

  • oracle to sql server
    R rashin ghodratzade

    INSERT INTO tbl SELECT x UNION SELECT y UNION SELECT z isn't valid Oracle not because of the UNION, but because of the SELECTs.

    You could simply change it to INSERT INTO tbl SELECT x FROM DUAL UNION SELECT y FROM DUAL UNION SELECT z FROM DUAL

    You could quickly do this manually with a search and replace UNION with DUAL UNION and add one DUAL on the end

    Database database sql-server oracle sysadmin help

  • Copy over a single table in sql server 2008
    R rashin ghodratzade

    you can Save the .mdf and .ldf from the origin, and then ATTACH them to the target

    Database database sql-server sysadmin question

  • Capturing all Keyboard input using a DLL
    R rashin ghodratzade

    First I tried using kbhit() and getch() to recognize and capture the users input. I call the code below every frame (I tested in BL:R) but nothing happens. PHP Code if(kbhit())content += getch();

    C / C++ / MFC question c++ design sysadmin hardware

  • GMP and Windows
    R rashin ghodratzade

    -1 down vote favorite I have this program that needs to handle large numbers to factorize a number into primes.. Just like the RSA factorization challenge. I got this list in a txt file with prime numbers. this is the piece of code I use to make that list: int export_list (int lim = 50) { int last_in_txt = 0; { ifstream infile ("Primes.txt"); int k; while(infile >> k) { last_in_txt = k; } } // Now last_in_txt is assigned properly, and Primes.txt is closed cout << "\nLast number in \"Primes.txt\": " << last_in_txt << endl << endl; cout << "Press to start appending primes... "; cin.get(); cout << "\nAppend started:\n"; last_in_txt++; ofstream file ("Primes.txt" , ios::app); int x, counter; if (file.is_open()) // if it opens correctly { for (x = last_in_txt , counter = 0 ; counter < lim ; x++ , counter++) { if (check_prime (x)) // returns 1 when x is prime, returns 0 when not { cout << "Appending " << x << "\t\t" << "Estimated time remaining: " << (lim - counter) / 1000 <

    C / C++ / MFC csharp c++ visual-studio question career

  • Digital signature in mail message created using MAPI
    R rashin ghodratzade

    Digital signature prevents email content is faked or changed in transport level. Encrypting email protects email content from exposure to inappropriate recipients. Both digital signature and email encrypting depend on digital certificate.

    If you have an email digital signature certificate installed on your machine, you can find it in Control Panel-interner option-content-Certificates-Personal
    Then you can use your email certificate to sign the email by the following code. If you don't have a certificate for your email address, you MUST get a digital certificate for personal email protection from third-party certificate authorities such as www.verisign.com.
    #include "stdafx.h"

    #include "easendmailobj.tlh"
    using namespace EASendMailObjLib;

    int _tmain(int argc, _TCHAR* argv[])
    {
    ::CoInitialize( NULL );

    IMailPtr oSmtp = NULL;
    oSmtp.CreateInstance( "EASendMailObj.Mail");
    oSmtp->LicenseCode = \_T("TryIt");
    
    // Set your sender email address
    oSmtp->FromAddr = \_T("test@emailarchitect.net");
    
    // Add recipient email address
    oSmtp->AddRecipientEx( \_T("support@emailarchitect.net"), 0 );
    
    // Set email subject
    oSmtp->Subject = \_T("email from Visual C++ with digital signature(S/MIME)");
    
    // Set email body
    oSmtp->BodyText = \_T("this is a test email sent from Visual C++ with digital signature");
    
    // Your SMTP server address
    oSmtp->ServerAddr = \_T("smtp.emailarchitect.net");
    
    // User and password for ESMTP authentication, if your server doesn't 
    // require User authentication, please remove the following codes.
    oSmtp->UserName = \_T("test@emailarchitect.net");
    oSmtp->Password = \_T("testpassword");
    
    // If your SMTP server requires SSL connection, please add this line
    //oSmtp->SSL\_init();
    
    // Add signer digital signature
    if( oSmtp->SignerCert->FindSubject(\_T("test@emailarchitect.net"), 
        CERT\_SYSTEM\_STORE\_CURRENT\_USER , \_T("my")) == VARIANT\_FALSE )
    {
        \_tprintf(\_T("Error with signer certificate; %s\\r\\n"), 
            (const TCHAR\*)oSmtp->SignerCert->GetLastError());
        return 0;
    }
    
    if( oSmtp->SignerCert->HasPrivateKey == VARIANT\_FALSE )
    {
        \_tprintf(\_T("certificate does not have a private key, it can not sign email.\\r\\n" )); 
        return 0;			
    }
    
    \_tprintf(\_T("Start to send email ...\\r\\n" ));
    
    if( oSmtp->SendMail() == 0 )
    {
        \_tprintf( \_T("email was sent successfully!\\r\\n"));
    }
    
    C / C++ / MFC c++ csharp visual-studio cryptography help
  • Login

  • Don't have an account? Register

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