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

Search:

Type: Posts; User: sah_forum

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    4,921

    Out of memory exceptions in c# 4.0

    For some days I have been trying to optimize an image processing program (cropping, rotate, changing brightness and undo) written in c# 4.0. Getting suggestions from google I have optimized the code...
  2. How to crop an image that is zoomed(zoomed in/out)

    How to crop an image that is zoomed(zoomed in/out). Cropping works fine when the image is normal, that is not zoomed. I have used a panel whose AutoScroll property is true and a picturebox inside the...
  3. How to crop an image that is zoomed(zoomed in/out)

    How to crop an image that is zoomed(zoomed in/out). Cropping works fine when the image is normal, that is not zoomed. I have used a panel whose AutoScroll property is true and a picturebox inside the...
  4. Replies
    1
    Views
    1,127

    copy-paste listview item using drag-drop

    I have loaded some images in a listview using imagelist in c#. Now I want to copy any image and paste into another image within this listview using drag and drop. that is copy first image and paste...
  5. Replies
    1
    Views
    1,073

    Out of Memory exception

    I want to add images in a panel. Each image size is 5 to 6 MB. If I add more than 35 images then it shows error that "Out of Memory". This exceptions occur when Image.FromFile(string) is executed. If...
  6. Replies
    1
    Views
    8,999

    A generic error occurred in GDI+.

    I want to save an image to the same file it was created from.
    Platform: C#.Net.

    Bitmap varBmp = (Bitmap)Bitmap.FromFile(@"E:\a.jpg");
    //do something
    ...
  7. Replies
    1
    Views
    3,432

    how to get handle of a bitmap image in c#

    Bitmap varBmp = (Bitmap)Bitmap.FromFile(@"E:\a.jpg");
    //do something
    varBmp.Save(@"E:\a.jpg");

    How can I get the handle of varBmp image?
  8. Replies
    1
    Views
    4,768

    ASP.net application using Twain in c#

    I want to develop a web application using asp.net(C#) that can take an image from a scanner (Microtek: scanmaker 1000XL). when a "Scan" button is clicked then the application will capture the image...
  9. Replies
    1
    Views
    1,133

    Application development using WIA in c#

    I want to develop an application that can take an image from a scanner (Microtek). when a "Scan" button is clicked then the application will capture the image from the scanner. How can I start this...
  10. Replies
    1
    Views
    1,972

    Japanese text to speech conversion

    I wanna convert japanese text to speech using microsoft speech sdk 5.1. I have found there 5 kinds of voices including simplified chinese. Chinese text to speech works fine.

    foreach...
  11. Replies
    1
    Views
    691

    user input at the installation

    I want to create a setup file using installshield or VS2008 of a c# project that will take user information at the time of installation and save the information in the database. How can it be...
  12. Replies
    4
    Views
    3,927

    Re: input chinese character using text box

    It works.

    it took some time to echo chinese character in the text box. I pressed button before all characters echo in the text box and that's why it assigns empty string.

    Thanks all for...
  13. Replies
    0
    Views
    876

    Retrieve wav file from mysql

    i found the way to store wave file in mysql database as blob format.

    But how to retrieve the wave file from the database and store it as audio Stream in c#?
  14. Replies
    4
    Views
    3,927

    input chinese character using text box

    I have a c# form application with a text box and a button. I type Chinese character in the text box and press the button to assign the input to a string using the following code
    String chineseChar =...
  15. how to connect remotely C# and Mysql ( HTTP tunneling ) using MySql Connector

    The following code is used to connect C# with mysql server

    connectionParam = "SERVER=" + DbServer + ";DATABASE=" + dbName + ";UID=" + uName+ ";PASSWORD=" + pass;

    MySqlConnection mConnection =...
  16. how to connect remotely C# and Mysql ( HTTP tunneling ) using MySql Connector

    The following code is used to connect C# with mysql server
    connectionParam = "SERVER=" + DbServer + ";DATABASE=" + dbName + ";UID=" + uName+ ";PASSWORD=" + pass;

    MySqlConnection mConnection = new...
  17. face detection & background music simultaneously

    I wanna play background music and face detection simultaneously. But i couldn't play the music, though the playMusic() function works fine individually(in a separate project). When i call the...
  18. Replies
    3
    Views
    903

    Re: Thread doesn't work

    Yes.There is no error. But no music heard. any statements after t.start() executes properly.
  19. Replies
    3
    Views
    903

    Thread doesn't work

    // CLASS: BackGroundMusicGP
    Collapse

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Runtime.InteropServices;
    using System.IO;
  20. Replies
    5
    Views
    8,900

    Re: Turn off screen saver programmatically

    Thanks.

    I need c# code. i found some other examples such as

    http://www.codeproject.com/KB/cs/ScreenSaverControl.aspx

    But i think it is not so easy as the following method

    public static...
  21. Replies
    5
    Views
    8,900

    Turn off screen saver programmatically

    To turn on screen saver programmatically, i found the following code(C# .NET framework 3.5) by googling

    [DllImport("User32.dll")]
    public static extern int SendMessage
    (IntPtr hWnd,
    uint...
  22. Replies
    6
    Views
    6,991

    Re: how to open cash drawer of POS printer

    i don't know the cash drawer model since it is not in my hand. i will inform you later.
  23. Replies
    6
    Views
    6,991

    Re: how to open cash drawer of POS printer

    cash drawer is attached to the POS printer.
Results 1 to 23 of 23





Click Here to Expand Forum to Full Width

Featured