15,890,282 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 PKriyshnA (Top 67 by date)
PKriyshnA
23-Jan-16 11:53am
View
In my system's "Devices and Printers" , My default printer is "Generic Text Only".
PKriyshnA
23-Jan-16 11:34am
View
Yes i don't use cmd.exe in programming. i just testing in cmd.exe because if i try using .bat i am not able to see error, so just trying to test in cmd.exe.
You mean my code should be
C:\Windows\System32>copy /b D:\MyTest\mytest.prn LPT1
am i right ?
PKriyshnA
23-Jan-16 11:20am
View
i mean i have tried from cmd.exe(Windows Command Processor) file.
PKriyshnA
23-Jan-16 8:20am
View
I have tried this one. and i got the error in cmd
Error is "The system cannot find the path specified."
i have given right path
i am not using any shared printer. printer is attached to my computer and my operation system is Windows 7 32 bit.
My tried command is
C:\Windows\System32>copy /b D:\MyTest\mytest.prn > LPT1
and
C:\Windows\System32>copy /b D:\MyTest\mytest.prn \\MyCurrentComputerName\PrinterName
but i doesn't work for me, Please advice.
PKriyshnA
28-Nov-14 4:07am
View
To search for "Is Containing In"
PKriyshnA
26-Nov-14 6:30am
View
Thats absulately right but i don't want to write for many no of store procedure.
i can get a parameter name by
SELECT p.NAME
FROM sys.parameters p
INNER JOIN sys.types sty ON sty.system_type_id = p.system_type_id
AND sty.NAME NOT IN ('varbinary') AND sty.max_length != 8000
WHERE OBJECT_ID = OBJECT_ID('dbo.test_store_procedure')
ORDER BY p.parameter_id
by using this sql how can i trace parameters with value.
some of store procedure may have a 100s no of parameters so need to get dynamically.
PKriyshnA
26-Nov-14 6:21am
View
Yes,
i only want to trace the parameter values passed to the SP while executing it.
without using sql trace.
i can insert it manually but i want to trace for all store procedure.
PKriyshnA
18-Jun-14 9:21am
View
By Using given regex getting error like
parsing "(?<=FONT-FAMILY:\s)(?'.+?')(?=;)" - Invalid group name: Group names must begin with a word character.
PKriyshnA
18-Jun-14 8:14am
View
Not Working With this string
Please suggest.
<p style="margin-top: 0px;margin-bottom: 12px;line-height: 1.14999997615814;">
<span style="font-family: 'Verdana';font-style: Normal;font-weight: normal;font-size: 16px;">This chapter describes how to address globalization and localization issues in Web applications. The chapter includes the following sections:</span></p><p style="margin-top: 0px;margin-bottom: 12px;line-height: 1.14999997615814;"><span style="font-family: 'Times New Roman';font-style: Normal;font-weight: normal;font-size: 24px;">Understanding Globalization and Localization Issues</span></p><p style="margin-top: 0px;margin-bottom: 12px;line-height: 1.14999997615814;"><span style="font-family: 'Verdana';font-style: Normal;font-weight: normal;font-size: 16px;">Using Cultures</span></p><p style="margin-top: 0px;margin-right: 0px;margin-bottom: 12px;line-height: 1.14999997615814;"><span style="font-family: 'Verdana';font-style: Normal;font-weight: normal;font-size: 16px;">Formatting Data</span></p><p style="margin-top: 0px;margin-right: 0px;margin-bottom: 12px;line-height: 1.14999997615814;"><span style="font-family: 'Verdana';font-style: Normal;font-weight: normal;font-size: 16px;">Creating Localized Resources</span></p><p style="margin-top: 0px;margin-bottom: 12px;line-height: 1.14999997615814;"><span style="font-family: 'Verdana';font-style: Normal;font-weight: normal;font-size: 16px;">Applications mi</span><span style="font-family: 'Calibri';font-style: Normal;font-weight: normal;font-size: 16px;color: #FF0000;">ght be used in multiple geographical locations and cultures; this can bring many challenges to software architects, particularly when designing the presentation layer. This chapter describes how to address these challenges so that your applications can support as broad a customer base as possible. This chapter also describes how to design and implement your applications so that they can be easily extended to support new cultures when nec</span><span style="font-family: 'Verdana';font-style: Normal;font-weight: normal;font-size: 16px;">essary.</span></p><p style="margin-top: 0px;margin-bottom: 12px;line-height: 1.14999997615814;"><span style="font-family: 'Verdana';font-style: Normal;font-weight: normal;font-size: 16px;">For a summary of best practices and recommendations discussed in this chapter, see "Best Practices for Developing World-Ready Applications" on MSDN (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconbestpracticesforglobalapplicationdesign.asp).</span></p><p style="margin-top: 0px;margin-bottom: 12px;line-height: 1.14999997615814;"><span style="font-family: 'Verdana';font-style: Normal;font-weight: normal;font-size: 16px;">Understanding Globalization and Localization Issues</span></p><p style="margin-top: 0px;margin-bottom: 12px;line-height: 1.14999997615814;"><span style="font-family: 'Verdana';font-style: Normal;font-weight: normal;font-size: 16px;">Globalization is the term given to the process of making sure that an application does not contain any internal dependencies on a particular culture; for example, it is best for a globalized application to not have any hard-coded number formats that can differ across multiple countries, or to assume a particular sorting mechanism for strings. A globalized application can correctly accept, process, and display a worldwide assortment of scripts, data formats, and languages.</span></p><p style="margin-top: 0px;margin-bottom: 12px;line-height: 1.14999997615814;"><span style="font-family: 'Verdana';font-style: Normal;font-weight: normal;font-size: 16px;">Localization is the process of adapting an application, and in particular the user interface, to suit a specific culture. Localization typically involves tasks such as translating strings into different natural languages, resizing
PKriyshnA
18-Jun-14 7:31am
View
Thanks a lot.
PKriyshnA
30-Apr-13 12:36pm
View
still did not get proper solution please help if you can
PKriyshnA
20-Apr-13 23:14pm
View
can you please give me a solution today ??
PKriyshnA
20-Apr-13 10:28am
View
ok thank you
PKriyshnA
20-Apr-13 9:39am
View
Hello...if i have columns more than 500. then my query will become very long. so have any another solution ?? i have tried using dynamic columns but got some errors . SQL Query is: select COLUMN_NAME,exec('SELECT '+ COLUMN_NAME +' FROM Tbl_customer where cst_id=1') from INFORMATION_SCHEMA.COLUMNS where TABLE_NAME='Tbl_customer' Please help again if you can...thanks
PKriyshnA
20-Apr-13 9:33am
View
Deleted
Hello...if i have columns more than 500.
then my query will become very long.
so have any another solution ??
i have tried using dynamic columns but got some errors .
SQL Query is:
select COLUMN_NAME,exec('SELECT '+ COLUMN_NAME +' FROM Tbl_customer where cst_id=1') from INFORMATION_SCHEMA.COLUMNS
where TABLE_NAME='Tbl_customer'
Please help again if you can...thanks
PKriyshnA
20-Apr-13 8:54am
View
Thank You So much
PKriyshnA
19-Sep-12 5:22am
View
ok thanks
PKriyshnA
19-Sep-12 4:26am
View
but what about no of character
i mean if user enter surat,ahmedabad then it is valid
not compulsary to add all 25 characters
PKriyshnA
1-Jul-12 10:05am
View
how can i impliment it...
PKriyshnA
8-May-12 10:30am
View
i can not get all data i mean i pass http://whatismyipaddress.com/ip/101.2.50.106
so i have to fetch General IP Information and Geolocation Information generated by http://whatismyipaddress.com/ip/101.2.50.106 link...
here i get blank data...
passed link should be load after loading linked page we have to fetch data....
By the way i will help me in future...thanks a lot for your valuable reply
PKriyshnA
8-May-12 10:21am
View
its not working
PKriyshnA
6-May-12 18:23pm
View
i had no idea how to fetch data from another url so i did upto webRequest...
m tried to read html content...but cant solve...
PKriyshnA
6-May-12 1:33am
View
it meta tag is,
<meta name="keywords" content="word1, word2, word 3" />
then i want output as a sring
Output=word1, word2, word 3
PKriyshnA
6-May-12 0:03am
View
here i want SEO keyword in a string
then i want to calculate length od this string....
then how can i show what keyword used by site....
i want to show keywords
string length
and give user some suggetion based on length...
PKriyshnA
5-May-12 11:11am
View
i mean i want to fetch meta keywords used for seo...
PKriyshnA
4-May-12 1:42am
View
suppose my web page contain
<html>
<head>Gujarati Check</head>
<body>
નમસ્તે,<br>
સાગર પટેલ.
</body>
<html>
it is better to make website in this way....????
PKriyshnA
4-May-12 1:27am
View
i want to develope website in Gujarati....it is better to use Google IME Gujarati or not ???
if u have another idea for that please help....thanks
PKriyshnA
4-May-12 1:26am
View
its a google translator language
using Google IME...
PKriyshnA
4-May-12 0:16am
View
how can i use google language
PKriyshnA
14-Apr-12 9:33am
View
here i bind data from database table where Target_No is static
whenever Current_No will be change.....
PKriyshnA
9-Apr-12 2:39am
View
i did usig your logic but i want to reduce my load
using webservice all time webservice connect to database
but in database Ctime is static ....
'so how can i fetch it continuously
i also got directly SystemTime-Ctime
but each and every second i need to execute.....so each and every time connect to database
it takes tooo much load and did not get accurate result....
i get data ay onetime on pageload then not need to execute ...
only dataset to another dataset i need to generate ......so....
tnx for your valuable reply
PKriyshnA
8-Apr-12 9:57am
View
please help
PKriyshnA
3-Apr-12 1:32am
View
thanks a lot heartly.....
its a great result
thanks again MR.Nilesh Patil Kolhapur
PKriyshnA
3-Apr-12 0:33am
View
table data
1 4/3/2012 11:00:00 AM
2 4/3/2012 7:00:15 PM
3 4/3/2012 8:00:00 PM
4 4/3/2012 9:25:00 PM
5 4/3/2012 10:00:00 PM
6 4/3/2012 11:00:00 AM
7 4/3/2012 11:20:00 PM
query result
1/1/1900 12:56:48 AM
1/1/1900 8:57:03 AM
1/1/1900 9:56:48 AM
1/1/1900 11:21:48 AM
1/1/1900 11:56:48 AM
1/1/1900 12:56:48 AM
1/1/1900 1:16:48 PM
PKriyshnA
31-Mar-12 23:16pm
View
i got solution but i can not understand this query...
can any one describe....please
PKriyshnA
27-Mar-12 13:56pm
View
for Live Auction website....
likewise..... www.bidjeeto.com
i want to show to user if it is not logged in in my website then he/she can not place bid without login....
so i want to show LOGIN on button hover if H3/she not logged in
if he/she loggedin the only show "BID NOW" ..........help........
for the multiple product i bind data in datalist....so buttton is in a datalist
............help
PKriyshnA
25-Feb-12 16:39pm
View
thanx a lot
its working....
why we need to use trim() ??
PKriyshnA
21-Feb-12 10:41am
View
i use for L_id===4
SELECT a.Pro_id,count(BP.Bidplace_id)
FROM TBl_Auction a,Tbl_BidPlace BP
where a.IsAuction='L'
and a.Pro_Id=BP.Pro_id
and BP.L_id=4;
did not get data....please help
PKriyshnA
30-Jan-12 12:35pm
View
from where i can download jquery library and how can i use....
please i am new in jquery...
PKriyshnA
30-Jan-12 9:24am
View
that means we cant use this jquery ????
or have u any another solution...please post that
i also got error like
Jquery is not defined...
PKriyshnA
28-Jan-12 9:21am
View
simply i have a data in xml file but i want to use that data in project as a sql server database
so i want to import xml data in sql server 2008 database table
DATA IN XML IS:
<countrydata>
<country>
<cname>AMERICAN SAMOA
<ccode>AS
<country>
<cname>ANDORRA
<ccode>AD
<country>
<cname>ANGOLA
<ccode>AO
<country>
and DATA IN TABLE SHOULD BE:
ID CName CCode
1 AMERICAN SAMOA AS
2 ANDORRA AD
3 ANGOLA AO
PKriyshnA
27-Jan-12 11:51am
View
how can i configure ....
still did not get solution...hope u will help
PKriyshnA
27-Jan-12 10:49am
View
how can i read data from that web page and store in one variable,
please help....
PKriyshnA
27-Jan-12 10:31am
View
i get api key and can get information in iplocators webpage
in
OK;;27.121.105.12;AU;AUSTRALIA;NEW SOUTH WALES;PYRMONT;-;-33.869;151.194;+10:00
format
using
http://api.ipinfodb.com/v3/ip-city/?key=&ip=27.121.105.12
but how can i impliment in my webpage....
but how can i read data and store in my label
PKriyshnA
27-Jan-12 9:29am
View
i get api key and can get information in iplocators webpage
in
OK;;27.121.105.12;AU;AUSTRALIA;NEW SOUTH WALES;PYRMONT;-;-33.869;151.194;+10:00
format
using
http://api.ipinfodb.com/v3/ip-city/?key=<my_key>&ip=27.121.105.12
but how can i impliment in my webpage....
PKriyshnA
26-Jan-12 10:05am
View
k sorry
PKriyshnA
26-Jan-12 9:05am
View
help any one please.....
PKriyshnA
26-Jan-12 8:51am
View
i got ip address using
string visitorIpAddress = string.Empty;
if (HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"] != null)
{
visitorIpAddress = HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"].ToString();
lblIp.Text = visitorIpAddress;
}
else
{
visitorIpAddress = HttpContext.Current.Request["REMOTE_ADDR"];
lblIp.Text = visitorIpAddress;
}
PKriyshnA
20-Jan-12 22:40pm
View
thats not work properly
when application start then coun increase....
not work with session.....
post another solution which help with better accuracy
thnx
PKriyshnA
20-Jan-12 14:47pm
View
please help....
PKriyshnA
20-Jan-12 11:17am
View
vary excellent
PKriyshnA
20-Jan-12 10:35am
View
thnx a lot ....
PKriyshnA
20-Jan-12 9:33am
View
i have a table named Tbl_Product
having columns (id,PName,PTime)----
(1,Nokia,1/20/2012 7:02:09 PM)
(2,Samsung,1/21/2012 7:02:09 PM)
(3,Micromax,1/20/2012 7:02:09 PM)
(4,Tablet,1/21/2012 7:02:09 PM)
(5,Pendrive,1/20/2012 7:02:09 PM)
now i want to select data in a such manner date shoud be 1/20/2012
compare only 1/20/2012 and bind it to GridView.......help me....
PKriyshnA
19-Jan-12 10:49am
View
hi please give me a solution.....its urgent please
PKriyshnA
19-Jan-12 1:12am
View
difference datetime between two product may be of 3-5 hour
PKriyshnA
19-Jan-12 1:03am
View
ya i want automate this process....
PKriyshnA
9-Jan-12 9:29am
View
for the purpose of auction site,
i use it
in Label1 ,i displayed close time
now i want to put countdown timer in second label.
so i used Label1 time and server time and subtract it and subtracted result i want to display in Label2....
PKriyshnA
4-Jan-12 1:22am
View
thanks ......Nigam Patel...have a nice day :)
PKriyshnA
4-Jan-12 0:12am
View
Deleted
using System;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void ButtonInsertXML_Click(object sender, EventArgs e)
{
// Open the XML doc
System.Xml.XmlDocument myXmlDocument = new System.Xml.XmlDocument();
myXmlDocument.Load(Server.MapPath("InsertData.xml"));
System.Xml.XmlNode myXmlNode = myXmlDocument.DocumentElement.FirstChild;
// Create new XML element and populate its attributes
System.Xml.XmlElement myXmlElement = myXmlDocument.CreateElement("entry");
myXmlElement.SetAttribute("Name", Server.HtmlEncode(TextBoxName.Text));
myXmlElement.SetAttribute("Location", Server.HtmlEncode(TextBoxLocation.Text));
myXmlElement.SetAttribute("Email", Server.HtmlEncode(TextBoxEmail.Text));
myXmlElement.SetAttribute("Gender", Server.HtmlEncode(DropDownListGender.SelectedItem.Text));
// Insert data into the XML doc and save
myXmlDocument.DocumentElement.InsertBefore(myXmlElement, myXmlNode);
myXmlDocument.Save(Server.MapPath("InsertData.xml"));
// Re-bind data since the doc has been added to
BindData();
LabelMessage.Text = "Record inserted Successfully Inside the XML File...";
TextBoxName.Text = "";
TextBoxLocation.Text = "";
TextBoxEmail.Text = "";
}
void BindData()
{
XmlTextReader myXmlReader = new XmlTextReader(Server.MapPath("InsertData.xml"));
myXmlReader.Close();
}
}
PKriyshnA
4-Jan-12 0:11am
View
i used given below code but i does not work...
any one do changes to in to succeed
PKriyshnA
4-Jan-12 0:00am
View
any one have another solution.....
PKriyshnA
3-Jan-12 13:29pm
View
i did not yet proper solution i want use text file as a database...please help me
PKriyshnA
3-Jan-12 10:26am
View
ok thanks a lot to responding me...
PKriyshnA
3-Jan-12 10:17am
View
i have another query....
i store string in text file,
now i made a form to store values in text file as a string as above..
and on clicking submit i want to get changes to my google map
coz i fetch that data in google map..for individual location.
but problem is that i do not get changes on map instantly.
and in vs 2010 i got pop up message
like
this file has been modified outside of source editor.
do you want to reload it ??
yes, yes to all, no, no to all
i used three files
default.aspx for display map with javascript
data.aspx it consist form to store new data
data.txt to store data as a database
Give me a proper solution
PKriyshnA
3-Jan-12 10:08am
View
thnx Mr.Mika Wendelius :)
PKriyshnA
3-Jan-12 3:31am
View
when i debuge again then get changes on google map..
PKriyshnA
3-Jan-12 3:25am
View
i moved this file in another location, after than i have problem...
Show More