15,881,757 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
Joezer BH
(Top 200 by date)
Joezer BH
17-Dec-17 6:05am
View
Click on the text "Here is a link" above, it leads to a video
Joezer BH
16-Jul-17 9:37am
View
Your question is quite impossible to parse...
Joezer BH
10-Jul-17 9:31am
View
What do you need?
If you have not tried anyting it meens, first, learn to program in C#...
Joezer BH
10-Jul-17 9:28am
View
What seems to be the problem?
Joezer BH
10-Jul-17 9:27am
View
Do you have the languase support on your Windows10?
Joezer BH
18-Jun-17 7:41am
View
You are most welcome
Joezer BH
4-Apr-17 11:54am
View
Cheers,
Glad it helped
Joezer BH
7-Aug-16 6:04am
View
You are most welcome :)
Joezer BH
16-May-16 0:39am
View
You're welcome
Joezer BH
16-May-16 0:39am
View
Glad it helped
Joezer BH
4-Nov-15 2:57am
View
:) glad it helped
Joezer BH
21-Oct-15 7:34am
View
5ed
naturally
Joezer BH
14-Jul-15 5:02am
View
Deleted
It's a good question! However I am not sure you can actually do that up front.
Theoretically, the GC uses the Win32 VirtualAlloc function to reserves a segment of memory, and releases segments back to the operating system (after clearing them of any objects) by calling the Win32 VirtualFree function. So if you want to go ahead and try to manage the segments yourself, you'll have to put so much effort in it, that I'll bet it will surpass the dev time of your whole project...
Joezer BH
9-Jul-15 3:53am
View
This time, you have made a premature judgement Sergey perhaps you didn't understand the question. Short time scheduled tasks and time syncronizations are integral to my system's structure (cannot elborate here due to intelectual property). What makes the application not smooth is occational "lengthy" GC activity that take up to 10 milli seconds. So if I can reduce those to around 1 milli, and providing that I manage my computation cycles correctly, I can improve the "smoothness" of my application tenfold. This is a major imporvment for my system.
Joezer BH
30-Jun-15 5:43am
View
5+
Joezer BH
30-Jun-15 5:43am
View
5+
Joezer BH
14-Jun-15 11:04am
View
Most DBs are not designed to be embedded in your application, some (e.g. extremeDB) are but I would advise you to elaborate more so that you can better help us to help you...
Joezer BH
11-May-15 7:27am
View
5+
Joezer BH
11-May-15 7:19am
View
right you are! I missed that one due to the title ... fixed the title, and the A
Joezer BH
3-May-15 7:17am
View
Deleted
Can you show your code?
Joezer BH
20-Apr-15 5:19am
View
5+2 U 2!
Ha - We've updated the solution for SQL 2005 simultaneously
Joezer BH
20-Apr-15 5:17am
View
thank you Maciej
Joezer BH
19-Apr-15 3:37am
View
Not clear how the AJAX is related to the question.
Joezer BH
16-Apr-15 1:26am
View
No Sergey, Thank
you
:)
You are giving posh answers all over the place!
Joezer BH
16-Apr-15 0:32am
View
5+
Joezer BH
14-Apr-15 1:28am
View
Unforunately, I am not familiar with a way to deny
an administrator
removing a software from his machine...
Joezer BH
13-Apr-15 10:55am
View
Since it does not contain the runat="server" property by default. If you add this property (and provide an ID to the control so that it can be referenced in the C# code) it will.
Joezer BH
13-Apr-15 10:13am
View
Right you are Richard, tnx for the notice!
I've created a second solution.
Joezer BH
13-Apr-15 10:07am
View
Deleted
You are partly right. The value will be sent back to the server but will not be reinstated in the Textbox after the postback
Joezer BH
13-Apr-15 9:24am
View
understandably, it's impossible
Joezer BH
13-Apr-15 2:54am
View
Thank you Rajeesh
Joezer BH
13-Apr-15 2:39am
View
على الرحب والسعة
Joezer BH
26-Mar-15 6:14am
View
V
- tnx Richard
Joezer BH
26-Mar-15 5:55am
View
"x was unexpected at this time"
??
Joezer BH
26-Mar-15 5:34am
View
Yes, I understand that. Plus, and it will also copy it into all the sub folders of the sub folders etc... which is what I want to prevent
Joezer BH
26-Mar-15 4:44am
View
As it's a one line solution I thought the "what have you tried" can be avoided.
It might perhaps be that I was mistaken
Added above some "what have I tried"
Joezer BH
23-Feb-15 6:49am
View
fiCSed
Joezer BH
22-Feb-15 2:04am
View
That depends intirely on the nature of the system using the datastructure. You are mistaken to make assumptions such as the one you've made.
An example can be when the elements stay pretty much the same in quantity but thier priority field varies frequently, which according to the nature of this specific question seems like a failry reasonable scenario.
Joezer BH
19-Feb-15 10:14am
View
True, but the data structure would do best to be kept sorted on each insert/update rather than performing the heavy sort each time.
The sorted datastructure is light on the insert overhead and usually answers to O(n).
Joezer BH
19-Feb-15 9:18am
View
In your code you sort the dictionary on each get request. That is poor performance.
Joezer BH
19-Feb-15 5:16am
View
An improvment that will answer to the request of the iteration on the Tpriority key can be to make the "lis" dictionary a SortedDictionary
Joezer BH
19-Feb-15 5:14am
View
Good question ...
Joezer BH
4-Feb-15 5:07am
View
Glad it helped :)
Joezer BH
20-Jan-15 3:51am
View
Show some more of your code so that we can suggest a solution relevant to it.
Joezer BH
19-Jan-15 5:49am
View
How do you know which elements in the second array are relating to a specific person?
Joezer BH
11-Jan-15 9:15am
View
Reason for my vote of 1 \n There are already too many Tips and Articles that cover this tiny content. Perhaps add items speficif to SQL Server 2014, that could easily be worth an upvote...
Joezer BH
29-Dec-14 11:13am
View
You'll have to make some more effort to explain yourself, what you've done, provide your code etc.
Cheers,
C
Joezer BH
1-Dec-14 8:00am
View
We don't have enough to work with, try to explain what happened, what actions have you taken just before it happened etc.
Joezer BH
23-Nov-14 8:36am
View
You (wrongly) assume that there is no problem with either the path itself or that the requested path is what is should have been.
But is just so happens that those are the places one should check first.
and in quite so much of the situations it's that small thing that solves it.
If it's something else, then we'll need to tag the question as "Unclear or Incomplete"...
Joezer BH
23-Nov-14 4:35am
View
Hi Bill,
Somewhat of a harsh response I'd say :)
However, I've added the obvious two lines that you thought should follow explicitely...
Joezer BH
27-Oct-14 10:36am
View
Is this supposed to be a TIP?
Joezer BH
15-Sep-14 6:06am
View
^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$
is just an example,
you can modify to support nubers at the end of the domain like this:
^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z0-9]{2,4}$
Joezer BH
2-Jul-14 9:14am
View
Naturally, this example requires:
#) A PrintDocument component named printDocument1 with a PrintPage event handler.
#) A Button named printButton with a Click event handler.
Joezer BH
2-Jul-14 8:09am
View
Please elaborate...
Joezer BH
22-Jun-14 8:27am
View
In this case, instead of:
s = s.replace("[img]","'");
s = s.replace("[/img]","'");
do:
var b = s.split("[img]")[1];
b = b.split("[/img]")[0];
b = "<img src='" + b + "'></img>";
Cheers,
C
Joezer BH
10-Jun-14 6:50am
View
5ed!
Joezer BH
18-May-14 2:52am
View
Grazie, contento che ha aiutato :)
Joezer BH
15-May-14 3:06am
View
Glad it helped
Joezer BH
12-May-14 3:19am
View
5ed!
BTW Sergey -
Congratulations
on the Author score (you just hit the 10K mark)
:thumb:
Cheers
Joezer BH
27-Apr-14 2:34am
View
You're welcome,
glad to hear it helped
Joezer BH
22-Apr-14 2:09am
View
Definitely a 5!
Joezer BH
30-Mar-14 5:58am
View
Posh answer 5+
Joezer BH
30-Mar-14 3:22am
View
You are most welcome.
As for the freezer, I'd be delightful.
Any Kwality Wall's branch near by?
;)
Joezer BH
17-Mar-14 4:06am
View
5ed!
Joezer BH
5-Mar-14 3:12am
View
5ed!
Joezer BH
25-Feb-14 5:28am
View
What do you mean by retreive the changes?
If you want you can view the log files changes made on a DB, but I doubt you would want to do that...
If you want to pass specific data between the processes, you can implement a messaging technique between the two application (possible via a the DB itself) or some other IPC method which would be more efficient than using triggers.
Joezer BH
25-Feb-14 4:34am
View
5ed!
Joezer BH
25-Feb-14 4:33am
View
5ed!
Joezer BH
25-Feb-14 4:33am
View
5ed!
Joezer BH
25-Feb-14 4:28am
View
5ed!
:)
Joezer BH
24-Feb-14 2:14am
View
5ed!
Nice & simple one. I didn't think they have that option.
Turns out to be a good question too :)
Joezer BH
18-Feb-14 8:52am
View
Fact is that you hit the spot in this answer, google would reveal that there are scores of questions about the exact same exception and many can be answered simply by noticing what happens right after the "InitializeComponent();".
Any code that will throw an exception there will probably result in the same "XamlParseException was unhandled. 'The invocation of the constructor on type 'ChatGUI.MainWindow' that matches the specified binding constraints threw an exception.' Line number '3' and line position '9'." notice...
I think it's worth publishing this fact as a CP Tip.
Cheers, Canny
Joezer BH
18-Feb-14 8:19am
View
5ed!
Joezer BH
11-Feb-14 10:11am
View
Well said ;)
5ed!
Joezer BH
10-Feb-14 8:33am
View
It's nice to see a novice question with the user bothering to write down what he tried, I've 5ed your question for that.
Cheers, C
Joezer BH
9-Feb-14 5:00am
View
You can comment below the answer
(you posted this as an additional answer!)
Cheers
Joezer BH
6-Feb-14 4:43am
View
Very good answer.
5ed!
Joezer BH
4-Feb-14 10:29am
View
5ed!
Joezer BH
29-Jan-14 11:45am
View
5ed!
Joezer BH
29-Jan-14 11:45am
View
5ed!
Joezer BH
29-Jan-14 11:44am
View
5ed!
Joezer BH
29-Jan-14 11:43am
View
5ed!
Joezer BH
22-Jan-14 10:50am
View
5ed!
Joezer BH
7-Jan-14 1:52am
View
You are most welcome
Joezer BH
5-Jan-14 11:20am
View
Hi Karthik,
TIP:
When you update important info that helps the user to solve the problem, remember to update the solution above with the info, it will help future users to use the info easily!
Cheers,
Canny
Joezer BH
5-Jan-14 11:18am
View
5ed!
Joezer BH
30-Dec-13 1:49am
View
Glad it helped :)
Joezer BH
30-Dec-13 1:49am
View
You're welcome
Joezer BH
22-Dec-13 5:06am
View
5ed!
Joezer BH
17-Dec-13 1:23am
View
5ed!
Joezer BH
16-Dec-13 1:30am
View
5ed!
Joezer BH
12-Dec-13 7:45am
View
Microsoft started development of .NET Framework in the late 1990s, originally under the name of Next Generation Windows Services (NGWS).
https://en.wikipedia.org/wiki/.NET_Framework_version_history
Joezer BH
12-Dec-13 2:03am
View
5ed!
Joezer BH
10-Dec-13 1:59am
View
5ed!
Joezer BH
10-Dec-13 1:59am
View
5ed!
Joezer BH
8-Dec-13 4:49am
View
5ed!
Joezer BH
8-Dec-13 0:51am
View
Amen :)
Joezer BH
4-Dec-13 1:48am
View
It will work once you have the permissions to that specific path.
Of course they don't have to give you permissions,
it depends on the path you are trying to use and the account you have.
Best to contact the GoDaddy service desk and ask them for upload folder path and the technicalities involved in your account management.
Cheers
Joezer BH
29-Nov-13 1:05am
View
5ed!
Joezer BH
18-Nov-13 5:40am
View
With your 5: 700,000!
Joezer BH
18-Nov-13 5:39am
View
5ed!
And ...
Congrats for 700K!!
Cheers :)
Joezer BH
10-Nov-13 5:11am
View
5ed!
Joezer BH
10-Nov-13 5:11am
View
5ed!
Joezer BH
10-Nov-13 5:11am
View
5ed!
Joezer BH
7-Nov-13 1:01am
View
5ed!
Joezer BH
6-Nov-13 2:26am
View
Thank you Herb!
Joezer BH
6-Nov-13 2:25am
View
I'd link him to a later version (than this link's archaic 2003 code),
But sure, a 5!
Joezer BH
6-Nov-13 2:22am
View
5ed!
Joezer BH
31-Oct-13 11:49am
View
Reason for my vote of 5 \n Great Tip
Joezer BH
29-Oct-13 2:22am
View
You posted this as an answer.
(you can post replies to answers, or update your question)
;)
Joezer BH
29-Oct-13 2:21am
View
5ed!
Joezer BH
28-Oct-13 10:29am
View
5קג!
Joezer BH
21-Oct-13 9:43am
View
5ed! very nice answer
Joezer BH
16-Oct-13 2:56am
View
5ed!
Joezer BH
16-Oct-13 2:56am
View
5ed!
Joezer BH
16-Oct-13 2:55am
View
5ed!
Joezer BH
15-Oct-13 2:14am
View
See update in the solution,
I hope that's the issue.
Joezer BH
13-Oct-13 9:15am
View
Which version (of .NET) is the Facebook.dll compiled for?
Joezer BH
13-Oct-13 8:36am
View
Hi
Show relevant code (of the invisible/visible part)
Joezer BH
6-Oct-13 2:38am
View
Not sure it's possible ...
each page is a different load, start fresh, but you can consider staying on the same page and changing the content, in frames, or HTML elements, and then of course you have full control on the sound element as well.
Joezer BH
2-Oct-13 8:10am
View
5ed!
Joezer BH
2-Oct-13 8:10am
View
5ed!
Joezer BH
2-Oct-13 8:10am
View
5ed!
Joezer BH
2-Oct-13 8:09am
View
5ed!
Joezer BH
2-Oct-13 4:01am
View
Too little to work with...
Joezer BH
17-Sep-13 9:20am
View
You are most welcome :)
Joezer BH
17-Sep-13 9:14am
View
And you have records matching that day?
Joezer BH
17-Sep-13 8:55am
View
You are right! I've updated with a much simpler approach and code :)
Joezer BH
17-Sep-13 8:33am
View
See updated solution with editing the Time values of a Datetime struct
Joezer BH
17-Sep-13 8:09am
View
No, you still need to set the
TIME
, not only the date
Joezer BH
17-Sep-13 7:12am
View
some more details and code please ...
Joezer BH
15-Sep-13 4:39am
View
Great answer Alex!
Joezer BH
15-Sep-13 3:04am
View
Out or curiosity: Why would you want to
save
on each iteration (instead of at the end)?
Joezer BH
11-Sep-13 10:52am
View
5ed!
I've just used it as a reference in a solution to the
same problem
:)
Joezer BH
11-Sep-13 10:50am
View
5ed!
I've just used it as a reference in a solution to the
same problem
:)
Joezer BH
11-Sep-13 10:23am
View
looks like the <tbody data-bind="foreach: showinTable"> bind is not working and the showinTable is not defined properly...
Joezer BH
11-Sep-13 9:14am
View
yes, but Javascript does not know the CS objects.
In the CS you call the object by it's name, in Javascript you need to get the element by it's ID, hence the document.getElementById function that I showed.
Did you try it?
Joezer BH
11-Sep-13 5:08am
View
Thank you!
Joezer BH
11-Sep-13 4:23am
View
If you have the source code, please show it, in order to help us understand what heppens
Joezer BH
11-Sep-13 2:53am
View
You wrote 5 but didn't vote :)
I've added my vote to vouch
Joezer BH
10-Sep-13 7:50am
View
Exactly!
The problem is with the conversion of
U_id.ToString()
, it probably is input that cannot be converted to an Integer!
Try to see what the value of U_id is before you try to parse it, and you will see.
Joezer BH
10-Sep-13 5:38am
View
The best idea you will get by asking the developer of the software, there's very little we can do with your info...
Joezer BH
10-Sep-13 5:36am
View
What have you tried?
What problem are you getting?
Joezer BH
10-Sep-13 5:14am
View
5ed!
Joezer BH
10-Sep-13 4:53am
View
Tnx for the correction,
it's not easy when you are not native :)
Joezer BH
10-Sep-13 4:45am
View
Maloniai kviečiame!
Joezer BH
10-Sep-13 3:36am
View
5ed!
Joezer BH
10-Sep-13 3:35am
View
5ed!
Joezer BH
10-Sep-13 3:35am
View
5ed!
Joezer BH
10-Sep-13 3:34am
View
5ed!
Joezer BH
10-Sep-13 3:34am
View
5ed!
Joezer BH
10-Sep-13 3:34am
View
5ed!
Joezer BH
10-Sep-13 3:33am
View
5ed!
Joezer BH
10-Sep-13 3:32am
View
5ed!
Joezer BH
10-Sep-13 3:31am
View
5ed!
Joezer BH
10-Sep-13 3:30am
View
5ed!
Joezer BH
10-Sep-13 3:30am
View
5ed!
Joezer BH
10-Sep-13 3:29am
View
5ed!
Joezer BH
10-Sep-13 3:29am
View
5ed!
Joezer BH
10-Sep-13 2:59am
View
5ed!
Joezer BH
10-Sep-13 2:58am
View
You're welcome :)
You can click "Accept Solution" if it works like you expected.
Joezer BH
10-Sep-13 2:55am
View
so you can keep using double for the result and then show what you like, in any precision,
See examples added on the above solution
Joezer BH
10-Sep-13 2:47am
View
Please try to explain in more details
Joezer BH
10-Sep-13 2:45am
View
5ed!
Joezer BH
10-Sep-13 2:43am
View
Thank you Sergey!
Joezer BH
10-Sep-13 2:40am
View
solution updated.
I don't understand though why you chose to use Decimal??
why not just double all the way?
Joezer BH
10-Sep-13 2:01am
View
Tx!
Joezer BH
9-Sep-13 10:29am
View
5ed!
Joezer BH
9-Sep-13 8:11am
View
5ed!
Joezer BH
9-Sep-13 7:40am
View
What exactly do you need?
do you have any problem?
Joezer BH
8-Sep-13 7:44am
View
Try to explain more on the nature of your problem,
your line is just fine if you only want to convert the value (see solution posted below).
Joezer BH
8-Sep-13 5:31am
View
5ed!
Joezer BH
8-Sep-13 5:31am
View
5ed!
Joezer BH
8-Sep-13 5:28am
View
5ed!
Joezer BH
8-Sep-13 5:27am
View
5ed!
Joezer BH
3-Sep-13 8:40am
View
5ed!
Good thinking, whether it is the issue or not :)
Joezer BH
3-Sep-13 5:43am
View
do you mean to auto update version numbers?
OR
to update an existing library (exe/dll)?
Joezer BH
3-Sep-13 5:30am
View
Thank you!
Joezer BH
3-Sep-13 5:23am
View
What is your current inventory?
Joezer BH
3-Sep-13 4:48am
View
5ed!
well done, with rough user conditions :)
Joezer BH
3-Sep-13 4:32am
View
See answer below :)
Joezer BH
3-Sep-13 4:32am
View
5ed!
Joezer BH
3-Sep-13 4:31am
View
5ed!
Joezer BH
3-Sep-13 4:13am
View
Most welcome ;)
I like that kind of posts - that's the perfect laconic answer
Joezer BH
3-Sep-13 3:48am
View
More details please
what program do you wish to detect?
Do you wish to detect process running for a specific user, any user ?
Joezer BH
3-Sep-13 3:45am
View
5ed!
Joezer BH
3-Sep-13 2:25am
View
5ed! :)
Joezer BH
3-Sep-13 2:24am
View
5ed!
Joezer BH
2-Sep-13 2:45am
View
5ed!
The first link should be a Tip, but it's a great tip
E.g.: It will also approve strings like "11,234" as a number.
Joezer BH
2-Sep-13 1:50am
View
Thank you Menon!
Joezer BH
1-Sep-13 9:42am
View
What do you mean which VS??? :confused:
Do you mean which .NET Framework is was compiled for?
Joezer BH
1-Sep-13 9:39am
View
5ed! Not really an answer but with moral value worth a 5 ;)
Joezer BH
1-Sep-13 9:39am
View
5ed!
Joezer BH
1-Sep-13 9:39am
View
5ed!
Joezer BH
1-Sep-13 9:38am
View
5ed!
Joezer BH
1-Sep-13 9:38am
View
5ed!
Joezer BH
1-Sep-13 9:37am
View
5ed!
Joezer BH
1-Sep-13 9:36am
View
5ed!
Joezer BH
1-Sep-13 9:36am
View
5ed!
Joezer BH
1-Sep-13 9:36am
View
5ed!
Show More