15,891,253 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 footballpardeep (Top 107 by date)
footballpardeep
9-Dec-23 20:19pm
View
Hi Andre, Thanks for solution , I am trying something like this, I am able to encode the Cookies but existing cookies are still there , so it's creating a problem. Trying to resolve this issue.
Really appretiate for your help.
footballpardeep
7-Dec-23 13:22pm
View
Hi Richard, thanks alot for quick response. We are not allowed to do any modifications at gateway, we have to handle it via code only.
footballpardeep
1-Mar-14 10:49am
View
I want to get the remote user who have accessed shared folders.
footballpardeep
27-Feb-14 13:33pm
View
Thanks for replying,But i want HTML not xml.
footballpardeep
26-Feb-14 14:29pm
View
Problem is that it is not possible to go to every place on every page to that. I have lot's of pages.
footballpardeep
2-Jan-14 14:06pm
View
?
footballpardeep
2-Jan-14 14:05pm
View
i required solution without html5, as in clients may have old browsers.
footballpardeep
8-Dec-13 13:53pm
View
Thanks alot. Can you provide some reference link for this type of problems, if possible. Once again thanks.
footballpardeep
8-Dec-13 9:15am
View
I think you are not giving command argument correctly.
Can you show your code, where you have specified sql command.
footballpardeep
7-Dec-13 15:29pm
View
may be you are using wrong connection string
footballpardeep
7-Dec-13 14:40pm
View
Can you show your aspx code.
footballpardeep
7-Dec-13 12:41pm
View
Earlier i used command "Ping 'someaddress' -t". When i see this code i.e sending data with code, after that it was my general query there must be any way to read that sent data.
footballpardeep
25-Nov-13 15:13pm
View
Use Hyperlink
footballpardeep
25-Nov-13 14:50pm
View
In other words. I tried to design a window similar to like we have MessageBox.show() in window form application, which return DialogResult after user response.
footballpardeep
25-Nov-13 14:47pm
View
Let me try to explain what i want.
Suppose user want to save some data to database , before that i want to do some confirmation. so code of btnSave_Click will be somethink like this.
if(myconfirmBox.Show()=="Yes")
{ //Then this code
}
else
{ // Otherwise this code
}
I have lot's of such confirmations in c# codes
footballpardeep
25-Nov-13 14:17pm
View
Thanks for the link, but can i get user response from those confirm boxes at server ?
footballpardeep
25-Nov-13 14:15pm
View
I am using System.Windows.Form.
At server (C# code) if i prompt a conform box(javascript). At server we can't idenify user clicked yes or no. Sp for i that i created confirm box window inheriting Form class.
footballpardeep
25-Nov-13 14:00pm
View
I have developed a customized confirm box. whoes yes/no result we can take on server.
footballpardeep
25-Nov-13 13:41pm
View
Form f=new Form();
f.show();
footballpardeep
6-Nov-13 12:43pm
View
Which browser are you using.
footballpardeep
17-Jul-13 12:33pm
View
Deleted
to reduce loading time of the webpage.
footballpardeep
17-Jul-13 12:32pm
View
to reduce Loading time of the webpage...
footballpardeep
16-Jul-13 23:09pm
View
@Menon Santosh, sorry i can't tell you name of the website.
@ryab31, yes, may be.
footballpardeep
16-Jul-13 5:40am
View
May be , before deleting the image, remove it from panel.
footballpardeep
15-Jul-13 15:56pm
View
Can you show your code.
footballpardeep
15-Jul-13 15:48pm
View
Are you sure,Items get added into the dropdownlist.
footballpardeep
4-May-13 7:02am
View
Soory question was incomlete, i want the solution for IE 8 , and i am using ajax to solve the problem
footballpardeep
20-Feb-13 9:22am
View
From this object i want transverse th ewhole database details, like all tables,rows in each table etc. (i see something like this by using SMO but that was for database on sqlserver management studio, but i want through .mdf file)
footballpardeep
20-Feb-13 9:14am
View
Thanks for the link, i like that(this will help me later.)
But i want an Database object from mdf file. so that i can futher work on like this:
Tables tables=database.ALLTables();
Basically i want get the detail of database, like tables and after that transversing rows of table using this object.
footballpardeep
16-Feb-13 2:13am
View
i think i am not able to explain my problem. let me update my question.Thanks
footballpardeep
16-Feb-13 2:07am
View
Sorry, but i don't get how the links are related to my question.
footballpardeep
15-Feb-13 14:36pm
View
Sir can u plz explain little bit.
footballpardeep
3-Jan-13 4:41am
View
i can change the postion of ellipse directly by ellipse.setValue(Canvas.leftProperty,point.X); ellipse.setvalue(Canvas.TopProperty.point.Y). But i want animating effect.
footballpardeep
3-Jan-13 4:39am
View
what i am doing. Suppose an ellipse is at 100,200 position. i am translating it to position 400,500 by double animation (code is pasted in question). graphically ellipse changes it postion to 400,500. But now, when i select this ellipse to get it's position (by using ellipse.getvalue(Canvas.leftproperty)) , it' showing me 100,200.
footballpardeep
3-Jan-13 4:37am
View
Let me explain one more time , what i am doing. Suppose an ellipse is at 100,200 position. i am translating it to position 400,500 by double animation (code is pasted in question). graphically ellipse changes it postion to 400,500. But now, when i select this ellipse to get it's position (by using ellipse.getvalue(Canvas.leftproperty)) , it' showing me 100,200.
footballpardeep
11-Nov-12 8:40am
View
I will start from simple app, that is from calculator to some other database app and after that some TCP related app.
footballpardeep
5-Nov-12 8:54am
View
Thanks
footballpardeep
5-Nov-12 6:20am
View
Will it work on internet too, clients and sever are on internet.
footballpardeep
5-Nov-12 6:19am
View
Nopes, server will have ip address, my problem was that every time the server will have new ip address, i want that to be constatnt.
footballpardeep
31-Oct-12 13:01pm
View
thanks to help, any link which can help me.
footballpardeep
31-Oct-12 13:00pm
View
i have windows plattform.
footballpardeep
31-Oct-12 12:57pm
View
Try to use InitialCatalog="databsename", in connection string.
footballpardeep
25-Oct-12 15:17pm
View
may be, anyway thanks,for telling me one new thing.
footballpardeep
25-Oct-12 15:10pm
View
My frnd downloaded installshield, it's a trai of 4 days, and the key to activate it , is not working.
footballpardeep
25-Oct-12 15:09pm
View
i think,it's something self extracting, it will not be usable like setup,i think,like setting icons for application, or setting prequites,customizing setup window by images etc.
footballpardeep
25-Oct-12 13:19pm
View
yes, i am googling.., if i found , i will tell you.
footballpardeep
25-Oct-12 13:16pm
View
Thanks, i tried clickOnce that was also easy, Can u tell something about installshield,
footballpardeep
25-Oct-12 13:06pm
View
Thanks,It seems to be good,i just try, but i don't know how to use it.
footballpardeep
24-Oct-12 15:08pm
View
Earlier, in VS2010 i was able to create setup for a window application ,But in VS12 i don't found that option(setup project).
footballpardeep
22-Oct-12 15:56pm
View
I think there was no such option in VS 2012,that why i am asking.
footballpardeep
22-Oct-12 15:56pm
View
Yes u can say that due to less space and also i have to work only in c#.
footballpardeep
10-Oct-12 15:03pm
View
I asked for suggestions not comments, provide something usefull.
footballpardeep
10-Oct-12 15:02pm
View
i was expecting: if that can be possible with .net, if yes , for that what should i learn.
footballpardeep
10-Oct-12 14:51pm
View
i think it will be done with flash, any other way to do that using .net framework etc.
footballpardeep
10-Oct-12 3:47am
View
Any other way to make window applications more attractive, because using more images make software heavy.
footballpardeep
5-Oct-12 1:30am
View
Deleted
con.ConnectionString = @"Data Source=.\SQLEXPRESS;Integrated Security=True;User Instance=True";
con.Open();
cmd.CommandText = @"restore database BhootDatabase from disk ='d:\\newDatabaseBackup.bak' WITH NORECOVERY,MOVE 'BhootDatabase' TO 'e:\\BhootDatabase.mdf',MOVE 'BhootDatabase_log' TO 'e:\\BhootDatabase_log.ldf'";
cmd.Connection = con;
cmd.ExecuteNonQuery();
cmd.Parameters.Clear();
con.Close();
MessageBox.Show("rESORE COMPLETE");
footballpardeep
5-Oct-12 1:25am
View
Deleted
I also don't want to use any dll for this, i also wanna do that by th eway you tell me but that was not working thats why i use the dll.
footballpardeep
4-Oct-12 16:02pm
View
Restore failed for server (it's name)
footballpardeep
3-Oct-12 16:33pm
View
can anybody download and send it to me, my id is pardeep.kumar558@gmail.com
footballpardeep
3-Oct-12 10:41am
View
above code give exception:
System.Data.SqlClient.SqlException (0x80131904): File 'F:\BRsetup' is claimed by 'BRdatabase_log'(2) and 'BRdatabase'(1). The WITH MOVE clause can be used to relocate one or more files.
RESTORE DATABASE is terminating abnormally.
Changed database context to 'master'.
footballpardeep
3-Oct-12 10:39am
View
con.ConnectionString = @"Data Source=.\SQLEXPRESS;Integrated Security=True;Initial Catalog=BRdatabase;User Instance=True";
con.Open();
cmd.CommandText = @"use [master];restore database BRdatabase from disk ='d:\\BRdatabaseBackup.bak' WITH NORECOVERY, MOVE 'BRdatabase' TO '" + Directory.GetCurrentDirectory().ToString() + "', MOVE 'BRdatabase_log' TO '" + Directory.GetCurrentDirectory().ToString() + "'";
cmd.Connection = con;
cmd.ExecuteNonQuery();
cmd.Parameters.Clear();
con.Close();
MessageBox.Show("rESORE COMPLETE");
footballpardeep
3-Oct-12 9:21am
View
c:\users\pardeep\documents\visual studio 2010\Projects\Bhoot\Bhoot\BhootDatabase.mdf"
This was the path of my database when i make it's backup, if the project is on the same locatio then it say , successfull, but when i change the location of project, it gives my above error.
footballpardeep
3-Oct-12 9:19am
View
Now i am getting this exception
footballpardeep
3-Oct-12 9:18am
View
Unable to open the physical file "c:\users\pardeep\documents\visual studio 2010\Projects\Bhoot\Bhoot\BhootDatabase.mdf". Operating system error 3: "3(The system cannot find the path specified.)".
RESTORE DATABASE is terminating abnormally.
footballpardeep
3-Oct-12 7:21am
View
I am using inbuilt sql database of visual studio 2010.
footballpardeep
1-Oct-12 16:04pm
View
But now the problem is how can i restore the database.
footballpardeep
1-Oct-12 16:03pm
View
I was not using initial catalog in connection string.
when i used this:
string connectionString = @"Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\PARDEEP\Documents\Visual Studio 2010\Projects\TryingDatabaseInWPF\TryingDatabaseInWPF\tryDatabase.mdf;Initial Catalog=tryDatabase;Integrated Security=True;User Instance=True";
It worked.
footballpardeep
1-Oct-12 15:34pm
View
Thanks for reply, i don't want to use any dll for this. i wanna do it by sql command.
footballpardeep
30-Sep-12 2:58am
View
Thanks for reply, there was problem in my connection string.
footballpardeep
29-Sep-12 17:10pm
View
thinks i have done in it is , add new user and search existing user by id,
footballpardeep
29-Sep-12 17:09pm
View
http://www.4shared.com/archive/tpmIdiUI/Drishya.html
My project is here , can u check whether it is working fine there.
footballpardeep
29-Sep-12 17:05pm
View
How to comit any transaction.
footballpardeep
29-Sep-12 17:02pm
View
I tried but true/false but it's not working.
footballpardeep
29-Sep-12 16:50pm
View
User Instance , should be true or false
footballpardeep
24-Sep-12 8:35am
View
Thanks for reply, Can't i do it without using any API.
footballpardeep
21-Sep-12 14:54pm
View
solved thanks
footballpardeep
21-Sep-12 14:40pm
View
I have just aded a new web.config file to subdirectory.
xml version="1.0"?
configuration
system.web
authorization
deny users="?"
authorization
system.web
configuration
***************************
i removed < >from the code
footballpardeep
21-Sep-12 14:38pm
View
Deleted
<configuration>
<system.web>
<authorization>
<deny users="?">
footballpardeep
21-Sep-12 14:37pm
View
it's again not visible
footballpardeep
21-Sep-12 14:36pm
View
Deleted
<configuration>
<system.web>
<authorization>
<deny users="?">
footballpardeep
21-Sep-12 14:32pm
View
tags
<configuration>
<system.web>
<authorization>
<deny users="?">
tags
footballpardeep
21-Sep-12 14:28pm
View
i pasted the code, but is not visible, i used ur link, of restricting access to subdirectory
footballpardeep
21-Sep-12 14:26pm
View
http://www.tarkia.com/blog/tag/asp-net-authorization/ , i used this link, to restrict access to subdirectory
footballpardeep
21-Sep-12 14:21pm
View
<configuration>
<system.web>
<authorization>
<deny users="?">
I added this code to subdirectory of images.But still i am able to access it.
footballpardeep
21-Sep-12 14:20pm
View
I added it to subdirectory. But i still able to access.
<pre>
<configuration>
<system.web>
<authorization>
<deny users="?">
</pre>
footballpardeep
21-Sep-12 14:05pm
View
thanks
footballpardeep
21-Sep-12 14:05pm
View
thanks
footballpardeep
20-Sep-12 14:52pm
View
Thanks for replying.
footballpardeep
20-Sep-12 14:52pm
View
Thanks,it worked.
footballpardeep
20-Sep-12 13:55pm
View
sweep is nothing, just canvas width will decrease.
<pre> DoubleAnimation a = new DoubleAnimation();
a.To = 0;
canvas1.BeginAnimation(Canvas.WidthProperty, a);</pre>
This is working fine for canvas1.
on the canvas2 i want the reverse effect of above animation.
As for canvas1 , when it's width will decrease from deafult value of canvas to 0.
For examle:Initially canvas width was:
canvas1 (on left side)
<pre>
---------------------------100-----<----
------------------------------<-
--------------------------<-
-------------
---------
--<--
--
-
0
</pre>
above canvas width will dreacrease from 100 to 0 , and direction will be from right to left.
for canvas2 i want the same effect means i want to reduce with from 100 to 0, but direction should be left to right for that.(I don't know whether i am able to explain it correctly or not)
footballpardeep
16-Sep-12 9:45am
View
I don't know why it's adding empty rows to it.
What i am doing:
1)Drag and drop the datagrid on the MainWindow.
2) dataGrid1.ItemsSource = ds.Tables["Table1"].AsEnumerable();
3)Dataset ds has 6 rows.(i checked).
Output is like that:
______________________
______________________
______________________
______________________
______________________
_______________________
footballpardeep
15-Sep-12 10:06am
View
Problem partially solved:
It's working when i install my software in other drive which don't have window installed.
Please tell me , how will it work if i want to install it in c: drive.
footballpardeep
15-Sep-12 9:09am
View
I don't know the steps you are talking about.
I followed these steps to create database in VS 2010:
1)Project->Add New Item->Service Base Database> Next ->Next...Finish.
2)I also check the permissions of the database by right clicking on the database,they are fine.
footballpardeep
15-Sep-12 8:42am
View
Yes it is working correctly in visual studio correctly.
footballpardeep
15-Sep-12 3:17am
View
thanks, i want to know about window applications,how obfuscate class library so that no one can read easily ?. If code will be complex it will difficult for me to understand later.
footballpardeep
15-Sep-12 3:09am
View
????????
footballpardeep
7-Sep-12 12:42pm
View
thanks, I am trying
footballpardeep
7-Sep-12 12:42pm
View
I started working on it, but i am getting 10 errors:
Error 1 error C2664: 'SQLGetDiagRecW' : cannot convert parameter 4 from 'SQLCHAR [1024]' to 'SQLWCHAR *' c:\users\pardeep\documents\visual studio 2010\projects\consoleapp\consoleapp\page1.cpp 10 1 consoleApp
Error 2 error C2664: 'SQLDriverConnectW' : cannot convert parameter 3 from 'SQLCHAR *' to 'SQLWCHAR *' c:\users\pardeep\documents\visual studio 2010\projects\consoleapp\consoleapp\page1.cpp 38 1 consoleApp
Error 3 error C2664: 'SQLExecDirectW' : cannot convert parameter 2 from 'SQLCHAR *' to 'SQLWCHAR *' c:\users\pardeep\documents\visual studio 2010\projects\consoleapp\consoleapp\page1.cpp 53 1 consoleApp
Error 4 error C1083: Cannot open include file: '..\CommonDatabasePool.cpp': No such file or directory f:\installation files\vc\include\sqlsvrpool.h 11 1 consoleApp
Error 5 error C1083: Cannot open include file: 'pthread.h': No such file or directory c:\users\pardeep\downloads\compressed\cppdatabasepool\cppdatabasepool\crosshelper.h 13 1 consoleApp
6 IntelliSense: argument of type "SQLCHAR *" is incompatible with parameter of type "SQLWCHAR *" c:\users\pardeep\documents\visual studio 2010\projects\consoleapp\consoleapp\page1.cpp 10 60 consoleApp
7 IntelliSense: argument of type "SQLCHAR *" is incompatible with parameter of type "SQLWCHAR *" c:\users\pardeep\documents\visual studio 2010\projects\consoleapp\consoleapp\page1.cpp 10 76 consoleApp
8 IntelliSense: argument of type "SQLCHAR *" is incompatible with parameter of type "SQLWCHAR *" c:\users\pardeep\documents\visual studio 2010\projects\consoleapp\consoleapp\page1.cpp 33 17 consoleApp
9 IntelliSense: argument of type "SQLCHAR *" is incompatible with parameter of type "SQLWCHAR *" c:\users\pardeep\documents\visual studio 2010\projects\consoleapp\consoleapp\page1.cpp 35 17 consoleApp
10 IntelliSense: argument of type "SQLCHAR *" is incompatible with parameter of type "SQLWCHAR *" c:\users\pardeep\documents\visual studio 2010\projects\consoleapp\consoleapp\page1.cpp 53 55 consoleApp
footballpardeep
7-Sep-12 3:41am
View
thanks, i will search and tell me one more thing, i am using Turbo c++ compiler, that will work for that or i will have to download some other compiler.
footballpardeep
7-Sep-12 3:21am
View
Thanks for reply.
Let me explain one more time.
1)I want to develop a c++ console application( you can say employee record application, where user can save record to database, and can retrive it later.)
2) As i am familiar with microsoft sql server 2008, so i would like to prefer sql.
3) i searched on google or read some books but i don't found anything useful about using database with c++.
4)Any tutorial may be good or any sample.
footballpardeep
29-Aug-12 13:05pm
View
I have Google chrome 21.0.1180.60 will it work
footballpardeep
14-Aug-12 14:34pm
View
Deleted
one more problem:
<!DOCTYPE html>
<html>
<body>
<canvas id="myCanvas" width="200" height="200" style="border:1px solid #c3c3c3;">
Your browser does not support the HTML5 canvas tag.
<script type="text/javascript">
var c=document.getElementById("myCanvas");
var ctx=c.getContext("2d");
ctx.moveTo(10,10);
ctx.lineTo(150,50);
ctx.lineTo(10,50);
ctx.stroke();
</script>
</body>
</html>
this code is working properly, but when the width and heigth are change to 500, it's not working why.
footballpardeep
14-Aug-12 14:21pm
View
i m not talking about border line, the line drawn on the canvas by javascript code is not clear.
footballpardeep
9-Aug-12 7:04am
View
Thanks for reply, but don't happen anything after adding this code :(
footballpardeep
19-Jun-12 1:21am
View
Can u plz tell me one more thing,i have visual studio 2010, it has option of TFS, does i need to download and install TFS separately.
footballpardeep
18-Jan-12 11:27am
View
thanks,rasdial.exe is not doing any thing, and will be better for me if in csharp
footballpardeep
18-Jan-12 11:25am
View
Deleted
i want to know it through programming.
Show More