Re: School... Community Center Geeks' Lounge by simhakidsden Attending school is important to gain knowledge and skills that can help you succeed in life. School can also provide opportunities to build social connections and explore interests. 'DragDrop registration did not succeed' Programming Software Development by Liszt … message is this. ------------------------------------------- 'DragDrop registration did not succeed' System.InvalidOperationException: DragDrop registration did not succeed. ---> System.Threading.ThreadStateException: Current thread must… Re: 'DragDrop registration did not succeed' Programming Software Development by Liszt … form but with the same error. 'DragDrop registration did not succeed' [code] button2_Click(this, EventArgs::Empty); [/code] [code] private: System::Void… php form - pop up window if succeed Programming Web Development by waluigi … to have new window open with communicate that operation is succeed. I guess I need to create a new html film… Re: Seven Reasons Why Linux Will Succeed in 2009 Hardware and Software Linux and Unix by aiinc … more specific about which part of Linux is going to succeed this year - Desktop or Server. The article is very clearly… Re: 'DragDrop registration did not succeed' Programming Software Development by Liszt I have found something about the problem that I receives in the above post, i think that this is the solution or a part of the solution but my problem is that i dont understand what this code is doing or where i will put all the code. I have set AllowDrop to false. As what is defined as function A, B and Formfunction in this example and as a … Re: php form - pop up window if succeed Programming Web Development by richieking change the 31-33line to this [code] // redirect to success page if($success){ // try this @header("location:success_page.php?name=$username");// Direct to a new page //echo "We've recived your contact information"; } [/code] then have a success.php to recieve the get variable . [code] $foo=$_GET['name']; echo "… Re: php form - pop up window if succeed Programming Web Development by waluigi Thanks dude. But I've got one problem, I've wanted to get pop-up window with predefined window size. And with your code, I get success.php in the same browser window. Re: php form - pop up window if succeed Programming Web Development by richieking pop mmm you need javascript. do you need one? Explore :) Re: php form - pop up window if succeed Programming Web Development by waluigi [QUOTE=richieking;1351287]pop mmm you need javascript. do you need one? Explore :)[/QUOTE] Yes, I usually used [icode] <script language="javascript" type="text/javascript"> <!-- function popitup(url) { newwindow=window.open(url,'name','height=500px,width=1000px'); if (window.focus) {newwindow.focus()} … Re: php form - pop up window if succeed Programming Web Development by richieking Try this put all the javscript into a php variable; [CODE] <?php $foo=" <script language='javascript' type='text/javascript'> <!-- function popitup(url) { newwindow=window.open(url,'name','height=500px,width=1000px'); if (window.focus) {newwindow.focus()} return false; } </script> "; ?> [/CODE] And … Re: php form - pop up window if succeed Programming Web Development by waluigi Hm, still get out put in the same window. Maybe I'm doing something wrong, I've got contactengine.php that I've pasted in the first posted, changed in the way you advice me [code]// redirect to success page if($success){ // try this @header("location:success.php?name=$username");// Direct to a new page //echo "We've recived … Re: php form - pop up window if succeed Programming Web Development by richieking :) Re: php form - pop up window if succeed Programming Web Development by waluigi Hm? Re: php form - pop up window if succeed Programming Web Development by richieking There is a way... Javascript for some reasons will not work just embedding like that. if you really want the popup. do the php header("location:foo.php"); put your popup on foo.php head tag your javascript function. The popup.php which will take the redirection and produce the popup for you. 1. This means the popup.php will do the … Re: php form - pop up window if succeed Programming Web Development by richieking I am waiting :) Re: php form - pop up window if succeed Programming Web Development by waluigi Slower, dude ;). I've got three files, contact.html foo.php and contactengine.php 1. I replaced <body> with <body onload='java function'> in contact.html file. 2. My contactengine.php (which I mentioned in a first post) has lines [code]if($success){ // try this @header("location:foo.php"); } [/code] 3. My foo.php is [… Re: php form - pop up window if succeed Programming Web Development by richieking No no no You are not doing what i just told you. That should work 100%; Please follow carefully. 1.yes you need 3 files for this. how do you go about this.??? Read this. 1.you have your first form that will do the redirection with the php header function based on success. This will redirect to redirect.php file. 2. on the redirect.php file… Re: php form - pop up window if succeed Programming Web Development by waluigi Oh, thanks, now I understand. Only one, and last question, how should look my redirect.php file, I know that there is a mistake, but I don't know how set this popup on load on right url (foo.php). [code]<html> <head> <script language='javascript' type='text/javascript'> <!-- function popitup(url) { newwindow=window.open('… Re: php form - pop up window if succeed Programming Web Development by richieking just change the code and use it exactly like you see. [CODE] <html> <head> <title>JavaScript Popup Example 3</title> <SCRIPT language="JavaScript1.2"> function poponload() { testwindow= window.open ("", "mywindow", // you start with your http and also you add your get variables &… Re: php form - pop up window if succeed Programming Web Development by sayantanbagchi hi all i have ticket management page like this "edit_ticket_info.php" in this page I can update the values of my ticket except the resolution date and time of the ticket. now i want to change the date and time of the ticket by using a pop up window where in new window it will select the ticket from my database and show its resolution … Re: php form - pop up window if succeed Programming Web Development by rajengg Hello, use below code: $url="pendig_tracker_time.php"; if($success) { echo "<script> popitup('$url'); </script>"; } Re: php form - pop up window if succeed Programming Web Development by sayantanbagchi Sorry @raj. i didn't understand.where to put these codes... can explain a little bit more.. > This should work :) Re: 3 word story Community Center Geeks' Lounge by christina>you succeed in everything Multiple File/Directory Deletion Programming Software Development by xZombeast …\sound\UI\gamestartup3.mp3"); } // This will succeed because subdirectories are being deleted. Console.WriteLine("Uninstallation …The Delete operation was successful."); // This will succeed because subdirectories are being deleted. Console.WriteLine("… Percentages Question Programming Software Development by skorm909 …2) { itemlevel = itemlevel + 1; // 100% chance item will succeed } if (itemlevel == 3 && requiredlevel >= 4){ //…80% chance item will succeed if (upgradesuccess = true) item = item + 1; else…;& requiredlevel >= 5){ //60% chance item will succeed if (upgradesuccess = true) item = item + 1; else… Re: Percentages Question Programming Software Development by skorm909 …2) { itemlevel == itemlevel + 1; // 100% chance item will succeed if (itemlevel == requiredlevel) successcounter == successcounter + 1; } else if…requiredlevel >= 11){//25% chance item will succeed 25% chance the item will be destroyed …; requiredlevel == 12){//20% chance item will succeed 25% chance the item will be destroyed upgrading… Re: Percentages Question Programming Software Development by skorm909 …2) { itemlevel = itemlevel + 1; // 100% chance item will succeed if (itemlevel == requiredlevel) successcounter = successcounter + 1; } else if …requiredlevel >= 11){//25% chance item will succeed 25% chance the item will be destroyed …; requiredlevel == 12){//20% chance item will succeed 25% chance the item will be destroyed upgrading… Re: Percentages Question Programming Software Development by skorm909 …2) { itemlevel = itemlevel + 1; // 100% chance item will succeed if (itemlevel == requiredlevel) successcounter = successcounter + 1; } else if …requiredlevel >= 11){//25% chance item will succeed 25% chance the item will be destroyed …; requiredlevel == 12){//20% chance item will succeed 25% chance the item will be destroyed upgrading… Re: Percentages Question Programming Software Development by raptr_dflo … val = 100.0 * double(rand())/RAND_MAX; //30% chance item will succeed 25% chance the item will be destroyed if (val <…