15,911,715 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 Yesudasan Moses (Top 109 by date)
Yesudasan Moses
7-Jun-14 7:26am
View
No... I didnt use any images in my buttons, But I have changed the styling to Flat, and Colored them with brown.
Yesudasan Moses
27-May-14 10:22am
View
Thanks,, i i will try it and update you,,, :)
Yesudasan Moses
27-May-14 9:09am
View
this error happens sometimes only,,, but it lets the released application to crash. I will check the inner exception next time and update it.. thanks :)
Yesudasan Moses
27-May-14 9:00am
View
When I dont use base.WndProc(ref m)
MY main function throws an error "Error creating handle"
at this line
App myApp = new App();
myApp.Run(args);
Yesudasan Moses
26-May-14 2:19am
View
Hi, Its XMPP Ping... XEP-0199 Please check the updated question,..
Yesudasan Moses
6-May-14 3:12am
View
Yes,,,, But using RSA encryption I can encrypt only limited characters... what are the other techniques ?
Yesudasan Moses
9-Apr-14 8:11am
View
I tried changing... still it shows this warning..
C:\Users\BNK\Desktop\wix - popup\setup.wxs(66) : warning LGHT1076 : ICE69: Misma
tched component reference. Entry 'FCONStartMenuShortcut' of the Shortcut table b
elongs to component 'FCONShortcut'. However, the formatted string in column 'Tar
get' references file 'FCONUCClient.exe' which belongs to component 'CMP_FCONUCCl
ient'. Components are in the same feature.
Yesudasan Moses
24-Feb-14 1:27am
View
this is exactly what I wanted... Thanks @Richard
Yesudasan Moses
24-Feb-14 1:26am
View
Thanks @BillWoodruff
Yesudasan Moses
19-Feb-14 8:41am
View
I want to capture possible exceptions...
Yesudasan Moses
19-Feb-14 8:40am
View
Its using XMPP....
yep,, its working perfect,... But when we install client, Its hitting some issues....
We wanna get rid of it,.. :(
Yesudasan Moses
13-Feb-14 3:30am
View
Yea,, this solved my issue... Thankyou...
But How can I use 128, 256 bit encryption ?
Yesudasan Moses
11-Feb-14 7:08am
View
Thats out of scope naa ?
This is working fine,,, but I am concerned if this is the right technology to use...
Yesudasan Moses
16-Jan-14 4:20am
View
Not for a single date,,,, a Month,,,
Yesudasan Moses
13-Jan-14 2:26am
View
Its actually the User Profile table of DotnetNuke...
and, I am trying to show a custom report of users,,,,
Yesudasan Moses
10-Dec-13 6:10am
View
Yea... This was the Idea...
Using Owner Draw to Draw a close button Image on Tab,,, and Using MouseDown Event to get the click on the Point....
I did it...
Yesudasan Moses
20-Nov-13 5:12am
View
so a simple chat client needs oracle or sql server to be installed ???
am not talking abt saving on server...
Yesudasan Moses
31-Oct-13 4:15am
View
That will work only in debug mode,,, need PDB file....
I want to trace it after published,,,,
Yesudasan Moses
23-Oct-13 4:43am
View
you meant to say J2ME on any mobile devices ? or Java on PC ??
Yesudasan Moses
22-Oct-13 3:15am
View
I have done it...
Whenever the event comes, I add it in a queue,,, and a backgroundworker infinite loop will continuously checking the queue and process it,,,
If the queue has 0 Items, I put a Thread.Sleep(50) inside background worker,,,
But the problem now is,,, When I get a new event, it waits for some time to process the event...
Yesudasan Moses
21-Oct-13 8:21am
View
Now, I am thinking to add the event information in a queue, and check the queue with a backgroundworker or any other thread.... Will it be good ???
Yesudasan Moses
21-Oct-13 8:18am
View
New_State_Event
Yesudasan Moses
21-Oct-13 8:11am
View
No,,, I am not doing anything,,,, Referencing a library (Asterisk.NET) and subscribing to its events... That event shows me this problem,,
Yesudasan Moses
21-Oct-13 7:59am
View
Hi I tried ur code,,, This is the Output
Main Event fired from thread 18
Event processessing done
Handling on thread 18
Done handling on thread 18
Yesudasan Moses
21-Oct-13 7:39am
View
This is the actual code...
public void New_State_Event(object sender, Asterisk.NET.Manager.Event.NewStateEvent e)
{
try
{
if (e.ChannelStateDesc != null && e.Attributes.ContainsKey("connectedlinenum"))
{
switch (e.ChannelStateDesc.ToLower())
{
case "ringing":
if (ApplicationVariables.CurrentExtensions.ContainsValue(e.CallerIdNum))
{
// Creating thread for Timer to work
//System.Threading.Thread timerthread = new System.Threading.Thread(delegate()
//{
try
{
this.Invoke(new MethodInvoker(delegate()
{
if (this.Opacity != 98) this.Opacity = 98;
if (exw != null && !exw.IsDisposed)
{
if (exw.calo != null && !exw.calo.IsDisposed)
exw.calo.Opacity = 0;
if (exw.cf != null && !exw.cf.IsDisposed)
exw.cf.Opacity = 0;
exw.Opacity = 0;
}
SetPopupLocation();
button8.Visible = true;
button1.Visible = true;
button2.Visible = true;
button4.Visible = false;
linkLabel1.Visible = false;
pictureBox1.Enabled = true;
if (!this.Visible)
{
this.Show();
this.TopMost = true;
}
if (exw != null && exw.Visible)
{
if (LOADSTYLE == NativeClasses.AW_VER_POSITIVE)
{
Taskbar tt = new Taskbar();
exw.Top = 121 + tt.Size.Height;
}
else
{
Rectangle rr = new Rectangle();
rr = Screen.GetWorkingArea(rr);
exw.Top = (rr.Height) - (exw.Height + 121);
}
}
//string callingperson = "", callingnumber = "";
label2.Text = String.Format(Language.incoming_call_for_the_extension, e.CallerIdNum);
if (e.Attributes.ContainsKey("connectedlinename") && e.Attributes.C
Yesudasan Moses
21-Oct-13 7:38am
View
Nop,,, There are lot of coding inside this,,, I removed it all for making it brief....
The reason for the slowness is Inside this event, There is a checking of Outlook Contacts for the Caller name of Incoming call ,,,
Yesudasan Moses
21-Oct-13 6:58am
View
Nothing works...
I have tried this on a fresh win project,,, there, everything works well...
But this particular library's events waits for any threads to finish inside this....
I don't know if they are using any locks for this...
Yesudasan Moses
21-Oct-13 2:50am
View
If I don't invoking the UI, It will show this error....
"Cross-thread operation not valid: Control 'Label1' accessed from a thread other than the thread it was created on"
Moreover, Invokerequired doesn't solve my problem,,,, My issue is The event doesnt happen until the last event is finished... Is there any way to collect the parameter values and end the event,,, then process the parameters,,,
Can I use a queue for this ??
Yesudasan Moses
13-Oct-13 10:07am
View
great,,,, thanks so much dear... :)
Yesudasan Moses
13-Oct-13 10:04am
View
Anyway, The solution is great <3
I would like to try it if regex fails :)
Yesudasan Moses
13-Oct-13 10:00am
View
need this big reference for this small task :( ??
I expected some linq strip-off operations :'(
Yesudasan Moses
13-Oct-13 5:31am
View
Now, I am developing applications using C#,, and I want to study a new one and go open-source...
Is python good for making win apps ??
Yesudasan Moses
7-Oct-13 10:34am
View
I want to know what can I do to outlook using these apps ....
and the way to code a small app,,,
Yesudasan Moses
7-Oct-13 10:27am
View
Not so,,,, I am talking about this,,,
http://www.zdnet.com/microsoft-office-2013-bye-bye-add-ins-hello-apps-7000002274/
Yesudasan Moses
7-Oct-13 8:57am
View
And Apps ??
Yesudasan Moses
7-Oct-13 7:33am
View
I have read everything....
That didnt help me... Can I use apps instead of Addins?? Is there any major difference ?
Yesudasan Moses
7-Oct-13 5:51am
View
@BulletVictim
I have tried it,,, But it returns only the titles Menu texts,, not from the content inside a window,,,,
Yesudasan Moses
7-Oct-13 5:50am
View
I will explain....
I have a SIP softphone,,, and the users used to call using the softphone,,,,
Now I have developed an outlook addin, that helps people to call from contacts (Works Well),,
But I cannot do anything for the numbers inside a mail,,,,
So, I just thought to work around this using another windows program that captures every word under the mouse and if its a number, it will display a call button there, so that he can easily call from there....
Yesudasan Moses
6-Oct-13 10:12am
View
no no no... not that way....
I have developed an outlook addin, but i cant highlight and call numbers from the email... (using command line parameters) but i could call using context menu,,
So I decided to make a windows application that works in background, and trace the numbers at the mouse pointer and just display the form with call button near to that,,, thats my idea...
Yesudasan Moses
6-Oct-13 9:53am
View
I wanna grab phone numbers from outlook emails,,,
when people click over it,,,
Yesudasan Moses
6-Oct-13 7:22am
View
Google it... Before you ask...
Yesudasan Moses
3-Oct-13 6:18am
View
That replaced my timer too.... :)
Yesudasan Moses
3-Oct-13 6:12am
View
Wow.... That is very cool & working.... Thanks so much dear friend :)
Yesudasan Moses
30-Sep-13 4:54am
View
Thanks Rick =)
Yesudasan Moses
15-Sep-13 3:19am
View
okkk,, thanks
Yesudasan Moses
9-Sep-13 10:32am
View
this also will help you to get a clue
http://stackoverflow.com/questions/623551/can-you-share-the-session-variables-between-two-net-2-0-applications
Yesudasan Moses
9-Sep-13 10:31am
View
CHeck this link
http://stackoverflow.com/questions/2868316/sharing-sessions-across-applications-using-the-asp-net-session-state-service
Yesudasan Moses
8-Sep-13 3:49am
View
You people are really helping us or making more confused ??
really pathetic answer...
Yesudasan Moses
7-Sep-13 13:42pm
View
joomla is old one naa ?
Yesudasan Moses
3-Sep-13 2:35am
View
anything other than Installsheild ??
Yesudasan Moses
3-Sep-13 2:34am
View
Anything except installsheild ???
Yesudasan Moses
3-Sep-13 2:34am
View
You mistook my question,,,
Its not a web application, Its a a windows application,,, and I need a bootstrap installer like chrome,,, while googling, they quote it as Web Installer,,, that's why I put Web Installer in my question....
Yesudasan Moses
2-Sep-13 6:20am
View
Thats because u are missing some supporting files or resources there..
BTW, are you using Dotnet for developing your application ??
Yesudasan Moses
2-Sep-13 5:53am
View
why u r doing like this,,, ? may be the result of never ending loop ,,,,
are you using any third party controls or extensions in it ???
Yesudasan Moses
2-Sep-13 5:36am
View
yea,,, i did it that way and it works,,, thanks so much dear friend,,, :)
Yesudasan Moses
2-Sep-13 5:35am
View
Thanks syed shanu :)
Yesudasan Moses
29-Aug-13 7:25am
View
Thanks,,, this solved my issue,,,
Yesudasan Moses
29-Aug-13 7:18am
View
I have solved it... thank you...
I had to copy the build dll to the bin folder of dotnetnuke....
Yesudasan Moses
29-Aug-13 5:02am
View
then, why there is a dotnetnuke tag in code project ??
Yesudasan Moses
28-Aug-13 8:42am
View
Is there a Listview Web controller for ASP.NET ?
Yesudasan Moses
26-Aug-13 10:39am
View
sure....
var exp = new Regex(@"#?[0-9\s\-\(\)]{4,20}", RegexOptions.IgnoreCase);
What I want is to get the numbers having more than 4 digits.
But its counting everything in the expression... For eg: It returns (20) and 20 too (since it has space)....
How can I choose only if the numbers are more than 4 digits, and select the rest if it contains this special characters...
Yesudasan Moses
26-Aug-13 9:44am
View
yea... thanks :)
I have tried something but nothing works....
Yesudasan Moses
26-Aug-13 8:09am
View
yea i am using it,,,, actually my aim is to extract the phone numbers from the mail,,,,
Regex returns me -1988229788, the first number in http... thatsy i wanna remove this,,,
Yesudasan Moses
22-Aug-13 4:48am
View
It can be HTML file or text file,,, i dont know,,, :(
what want is to get a number which exceed 4 digits ,,,,
Yesudasan Moses
22-Aug-13 4:43am
View
Text maybe like this...
<body>
The Number of Thomson will be
1100
<br /> and the number of James is
2000
</body>
Lke this.... I dont want names, only numbers,,,
Yesudasan Moses
22-Aug-13 4:41am
View
No,,,, I meant Output will be like this....
Yesudasan Moses
21-Aug-13 8:47am
View
You are developing web application or windows application ?
Yesudasan Moses
21-Aug-13 7:26am
View
use windows api
Yesudasan Moses
21-Aug-13 7:16am
View
which tool you are using at the server side ?
Yesudasan Moses
21-Aug-13 6:50am
View
you need to use some tricks... along with this...
Yesudasan Moses
21-Aug-13 6:28am
View
+5 :)
Yesudasan Moses
21-Aug-13 6:28am
View
thanks kishore.. :)
Yesudasan Moses
21-Aug-13 4:39am
View
add this "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789~!@#$%^&*()_"
Yesudasan Moses
20-Aug-13 9:28am
View
Thanks dear friend :)
Yesudasan Moses
20-Aug-13 9:28am
View
Thanks dear friend,,,
In my case, users could be able to edit the language file if they like, thatsy i dont use resx files,,,, thanks for your reply :)
Yesudasan Moses
20-Aug-13 4:26am
View
private static string GetActualValuefromText(string curval)
{
int fi = curval.IndexOf("\"", StringComparison.Ordinal);
if (fi != -1)
{
int la = curval.IndexOf("\"", fi + 1, StringComparison.Ordinal);
if (la != -1)
return curval.Substring(fi + 1, la - (fi + 1));
}
return "";
}
Yesudasan Moses
20-Aug-13 3:39am
View
Use JQuery
Yesudasan Moses
20-Aug-13 3:19am
View
Ting Ting Tidin,,,,
I could retrieve the entire line using file reader...
What I need is to get the exact string inside the quotes from a variable,,, :( without using a loop...
Yesudasan Moses
18-Aug-13 8:35am
View
Thanks dear friend :)
Yesudasan Moses
18-Aug-13 6:57am
View
But no threading used in that article,,, Here my problem is with threading...
Being static , Thread method cannot access the instance variables ie, events...
Yesudasan Moses
18-Aug-13 6:13am
View
You ignite a spark in my brain..... :) Thanks friend :)
Yesudasan Moses
15-Aug-13 8:10am
View
No help i am getting from there...
Yesudasan Moses
14-Aug-13 10:20am
View
Not to my project i mean,,,
i was copying some classes to the unit test namespace...
Yesudasan Moses
14-Aug-13 6:47am
View
Deleted
I dont have any Idea... I want to test my windows application...
When I copy some classes or methodes to it, it shws error like
"The name button1 does not exist in the current context" etc
Yesudasan Moses
14-Aug-13 6:39am
View
Thanks dear friend.... I was suspecting that this maybe the solution... :)
Yesudasan Moses
13-Aug-13 10:30am
View
Yea.... I got it... [INSTALLDIR]Application.exe solved the issue,,,
Thanks for your time bro,,, :)
Yesudasan Moses
13-Aug-13 8:16am
View
How can I set my application exe path to registry ?
Yesudasan Moses
13-Aug-13 8:03am
View
comboBox2.DisplayMember = "Value"; will show all the paths in dropdown
Yesudasan Moses
13-Aug-13 7:28am
View
It will let the combobox to display the path in dropdown...
Key is only the name of language,,, and Value is the path of Dll File...
Yesudasan Moses
13-Aug-13 7:28am
View
It will let the combobox to display the path in dropdown...
Key is only the name of language,,, and Value is the path of Dll File...
Yesudasan Moses
13-Aug-13 7:27am
View
Thanks bro... It works...
Yesudasan Moses
13-Aug-13 4:19am
View
Two things I am doing when people change the language...
1. Change the Language of UI = Path ie, value is needed
2. setting the selected Language as Default in Database,, = Key is needed for comparing the row in db...
Yesudasan Moses
12-Aug-13 10:10am
View
Thanks dear friend.... Assembly.LoadFile(LangPath); solved my issue.... ^_^
Yesudasan Moses
11-Aug-13 8:42am
View
But How to access the members in the class ??
Yesudasan Moses
7-Aug-13 7:53am
View
hihihi :D
I am stuck :( thatsyyy....
Yesudasan Moses
6-Aug-13 3:13am
View
Its Windows installer naa ???
Visual Studio 2012 no longer gives Windows MSI Installers...
So I should use either Wix or InstallShield...
Yesudasan Moses
6-Aug-13 2:56am
View
What is Tally Like softwares are using ??
They are using Files, and still it supports Multi User heavily...
You have any Idea ??
Yesudasan Moses
5-Aug-13 5:37am
View
Not really, I initially was accessing the registry... but now,, I removed it from the application.. and it doesnt require admin privileges....
In my developing machine, It works perfectly..,, Only at the client machine it happens...
Yesudasan Moses
4-Aug-13 8:01am
View
ok i did it.... But not yet a solution....
Yesudasan Moses
4-Aug-13 4:36am
View
After Build, When I run from VS, It shows this error
"The customization cannot be installed because another version is currently installed "
even though its the same add in....
Yesudasan Moses
31-Jul-13 7:37am
View
I meant, When the user opens the original Outlook APplication for sending mails,,, It wont start,,, It will show the error.. I think only one instance is permitted for Outlook... But I have to fetch contact though,,, May be it will take minutes depending on the count of contacts..
Any alternative methode for fetching contacts without hurting the user's needs ??
Yesudasan Moses
29-Jul-13 5:00am
View
Its C#.NET Code... CHange it to VB.NET
Yesudasan Moses
25-Jul-13 8:25am
View
In Visual Studio 2012, There is a Project Type Office 2010 Add-In. But We cant run it for Office 2013...
Yesudasan Moses
15-Jul-13 10:41am
View
yea,,, but why do we need it ??
I dont see any difference when I put "static keyword" before my class having only static members....
Yesudasan Moses
4-Jul-13 10:16am
View
Thanks dear friend :) Let me check it...
Yesudasan Moses
4-Jul-13 10:15am
View
:D
Yesudasan Moses
3-Jul-13 4:26am
View
Thanks for your time dude :)
Yesudasan Moses
3-Jul-13 4:26am
View
Thanks dude :)
Yesudasan Moses
3-Jul-13 4:25am
View
Thanks my friend :)
Show More