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
S

S K Y

@S K Y
About
Posts
106
Topics
40
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • how to run a method in biginning automaticaly
    S S K Y

    when my application run allthe time i need to run this code.... pl help me to post some example codeing related to this... thankss..

    IntPtr hWnd = FindWindowEx(IntPtr.Zero, IntPtr.Zero, "Progman", null);
    ShowWindow(hWnd, 0);
    int intReturn = FindWindow("Shell_traywnd", "");
    SetWindowPos(intReturn, 0, 0, 0, 0, 0, SWP_HIDEWINDOW);

    A S E L A

    C# tutorial

  • how to run a method in biginning automaticaly
    S S K Y

    i got a method i need to run that method automatically when run my application without pressing any button or without any user interupt.

    A S E L A

    C# tutorial

  • windows login with own application.....
    S S K Y

    no it's not a virus.....this is my major project last part...i have developed a QR barcode decoder with a webcam. that mean user show the barcode to web cam and take picture of the barcode. then decode the barcode. so im going to do is pass that barcode string as the user password and user name will take from system automatically. so one user show the barcode and press button if it is a valid barcode and match the string with windows password system will log in automatically. so user don't have to type the password. only need to show the barcode and click on login button.... that's what im trying to do.....i got my decoder and can get the string smoothly...only thing i have to do is this windows loging part .... please anyone guide me on this.....\ thanks for you all/....

    A S E L A

    C# tutorial question

  • windows login with own application.....
    S S K Y

    ya that's what i want to do...

    A S E L A

    C# tutorial question

  • windows login with own application.....
    S S K Y

    i need to develop my own application with user name and password which allow users to login to windows.....how can i do tha....pl guide me on this...... thanks

    A S E L A

    C# tutorial question

  • Replace windows loging with own loging application problem...
    S S K Y

    actually happening is i got user & password form. so username take from windows. for the password user going to scan the barcode.so the barcode string pass as the password. once password tbx got a string application need to compair password and user name with windows username and password. if match user will able to login. so how can i pass username and password to the windows and compair with windows password & username...?? i tried so many on google. all only to read user logon username or replace user logon username and password... any guide for this pleae.... and how can i run the application befor logon....i mean replace with windows logon.

    A S E L A

    C# help tutorial question

  • Replace windows loging with own loging application problem...
    S S K Y

    i have QR barcode decoder.the barcode string will be the computer user password. i need to replace my application with windows login form. how can i do that....any one just guide me please.....

    A S E L A

    C# help tutorial question

  • WIA Video Problem...??
    S S K Y

    hi...i couldn't download the zip file bcz got server error. do you have that zip file with you...(first article)

    A S E L A

    C# question help

  • WIA Video Problem...??
    S S K Y

    thanks for help...but in that way have to use a commen dialog box. isn't it? but i want to show my webcam preview in a panal or picturebox without using commen dialog box...is there a way to do that....?

    A S E L A

    C# question help

  • WIA Video Problem...??
    S S K Y

    please any one can tell me how can i show a preview of the webcam video in a panel or picturebox using WIA or WIAVideo Li or in any other way..... thanks....

    C# question help

  • Showing webcam preview in picturebox Problem....
    S S K Y

    video Preview?

    A S E L A

    C# graphics help question

  • Showing webcam preview in picturebox Problem....
    S S K Y

    yaa untill now every thing work fine. can take image and as you told me earlierday doing image processing and filtering and convert to gray scale and adjust brightness and contrast. after process can deocde barcode to. some times got few errors. but now only problem is i have to take few images untill i get the fine image. bcz its very dificult to show QR properly without a preview of webcam. my plane to user a another picturebox to show the preview of webcam. sorry i forgot to tell you. this is not web app...just a windows app...

    A S E L A

    C# graphics help question

  • Showing webcam preview in picturebox Problem....
    S S K Y

    as my code show previous i take a picture of a QR barcode using my webcam. so i need to show a preview of my webcam befor take the picture of barcode. bcz that will be easy to user to show the barcode properly to the webcam. so i can get perfect image to process. that is the purpose.

    A S E L A

    C# graphics help question

  • Showing webcam preview in picturebox Problem....
    S S K Y

    i need to show a preview of my webcam in a picture box when i connected to the webcam. im using WIA. how can i show preview of my webcam in a picturebox. here is my code to connect to webcam...

    private void btnDecode_Click_1(object sender, EventArgs e)
    {
    try
    {
    Cursor.Current = Cursors.WaitCursor;
    DeviceManager manager = new DeviceManagerClass();
    Device d = null;
    foreach (DeviceInfo info in manager.DeviceInfos)
    {
    d = info.Connect();
    }
    Item item = d.ExecuteCommand(CommandID.wiaCommandTakePicture);
    foreach (string format in item.Formats)
    {
    i++;
    WIA.ImageFile imagefile = item.Transfer(format) as WIA.ImageFile;

                    imagefile.SaveFile("d:\\\\" + i + ".jpg");
                    Bitmap image = new Bitmap("d:\\\\" + i + ".jpg");
                    Bitmap bm = new Bitmap(image, 200, 150);
                    Gray(bm);
    
    C# graphics help question

  • QR barcode decoder problem.
    S S K Y

    hi can just please tell me what kind of filters i should do for the omage.... noise filer and etc?

    A S E L A

    C# graphics help

  • QR barcode decoder problem.
    S S K Y

    ya but how they do the mobile barcode decoder...? i mean mobile phone application...how it works...?

    A S E L A

    C# graphics help

  • QR barcode decoder problem.
    S S K Y

    my decoder cannot detect picture of webcam. i change the brightness and contrast. some time can detect but some times cannot. i know thats picture problem. now i edit the image but its useless. can i change webcam setting or do any changes to my code..here is my code....

    private void btnDecode_Click_1(object sender, EventArgs e)
    {
    try
    {

                DeviceManager manager = new DeviceManagerClass();
                Device d = null;
                foreach (DeviceInfo info in manager.DeviceInfos)
                {
                    d = info.Connect();
                    
                }
    
                Item item = d.ExecuteCommand(CommandID.wiaCommandTakePicture);
    
                foreach (string format in item.Formats)
                {
    
                    WIA.ImageFile imagefile = item.Transfer(format) as WIA.ImageFile;
                   // if (File.Exists("d:\\\\test.jpg"))
                    {
                       // picDecode.Image = null;
                       // File.Delete("d:\\\\test.jpg");
                    }
                   imagefile.SaveFile("d:\\\\4.jpg");
                    Bitmap image = new Bitmap("d:\\\\4.jpg");
                    Bitmap bm = new Bitmap(image, 200, 150);
    
                    System.Drawing.Bitmap TempBitmap = bm;
                    float brightness = 0.6f;
                    float constrast = 6f;
                    System.Drawing.Bitmap NewBitmap = new System.Drawing.Bitmap(TempBitmap.Width, TempBitmap.Height);
                    System.Drawing.Graphics NewGraphics = System.Drawing.Graphics.FromImage(NewBitmap);
                    float\[\]\[\] FloatColorMatrix ={
                    new float\[\] {constrast, 0, 0, 0, 0},
                    new float\[\] {0, constrast, 0, 0, 0},
                    new float\[\] {0, 0, constrast, 0, 0},
                    new float\[\] {0, 0, 0, constrast, 0},
                    new float\[\] {brightness, brightness, brightness, 1, 1}
                };
    
                    System.Drawing.Imaging.ColorMatrix NewColorMatrix = new System.Drawing.Imaging.ColorMatrix(FloatColorMatrix);
                    System.Drawing.Imaging.ImageAttributes Attributes = new System.Drawing.Imaging.ImageAttributes();
                    Attributes.SetColorMatrix(NewColorMatrix);
                    NewGraphics.DrawImage(TempBitmap, new System.Drawing.Rectangle(0, 0, TempBitmap.Width, TempBitmap.Height), 0, 0, TempBitmap.Width, TempBitmap.Height, System.Drawing.
    
    C# graphics help

  • Image processing problem...
    S S K Y

    i could do it....but i got a big problem. as i told im doing a QR barcode reader by using webcam. my web cam pictures are too dark so i have to process image before i send it to decode. some times after process i code decode.but when the envirentmant change it couldn't decode. that mean when change brightness and contrast in enviranmetn i couldn't decode. is there any solution....may be auto brightness and contrast detect or some thing else....???

    A S E L A

    C# graphics question help

  • Image processing problem...
    S S K Y

    how can i change the contrast of the image at the same time changing brightness. my brightness can change. its working fine i want to change the contrast at the same time....can i use this method too ???

        Bitmap image = new Bitmap("d:\\\\14.jpg");
                    Bitmap bm = new Bitmap(image, 350, 300);
                    
                    System.Drawing.Bitmap TempBitmap = bm;
                    float FinalValue = 0.5f;
                    System.Drawing.Bitmap NewBitmap = new System.Drawing.Bitmap(TempBitmap.Width, TempBitmap.Height);
                    System.Drawing.Graphics NewGraphics = System.Drawing.Graphics.FromImage(NewBitmap);
                    float\[\]\[\] FloatColorMatrix ={
                    new float\[\] {1, 0, 0, 0, 0},
                    new float\[\] {0, 1, 0, 0, 0},
                    new float\[\] {0, 0, 1, 0, 0},
                    new float\[\] {0, 0, 0, 1, 0},
                    new float\[\] {FinalValue, FinalValue, FinalValue, 1, 1}
                };
    
                    System.Drawing.Imaging.ColorMatrix NewColorMatrix = new System.Drawing.Imaging.ColorMatrix(FloatColorMatrix);
                    System.Drawing.Imaging.ImageAttributes Attributes = new System.Drawing.Imaging.ImageAttributes();
                    Attributes.SetColorMatrix(NewColorMatrix);
                    NewGraphics.DrawImage(TempBitmap, new System.Drawing.Rectangle(0, 0, TempBitmap.Width, TempBitmap.Height), 0, 0, TempBitmap.Width, TempBitmap.Height, System.Drawing.GraphicsUnit.Pixel, Attributes);
                    Attributes.Dispose();
                    NewGraphics.Dispose();
                    
                   picDecode.Image = NewBitmap;
    

    A S E L A

    C# graphics question help

  • Webcam QR Barcode Decoder Problem
    S S K Y

    hi Christian Graus but i saw some sample applications can run n mobile phones. those application don't have that problem. how can i solve this problem??? any tips...???

    A S E L A

    C# help question
  • Login

  • Don't have an account? Register

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