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

Rao Rafique

@Rao Rafique
About
Posts
13
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Which free Antivirus can remove this: WORM_KLEZ.E
    R Rao Rafique

    hi, plz tell me which Free Anti virus can remove this WORM_KLEZ.E virus...Thanks

    "Programming is a fun"

    C#

  • Visual C# 2005 Application Error: Please reply Urgent
    R Rao Rafique

    Hi, I have installed VS 2005 last night. And build a simple C# Windows Application....I build this solution...the build is succeeded, but instead of output it prompts the following error message... " The application failed to initialize the property (0xc000007b. Click OK to terminate the application ". Please tell me how to solve this issue....Thanks in advance

    "Programming is a fun"

    Visual Studio help csharp visual-studio tutorial

  • Visual C# 2005 Application Error: Please reply Urgent
    R Rao Rafique

    Hi, I have installed VS 2005 last night. And build a simple C# Windows Application....I build this solution...the build is succeeded, but instead of output it prompts the following error message... " The application failed to initialize the property (0xc000007b. Click OK to terminate the application ". Please tell me how to solve this issue....Thanks in advance

    "Programming is a fun"

    C# help csharp visual-studio tutorial

  • php basics
    R Rao Rafique

    In PHP, this is done with the mysql_connect() function. Syntax mysql_connect(servername,username,password); Parameter Description servername Optional. Specifies the server to connect to. Default value is "localhost:3306" username Optional. Specifies the username to log in with. Default value is the name of the user that owns the server process password Optional. Specifies the password to log in with. Default is ""

    "Programming is a fun"

    Linux, Apache, MySQL, PHP php database tutorial

  • Free Web Directory: Submit & share website links @ www.railpail.com
    R Rao Rafique

    Hi 2 Every1: Plz visit the www.railpail.com web directory to share & submit website links absolutly free of cost. Don't forget to submit your website URL @ www.railpail.com. Th :laugh: nx

    "Programming is a fun"

    The Lounge com

  • Divide an image
    R Rao Rafique

    Hey: I have understood the following problem...that u want to convert a rectangular image into two triangles... "first thing no bitmap is in the form of triangle...Because(by definition) a Bitmap is a rectangular array of pixels...so it can never be triangle" However u can read the image using byte array...with the help of Marshal.copy method....then copy Half of the array to 1st image array & half to the 2nd image array.... again use.Marshal.copy()method) to convert the bytes array to Bitmap image.... For all the above u must have concept of the following: 1-BitmapData 2-Safe & Usafe code 3-Marshal.copy()method. Th :laugh: nks

    "Programming is a fun"

    C# question

  • HTML Select DropDown Width
    R Rao Rafique

    U have to set its width attribute using CSS... in the dreamweaver u can write code like this...I have set it to 200 pixkels, u may set it to any suitable value....Plz follow the code... optionvalue T :laugh: hanks

    "Programming is a fun"

    Web Development question html help

  • array
    R Rao Rafique

    Just loop through the first 4 indexes...and use them for calculations.. ok..

    "Programming is a fun"

    C# tutorial database data-structures question

  • Graphics question (Newbie)
    R Rao Rafique

    Hi dear fellow: windows default toobar graphics are automatically added to the application...for this u have to select just Add Form type MDI... Also u can use "Tool Strip" tool from the available Tools under tool boxe...just drag and drop to the top of the form..just after title bar.. ok...reply if it is helpful or needs more help... Thanks

    "Programming is a fun"

    C# csharp graphics help question

  • Attempt to read arite protected memory
    R Rao Rafique

    Hi Fellows: I am facing an error of access voilation while running a piece of code with Unsafe Context...I am developing steganographic application.And I want to embedd DataImage into Cover image using LSB method with the help of Lockbits() and UnLockBits () methos.. But when I compile the code it is compiled & Build succesfully.But at run time the app. frozes and with the following error message for the statement. byte bb=ptr1[0] //where ptr1 is byte type pointer that points to Scan0 ,i.e 1st byte of locked image array. Error :AccessVoilationUnhandelled exception Plateform :Visual C# Express edition VS.Net 2.0,Win XP Error Message: AcessVoilation: attempt to read or write protected memory.This is the oftenindication that other memeory is currupt. also I am thanfull to Chorrina John...who write very helpful articles on Steganography...I request If she is there please help & Supervise me in my project. Waiting for ur good response... Thanks I am getting B.S. degree in Computer Science.And want to enhance career in Software development. pineer programmer

    C# csharp help visual-studio data-structures performance

  • Any one have Ideas for IT graduation Project
    R Rao Rafique

    Hi Fellow; I have certain ideas for graduating project. 1-Develope a lazer based securit system for a safe room...Laser ligts are spread inside the room,whenever some one tries to enter into the room the sensor senses the persons...that some one has entered into the room. 2-develop a mobile based software that can detect the location of the calling persons. 3- Develop the steganographic application that hides secret messages into images,audio or video..etc. For further detail .contact me: rao282002@yahoo.com I am getting B.S. degree in Computer Science.And want to enhance career in Software development.

    C# com

  • C#.net error: Attempt to read or write protected memory or often this is the indication that other memory is currupt
    R Rao Rafique

    the code that causes error is boldfaced...see below the inner most loop code. private void toolStripButton3_Click(object sender, EventArgs e) { //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// GDI+ still lies to us - the return format is BGR, NOT RGB. ///Cover Image Code Bitmap bmp1 = new Bitmap(textBox1.Text); ///takes image from openfiledlg textbox1 ///takes an object of BitmapData & apply LocBits() BitmapData bmp1data = bmp1.LockBits(new Rectangle(0, 0, bmp1.Width, bmp1.Height), ImageLockMode.WriteOnly, PixelFormat.Format24bppRgb); ///finds out Bitmap's stride int stride1 = bmp1data.Stride; ///defines pointer's to scan0 (1st byte of BimapData array System.IntPtr Scan1 = bmp1data.Scan0; ///end of Cover Image Code /////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// /// Stego Image code Bitmap bmp2 = new Bitmap("f:\\bb.jpg"); BitmapData bmp2data = bmp2.LockBits(new Rectangle(0, 0, bmp2.Width, bmp2.Height), ImageLockMode.ReadWrite, PixelFormat.Format24bppRgb); int stride2 = bmp2data.Stride; System.IntPtr Scan2 = bmp2data.Scan0; unsafe { ///unsafe stego code byte* ptr2 = (byte*)(void*)Scan2; int offset2 = stride2 - bmp2.Width * 3; byte b2; ///end of unsafe stego //////////////////////////////////////////////////////////////// ///unsafe cover code /// defines a byte type pointer to scan0 byte* ptr1 = null; ptr1 = (byte*)(void*)Scan1; /// finds offset of the BitmapData int offset1 = stride1 - bmp1.Width * 3; /// defines RGB values byte b1,index=0; bool bitt; int x1, x2, y1, y2; ///iterates through the BitmapData ///end of unsafe cover code //////////////////////////////////////////////////////////////// for (y2 = 0; y2

    C# csharp graphics database winforms data-structures

  • C#.net error: Attempt to read or write protected memory or often this is the indication that other memory is currupt
    R Rao Rafique

    Hi Fellows: I am facing an error of access voilation while running a piece of code with Unsafe Context...I am developing steganographic application.And I want to embedd DataImage into Cover image using LSB method with the help of Lockbits() and UnLockBits () methos.. But when I compile the code it is compiled & Build succesfully.But at run time the app. frozes and with the following error message for the statement. byte bb=ptr1[0] //where ptr1 is byte type pointer that points to Scan0 ,i.e 1st byte of locked image array. Error :AccessVoilationUnhandelled exception Plateform :Visual C# Express edition VS.Net 2.0,Win XP Error Message: AcessVoilation: attempt to read or write protected memory.This is the oftenindication that other memeory is currupt. also I am thanfull to Chorrina John...who write very helpful articles on Steganography...I request If she is there please help & Supervise me in my project. Waiting for ur good response... Thanks I am getting B.S. degree in Computer Science.And want to enhance career in Software development.

    C# csharp help visual-studio data-structures performance
  • Login

  • Don't have an account? Register

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