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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
R

raj231362

@raj231362
About
Posts
23
Topics
14
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • hide the text in specified position?
    R raj231362

    Hi, thanks for your reply.. actually i am using itextsharp. i am able draw text in specified position by using coordinate but i want to hide that text means the text is show in invisible mode. when we select the pdf text and copy to text or word he shows there..!! so if there is any example to how to do this would be great help for me. Thanks, Raj

    C# help tutorial question

  • hide the text in specified position?
    R raj231362

    hi..all, We are going to make PDF file from image tiff. Also we have co-ordinate information of the text. Now we want to hide the text in specified position. Is this dll has facility to hide the text in specified position? Please Help me.. any example would be appreciated.. Thanks, Raj

    C# help tutorial question

  • Call Dll
    R raj231362

    u have given two parameter in function, what will pass in these parameter, actually i haven,t details knowledege about Javascript.. so please clear it...

    ASP.NET csharp html tutorial question

  • how to read pdf file....
    R raj231362

    thx tom,

    C# com help tutorial

  • how to read pdf file....
    R raj231362

    hi..tom, thx for ur warm response... if there is any related topic or example?? which provide me some help...!! i am waiting ur response. thx raj

    C# com help tutorial

  • how to read pdf file....
    R raj231362

    hi Christian, sorry for that mistake... please help me if there is such mistaken by me...what is this..!! help me..!! thx raj

    C# com help tutorial

  • how to read pdf file....
    R raj231362

    hi..friend, I tried PDFBox. i am working on window apllication dot net framwork 3.5 and as per your information i added .dll file- # IKVM.GNU.Classpath.dll # PDFBox-0.7.3.dll # FontBox-0.1.0-dev.dll # IKVM.Runtime.dll in my application and also used this code to open pdf,here is my code... string Ppath = "C:\\Documents and Settings\\Administrator\\Desktop\\sample \\KT_19100101\\AC_01\\0001.pdf"; PDDocument doc = PDDocument.load(Ppath ); PDFTextStripper pdfStripper = new PDFTextStripper(); but i got error message like.. expected='startxref' actual='13' org.pdfbox.io.PushBackInputStream@158d014 string aaa = pdfStripper.getText(doc); so please send realted code to my mail id... bettiahamit@gmail.com i really appriciated you. i am waiting your response. thx, amit

    C# com help tutorial

  • Treeview document to save existing xml file...
    R raj231362

    hi all, i am working in treeview control.i am reading a xml file and expanding , draging node to one place to another place.its working and showing in treeview control. but i want to update my existing file when i am draging node.. help me..!! here is my code:- private void treeView1_DragDrop(object sender, DragEventArgs e) { TreeNode newNode; if (e.Data.GetDataPresent("System.Windows.Forms.TreeNode", false)) { Point pt; TreeNode destinationNode; pt = treeView1.PointToClient(new Point(e.X, e.Y)); destinationNode = treeView1.GetNodeAt(pt); newNode = (TreeNode)e.Data.GetData("System.Windows.Forms.TreeNode"); if (!destinationNode.Equals(newNode)) { //destinationNode.Nodes.Add(newNode.Clone()); destinationNode.Nodes.Add((TreeNode)newNode.Clone()); destinationNode.Expand(); //Remove original node newNode.Remove(); } } }

    C# xml help announcement

  • How save treeview xml document to xml document
    R raj231362

    hi...all, how can I save the information from the treeview control back to another file or it back to the source file? help me...........!! regards raj

    C# question xml help

  • How to Create MouseDoubleClick Event in C#
    R raj231362

    Hello everyone, i have button in application when user double click the button the string value show in richtextbox.but how??? here is my code:- private void MainXmlStart_MouseDoubleClick(object sender, MouseEventArgs e) { richTxt.Text = "\nn"; richTxt.Focus(); } Please give me idea...??? where is a mistake...!! Thanks, Amit

    C# csharp tutorial question

  • Ms access database
    R raj231362

    hello everyone, i am using ms-access database to store special character corresponding hexavalue.The special character is 1409 with hexavalue. when user open the html file the special charcter shuld be replaced with hexavalue. i am using this code to match with database.... string aaa = xx.ToString(); int stat = 0; OleDbConnection mycon = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Documents and Settings\\Administrator\\Desktop\\Splchar.mdb;Persist Security Info=False"); OleDbCommand cmd = new OleDbCommand("select * from splchar", mycon); try { mycon.Open(); OleDbDataReader reader = cmd.ExecuteReader(); while (reader.Read()) { string xx1 = reader.GetValue(1).ToString(); stat = richTxt.Find(reader.GetValue(1).ToString(), 0, RichTextBoxFinds.MatchCase); while (stat != -1) { richTxt.SelectedText = Reader.GetValue(2).ToString(); stat = richTxt.Find(reader.GetValue(1).ToString(), stat + 1, RichTextBoxFinds.MatchCase); } } reader.Close(); mycon.Close(); but its did't convert properly special character to hexavalue.. Please help me...!!

    C# html database security regex help

  • myRichTextBox doesn't respond to Undo/Redo functions
    R raj231362

    hello all, I'm using a richTextBox for Converting html file to xml file. How come that myRichTextBox doesn't respond to Undo/Redo functions by using default shortcut keys, or even programaticaly (by using Button_onClick event)? if(richtxt.CanUndo == true) { richtxt.Undo(); } After typing some text into richtxt, nothing happens when clicking the button, or using Ctrl+Z... any idea? please respond me??

    C# html xml question

  • replacing some content...
    R raj231362

    hello everyone, i have problem in replaceing some content to another one.. here is my code:- i want to replace this one to..

    should be plz help me???

    C# help question

  • Display data from ms access database.....
    R raj231362

    here is my code..... for delete:- private void button3_Click(object sender, EventArgs e) { conn.Open(); string command1 = "delete from employee where (emp_id = ? AND emp_code = ? AND emp_name = ? AND emp_address = ? AND emp_dob = ? AND emp_doj = ? AND emp_dor = ?)"; OleDbDataAdapter da = new OleDbDataAdapter(command1, conn); DataSet ds = new DataSet(); da.Fill(ds); DataTable dt = ds.Tables[0]; conn.Close(); } for edit:-- private void button2_Click(object sender, EventArgs e) { conn.Open(); string sqlcom = "select emp_id,emp_code,emp_name,emp_address,emp_dob,emp_doj,emp_dor from employee where (emp_code=?)"; OleDbDataAdapter da = new OleDbDataAdapter(sqlcom , conn); DataSet ds = new DataSet(); //ds.Clear(); da.Fill(ds); if (ds.Tables[0].Rows.Count > 0) { int a = Convert.ToInt32(ds.Tables[0].Rows[0]["emp_id"]); textemp_id.Text = a.ToString(); } else { MessageBox.Show("This E-Code does not exist"); } conn.Close(); } i am new in c#..this code is not working..if any change plz modify it. Thanks

    C# database help

  • Display data from ms access database.....
    R raj231362

    hello everyone, i have a prop in displaying data from access database. i didn't under stand where i done mistake. i want to edit save data from database.when user enter emp_code and click edit button, then he displa all specific records related to that emp_id. help me...!!

    C# database help

  • how to use formating in richtextbox..
    R raj231362

    hello, here i want to read every character while space. when new word come again then he read continue..if any character is bold and italic he show in richtextbox with sequence no... i am new in C# dot net.so plz provide me some specific code related to it.

    C# help tutorial question lounge

  • how to use formating in richtextbox..
    R raj231362

    thanks for ur warm response... when applied this its not working prperly... code is:- while (ppara <= xx.Length) { int postspace = xx.IndexOf("", 0); if (postspace != -1) { string word = xx.Substring(x, postspace); richText.Select(x, postspace); richTextBox1.SelectionFont.Bold; xx = xx.Insert(ppara, "

    "); } } help me for code.....

    C# help tutorial question lounge

  • how to use formating in richtextbox..
    R raj231362

    hello all, actually i am working on richtextbox control in window application. i have a problem in font class. because i want to show rtf file paragraph in para for

    <\p>, for bold paragrpah**<\b>, For ITalic Paragrph_,<\I>. so, how here i am use font class to generate such tag with every paragrph. my code is here,plz help me ...??? richTextBox1.LoadFile(filepath,RichTextBoxStreamType.RichText); string inputstring = richTextBox1.Text; StringBuilder sb =newStringBuilder(inputstring); //string xx = inputstring; //string yy = xx.Replace("", ""); sb.Insert(0, "<p>"); //string yy = xx.Replace("", ""); //sb.Replace("<p>", ""); //int num = 0; // sb.Replace("<p>" //Random rand = new Random(3); string rt = "" ; for (int i = 0; i < 10; i++) { rt = i.ToString(); } //sb.Insert(0, "<p local_id = P-" + rt + ">"); sb.Replace("\n", "</p>" + "\n" + "<p>"); //sb.Replace("<p local_id = P-" + rt + ">" +"</p>", ""); //sb.Append("</p>"); //sb.Replace("<p local_id = P-" + rt + ">" + "</p>", ""); sb.Replace("\n\n", "\n"); sb.Replace("\n\n", "\n"); sb.Replace("\n\n", "\n"); sb.Replace("\n\n", "\n"); sb.Replace("\n\n", "\n"); sb.Replace("\n\n", "\n"); int p=0; string xx = sb.ToString (); int ppara = 0; ppara = xx.IndexOf("<p>", 0); while (ppara!= -1) { p = p+1; string f1 = Convert.ToString(p); f1.ToString().PadLeft(3); xx = xx.Remove(ppara, 3); xx = xx.Insert(ppara, "<p local-id=\"p-" + p + "\">"); ppara = xx.IndexOf("<p>", ppara+3); } richTextBox1.Text = xx.ToString(); } //} catch (Exception ex) { MessageBox.Show(ex.Message); } }_**

    C# help tutorial question lounge

  • Formatting inside Rich Text Box
    R raj231362

    Formatting inside Rich Text Box Is there a way I can make certain sections of text formatted in a rich text box? Like parts of it are bold, underlined, different sizes or colors, all in the same Rich Text Box. I'm making a program that will use an HTML view and a Standard view, and I have no way to format the standard view. So, in the HTML view, it would show "This is bold. This is Italic.", but in the standard view it would show "This is bold. This is Italic." Help me??

    C# html help question

  • how to create sequence no in richtextbox control in window application
    R raj231362

    here i want to create sequence no. with every

    .. like...

    and show in richtextbox control.. here is my code:- richTextBox1.LoadFile(filepath,RichTextBoxStreamType.RichText); string inputstring = richTextBox1.Text; StringBuilder sb = new StringBuilder(inputstring); sb.Insert(0, "

    "); sb.Replace("\n", "

    " + "\n" + "

    "); sb.Replace("

    ", ""); sb.Append("

    "); sb.Replace("

    ", ""); sb.Replace("\n\n", "\n"); sb.Replace("\n\n", "\n"); sb.Replace("\n\n", "\n"); sb.Replace("\n\n", "\n"); sb.Replace("\n\n", "\n"); sb.Replace("\n\n", "\n"); richTextBox1.Text = sb.ToString();

    C# tutorial
  • Login

  • Don't have an account? Register

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