15,914,642 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 Black_Rose (Top 124 by date)
Black_Rose
22-Aug-16 6:55am
View
I gave what i tried. $member is my input string. i tried replace but not able to get
Black_Rose
17-Aug-16 12:02pm
View
it's not affecting anything to the xml string.
Black_Rose
26-May-16 22:53pm
View
Sir, I am not able to figure it out how the given link is relating my issue. can you please explain this.
Black_Rose
26-May-16 7:52am
View
Problem is it's not changing anything.It's executing without any error.
Black_Rose
2-May-16 1:35am
View
i am getting like
a = abc
and
b = abc
def
Black_Rose
25-Apr-16 6:16am
View
Thanks. :)
Black_Rose
25-Apr-16 5:56am
View
I got this below sample. but here they are not using the sp_who2 command
https://gallery.technet.microsoft.com/scriptcenter/How-to-kill-SQL-Server-a33476b7
Can you please suggest me on this.
Black_Rose
25-Apr-16 5:53am
View
i got the point of spid > 50. didn't got the earlier one. can you please give me a small example.
Black_Rose
25-Apr-16 5:37am
View
1st one i identified. i need help in the 2nd one.
Black_Rose
7-Mar-16 6:19am
View
I did ErrorAction as SilentlyContinue but still it is prompting for that Yes/No option like how it ask when we run something as admin.
Black_Rose
7-Mar-16 6:07am
View
It's working but the problem is it is prompting for the Yes/No option dialog. how to disable that.
Black_Rose
7-Mar-16 5:42am
View
The 2nd one is not working. executing fine but no result. and i can't opt for the first one bcoz i have a single file in which i have different function all which doesn't need admin credentials.
Black_Rose
7-Mar-16 5:08am
View
i am not getting. i am using PSVersion 4.0. Verb option is not coming.
Black_Rose
7-Mar-16 4:52am
View
I Checked this. this is opening a powershell command prompt as admin. but here i am trying to in a script and only for a single command.
Black_Rose
19-Feb-16 7:08am
View
See u gave that already i did. what i wanted you havn't got and which your provided support dosn't cover. i want to copy the cell's between two text. now the rows in between them can be added/removed later. In the sample it's mentioned 4 rows,but it can be 3 or 10 later
I asked how to do this.
Black_Rose
19-Feb-16 6:04am
View
i use to come to CP only after search in google. if u don't want to help that's fine.
Black_Rose
2-Feb-16 6:50am
View
Code is big. i can't post that. but only thing i need the idea how can i do this in powershell foreach loop
Black_Rose
2-Feb-16 6:50am
View
Code is big. i can't post that. but only thing i need the idea how can i do this in powershell foreach loop
Black_Rose
2-Feb-16 6:25am
View
Thanks
Black_Rose
2-Feb-16 5:33am
View
Private Declare Function Shell_NotifyIcon Lib "shell32.dll" Alias "Shell_NotifyIconA" (ByVal dwMessage As Long, lpData As NOTIFYICONDATA) As Long
Black_Rose
2-Feb-16 4:44am
View
I did that. now i am getting expected '(' at line 1 char 27
Black_Rose
18-Dec-15 2:43am
View
Phil i am splitting it in next step. but how to remove the duplicate one's
Black_Rose
3-Dec-15 3:15am
View
Didn't got...
Black_Rose
5-Nov-15 6:05am
View
Oracle servers
Black_Rose
12-Oct-15 8:37am
View
Yes. a component through which may be i can update the existing browser version to the latest in Windows System.
Black_Rose
12-Oct-15 7:30am
View
No. using code i want to check and update browser version.
Black_Rose
29-Sep-15 5:21am
View
I need some idea how to start the code.
Black_Rose
28-Sep-15 5:49am
View
In case of office laptop..?? is there any possibility..??
Black_Rose
28-Sep-15 5:14am
View
Is there any location/logs where the details use to get saved..??
Black_Rose
28-Sep-15 3:25am
View
Yes..That's why i accepted the answer
Black_Rose
23-Sep-15 2:35am
View
Thanks sisir...
Black_Rose
9-Sep-15 7:45am
View
Ok.Thanks for ur help
Black_Rose
9-Sep-15 3:33am
View
Ok.
but can't change the job without solving this.
Can you please post the sample code.
Black_Rose
9-Sep-15 0:04am
View
This is a text output. not any JSON or XML code
Black_Rose
8-Sep-15 7:38am
View
Not getting. i tried what you mentioned. but it is still printing the other parts apart from name.
Black_Rose
8-Sep-15 6:42am
View
This is what i am already using
if (str_Current_Line.ToString().Contains("name") && str_Current_Line.ToString().Contains("root") || str_Current_Line.ToString().Contains("name") && str_Current_Line.ToString().Contains("ckpt"))
{
str_Current_Line.Replace(str_Current_Line, "");
}
else
{
Obj_DT_FileTage.Rows.Add("", str_Current_Line.Trim().ToString());
}
Black_Rose
8-Sep-15 6:22am
View
Yes. but not getting how to do that. because i am getting each line at a time.like "name = root_fs_d5" iteration , volume = md5 in next iteration.
and for some "name" comes after 2 lines for some after 3 lines.
Black_Rose
8-Sep-15 6:13am
View
That is like line starts with "name" upto occurrence of the next "name"
Black_Rose
8-Sep-15 6:11am
View
dashed one i gave for identification of each set here. the actual output comes without that.
CP, as you told, can you tell me how to do that part using code. any sample. then instead of dashed one occurance i can look for "name" occurance
Black_Rose
8-Sep-15 6:11am
View
Deleted
dashed one i gave for identification of each set here. the actual output comes without that.
CP, as you told, can you tell me how to do that part using code. any sample. then instead of dashed one occurance i can look for "name" occurance
Black_Rose
8-Sep-15 5:10am
View
Done that.
Thanks CP
Black_Rose
8-Sep-15 5:00am
View
Hi CP.
Thanks for the reply.
This is working as expected.
One thing, can you tell me how to use the sb in dt.rows.add(). below is the code
mytrim(str_Final_Output); //calling your function
Obj_DT_FileHealthCheck.Rows.Add(ls_IP.ToString(), sb.ToString());
Black_Rose
7-Sep-15 2:47am
View
i just want to dump both the data table data into a single. that's all. as i mentioned 10 columns instead of 7+3
Black_Rose
7-Sep-15 2:46am
View
dt and dt1 are the datatables.
Black_Rose
7-Sep-15 2:28am
View
Yes. i tried like dt.merge(dt1) but not happening.
There is no condition.
Black_Rose
14-Aug-15 6:05am
View
Any solution for this..??
Black_Rose
31-Jul-15 5:44am
View
Thanks...
Black_Rose
31-Jul-15 4:00am
View
See i am looking for help here..i need idea not the solution. want to help please help. please let other do. u people have the privilege so u will close the question that's all..
Black_Rose
31-Jul-15 3:46am
View
Without sorting.
Black_Rose
9-Jul-15 8:41am
View
Actually i don't have idea so that's why if u can share some sample reference so it will be easy for me to start.
Black_Rose
9-Jul-15 5:12am
View
Hi Richard
Thanks for your reply. But what i am looking for is installing/upgrading the VM tools using any scripts.
Black_Rose
30-Jun-15 8:43am
View
If you have any info related to the post please share.
Black_Rose
17-Jun-15 6:09am
View
I was not knowing that..there is no intension of being rude, unthinking, and careless.
Black_Rose
17-Jun-15 5:45am
View
Sorry for that..but i am not getting what u r telling..
Black_Rose
9-Jun-15 10:19am
View
Yes. i did.
Black_Rose
27-May-15 9:05am
View
It is ok..but when this .vbs will run it will generate a HTML file. how to open that and refresh every time
Black_Rose
20-May-15 6:22am
View
I need to.
Black_Rose
20-May-15 6:22am
View
editor..?? i m in VS2012
Black_Rose
7-May-15 8:52am
View
What i have to do then..??
Black_Rose
4-May-15 7:02am
View
Try to put them inside a HTML table and check.
Black_Rose
23-Apr-15 6:21am
View
Not enough.
share how, when, where u r getting the error...
Describe your problems peoperly to get a proper response.
Black_Rose
17-Apr-15 7:05am
View
Not clear..
why you want a console at all?
Does this need a user interface at all?
If not, just make it a windows forms app, and remove the form. Open the "program.cs" file, and replace the code in the Main method
Black_Rose
17-Apr-15 6:30am
View
"how can i search that value in gridview without loop???"
and why u don't want to use loop..??
Black_Rose
17-Apr-15 6:10am
View
What you are looking for..??any application or paid software ..?? or anything else..
Black_Rose
17-Apr-15 3:39am
View
I think you didn't went through the links posted by Abhinav S.
Go through once you will get the answer.
Black_Rose
17-Apr-15 3:29am
View
+5..
Black_Rose
16-Apr-15 7:46am
View
Without seeing code it's not possible to help you..
Black_Rose
16-Apr-15 6:58am
View
Not enough to start.
share more information.
Black_Rose
16-Apr-15 4:04am
View
Check the updated asnwer..
Black_Rose
14-Apr-15 5:08am
View
:) welcome...
Black_Rose
14-Apr-15 5:06am
View
Nice..please accept the answer.
Black_Rose
6-Mar-15 5:56am
View
But if it is blank then what to do..
Black_Rose
6-Mar-15 5:40am
View
But if it is blank then what to do..
Black_Rose
6-Mar-15 5:37am
View
Yes.it worked.
i changed like below.
update tbl_transaction_master set parcel=0 where COALESCE(parcel,'0') = '0'
Black_Rose
6-Mar-15 5:29am
View
Got the below error
ERROR: invalid input syntax for type numeric: ""
LINE 1: ...ction_master set parcel=0.00 where COALESCE(parcel, '') = ''
^
********** Error **********
ERROR: invalid input syntax for type numeric: ""
SQL state: 22P02
Character: 70
Black_Rose
27-Feb-15 0:42am
View
Ur first query giving below error
Msg 1033, Level 15, State 1, Line 8
The ORDER BY clause is invalid in views, inline functions, derived tables, subqueries, and common table expressions, unless TOP or FOR XML is also specified.
I want the first one..
Black_Rose
27-Feb-15 0:39am
View
This is a query i wrote to get the records repeated more then 2 time.
i want to keep this records and delete other records which repeated <=2 times
Black_Rose
19-Feb-15 12:57pm
View
instance methods.
Black_Rose
19-Feb-15 12:53pm
View
Ok.may be this will help. please tell me
i have 2 classes in my project, which contains one method each.
how to call both of the methods in a single event.
Black_Rose
19-Feb-15 12:52pm
View
Ok.may be this will help. please tell me
i have 2 classes in my project, which contains one method each.
how to call both of the methods in a single event.
Black_Rose
19-Feb-15 12:48pm
View
Then is there any other way to relate this question.
Black_Rose
19-Feb-15 12:35pm
View
No actually this was asked in one interview i faced.
Black_Rose
19-Feb-15 12:34pm
View
No actually this was asked in one interview i faced.
Black_Rose
17-Feb-15 3:11am
View
This is not what i m looking...
Black_Rose
17-Feb-15 2:06am
View
Yes.Exactly.
actually i am having weighing scale.
Black_Rose
17-Feb-15 1:01am
View
The thing is i want the data of the scale to my IP.
when i am sending ctrl+e command in hyperterminal in windows, it's giving me the data.so that data i want to display in an asp.net page.
Black_Rose
14-Feb-15 6:16am
View
Please tell me what i am missing here..??
means any piece of code has to be added..??
Black_Rose
14-Feb-15 5:36am
View
Hi
I mentioned the line where i am getting error.
it's at the first part
Decrypt(xmlDoc, tDESkey, hashPwd) //Getting Error Here
Then when it is coming to Decrypt function it's giving here
exml.DecryptDocument()
Black_Rose
9-Feb-15 2:19am
View
I don't have idea how to do this from ubuntu to windows.
please provide some code snippet or reference links.
else at least tell me how to copy file from ubuntu to windows.
Black_Rose
8-Feb-15 23:29pm
View
Not working..
Black_Rose
5-Feb-15 2:21am
View
I want to copy one table data..not all..
Black_Rose
2-Feb-15 5:48am
View
select 'ASales Amt' as tran_type, sum(amount) as net_total from tbl_transaction_master Where to_char(bill_date,'yyyy-MM-dd')>='2014-12-23' and to_char(bill_date,'yyyy-MM-dd')<='2014-12-23'
Black_Rose
22-Jan-15 5:24am
View
This was asked to me in one interview.i updated with the entire question.
Black_Rose
17-Dec-14 22:38pm
View
sorry.idle means suppose a user left the application at middle at some form and left, then after 5-10 sec it should redirect to the main form.
Black_Rose
17-Dec-14 22:16pm
View
I want to save and then print the same.
Black_Rose
17-Dec-14 7:30am
View
Yes.But u mentioned textbox and all which i am not using..
i am using streamreader to put data in a .txt file.
Black_Rose
17-Dec-14 7:24am
View
Thanks for your reply griff..
Just want to is there any process we can specify specific line space value.
e.g. 0.75 or 1.5 etc
Black_Rose
17-Dec-14 7:11am
View
ya i know that..but i need specific point of spacing line ms-word.
Black_Rose
15-Nov-14 1:40am
View
"my javascript code is not working" is not enough to go.Please tell what is the script is about..what u r trying to do..what kind of output u r expecting..
Black_Rose
9-Nov-14 22:41pm
View
I have updated my question with my printing function.please tell me where to use this.
Black_Rose
5-Nov-14 5:47am
View
Agree griff..i need some idea..means what points i can cover..
Black_Rose
3-Nov-14 3:55am
View
Griff it's working fine as required.but getting the below error after scanning
Cross-thread operation not valid: Control 'Passbook Insert' accessed from a thread other than the thread it was created on.
Black_Rose
3-Nov-14 3:42am
View
can you give me some example for this.
Black_Rose
3-Nov-14 3:19am
View
Thanks for your reply griff..
I tried the shown event
private void PassbookInsert_Shown(object sender, EventArgs e)
{
scan();
}
But it is at the same time like load.
means, it's not showing the form but the function is getting executed.
Black_Rose
3-Nov-14 2:22am
View
Sorry for that.it's a windows application.
and i tried to put one timer.i gave my scan() in timer_tick event but problem is after scanning also it is going back to the scan() again and again.so it's throwing error.
Black_Rose
3-Nov-14 2:05am
View
Thanks..:)
Black_Rose
15-Oct-14 0:39am
View
Thanks for your reply.
i did this below code
using (StreamReader srr = new StreamReader("C:\\Display.txt"))
{
line = srr.ReadToEnd();
line is a string variable which contains this when i see in HTML visualization
Date Particulars ChequeNo Withdrawals Deposits Balance -------------- -------------------------- --------- ----------- -------- -------- 1 07 Oct 2011 By INITIAL DEPOSIT 0 0.00 100.00 100.00 2 31 Mar 2012 By Half Yearly Interest 0.00 2.00 102.00 3 30 Sep 2012 By Half Yearly Interest 0.00 2.00 104.00 4 31 Mar 2013 By Half Yearly Interest 0.00 2.00 106.00 5 14 Jun 2013 By Cash 0 0.00 12170.00 12276.00 6 14 Jun 2013 To SCHOOL FEES FR SES JUN 0 11545.00 0.00 731.00 7 14 Jun 2013 To SCHOOL FEES FR AVG JUN 0 625.00 0.00 106.00
when i am printing it is printing like this only.
Please tell me how to format this.
Black_Rose
24-Sep-14 0:51am
View
This is what i faced problem in c#
http://www.codeproject.com/Questions/820271/Need-help-in-formatting-the-data?arn=0
Black_Rose
24-Sep-14 0:44am
View
I tried using c# but i was facing some alignment issues.that's why i did using this approach.
please tell me how to convert it to COM or dll..??
Black_Rose
22-Sep-14 5:51am
View
ya..i am sry for that..i totally forgot..
Black_Rose
22-Sep-14 4:46am
View
It's giving below error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM car_uploads GROUP BY item,total) X' at line 6: Select sum(Quantity) from(SELECT item, SUM(CASE WHEN location = 1 THEN quantity ELSE 0 END) location_001, SUM(CASE WHEN location = 2 THEN quantity ELSE 0 END) location_002, SUM(CASE WHEN location = 3 THEN quantity ELSE 0 END) location_003, SUM(quantity) total, FROM car_uploads GROUP BY item,total) X
Black_Rose
22-Sep-14 4:41am
View
Thanks...:)
Black_Rose
19-Sep-14 7:11am
View
Yes i changed depending on that..3,9,10,20,30,40
But still no change..
Is there any other way to format.
Black_Rose
19-Sep-14 6:53am
View
Please check..i updated my question with the image link..
Black_Rose
19-Sep-14 6:48am
View
I checked with this..it's coming in the same way..
Black_Rose
19-Sep-14 1:50am
View
I am trying that..actually the data is coming in a dataset.
when i am trying to format one column, it is disturbing other columns..
I am trying to print using EPSON printer driver.
Black_Rose
18-Sep-14 7:56am
View
I updated with my sample data
Black_Rose
17-Sep-14 4:56am
View
Thanks for your reply Griff..
Can u please show me one small example for below lines
Date Particulars ChequeNo Withdrawals Deposits Balance
-------------------- ----------------------------------- -------- ----------------- -------------------- ---------------
1 07 Aug 2012 By IB-2012220152498-cash 0 0.00 10938.00 44929.00
2 07 Aug 2012 To Cash 0 20000.00 0.00 24929.00
Here first is serial no. of length max 3 i.e. 999
date is 9
next particulars 25
cheque 8
withdrawals 10
deposits 10
balance 10
Black_Rose
15-Sep-14 8:08am
View
Can u give some implementation example..
Black_Rose
15-Sep-14 8:07am
View
That's funny..
i know that i have to start in vs.
I asked how to start the application..what is the approach should i take..
Black_Rose
10-Sep-14 4:17am
View
I want to convert that data to a image file.
Black_Rose
10-Sep-14 0:07am
View
ya but this is for text.
i have a notepad with formatted data.
how to convert that.
it is for passbook printing..so i can't mismatch the format.
Black_Rose
9-Sep-14 6:10am
View
Please read the question..i asked for dataset not datatable.
Black_Rose
9-Sep-14 6:10am
View
Please read the question..i asked for dataset not datatable.
Show More