15,891,184 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 Python 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 sumitk.cadc (Top 17 by date)
sumitk.cadc
25-Mar-19 23:48pm
View
yes i am using the same but its working fine with winForm application but for java application its only able to find hWnd for parent window not for its child controls.
i need to access values of textboxes
sumitk.cadc
3-Dec-17 7:53am
View
hi,
thanks for posting the link,
but this is for WinForm Datagrid. it wont work for WPF datagrid
Thanks
sumitk.cadc
3-Dec-17 7:49am
View
hi all ,
i want to achieve same thing in WPF datagrid please tell me how to to do this in WPF?
TIA
sumitk.cadc
3-Dec-17 7:40am
View
hi Dave,
Thanks for your comment.
my requirement is i want to check the install location of any product.
so can you help me out how i can achieve this.
or in HKEY_LOCAL_MACHINE\SOFTWARE or HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node
i want to search the name of "Product Folder" and if it is there then i want to read all the values.
For example i want to check McAfee product's folder location in Registry node
sumitk.cadc
28-Nov-17 0:15am
View
Hi Richard,
can you please tell me how to pass query in above method for time span. i am writing like below but it is saying invalid query.
if (EventLog.Exists(LogName))
{
EventLogSession logsession = new EventLogSession();
logsession.ExportLogAndMessages(LogName, PathType.LogName, "*[TimeCreated[@SystemTime>='2017-11-28T02:49:35.000Z' and @SystemTime<='2017-11-28T03:50:51.999Z']]", subfolderpath, false, CultureInfo.CurrentCulture);
}
sumitk.cadc
21-Nov-17 6:35am
View
i am fetching Type,TimeWritten,SourceName,Category,EventCode,User,ComputerName,Message and Data properties of windows event logs using Win32_NTLogEvent class.
i was taking all values in the datatable and was writing into .txt file.
but now i want to save values in .evtx file.
i searched on google and found
public void ExportLogAndMessages(
string path,
PathType pathType,
string query,
string targetFilePath
)
method but it will export all event of particular event type ("Applicaton","Security") but i want to write .evtx for each event of type Application.
Thanks
sumitk.cadc
20-Nov-17 13:29pm
View
hello sir,
i am cross checking the values with task manager's performance tab data.
actually i want to fetch all data of performance and networking data.i am using performance counters for it.
sumitk.cadc
20-Nov-17 13:29pm
View
hello sir,
i am cross checking the values with task manager's performance tab data.
actually i want to fetch all data of performance and networking data.i am using performance counters for it.
sumitk.cadc
20-Nov-17 13:19pm
View
sir,
plz read my post till end, i wrote that i used two approaches both are not returning path for all products.i am getting results for few product only.
thanks instead of providing google link if u can give me better link or solution than it will be great help for me.
thanks
sumitk.cadc
20-Nov-17 3:41am
View
sir ,
i want to check this using c# code.
Thanks
sumitk.cadc
20-Nov-17 3:40am
View
all this link are not helpful.
sumitk.cadc
12-Nov-17 22:55pm
View
i created job for fetching info
sumitk.cadc
4-Oct-17 4:42am
View
yeah except EventID(i am getting ID) remaining properties are valid null item sometimes.so is there any other way to get values from another properties which is same kind in .evtx
sumitk.cadc
26-Sep-17 9:23am
View
hi Jochen,
I need to convert .evt file in other formats like .csv or .txt.
sumitk.cadc
2-Dec-16 22:24pm
View
i want to show one student detail in the listview which id was selected by combobox item.
drive.google.com/open?id=0B4fArMytRDVPREF3bDZBT0tudEk
i have upload my code plz have a look on it.plz look on right side combobox and below listview.
and is it possible to bind command to listview or combobox selected item?
i want if i select any row in listview then it should automatically reflect in text box.
i did it using binding command on button for update.after clicking it is reflecting in my textbox.
Thanks
sumitk.cadc
2-Dec-16 2:32am
View
private student cmbSelcted;
public student CmbSelected
{
get { return cmbSelcted; }
set { cmbSelcted = value; OnPropertyChanged("CmbSelected"); }
}
public ObservableCollection<student> MyStudent
{
get { return myStudent; }
set { myStudent = value; OnPropertyChanged("MyStudent"); }
}
sumitk.cadc
2-Dec-16 2:30am
View
<listview name="myStudent" itemssource="{Binding ElementName=cmbID,Path=SelectedItem,UpdateSourceTrigger=PropertyChanged}" horizontalalignment="Left" width="420" height="150">
<listview.view>
<!--<gridview x:name="grdStudentDetails">
<gridviewcolumn header="ID" displaymemberbinding="{Binding ElementName=cmbID,Path=SelectedItem.ID}" width="30">
<gridviewcolumn header="Name" displaymemberbinding="{Binding ElementName=cmbID,Path =SelectedItem.Name}" width="100">
<gridviewcolumn header="RollNum" displaymemberbinding="{Binding ElementName=cmbID,Path=SelectedItem.RollNum}" width="100">
<gridviewcolumn header="Subject" displaymemberbinding="{Binding ElementName=cmbID,Path=SelectedItem.Sub}" width="100">
<gridviewcolumn header="PhNumber" displaymemberbinding="{Binding ElementName=cmbID,Path=SelectedItem.PhNum}" width="100">
-->
<gridview x:name="grdStudentDetails">
<gridviewcolumn header="ID" displaymemberbinding="{Binding Id}" width="30">
<gridviewcolumn header="Name" displaymemberbinding="{Binding Name}" width="100">
<gridviewcolumn header="RollNum" displaymemberbinding="{Binding RollNum}" width="100">
<gridviewcolumn header="Subject" displaymemberbinding="{Binding Sub}" width="100">
<gridviewcolumn header="PhNumber" displaymemberbinding="{Binding PhNum}" width="100">
i did accordingly but still there is no solutions,i am also sharing my viewmodel.cs class plz have look on it
Show More