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
R

rose196

@rose196
About
Posts
47
Topics
32
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • multiple checkbox
    R rose196

    Hi all Using zend framework how to create multiple checkbox? Can any one tell me Thanks in advance, rose

    Linux, Apache, MySQL, PHP php tutorial question

  • how to pass onclick parameter in zend framework
    R rose196

    Hi All I don't know how to pass parameter for checkbox onclick event using zend framework . can any one help me. Thanks

    Linux, Apache, MySQL, PHP php help tutorial

  • zend framework
    R rose196

    Hi, Can u give me the sample project on zend framework Thank u

    Linux, Apache, MySQL, PHP php

  • How to connect mysql
    R rose196

    Hai, I don't know how to connect mysql database into my c# project can you tell me. Is it possible with the help of show data sources. can you give me the steps.I tried with show data sources, i don't know which data source,DSN name i have to select. can you give the steps. Thanks in advance.

    C# csharp database mysql help tutorial

  • div
    R rose196

    Hai I am using div.Inside the div i wrote some content. for that i set width auto, browser take it with as 100%.why it is taking like that. i want the width is equal to my content. example

    Hai

    in css div { width:auto; } If i gave like this it should measure only the word know.but it measure the whole line. Can give the solution . why it is happen like this. Thanks in advance

    Web Development css tutorial

  • tinymce editor
    R rose196

    Hai how to add merge fields with tinymce editor With Regards Rose

    Web Development tutorial

  • related search
    R rose196

    Hai led mike Thanks for your reply. Yes, I mean that only. Already I saw the link but I couldn't understand.Can you give the exact link related to 'joomla' Or can you tell me the use of 'joomla'. Thanks and Regards, Rose

    XML / XSL

  • related search
    R rose196

    Hai, I just want to know "joomla" can you give me the related search. With regards, rose

    XML / XSL

  • function
    R rose196

    Hi, I am started traying to create a project in html. I just want to know how to call a function. ex: here how to call bird .

    Web Development html tutorial

  • database
    R rose196

    hi, thanks for reply. I am using MSAccess. can you give me some example links, i couldn,t understand. Thanks again,

    Managed C++/CLI csharp database tutorial

  • database
    R rose196

    hi, can u tell me how to connect database to .net windows form application Thank you,

    Managed C++/CLI csharp database tutorial

  • I couldn,t able to select
    R rose196

    Hai I am using richtextbox. I want to select some specific word, for that i used richtextbox select command. But i couldn,t select the word can you tell me what i was written is correct or wrong. String ^ searchString = this->functionBox->Text; String^ srcText = this->srcTextBox->Text; bool function = srcText->Contains(searchString); if(function) { int lengthofsearchString = searchString->Length; int index = srcTextBox->Find(searchString, 0, RichTextBoxFinds::MatchCase); if(index >= 0) { index = srcTextBox->Find(searchString, index + lengthofsearchString, RichTextBoxFinds::MatchCase); if(index>=0) { srcTextBox->Select(index,lengthofsearchString); //srcTextBox->SelectionColor = Color::Red; } } } can you tell me Thanks.

    Managed C++/CLI database

  • textchange event
    R rose196

    Hai I am using textchange eventhandler in richtextbox. I just want to know currently what key is pressed by the user. for knowing that is any property is available. can you tell me. Thanks

    Managed C++/CLI

  • richtextbox
    R rose196

    hai I just want to read the richtextbox content word by word. Is any property is available in richtextbox. I am using windows form application vc++. Thanks

    Managed C++/CLI c++

  • syntaxhighlighting
    R rose196

    Hai I just want to highlight the keywords while typing itself, For that i am using rtf format,can you tell me, Is any other way is there to highlight the key word. In richtextformat what is mean by cf1,cf2,cf0 ? Is it is a color reprasentation. I saw the msdn i choudn't understand. Thanks.

    Managed C++/CLI question

  • keyeventargs
    R rose196

    Hai Thanks, The problem is solved.

    Managed C++/CLI tutorial help

  • keyeventargs
    R rose196

    Hai Thanks for reply I want to know want key is pressed by user. I think KeyData will provide that user pressed keydata but it returns key. I dont know how to store the return value as string. So i used this keyvalue . i wrote like this int ^ keyvalue = e->KeyValue; String ^data = keyvalue->ToString(); Can you tell me how to store the keydata as string. I am using .net framework 2.0 version(windows form application); thanks,

    Managed C++/CLI tutorial help

  • keyeventargs
    R rose196

    Hai I am using the keydown event, for performing some operation. I just want to store this return value as string, i don't know how to do this. Can you help me. for example If the user press the key 'a', I want to store 'a' as string Thanks

    Managed C++/CLI tutorial help

  • keyword color change
    R rose196

    Hai, I just want to change the color of certain keyword, while typing itself, for that i am using the rtf format. For this which event handler shall i use. if i use textchange event it shows the error as follows. An unhandled exception of type 'System.StackOverflowException' occurred in System.Windows.Forms.dll My code is as follows. private: System::Void lettertyped(System::Object^ sender, System::EventArgs^ e) { array<String^>^ keyword = gcnew array<String^>{"#include","#define","struct","int","char","void","float","double","longint","long","if","else","true","false","return"}; int length = keyword->Length; String ^ strRTF = this->richTextBox1->Rtf; int iCTableStart = strRTF->IndexOf("colortbl;"); if (iCTableStart != -1) { int iCTableEnd = strRTF->IndexOf('}', iCTableStart); strRTF = strRTF->Remove(iCTableStart, iCTableEnd - iCTableStart); strRTF = strRTF->Insert(iCTableStart, "colortbl ;\\red255\\green0\\blue0;\\red0\\green128\\blue0;\\red0\\green0\\blue255;}"); } else { int iRTFLoc = strRTF->IndexOf("\\rtf"); int iInsertLoc = strRTF->IndexOf('{', iRTFLoc); if (iInsertLoc == -1) iInsertLoc = strRTF->IndexOf('}', iRTFLoc) - 1; strRTF = strRTF->Insert(iInsertLoc, "{\\colortbl ;\\red128\\green0\\blue0;\\red0\\green128\\blue0;\\red0\\green0\\blue255;}"); } int len = strRTF->Length; String^ tempst; String^ result; String ^key; //String ^strReplace; String ^slash = "/*"; String ^endslash = "*/"; String ^commentlinestr = "//"; char startquots = '"'; char endquots = '"'; int keylen; int iRTFLoc; int intslash; int stquotes; //int endquotes; int commentline; bool found = false; bool spacefound = false; bool starcomment = true; bool slashcomment = false; bool endquot = false; int nlen = strRTF->Length; for(int nchRTF = 0;nchRTF < nlen;nchRTF++) { if(strRTF[nchRTF] == ' ' || strRTF[nchRTF] == '\n' || strRTF[nchRTF] == '"' || strRTF[nchRTF] == ';' || strRTF[nchRTF] == '(' || strRTF[nchRTF] == ',' /*|| strRTF[nchRTF] == '*' */) { //Keyword for(int nkeyword = 0;nkeyword<length;nkeyword++) { key = keyword[nkeyword]; keylen = key->Length; iRTFLoc = tempst->IndexOf(keyword[nkeyword]); if(/*iRTFLoc >= 0*/ tempst->Contains(key)) { found = true; break; } } if(found) { if(starcomment) { int location = 4+iRTFLoc+keylen+1; tempst = tempst->Insert( iRTFLoc,"\\cf3 "); tempst = tempst->Insert( location,"\\cf0 "); } found = false; } tempst = String::Concat(tempst,

    Managed C++/CLI data-structures help

  • caret
    R rose196

    Hai Thank you very much your answers are very helpful to me. Thanks again, Mani,

    Managed C++/CLI tutorial csharp
  • Login

  • Don't have an account? Register

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