15,895,829 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 Maruthiram_99 (Top 31 by date)
Maruthiram_99
11-Jul-13 6:43am
View
Can u tell me how to display Contacts of a phone??
Maruthiram_99
10-Jul-13 8:34am
View
Thanks for ur reply...Is there any other way to get call logs or to display call lists??
Help me pleasee,
Thanks.
Maruthiram_99
8-Mar-13 22:39pm
View
How top know the default x and y coordinates of a pdf file and how they are measured?
Maruthiram_99
20-Feb-13 2:39am
View
I am using window form application and i want to know whether it is possible or not?
Maruthiram_99
20-Feb-13 2:31am
View
Windows only....
Maruthiram_99
13-Feb-13 1:30am
View
can u modify my code...plzz
Maruthiram_99
13-Feb-13 1:28am
View
This is my code for my problem....
$(document).ready(function () {
$('#txtkeyboard').keyboard({
autoAccept:true
})
$(document).ready(function () {
$('#txtpassword').keyboard({
autoaccept:true
})
$(function(){
var $login = $('#login'),
$password = $('#password')
shift = false,
capslock = false;
$('#keyboard li').click(function(){
var $this = $(this),
character = $this.html(); // If it's a lowercase letter, nothing happens to this variable
// Shift keys
if ($this.hasClass('left-shift') || $this.hasClass('right-shift')) {
$('.letter').toggleClass('uppercase');
$('.symbol span').toggle();
shift = (shift === true) ? false : true;
capslock = false;
return false;
}
// Caps lock
if ($this.hasClass('capslock')) {
$('.letter').toggleClass('uppercase');
capslock = true;
return false;
}
// Delete
if ($this.hasClass('delete')) {
var html = $login[0].value;
var html1 = $password.value;
$login[0].value=html.substr(0, html.length - 1);
$password[0].value=html.substr(0, html.length - 1);
//$login.html(html.substr(0, html.length - 1));
return false;
}
// Special characters
if ($this.hasClass('symbol')) character = $('span:visible', $this).html();
if ($this.hasClass('space')) character = ' ';
if ($this.hasClass('tab')) character = "\t";
if ($this.hasClass('return')) character = "\n";
// Uppercase letter
if ($this.hasClass('uppercase')) character = character.toUpperCase();
// Remove shift once a key is clicked.
if (shift === true) {
$('.symbol span').toggle();
if (capslock === false) $('.letter').toggleClass('uppercase');
shift = false;
}
// Add the character
document.getElementById("login").value+=character;
$login[0].focus();
document.getElementById("password").value+=character;
$password[0].focus();
// $('#login').val=($('#login').html()+character;
// $login.html($login.html() + character);
});
});
Maruthiram_99
13-Feb-13 1:28am
View
$(document).ready(function () {
$('#txtkeyboard').keyboard({
autoAccept:true
})
$(document).ready(function () {
$('#txtpassword').keyboard({
autoaccept:true
})
$(function(){
var $login = $('#login'),
$password = $('#password')
shift = false,
capslock = false;
$('#keyboard li').click(function(){
var $this = $(this),
character = $this.html(); // If it's a lowercase letter, nothing happens to this variable
// Shift keys
if ($this.hasClass('left-shift') || $this.hasClass('right-shift')) {
$('.letter').toggleClass('uppercase');
$('.symbol span').toggle();
shift = (shift === true) ? false : true;
capslock = false;
return false;
}
// Caps lock
if ($this.hasClass('capslock')) {
$('.letter').toggleClass('uppercase');
capslock = true;
return false;
}
// Delete
if ($this.hasClass('delete')) {
var html = $login[0].value;
var html1 = $password.value;
$login[0].value=html.substr(0, html.length - 1);
$password[0].value=html.substr(0, html.length - 1);
//$login.html(html.substr(0, html.length - 1));
return false;
}
// Special characters
if ($this.hasClass('symbol')) character = $('span:visible', $this).html();
if ($this.hasClass('space')) character = ' ';
if ($this.hasClass('tab')) character = "\t";
if ($this.hasClass('return')) character = "\n";
// Uppercase letter
if ($this.hasClass('uppercase')) character = character.toUpperCase();
// Remove shift once a key is clicked.
if (shift === true) {
$('.symbol span').toggle();
if (capslock === false) $('.letter').toggleClass('uppercase');
shift = false;
}
// Add the character
document.getElementById("login").value+=character;
$login[0].focus();
document.getElementById("password").value+=character;
$password[0].focus();
// $('#login').val=($('#login').html()+character;
// $login.html($login.html() + character);
});
});
Maruthiram_99
13-Feb-13 1:27am
View
Here is my complete Jquery code plzz see and help me
<script type="text/javascript">
$(document).ready(function () {
$('#txtkeyboard').keyboard({
autoAccept:true
})
$(document).ready(function () {
$('#txtpassword').keyboard({
autoaccept:true
})
</script>
Jquery------>
$(function(){
var $login = $('#login'),
$password = $('#password')
shift = false,
capslock = false;
$('#keyboard li').click(function(){
var $this = $(this),
character = $this.html(); // If it's a lowercase letter, nothing happens to this variable
// Shift keys
if ($this.hasClass('left-shift') || $this.hasClass('right-shift')) {
$('.letter').toggleClass('uppercase');
$('.symbol span').toggle();
shift = (shift === true) ? false : true;
capslock = false;
return false;
}
// Caps lock
if ($this.hasClass('capslock')) {
$('.letter').toggleClass('uppercase');
capslock = true;
return false;
}
// Delete
if ($this.hasClass('delete')) {
var html = $login[0].value;
var html1 = $password.value;
$login[0].value=html.substr(0, html.length - 1);
$password[0].value=html.substr(0, html.length - 1);
//$login.html(html.substr(0, html.length - 1));
return false;
}
// Special characters
if ($this.hasClass('symbol')) character = $('span:visible', $this).html();
if ($this.hasClass('space')) character = ' ';
if ($this.hasClass('tab')) character = "\t";
if ($this.hasClass('return')) character = "\n";
// Uppercase letter
if ($this.hasClass('uppercase')) character = character.toUpperCase();
// Remove shift once a key is clicked.
if (shift === true) {
$('.symbol span').toggle();
if (capslock === false) $('.letter').toggleClass('uppercase');
shift = false;
}
// Add the character
document.getElementById("login").value+=character;
$login[0].focus();
document.getElementById("password").value+=character;
$password[0].focus();
// $('#login').val=($('#login').html()+character;
// $login.html($login.html() + character);
});
});
Maruthiram_99
12-Feb-13 1:22am
View
protected override void OnStart(string[] args)
{
string strBody = "Hello";
string strSubject = "test";
//conn.Close();
//string subjectTo = "this is a sample message to check!!!!!";
SendEmail(strSubject, strBody, "****.com", "*****.com", "****8.com", "");
eventLog1.WriteEntry("In OnStart");
FileStream fs = new FileStream(@"c:\temp\mcWindowsService.txt",
FileMode.OpenOrCreate, FileAccess.Write);
StreamWriter m_streamWriter = new StreamWriter(fs);
m_streamWriter.BaseStream.Seek(0, SeekOrigin.End);
m_streamWriter.WriteLine(" mcWindowsService: Service Started \n" + DateTime.Now);
m_streamWriter.Flush();
m_streamWriter.Close();
}
This is my OnStart function of my window service...In this i have written a mail function but i am not getting required output...can u help me plzzzz
Maruthiram_99
8-Feb-13 4:10am
View
Yah i want to show the files tat are uploaded....
Maruthiram_99
5-Feb-13 22:58pm
View
No i didn't got this...Can u give me another example plzz...?
Maruthiram_99
1-Feb-13 1:31am
View
If we want the exact size of the file i.e in KB or MB the file is in...How to get it??
Maruthiram_99
1-Feb-13 1:31am
View
If we want the exact size of the file i.e in KB or MB the file is in...How to get it??
Maruthiram_99
1-Feb-13 1:18am
View
Do we need to send any arguments with it??can u explain clearly??
Maruthiram_99
25-Jan-13 5:13am
View
I just want to display current system IP address i.e my system IP address,country name,city,zipcode etc as labels in my screen
Maruthiram_99
25-Jan-13 5:13am
View
I just want to display current system IP address i.e my system IP address,country name,city,zipcode etc as labels in my screen
Maruthiram_99
24-Jan-13 6:59am
View
can we do this by using google api?
Maruthiram_99
24-Jan-13 1:48am
View
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Show or Integrate Google Maps in asp.net webapplication</title>
<style type="text/css">
html { height: 100% }
body { height: 100%; margin: 0; padding: 0 }
#map_canvas { height: 100% }
</style>
<script type="text/javascript"
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyC6v5-2uaq_wusHDktM9ILcqIrlPtnZgEk&sensor=false">
</script>
<script type="text/javascript">
function initialize() {
var myLatlng= new google.maps.LatLng(-34.397, 150.644)
var mapOptions = {
center: myLatlng,
zoom: 8,
mapTypeId: google.maps.MapTypeId.ROADMAP,
marker:true
};
var map = new google.maps.Map(document.getElementById("map_canvas"),mapOptions);
}
</script>
</head>
<body önload="initialize()">
<form id="form1" runat="server">
<div id="map_canvas" style="width: 500px; height: 300px"></div>
</form>
</body>
</html>
In the above code i have submiotted my API key but failed to get the answer...can u help me?
Maruthiram_99
24-Jan-13 1:48am
View
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Show or Integrate Google Maps in asp.net webapplication</title>
<style type="text/css">
html { height: 100% }
body { height: 100%; margin: 0; padding: 0 }
#map_canvas { height: 100% }
</style>
<script type="text/javascript"
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyC6v5-2uaq_wusHDktM9ILcqIrlPtnZgEk&sensor=false">
</script>
<script type="text/javascript">
function initialize() {
var myLatlng= new google.maps.LatLng(-34.397, 150.644)
var mapOptions = {
center: myLatlng,
zoom: 8,
mapTypeId: google.maps.MapTypeId.ROADMAP,
marker:true
};
var map = new google.maps.Map(document.getElementById("map_canvas"),mapOptions);
}
</script>
</head>
<body önload="initialize()">
<form id="form1" runat="server">
<div id="map_canvas" style="width: 500px; height: 300px"></div>
</form>
</body>
</html>
In the above code i have submiotted my API key but failed to get the answer...can u help me?
Maruthiram_99
24-Jan-13 1:12am
View
Thanks I got ur answer....but can u give me code for scientific calculaotr...it could be very useful if u provide tat....plzz
Maruthiram_99
23-Jan-13 7:31am
View
You have provided some cut and paste javascript in that no javascript is available. Cut & Paste JavaScript calculator[^]..only aspx is available..can u give me details of this..this is quite easy for me
Maruthiram_99
19-Jan-13 0:05am
View
I dnt knw abt web services can u assist me plzz...?
Maruthiram_99
18-Jan-13 0:20am
View
Hii...I have gone to ur link but it is little bit confusing.can i have a link for scientific calculator in asp.net..Plzzz
Maruthiram_99
17-Jan-13 23:54pm
View
Hello...I got ur answer but if I want to create scientific calculator having all the symbols and signs...can u help me for this?
Maruthiram_99
11-Jan-13 5:09am
View
Hey i read the link u have sent but i didnt get that..if u dont mind can u give another link or example for this..plz
Thanks
Maruthiram_99
11-Jan-13 4:58am
View
I need solution without javascript,so that on client side button click event this image should be displayed
Maruthiram_99
10-Jan-13 7:05am
View
ok i will try and let u know..
Thanks..
Maruthiram_99
10-Jan-13 7:04am
View
how to see in two browsers?I have done this but we need to refresh the browser then only the sent message is being displayed..can u help me?
Thanks
Maruthiram_99
10-Jan-13 7:01am
View
I just want a small chat application used in an organisation so that login users should be displayed on one side and chat should run on another side.
Can u help me?
Thanks
Maruthiram_99
10-Jan-13 6:59am
View
I havent got this..can u please tell clearly??
Show More