15,886,518 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 Killzone DeathMan (Top 200 by date)
Killzone DeathMan
14-Jul-14 12:56pm
View
Killzone DeathMan
3-Jul-14 10:45am
View
If you want a quick way:
http://support.jimdo.com/tutorials/apps-and-plugins/how-to-add-google-translate-to-your-website/
Killzone DeathMan
1-Jul-14 11:31am
View
My 5 starts ;)
Killzone DeathMan
1-Jul-14 4:41am
View
Maybe the problem is on the PHP version?
"session_register()"
"Warning: This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0."
Killzone DeathMan
1-Jul-14 4:37am
View
if(isset('Vacancy')) ???
OR did you mean:
if(isset($_SESSION['Vacancy'])) ?
Killzone DeathMan
30-Jun-14 12:51pm
View
Its in JSON format..
$array = json_decode($resultarray);
print_r($array);
Killzone DeathMan
30-Jun-14 12:17pm
View
Like the error says.. "Call to undefined function session_is_registered()"!
The function is not defined! :P
Killzone DeathMan
6-Mar-14 12:24pm
View
I already add you on skype!
Killzone DeathMan
6-Mar-14 11:33am
View
Maybe I dont understand the question... If you click on the label, you want the check and uncheck the checkbox, right?
Just give the checkbox an id="something" and on the label add the attr for="something"...
Killzone DeathMan
6-Mar-14 10:28am
View
I already add you on skype, may I see the 3 files? It dont work because its missing the files...
Killzone DeathMan
6-Mar-14 5:19am
View
Thats easy, you can simple add a span over the image and change the span text with the number... or if you want to do a image with the number impressed, just see: http://www.php.net/manual/en/function.imagestring.php
If you want more help send me your skype name!
Killzone DeathMan
6-Mar-14 5:05am
View
Agree :)
Killzone DeathMan
6-Mar-14 4:57am
View
Men, I have no "Youtube_category.php", "vedio_details.php?id=1" and "subCategory.php" files...
Its hard to test, please give me your skype
Killzone DeathMan
3-Mar-14 12:59pm
View
I know PHP and Jquery, maiby I can help..
Killzone DeathMan
19-Feb-14 6:31am
View
My 5 ;)
Killzone DeathMan
18-Feb-14 7:19am
View
You are right, but if he store the private and public IP, he can handle that just one click per private IP.. but then its better store the MAC Adress and handle it! Because the user can switch the private IP :P
Killzone DeathMan
13-Feb-14 4:37am
View
Thats the point "since there isn't any in your question"
Killzone DeathMan
12-Feb-14 8:48am
View
Please update you question, its confusing and something makes no-sense because there are just a small sniped code
Killzone DeathMan
12-Feb-14 6:15am
View
Whats the "jsonLocs" content?
Killzone DeathMan
11-Feb-14 12:17pm
View
To the database... "ALTER TABLE" and add the columns "file_name" with the type "VARCHAR(256)" and "session_id" with the type "VARCHAR(20)"..
Killzone DeathMan
11-Feb-14 12:07pm
View
Thats ok, thank you anyway for your reply :)
Killzone DeathMan
11-Feb-14 11:15am
View
Yeah you are right.. Where should I post this question on codeproject?
Killzone DeathMan
11-Feb-14 9:06am
View
Agree
Killzone DeathMan
11-Feb-14 9:02am
View
Thats good :)
I use DATETIME format, "2014-02-11 14:02:13"
Killzone DeathMan
11-Feb-14 8:29am
View
Sorry, I updated my comment! :P
Any question add me on skype :)
Killzone DeathMan
7-Feb-14 11:10am
View
Deleted
Oh nothing, just forget what I said!
Killzone DeathMan
7-Feb-14 11:03am
View
Deleted
Yeah you are right! With a "no code question", must be a "no code answer"! Right?
Killzone DeathMan
7-Feb-14 9:48am
View
Deleted
How rude.. relax my friend :)
Just "negociate", ask for his code, then modify just the "point of discussion" and reply back!
Killzone DeathMan
7-Feb-14 9:43am
View
Why you put the password on the "userName" variable? "$_SESSION['userName'] = $row['pass'];"
Its easy: "<input type="text" value="<?php echo $_SESSION['userName']; ?>" />
Killzone DeathMan
7-Feb-14 9:24am
View
Of course :P
It GETs the xml file!
Killzone DeathMan
7-Feb-14 7:26am
View
https://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxchart/jquery-chart-data-source.htm
Killzone DeathMan
7-Feb-14 7:01am
View
Do you have the video uploaded? Or try with another browser..
See and try online:
http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_video_all
Killzone DeathMan
7-Feb-14 6:48am
View
Thats weird, I just include, and copy the examples like they describe, and no errors, no warnings, and the chart didnt appear :s
Killzone DeathMan
7-Feb-14 6:17am
View
Hello, I think there is a syntax error in your autocomplete code, "source : 'search.php'"
it must be an array "source : {"label":"test"}", look here:
http://www.jqueryautocomplete.com/jquery-autocomplete-json-example.html
I think you must do a POST to the search.php file, and then pass the result to the "source" of your autocomplete code.
And there are unused code in the search.php file..
Killzone DeathMan
7-Feb-14 5:45am
View
I cannot help you here.. I dont have the library "jqxChart" and I dont know whats the result of "marksarr", please add my skype: miguel.poegel
Killzone DeathMan
7-Feb-14 5:37am
View
The question is maybe: "How to program in PHP?" xD
Killzone DeathMan
7-Feb-14 4:50am
View
Good reply ;)
Killzone DeathMan
7-Feb-14 4:47am
View
Give him a break, he mean MySQL Database connecting throught PHP, and the "optimize" should be write a class with the basic connections.
Thats what I think :P
Killzone DeathMan
7-Feb-14 4:42am
View
Please try it simple first: http://www.jqchart.com/jquery/chart/ChartTypes/LineChart
Then when you see it working, add carefully the parameters "padding", "titlePadding", etc.
If you need more help add my skype :)
Killzone DeathMan
7-Feb-14 4:31am
View
Whats the problem? http://www.w3schools.com/html/html5_video.asp
Killzone DeathMan
6-Feb-14 12:18pm
View
It was just a joke :D
I dont know why there are so many echo"" x)
Killzone DeathMan
6-Feb-14 12:17pm
View
Why? Whats wrong? :P
add my skype, its better to talk
Killzone DeathMan
3-Feb-14 6:38am
View
Response for point 4: He just forget to type some random text :P
Killzone DeathMan
30-Jan-14 9:33am
View
LOL xD
Killzone DeathMan
30-Jan-14 9:31am
View
His problem is between the chair and the keybord :P
Killzone DeathMan
23-Jan-14 4:45am
View
if user dont want to enable javascript, the pop up can have a close button with "<a href="hidepopup.php"><img src="myclose.jpg" /></a>" and then with $_SESSION variable you can do the trick, but it is not good do it that way :P
Killzone DeathMan
23-Jan-14 4:40am
View
<input type="button" name="downloadtest" value="Download" önclick="location.href='downloadit.php?dodont=hello';" >
Then it will apear: "I: helloDon't like food \r\n"
I dont understand much the question..
Killzone DeathMan
21-Jan-14 10:01am
View
So whats the problem?
Killzone DeathMan
21-Jan-14 9:46am
View
hahaha lol xD
Killzone DeathMan
20-Jan-14 12:28pm
View
Just create an paypal account and create there an button for you website, then they provide the code for the button, easy, copy and paste :P
Killzone DeathMan
20-Jan-14 11:29am
View
Good answer, my 5 starts :D
Killzone DeathMan
20-Jan-14 11:27am
View
There is a default margin, etc...
You can reset the CSS: http://meyerweb.com/eric/tools/css/reset/
Have a nice day :)
Killzone DeathMan
20-Jan-14 11:09am
View
Man, all its working fine!
When I add the second item it is NOT starting again!
Killzone DeathMan
20-Jan-14 10:52am
View
Good solution ;)
my 5 stars
Killzone DeathMan
20-Jan-14 10:51am
View
Please provide your code :D
Killzone DeathMan
10-Jan-14 6:22am
View
You can update the list:
-Mumbai
-Mumbra
instead of:
-Mumbai(Bom)
-Mumbra (Mum)
The it shows in input text "Mumbra" and passes the value as "Mumbra" just like you want!
For a question without code, there must be an answer without code :P
Killzone DeathMan
10-Jan-14 6:16am
View
Thats true! But some people think we are gods xD hahaha
Killzone DeathMan
9-Jan-14 6:32am
View
It this what you want?
http://stackoverflow.com/questions/10042485/how-to-display-currency-in-indian-numbering-format-in-php
Killzone DeathMan
9-Jan-14 5:51am
View
You run "mysql_query" function, and where are "mysql_connect" function?
Maybe the query dont match any row? and dont know.. just saying!
Killzone DeathMan
8-Jan-14 12:59pm
View
You are right that is better "===" to use, but what I desagree is when you run the code "<?php echo true; ?>", the page shows "1", and when you run "<?php echo false; ?>" it shows "" and not "0"! You are right, that FALSE is for all languages "0", but the PHP dont shows "0", it shows an empty string... I have tested it right now :P
But you are right, you have post a good solution ;)
Killzone DeathMan
8-Jan-14 10:29am
View
Yeah thats ok! :)
I think making an echo true will show "1" and echo false will show ""! Right? :P
Killzone DeathMan
8-Jan-14 5:57am
View
Hello there, I have found this site: http://services.packetizer.com/spotprices/
But its only update at the end on the day.. so its not really live! :(
Killzone DeathMan
8-Jan-14 5:36am
View
I have never done it...but maybe this help? :P
https://developers.google.com/drive/v2/reference/permissions/insert
Killzone DeathMan
7-Jan-14 4:32am
View
Yeah man! Thats why I say "Are you sure that is the only code?" :P
Killzone DeathMan
6-Jan-14 9:18am
View
Good answer :)
Killzone DeathMan
6-Jan-14 7:19am
View
LOL, of course there will be the error "parse error syntax error unexpected t_string ", please see the following code:
print "<script language="Javascript">document.location.href='http://abc.in/index.php';</script>";
Must better be:
echo "<script language=\"Javascript\">document.location.href='http://abc.in/index.php';/script>";
Or it can be:
?><script language="Javascript">document.location.href='http://abc.in/index.php';/script>
Killzone DeathMan
6-Jan-14 5:39am
View
I supose that the extension is .php!
Killzone DeathMan
6-Jan-14 5:37am
View
Humm.. Thats weird! Are you sure that is the only code? maybe you forgot close something in the PHP code? :s
Killzone DeathMan
3-Jan-14 11:07am
View
May be I need to create methods and provide that info to 3rd party site?
You are right! ;)
I think there is no need to create SOAP, you can make it secure without SOAP :P
Killzone DeathMan
3-Jan-14 11:01am
View
I agree with your fact.. Better he shows us the xml content.. something like:
<product>
<name>Test</name>
<value>123</value>
</product>
Killzone DeathMan
2-Jan-14 6:31am
View
I think that loading with "SimpleXMLElement", then iterating he can do the search engine!
Killzone DeathMan
2-Jan-14 6:28am
View
mysqli_connect("localhost", "user", "****");
Killzone DeathMan
2-Jan-14 6:22am
View
You say that your "code works fine", are you sure?
You have CSS code without the tag "<style>", I must generate an error...
So you can do a POST with javascript to an PHP file that will connect to your database :P
Killzone DeathMan
2-Jan-14 6:19am
View
Hahaha agree :P
Not readable!
Killzone DeathMan
2-Jan-14 6:06am
View
So if javascript is disable, it won't work... Thats boring...
If the user accidentaly type "ESC" (escape), the javascript breaks!
So I think better will be:
echo '<meta http-equiv="refresh" content="0; url=http://example.com/">';
What do you think? :D
Regards,
KZ
Killzone DeathMan
2-Jan-14 5:56am
View
Hello..
$_POST['name] is undefined!
If you open the page the first time, its undefined, but when you submit the form its okay!
You can protect this Notice like:
if(isset($_POST['name]))
{
echo 'The variable "name" is set ;)';
}
else
echo 'The variable "name" is NOT set!';
Killzone DeathMan
19-Nov-13 11:31am
View
I am thrilled with your answer ... :')
Killzone DeathMan
19-Nov-13 11:23am
View
Deleted
Sorry I dont talk troglodite! :P
Killzone DeathMan
19-Nov-13 7:29am
View
Nelek, I think Raja forget to ask: "Can you do my work?" xD ah ah ah
Killzone DeathMan
18-Nov-13 5:56am
View
Hello Sonya, please tell us whats the value of "$_POST['question_id']"
Killzone DeathMan
18-Nov-13 5:47am
View
Just create divs with A4 size, with the default header and footer and print reports there... There is nothing to answer...
You dont know how to do it, am I right?
Killzone DeathMan
15-Oct-13 4:25am
View
Thats right :)
Killzone DeathMan
2-Oct-13 11:47am
View
Hello Habjan,
It was a project from 24-Aug-2012... And I delivered my project without the ability to convert to grayscale..
Its amazing to know that you make your own solution.. :o
I will try implement your solution and after that I send you a feedback Habjan!
I appreciated very much your interest!
Thanks,
KZ
Killzone DeathMan
20-Sep-13 5:04am
View
http://bit.ly/16keU3M
Killzone DeathMan
19-Sep-13 4:42am
View
No problem! Just add me on skype to send instant messages, there is no need for microphone or webcam!
Regards,
KZ
Killzone DeathMan
18-Sep-13 11:52am
View
Yeah a silly mistake:
$to = $_POST['$to'];
$subject = $_POST['subject'];
$message = $_POST['$message'];
Must be:
$to = $_POST['to'];
$subject = $_POST['subject'];
$message = $_POST['message'];
Note: You have "$" when you request the post fields...
"I learn coding on my own by reading books with no teacher to guide." -> I can help you if you want, just add me on skype: miguel.poegel
Killzone DeathMan
18-Sep-13 7:32am
View
Easy like this ;)
$arr = array(2, 2, 3, 4, 5, 4, 1, 3, 2);
$sum = array();
echo 'Original:<br/>';
foreach($arr as $key => $a){
echo $a . '<br/>';
$s = ($arr[$key - 2] + $arr[$key - 1] +$arr[$key]);
$sum[] = $s;
}
echo '<br/>ValuesSum:<br/>';
foreach($sum as $key => $s){
echo $s . '<br/>';
The output of the code is:
Original:
2
2
3
4
5
4
1
3
2
ValuesSum:
2
4
7
9
12
13
10
8
6
Killzone DeathMan
18-Sep-13 7:05am
View
The insert query work?
"INSERT INTO users(username,email,password,gender,country,ip,signup,lastlogin,notescheck) VALUES('$u','$e','$p_hash','$g','$c','$ip,now(),now(),now())"
should your query not be:
"INSERT INTO users(username,email,password,gender,country,ip,signup,lastlogin,notescheck) VALUES('$u','$e','$p_hash','$g','$c','$ip',now(),now(),now())"
I mean sql sintax error, near "$ip"!
Killzone DeathMan
5-Sep-13 8:15am
View
I think the string is wrong encoded, and there build "trash" into the string like "�" and now I cannot convert it anymore
Killzone DeathMan
3-Sep-13 9:34am
View
nobody???
ok then..
I must handle it manually: "$string = str_replace('�', 'è', $string);"
:(
Killzone DeathMan
3-Sep-13 6:49am
View
My 5 stars ;)
Killzone DeathMan
3-Sep-13 6:13am
View
My 5 stars ;)
Killzone DeathMan
28-Jun-13 12:48pm
View
Maybe in your friends page must be the fields, and when all are validated, just do something like:
$.ajax({
type: "POST",
url: "youphpfile.php",
data: {"ea":"cliente_mail@example.com", "comments":"So easy!", "llr":"WTFisTHIS", "m":"mmm","p":"ppp"},
success: function(){
alert('Email send successfully!');
},
dataType: "json"
});
This will execute your 1/2 done PHP script to send the email...
want a tip? smoke marijuana and all will be OK! xD
Regards,
KZ
Killzone DeathMan
28-Jun-13 12:37pm
View
you have an error there ...
"$questionField" - is unused
"$comments" - is not declared
maybe you mean:
$comments = $_POST ['comments'];
Killzone DeathMan
28-Jun-13 11:09am
View
Q1: unset($_SESSION['myvariavle']);
Q2: Now... I'm too lazy to search xD
Killzone DeathMan
28-Jun-13 9:50am
View
Yeah maybe your solution is:
<asp:Menu ID="Menu1" runat="server" StaticDisplayLevels="3">
<items>
<asp:MenuItem Text="File" Value="File">
<asp:MenuItem Text="New" Value="New">
<asp:MenuItem Text="Open" Value="Open">
<asp:MenuItem Text="Edit" Value="Edit">
<asp:MenuItem Text="Copy" Value="Copy">
<asp:MenuItem Text="Paste" Value="Paste">
<asp:MenuItem Text="View" Value="View">
<asp:MenuItem Text="Normal" Value="Normal">
<asp:MenuItem Text="Preview" Value="Preview">
But to be honest the word "strip" in "how to add menu strip to asp.net web page" called my attention to this issue... :$ disappointing :( :D
Killzone DeathMan
28-Jun-13 9:34am
View
Ajax will do the trick or not? Sending a post to the server and waiting for a response.. The server only will responde if someone send a message to the client..
Show us your code and let the magic lessons begin :D
Killzone DeathMan
28-Jun-13 9:24am
View
Maybe you need to get more sleep and smoking tobacco instead of marijuana :P
I hope I've helped!
Regards,
KZ
Killzone DeathMan
28-Jun-13 7:27am
View
For a incomplete question, you just send an incomplete answer ;)
Killzone DeathMan
28-Jun-13 7:26am
View
string path;
path = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase );
Killzone DeathMan
28-Jun-13 6:39am
View
Deleted
I cant submit with a comment with the PHP tags..
$1 = '';
$2 = '';
if(isset($_POST['val1'])
$1 = trim($_POST['val1']);
if(isset($_POST['val2'])
$2 = trim($_POST['val2']);
if($1 == "Press 1")
echo "You have press 1";
else if($2 == "Press 2")
echo "You have press 2";
else
echo "No values defined!";
------------------------------------------------------------------------
<form method="post" action="<!--?php echo $_SERVER["PHP_SELF"]; ??-->">
<input type="submit" value="Press 1" name="val1" />
<input type="submit" value="Press 2" name="val2" />
</form>
Killzone DeathMan
20-Jun-13 10:20am
View
The solution for all your problems is turning off the computer and then go sleep :P
Killzone DeathMan
31-May-13 10:29am
View
Try to use "tls" instead of "ssl"...
Try to use port "587" instead "465"...
Killzone DeathMan
28-May-13 11:25am
View
Deleted
If you want to do some nice stuff as a team: miguel.poegel@gmail.com
Killzone DeathMan
28-May-13 5:21am
View
My 5 stars Tadit ;)
Killzone DeathMan
27-May-13 4:44am
View
Boring :/
Killzone DeathMan
17-May-13 12:37pm
View
I think he dont know what he want to do :P
Killzone DeathMan
17-May-13 12:29pm
View
Nice try men, but this is javascript! He means in PHP!
PHP is server side and I think you cant show popup window with PHP :P
But with PHP you can print like this:
echo '
<!DOCTYPE html>
<html>
<head>
<script>
alert("Hello! I am an alert box!");
</script>
</head>
<body>
</body>
</html>';
Killzone DeathMan
17-May-13 12:23pm
View
One question: MySql is on port 8080? Isn't it on 3306?
Killzone DeathMan
17-May-13 12:08pm
View
My post works very good:
$.ajax({
type: "POST",
dataType: "json",
url: 'ws.php',
data: {'action': 'myaction', 'some': 'blablabla'}
}).done(function(response){
alert('post ok');
}).error(function(err){
alert('Error: ' + err);
});
Killzone DeathMan
10-May-13 11:29am
View
I write my own debug function:
function debug($data){
echo '<pre>';
print_r($data);
echo '</pre>';
}
Killzone DeathMan
19-Feb-13 13:19pm
View
Interesting question, I have already read from PDF, Excel, Word and Text files...but never power point... I will see such thing tomorrow for you men! Today the work time is over :D
Killzone DeathMan
19-Feb-13 5:30am
View
Agree....
I am not a bad person but what is a programmer that can do everything and can't write a simple virus?
At my point of view it is not a good programmer!
When I was a beginner, my teacher says: "if you want to be protected by the attacks, you have to learn to attack. There is no better way to learn."
Killzone DeathMan
19-Feb-13 5:21am
View
I like you answering style, and you can also validate the entry by the code...
Killzone DeathMan
19-Feb-13 5:15am
View
Deleted
http://php.net/manual/en/function.curl-multi-init.php
Killzone DeathMan
19-Feb-13 5:15am
View
Deleted
http://php.net/manual/en/function.curl-multi-init.php
Killzone DeathMan
19-Feb-13 4:45am
View
Easy men...
In the PHP file must be something like:
<HTML>
<head>
<title>Document Title</title>
<style>
/* CSS CODE */
#myDiv
{
width: 600px;
height: 500px;
margin: 0 auto;
border: 1px solid #000;
}
</style>
</head>
<body>
<div id="myDiv"></div>
</body>
</HTML>
Killzone DeathMan
3-Jan-13 5:30am
View
(Keep in mind, that we don't see your papers nor your screen, we can not know what you have in mind.)
Not yet, but should not miss much time... :P
Killzone DeathMan
3-Jan-13 5:16am
View
Agree!
Interesting question...
Killzone DeathMan
20-Dec-12 9:46am
View
Agree
Killzone DeathMan
19-Dec-12 11:31am
View
Agree!
Killzone DeathMan
19-Dec-12 11:27am
View
Maybe there are some code on the Form_load() event that executes a query and updates the values of the form... I dont saw your code, I dont know!
Killzone DeathMan
19-Dec-12 11:24am
View
He is wondering... something is updating the total properties in a Form!
It's a kind of magic :P
Killzone DeathMan
19-Dec-12 11:16am
View
Maybe he's shy... :D
Killzone DeathMan
19-Dec-12 11:16am
View
Maybe this help you:
1) First add "using System.Data.OleDb;" at to top of the CS file.
2) Create connection string and open connection.
For access 2007
string ConnStr = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=D:\abc.mdb;Jet OLEDB:Database Password=password";
OleDbConnection MyConn = new OleDbConnection(ConnStr);
3) Open this connection.
MyConn.Open();
4) Create object for command and reader to get the data from access database.
OleDbCommand Cmd = new OleDbCommand(StrCmd, MyConn);;
OleDbDataReader ObjReader = Cmd.ExecuteReader();
5) Now lood through the reader object to get the data
if (ObjReader != null)
{
}
6) After completing the processing
ObjReader.Close();
MyConn.Close();
Regards,
KZ
Killzone DeathMan
19-Dec-12 11:08am
View
In parent form you call the child:
FormChild frm = new FormChild();
frm.BringToFront();
frm.ShowDialog();
And in the child form the code are simple... something like that maybe:
this.opacity = 50;
Killzone DeathMan
13-Dec-12 5:09am
View
Agree :P
Killzone DeathMan
13-Dec-12 5:02am
View
I am not sure but:
textBox5.Text = dr.GetString("NAME");
instead of:
textBox5.Text = dr["NAME"].ToString();
Right now, I have nothing to try the code... sorry!
Killzone DeathMan
13-Dec-12 4:35am
View
Thanks??? 5€ !!!
Just a joke :P
Killzone DeathMan
13-Dec-12 4:33am
View
That's how it rolls :P
Killzone DeathMan
13-Dec-12 4:31am
View
About some projects we can do together :D
Killzone DeathMan
12-Dec-12 11:27am
View
I love that OriginalGriff, always the best answer!
I think we must speak in Private!
Killzone DeathMan
12-Dec-12 11:24am
View
5 stars Krunal
Killzone DeathMan
12-Dec-12 11:24am
View
thank for your help, i will see*
Killzone DeathMan
12-Dec-12 11:17am
View
Just copy the executable file to the startup folder, and everytime the computer starts, the program will be execute by itself!
I mean copy the executable but dinamically per code!
Killzone DeathMan
7-Dec-12 15:04pm
View
LOL , I know, time waste!
Killzone DeathMan
7-Dec-12 4:25am
View
He means: Is there a free text editor for C# winforms?
Killzone DeathMan
7-Dec-12 4:22am
View
Visual Studio C# 2010 Express
Killzone DeathMan
30-Nov-12 5:10am
View
I dont understand the question very well... Maybe you have the following code:
private void textBox1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Return) // "Enter Pressed"
{
e.Handled = true;
AcceptButtonClick(sender, EventArgs.Empty);
}
}
I didn't understand the question...
Can you explain in another way? :P
Killzone DeathMan
30-Nov-12 4:56am
View
You can you use a fancybox or a lightbox to do an popup!
Killzone DeathMan
28-Nov-12 9:46am
View
My 5! I like OriginalGriff
Killzone DeathMan
26-Nov-12 11:24am
View
Just do not use a DataReader...
Use a DataAdapter and a DataSet...
Something like:
MySQLConnection conn = new MySQLConnection(connectionstring);
DataAdapter adapter = new DataAdapter("SELECT * FROM TEST", conn);
DataSet ds = new DataSet();
adapter.Fill(ds);
DataTable table = ds[0];
I am not sure, but you must download the mysql connector...
Regards,
KZ
Killzone DeathMan
26-Nov-12 9:35am
View
That makes no sense.. I dont know your purpose.. " data: {data: i}" makes more sense...
Just go to gtalk, I already add you to my chat...
Killzone DeathMan
26-Nov-12 7:06am
View
Don't be evil, he is shy!
Killzone DeathMan
26-Nov-12 6:58am
View
This is the best answer I've ever seen!!!
Add to solution and I give you 5 stars!
Killzone DeathMan
26-Nov-12 6:41am
View
My friend, I do not know your purpose, but this code doesn't do anything, you just do the same thing aValue times only for hide one thing!
There are 2 threads running on your code, the i variable are incrementing fast, and the ajax are still waiting for a response!
Just tell me what you want to do and if you want, we can talk per gtalk: miguel.poegel@pears.fr
Killzone DeathMan
26-Nov-12 5:20am
View
Maybe this can help you a little:
PdfReader reader = new iTextSharp.text.pdf.PdfReader("filePath/To/the/PDF/Page.pdf");
int NumberOfPages = reader.NumberOfPages;
if you want some help using iTextSharp, here's my email: miguel.poegel@pears.fr
Killzone DeathMan
26-Nov-12 4:44am
View
Maybe its a good answer, but certainly its an unsecured answer!
How do you know the id of the loading image is "loadimg" ?
Killzone DeathMan
26-Nov-12 4:32am
View
Boring!!!
That's to easy!
Killzone DeathMan
26-Nov-12 4:24am
View
Deleted
if you want some help from me, here's my email: miguel.poegel@pears.fr
Its all about experience!
Killzone DeathMan
23-Nov-12 5:03am
View
Did you know that jquery validation is bad? Jquery is at the client side, the client just delete the local code to validate and the he can register without a Name or without a valid email, etc.
Killzone DeathMan
23-Nov-12 4:49am
View
I thing its the same way, just add the class="textbox" and in jquery $('.textbox').val('My Text');
Am I right?
Killzone DeathMan
23-Nov-12 4:47am
View
Its better using DataBase, if you close the browser and open again, the conter will be reset, because the php session is reset to!
Better is to store into you DataBase each time you refresh the page!
Killzone DeathMan
23-Nov-12 4:39am
View
Why you just dont do the POST to a php file normally and there you work you variables and make an output? You can't just calling a php function like you put there...
Killzone DeathMan
16-Oct-12 5:12am
View
My 5 stars! ;D
Killzone DeathMan
15-Oct-12 6:59am
View
There is an option to publish the project, and it will create a setup file, but... i dont know if its possible to expire in one year!
Regards,
KZ
Killzone DeathMan
26-Sep-12 7:09am
View
try
{
decimal sum = 0;
sum = Convert.ToDecimal(textbox1.Text) + Convert.ToDecimal(textbox2.Text) +
Convert.ToDecimal(textbox3.Text);
txttotal.Text = sum.ToString();
}
catch(Exception ex)
{
MessageBox.Show(ex.Message,"Error");
}
Killzone DeathMan
26-Sep-12 7:03am
View
I dont understand the question... but to add a Item in ComboBox "mycombobox.Items.Add("myItem");" and to remove all "mycombobox.Items.Clear();" , so you can update you comboBox....
Killzone DeathMan
26-Sep-12 6:58am
View
When you use "Show()" or "ShowDialog()" to display the form, you just do "this.Close()" to close the form!
Maybe I dont understand the question... but I have try to answer it...
Regards,
KZ
Killzone DeathMan
24-Sep-12 9:46am
View
Deleted
You are showing us all the code... and the sql tables... :o
You are without security!!!
Killzone DeathMan
24-Sep-12 9:46am
View
You are showing us all the code... :o
And you are showing us the sql tables...
You are without security!
Killzone DeathMan
24-Sep-12 9:43am
View
Server side validation*
Because*
Controller*
Killzone DeathMan
19-Sep-12 10:09am
View
WTF? what question.... xD
BIG FAIL ahahahaha
Killzone DeathMan
18-Sep-12 16:57pm
View
You are welcome! :)
I you want something, let me know!
Regards,
KZ
Killzone DeathMan
18-Sep-12 16:56pm
View
I dont care about the reputation points in this site, I only care about programming experience...
Have a nice day!
KZ
Killzone DeathMan
18-Sep-12 10:35am
View
One day I have the same problem...
Right click on the database -> Properties and there is about three options like:
"Copy Always"
"Copy if newer"
"Not Copy"
Something like that, and you put: "Copy if newer"!
Regards,
KZ
Killzone DeathMan
13-Sep-12 10:25am
View
Thanks men, I have already a button of paypal... but nothing more!
Killzone DeathMan
13-Sep-12 10:20am
View
I am trying ok??... I have get:
https://www.paypal.com/express-checkout-buttons
Killzone DeathMan
13-Sep-12 9:54am
View
I just never implement paypal, and there is so many to read and I dont understand really how I do so...
Can you just give me an example? Please!
Killzone DeathMan
13-Sep-12 5:48am
View
I haven't think about it! xD
Only because I like... You are right!
Killzone DeathMan
13-Sep-12 5:30am
View
Deleted
Its done, so give me an email to send the project!
Killzone DeathMan
13-Sep-12 5:22am
View
Deleted
Just wait a little more, it is almost done! :)
Killzone DeathMan
10-Sep-12 10:22am
View
Can you exactly tell me what is the order total?
To clear the listBox is "listBox.Items.Clear()" , when you make "this.listBoxEntree.ClearSelected()" only clear the selected...
You say "everything should be cleared as if the form was just opened", then why you just dont reopen the form?
Killzone DeathMan
10-Sep-12 10:05am
View
As I say... maybe i dont understand the question :P
Can you please explain me what you want to do?
Killzone DeathMan
10-Sep-12 10:00am
View
Maybe i dont understand the question properly...
Killzone DeathMan
10-Sep-12 9:49am
View
Sorry, now its updated! :)
Killzone DeathMan
2-Sep-12 15:12pm
View
This days I dont have time for writing code for you... sorry!
Killzone DeathMan
29-Aug-12 10:47am
View
Just do a login form that call the program if the user is logged in! It is nothing to know about it!
Give me code details and I will help you!
Regards,
KZ
Killzone DeathMan
29-Aug-12 10:03am
View
Deleted
In a few years I have make a video security system with webcams and ipcams, it only save the pictures when it is a object moving, and it capture 5 pictures in 1 second!
The program is a c# project in windows forms and the API of the ipcams works with public cameras from brands Mobotix and Axis all around the world!
Now I am working as a webdeveloper, but I know c#...
If you want help from me... its better you add me somewhere else, like msn or skype...and we can make deals!
Regards,
KZ
Killzone DeathMan
29-Aug-12 9:34am
View
Allright, just dont be upset with me!
Killzone DeathMan
29-Aug-12 5:35am
View
You dont know me, i am not a bad person! As I say: its all about experience and evolution!
Killzone DeathMan
29-Aug-12 5:24am
View
I am not a bad person men, its all about experience and evolution! I do not want to do worms and virus for other people!
Killzone DeathMan
27-Aug-12 11:39am
View
The copied file launch itself next time on the 'computer startup'!
When the computer restarts, the windows will run all the programs in the startup folder! And when the program starts the 'Form1' is already hiden, so the user never know if the program is running! And in the 'taskmanager' it dont appear! Nicely and easy, right?
Killzone DeathMan
27-Aug-12 11:28am
View
Dont worry about the installer, there is nothing to install, the user only must have framework 3.5 service pack 1 installed to run the application, nothing more!
And dont worry men, the program has only 1 file, the 'test.exe', and when he execute it, copy the file to another directory wo can't find it, and the user only delete 1 executable file! Nice?
Killzone DeathMan
27-Aug-12 11:08am
View
But why?
Killzone DeathMan
27-Aug-12 11:07am
View
Deleted
But why?
Killzone DeathMan
27-Aug-12 10:53am
View
why it isnt a good idea? thanks for reply men :)
Killzone DeathMan
27-Aug-12 10:52am
View
Because I dont want the user to delete the program, so before he delete, the program has been copy to another directory! Sounds god idea, no?
Killzone DeathMan
24-Aug-12 17:17pm
View
It don't helped me... Buts thanks for reply men! KZ
Killzone DeathMan
24-Aug-12 12:52pm
View
The answer in there is "You can't."! f***! Thanks for your reply losmac!
Killzone DeathMan
24-May-12 11:20am
View
I already done it, it works :D
I forget about the event... :$
Killzone DeathMan
24-May-12 11:08am
View
Deleted
It didn't work to drag... :(
Killzone DeathMan
24-May-12 6:31am
View
Good questions! :)
Killzone DeathMan
24-May-12 6:29am
View
It works, but... I personally don't like the code: "using" because I use the code "using" in the top to call an library example: "using System.Windows.Forms;"!
Killzone DeathMan
24-May-12 6:26am
View
It´s better open() the connection and in the end close() it!
Killzone DeathMan
24-May-12 4:58am
View
ok ok I understand... I was just joking...
Killzone DeathMan
24-May-12 4:49am
View
Because...because... come on my friend, it looks more mathematically...
But 'TODAY()-D4' and '(D4-TODAY())*-1' are the same! :)
Killzone DeathMan
24-May-12 4:37am
View
Because ('23-05-2012') - ('24-05-2012') = -1
and (-1)*(-1) = 1
I don't know why the result is -1, but multiply by -1 it works :)
Killzone DeathMan
23-May-12 11:41am
View
ronaldo portugal[5]*
Killzone DeathMan
23-May-12 11:37am
View
read*
Show More