Click here to Skip to main content
14,265,813 members

Comments by Member 10393648 (Top 21 by date)

Member 10393648 4-Jan-15 3:49am View
   
date_of_birth, reg_date have date and mobile and telephone is number value and all other values are text type values
Member 10393648 30-Aug-14 11:42am View
   
in which file i have to put this code?
Member 10393648 30-Aug-14 11:39am View
   
thnks
Member 10393648 30-Aug-14 11:08am View
   
sorry i want to say that if i want to develeop an app in urdu how could i do this????????
Member 10393648 30-Jun-14 14:00pm View
   
please help me ......
give me any solution t resolve this problem ............
Member 10393648 30-Jun-14 13:36pm View
   
please help me :-(
Member 10393648 30-Jun-14 11:15am View
   
here is my complete code
Member 10393648 30-Jun-14 11:00am View
   
Deleted
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using iTextSharp.text;
using iTextSharp.text.pdf;
using iTextSharp.text.pdf.parser;
using System.Threading;
using System.Speech;
using System.Speech.Synthesis;
using System.Speech.Recognition;
using Emgu.CV;
using Emgu.Util;
using Emgu.CV.Structure;
using WebSupergoo.ABCocr3 ;


namespace Eye_Blind
{
public partial class image_reader : Form
{
/* Tesseract ocrz = new Tesseract("tessdata", "eng", Tesseract.OcrEngineMode.OEM_TESSERACT_ONLY);
Bitmap pic = new Bitmap(270, 100);
( Graphics gfx = Graphics.FromImage(pic);*/


public image_reader()
{
InitializeComponent();
Prepare_OCREngine(Application .StartupPath+"/Text.jpg");
}
public void Prepare_OCREngine(string path)
{

im = (Bitmap)Bitmap.FromFile(path);
// pictureBox_image_reader.Image = Resize_IMG(path);
// Bitmap pictureBox_image_reader = new Bitmap(300, 300);
// Graphics gfx = Graphics.FromImage(pictureBox_image_reader);
ocr= new Ocr();
// ocr.SetBitmap(im);
ocr.SetBitmap(im);

}

private System.Drawing.Image Resize_IMG(string path)
{
throw new NotImplementedException();
Bitmap pic = new Bitmap(270, 100);
Graphics gfx = Graphics.FromImage(pic);
}
Bitmap im;
Ocr ocr;
string path;
string txt;
SpeechSynthesizer reader = new SpeechSynthesizer();
SpeechRecognitionEngine srecognize = new SpeechRecognitionEngine();

private void image_reader_Load(object sender, EventArgs e)
{


}
private void button_main_menu_image_reader_Click(object sender, EventArgs e)
{
if (reader != null)
{
reader.Dispose();
}
main f = new main();
f.Show();
this.Hide();
}

private void button_exit_image_reader_Click(object sender, EventArgs e)
{
if (reader != null)
{
reader.Dispose();
}
Application.Exit();
}

private void button_select_a_file_image_reader_Click(object sender, EventArgs e)
{
richTextBox_image_reader.Text ="";
if (reader != null)
{
reader.Dispose();
}

/* OpenFileDialog dlg = new OpenFileDialog();
dlg.Title = "Open Image File";
// dlg.Filter = "BMP|*.bmp|GIF|*.gif|JPG|*.jpg;*.jpeg|PNG|*.png|TIFF|*.tif;*.tiff|"
// + "All Graphics Types|*.bmp;*.jpg;*.jpeg;*.png;*.tif;*.tiff";
dlg.Filter = "All Graphics Types|*.bmp;*.jpg;*.jpeg;*.png;*.tif;*.tiff";
if (dlg.ShowDialog() == DialogResult.OK)
{
string wait = "!please wait your file is loading";
reader.Dispose();
reader = new SpeechSynthesizer();
reader.SpeakAsync(wait);
this.pictureBox_image_reader.Image = new Bitmap(dlg.OpenFile());
var image = new Image<bgr, byte="">(new Bitmap(pictureBox_image_reader.Image));
ocrz .Recognize (image);
richTextBox_image_reader .Text =ocrz .GetText();
}*/
try
{
openFileDialog_img.InitialDirectory = Convert.ToString(Application.StartupPath);
if (openFileDialog_img.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
string wait = "!please wait your file is loading";
reader.Dispose();
reader = new SpeechSynthesizer();
Member 10393648 30-Jun-14 11:00am View
   
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using iTextSharp.text;
using iTextSharp.text.pdf;
using iTextSharp.text.pdf.parser;
using System.Threading;
using System.Speech;
using System.Speech.Synthesis;
using System.Speech.Recognition;
using Emgu.CV;
using Emgu.Util;
using Emgu.CV.Structure;
using WebSupergoo.ABCocr3 ;


namespace Eye_Blind
{
public partial class image_reader : Form
{
/* Tesseract ocrz = new Tesseract("tessdata", "eng", Tesseract.OcrEngineMode.OEM_TESSERACT_ONLY);
Bitmap pic = new Bitmap(270, 100);
( Graphics gfx = Graphics.FromImage(pic);*/


public image_reader()
{
InitializeComponent();
Prepare_OCREngine(Application .StartupPath+"/Text.jpg");
}
public void Prepare_OCREngine(string path)
{

im = (Bitmap)Bitmap.FromFile(path);
// pictureBox_image_reader.Image = Resize_IMG(path);
// Bitmap pictureBox_image_reader = new Bitmap(300, 300);
// Graphics gfx = Graphics.FromImage(pictureBox_image_reader);
ocr= new Ocr();
// ocr.SetBitmap(im);
ocr.SetBitmap(im);

}

private System.Drawing.Image Resize_IMG(string path)
{
throw new NotImplementedException();
Bitmap pic = new Bitmap(270, 100);
Graphics gfx = Graphics.FromImage(pic);
}
Bitmap im;
Ocr ocr;
string path;
string txt;
SpeechSynthesizer reader = new SpeechSynthesizer();
SpeechRecognitionEngine srecognize = new SpeechRecognitionEngine();

private void image_reader_Load(object sender, EventArgs e)
{


}
private void button_main_menu_image_reader_Click(object sender, EventArgs e)
{
if (reader != null)
{
reader.Dispose();
}
main f = new main();
f.Show();
this.Hide();
}

private void button_exit_image_reader_Click(object sender, EventArgs e)
{
if (reader != null)
{
reader.Dispose();
}
Application.Exit();
}

private void button_select_a_file_image_reader_Click(object sender, EventArgs e)
{
richTextBox_image_reader.Text ="";
if (reader != null)
{
reader.Dispose();
}

/* OpenFileDialog dlg = new OpenFileDialog();
dlg.Title = "Open Image File";
// dlg.Filter = "BMP|*.bmp|GIF|*.gif|JPG|*.jpg;*.jpeg|PNG|*.png|TIFF|*.tif;*.tiff|"
// + "All Graphics Types|*.bmp;*.jpg;*.jpeg;*.png;*.tif;*.tiff";
dlg.Filter = "All Graphics Types|*.bmp;*.jpg;*.jpeg;*.png;*.tif;*.tiff";
if (dlg.ShowDialog() == DialogResult.OK)
{
string wait = "!please wait your file is loading";
reader.Dispose();
reader = new SpeechSynthesizer();
reader.SpeakAsync(wait);
this.pictureBox_image_reader.Image = new Bitmap(dlg.OpenFile());
var image = new Image<bgr, byte="">(new Bitmap(pictureBox_image_reader.Image));
ocrz .Recognize (image);
richTextBox_image_reader .Text =ocrz .GetText();
}*/
try
{
openFileDialog_img.InitialDirectory = Convert.ToString(Application.StartupPath);
if (openFileDialog_img.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
string wait = "!please wait your file is loading";
reader.Dispose();
reader = new SpeechSynthesizer();
Member 10393648 30-Jun-14 5:27am View
   
im = (Bitmap)Bitmap.FromFile(path);
yes im variable equal this
Member 10393648 14-Jun-14 0:55am View
   
yes i want to create the columns first, in a particular order and load them with data from the corresponding column from excel file
Member 10393648 11-Jun-14 9:16am View
   
i get error when i access string connection class in other forms
Error 2 The best overloaded method match for 'System.Data.SqlClient.SqlDataAdapter.SqlDataAdapter(string, string)' has some invalid argument
Member 10393648 11-Jun-14 8:28am View
   
how to get user name and pass of sql server ?
Member 10393648 11-Jun-14 8:26am View
   
thnks Nirav Prabtani i'll try it :)
Member 10393648 15-May-14 6:19am View
   
through open file dialog i want to select a file a pdf file take time to laod in pdf viewer so i want use progress bar until all file load
Member 10393648 15-May-14 5:41am View
   
i want to show progress bar when file load into form
Member 10393648 13-Dec-13 5:28am View
   
it show empty fields..............
Member 10393648 13-Dec-13 5:17am View
   
it work for some field but for large data it does't show records plz help me......!
Member 10393648 12-Dec-13 13:16pm View
   
it provide itneger type value ....
Member 10393648 12-Dec-13 12:49pm View
   
Cannot implicitly convert type 'int' to 'string'
it give error ....! :(
Member 10393648 12-Dec-13 12:43pm View
   
Error 2 Cannot implicitly convert type 'int' to 'string'
it give error ....! :(