No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
14 Posted Topics
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 in many ways. At first some disposable objects hadn’t been disposed that’s why exception was shown. But I … | |
how to develop a crop selection control like photoshop's in c# 4.0 in widows form application. I have a windows form application in c# 4.0 that can crop images. At first you have to draw a rectangle using mouse to select the cropped region [CODE]private Point _pt; private Point _pt2; … | |
I have developed an application that loaded many images in a listview using ImageList in c# .net framework 4. The images are also compressed. When many many images are loaded and compressed then it takes a long time. So I call the method in backgroundworker. In the backgroundworker I had … | |
there are three methods called in a backgroundworker_dowork() event in c# .net 4. I want to execute three methods synchronously. that is, 2nd method will execute after 1st method is fully executed and 3rd method will execute when 2nd method is fully executed. because 2nd method can exetue properly only … | |
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 panel whose sizemode property is AutoSize and BackgroundImageLayout is Tile. Load image: [CODE] Image … | |
You cannot vote on your own post 0 I have loaded many images in a listview using ImageList in c#. When many many images are loaded then it takes a long time. So I call the method in backgroundworker. In the backgroundworker I had to add images to ImageList and … | |
I have loaded some images in a listview using imagelist in c#. Now I want to copy any image and replace into another image in the same listview using drag and drop. How could I do this? sample code would be helpful. Thanks in advance. | |
The following code is used to connect C# with mysql server connectionParam = "SERVER=" + DbServer + ";DATABASE=" + dbName + ";UID=" + uName+ ";PASSWORD=" + pass; MySqlConnection mConnection = new MySqlConnection(connectionParam ); But what will be the code, if MySql can only be accessed through HTTP Tunneling. Tunneling URL: … | |
I want to develop a [B]web application[/B] 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 from the scanner. The scanner is Twain compatible. Can I get any sample codes for this web … | |
I want to 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 (ISpeechObjectToken Token in speech.GetVoices(string.Empty, string.Empty)) { string str = Token.GetDescription(49).ToString(); if (str.Equals("Microsoft Simplified Chinese")) { speech.Voice = speech.GetVoices(string.Empty, string.Empty).Item(3);//Item(cmbVoices.SelectedIndex); … | |
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 [CODE]String chineseChar = Textbox1.Text ;[/CODE] // TextBox font property: Arial Unicode MS or SimSun … | |
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#? | |
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 function inside the face detection system then no music heard. i can't find out where the problems are. Environment: Luxand FaceSDK … | |
[CODE] // CLASS: BackGroundMusicGP Collapse using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; using System.IO; namespace BackGroundMusicGP { class BkGrndMusic { private string _command; private bool isOpen; [DllImport("winmm.dll")] private static extern long mciSendString(string strCommand,StringBuilder strReturn,int iReturnLength, IntPtr hwndCallback); public void Close() { _command = "close MediaFile"; mciSendString(_command, null, … |
The End.