15,993,913 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by rukhs (Top 24 by date)
rukhs
13-Jun-15 14:35pm
View
thnks.. its working..
can u tell me one thing please... is thr any way of backtracking..i mean if i know attribute value (eg.in my example attribute class =" ایر") i want to get its correponding element name (i.e element= "year").
what i am doing is :
class_type="ایر";
string attrval1 = doc.SelectSingleNode("/car_ads/car_make/year/@class").Value;
if (attrval1 == class_type)
{
element= "year";
}
i am assigning this year value to element. which is static.. so if i change class_type value to "قیمت".. it wil still give me year.. but the output should be price
rukhs
12-Jun-15 1:14am
View
this is used when we already know the element name. but what i want is i knw element attribute and attribute value.. i want to get attribute name using attribute value.
rukhs
11-Jun-15 7:25am
View
its urgent because i have to finish a project.. n yes i have searched evrything.. Xpath, linq .. everything .. n if we google it i will get plenty of solution but wen i m nt gettng my solution thts y m here.
rukhs
31-May-15 8:37am
View
yes this is a windows form application ... and there is no main form. i have created each form from project solution explorer window...right click on project_name and than add new window form.
rukhs
31-May-15 8:30am
View
But i am not creating form using any code..its already there in my project.
i am using the code below to run one form from another .. but i dnt knw how to transfer the data..
private void button1_Click(object sender, EventArgs e)
{
query_eval.ActiveForm.Close();
System.Threading.Thread t = new System.Threading.Thread(new System.Threading.ThreadStart(ThreadProc));
t.Start();
}
public static void ThreadProc()
{
Application.Run(new analyse_query());
}
i want to transfer textbox value in form query_eval.cs form to text box in analyse_query form..
plz tell me the code if u can .. coz i m confused..i am new to c#.
Thnx
rukhs
31-May-15 6:48am
View
i m not getting the concept of child form and parent form. i have created these forms by adding new form in solution explorer window.
rukhs
22-Jan-15 12:36pm
View
.php
rukhs
22-Jan-15 11:45am
View
actuly thr was a mistak... i have done tht. plz chk my code again..
rukhs
22-Jan-15 11:37am
View
This is just a one line code. m learning Php.
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<?php
echo "this is my first program";
?>
</body>
</html>
rukhs
19-Jan-15 12:07pm
View
w pos ="(JJ|CC).*"
rukhs
19-Jan-15 12:06pm
View
there is an error in this part <w pos="(JJ|CC).*"> : identifier expected
rukhs
19-Jan-15 9:31am
View
i am doing the same. actually i am trying to run a software called tagger using MS-DOS . this tagger tags the content of a text file which is in urdu language.some instructions are given for running this software using DOS. these are:
There are eight programs supplied in the “Software” directory. The only one is urduwrap, which makes a direct call to the Unitag system. This makes the process of tagging a file very easy for the user, as urduwrap sets all the options for you
To use Urduwrap to call the tagging system, put all the programs and text files in the “software” directory into the same directory as the files you wish to tag.
Then, from an MS-DOS command prompt, give the following command:
urduwrap list.txt
where list.txt (or whatever other filename you choose to use) is an ASCII text file containing a list of all the files to be tagged, one filename per line, and nothing else.All files to be tagged must be two-byte Unicode text.
i have created a directory called Check.its contains all the programs and two text files. one is aaa.txt (which contains the file name test.txt)and other is test.txt (which contains actual urdu text). when i am running this command from command prompt
C:\check>urduwrap aaa.txt
its giving me error: FILE <null> could not be opened. check file exist.
rukhs
18-Jan-15 6:26am
View
i am sorry... actually m new to ths.. infct i was tryng to give 5 votes but tht jst hapnd..dnt knw how to change tht. :( plz do let me knw... n sry again. its just coz of u m able to execute my code. dat was not intensional ..
rukhs
17-Jan-15 8:05am
View
Thank you so much.. its working now. :)
rukhs
17-Jan-15 7:49am
View
yup..it runs manually
rukhs
17-Jan-15 7:47am
View
when i am writing this
myProcess.StartInfo.WorkingDirectory = Path.GetDirectoryName(myProcess.StartInfo.FileName);
its giving an error:
The name Path does not exist in the current context.
rukhs
17-Jan-15 7:11am
View
yes when i am executing it manually it is giving me desired output.
rukhs
17-Jan-15 5:05am
View
actually its not giving any result in RESULT.txt file. All i am getting a blank text file
rukhs
17-Jan-15 4:06am
View
when i am using this
var nouns = matches.Cast<match>().Where(m => m.Groups[3] == "NN");
i am getting error
Error 1:Operator '==' cannot be applied to operands of type 'System.Text.RegularExpressions.Group' and 'string'
rukhs
16-Jan-15 14:25pm
View
yeah you r right. we can use other tags using that. will you please tell me how to filter them using linq.
rukhs
16-Jan-15 13:55pm
View
GOT it
Regex.Matches(input, @"(([^<>]+)<([N^N>]+)>)"); will give me all words with tag NN.
Thank you
rukhs
16-Jan-15 13:44pm
View
if m writing ths:
var matches = Regex.Matches(input, @"(([^<>]+)<([^NN>]+)>)");
it gives me all those words for which there z no NN in the tag like پر<P> سے<se> ہلاک<adj> etc
rukhs
16-Jan-15 13:36pm
View
for m.Groups[0].value and m.Groups[1].value i am getting گڑھی<PN>
for m.Groups[2].value i m getting گڑھی
and for m.Groups[3].value result is PN.
thts ok..its giving me whole string .. but i just want to display those words with tag NN eg. ڈور and بارے
rukhs
11-Jan-15 15:27pm
View
Thank you
you have taken a var pos n then passing ths as an argument to matches(pos). what if i want to search a whole text file.
Show More