199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for usamaasghar.asghar

Hi every body! you are enjoying. I have a problem that if a person writes in his code: "system("shutdown -s")" in his program and if I run .exe file, my computer shutdowns. How would I dodge this trick?

Member Avatar for pritaeas
0
189
Member Avatar for inheaven

I have an extension method like public static class Extension { public static string GetTLD(this string str) { var host = new System.Uri(str).Host; int index = host.LastIndexOf('.'), last = 3; while (index >= last - 3) { last = index; index = host.LastIndexOf('.', last - 1); } var domain = …

Member Avatar for Ketsuekiame
0
864
Member Avatar for Deep_Coder

In my codeigniter php login form i'm facing these issues.Password is encrypted in the database.I'm going to decrypt it from the database and allow login.I checked where is the problem.I could find it's in decrypt part.So if anyone can help me i really appreciate that.This is my code. Model function …

Member Avatar for iamthwee
0
4K
Member Avatar for santhiya.tsb

how to set sliding error messages in join form in dolphin boonex? I want a sliding error messages for each field while hovering other field and submitting the form

Member Avatar for santhiya.tsb
0
115
Member Avatar for JackticalNuke

Is it possible to convert a youtube video to mp3 using ffmpeg but without youtube-dl to first put in on the server? All the examples I've seen involve youtube-dl first to extract the physical video file.

Member Avatar for Troy III
0
312
Member Avatar for christinetom

Hi everyone.. I have to ask this question even though it will look a little silly to some of you. If I have a plugin for some open source software then how to do Install it. I'm using FLTK and have found a pluging for it. Just the sourcecode and …

Member Avatar for christinetom
0
128
Member Avatar for Robs789

So i have a main forum and a few child forums. For the main form, im using a search textbox with a dataview row filter. Although the problem is that in my child form im updating the database records, and then have to come back to the main form and …

Member Avatar for kvprajapati
0
529
Member Avatar for ImZick

Hi i have a friend which he gave a php file that is link to their company website which he work with. but when i view source the company website i cannot find the php location. He said its not visible because they encrpt the php code into the server???? …

Member Avatar for ImZick
0
275
Member Avatar for omidex

write an program which gets the data from posters and calculate the whole area.in these picture. http://www.upload7.ir/images/03547135115551138326.jpg there is a 7 posters in picture i wish understand these:|

Member Avatar for omidex
0
161
Member Avatar for hackoman96

i am kinda new to programming and i wwanted to ask that the java language and java script are the same thing plesse >>> provide a reason>>>> thank you

Member Avatar for Troy III
0
299
Member Avatar for DavidB

Any time I have included an alert in a Javascript program, I have simply called it as "alert", for example, alert("The value of the variable is presently " + varValue + "."); However, I also see code that calls it as window.alert. For example, window.alert("The value of the variable is …

Member Avatar for Troy III
0
5K
Member Avatar for screwu52

Is there anyway to save what I type? Ex. Im online and I start searching things, is there anyway to go back and see a list or something of all of the things I typed?

Member Avatar for Eternal Newbie
0
133
Member Avatar for sash_kp

While i try to access the .htaccess file its saying access forbidden,which is obvious. But the listing of all other files also getting displayed,i.e no restrictions are imposed on those files which are under the same directory as the .htaccess. However i want to restrict everyone but myself from those …

Member Avatar for cereal
0
276
Member Avatar for nitin1

i know how numerical values are represented in memory. like +3, -3, 0, 1 , 3321 and like this. can you tell me how float, double are represented in memory ? like 3.220, -9876.87 ? i mean how bits are presented in memory ? like for singed number 32th bit …

Member Avatar for rubberman
0
205
Member Avatar for Leo G

I really couldn't see what area of the forum to post this in so this is where I thought it might best go. MODs, move it to the appropriate forum area if there is a better place for it please. Was watching Wire Shark processing my LAN card while I'm …

Member Avatar for Leo G
0
338
Member Avatar for guido_1

Hi, I have a form where a customer choose from "option radio" a pizza : mini - medium - maxi. I have topping with checkbox: toppingmini for pizza mini, toppingmedium for pizza medium and toppingmaxi for pizza maxi. A customer when click on radio "pizza medium" display only toppingmedium..... It's …

Member Avatar for iamthwee
0
151
Member Avatar for duke.tim

How can an array be accessed from within another function? Here is an example of some code. editarray can not seem to access values of the array from outside of the writetofile function. Is there any way to change the scope of the array? #!/bin/sh writetofile() { templine=`cat /dev/stdin` export …

Member Avatar for Watael
0
248
Member Avatar for CPT

Currently I have something like this: class FileWritter{ ofstream file; public: FileWritter(string filename,A_Class a){//A_Class is class which has defined the >> and the << operators file.open(filename.c_str()); file<<a; } ~FileWritter(){ file.close(); } }; what I want is to have something like this: template <class AbstractClass> class FileWritter{ ofstream file; public: FileWritter(string …

Member Avatar for mike_2000_17
0
518
Member Avatar for kiLLer.zoh_1

this is my contacts class <?php class contacts { private $name; private $cno; private $clocation; public function __construct($name,$cno,$clocation) { $this->name = trim($name); $this->cno =trim($cno); $this->clocation=trim($clocation); } public function getName() { return $this->name; } public function getNO() { return $this->cno; } public function getLocation() { return $this->clocation; } } class DataBaseAction …

Member Avatar for kiLLer.zoh_1
0
299
Member Avatar for mpc123

So I have this query but the error is wrong syntax around '%'$txt2',%' - what would I have to change this too please... thanks What I am looking for in the field is anything that has txt2, with things after it or just txt2 on its own without anything after …

Member Avatar for mpc123
0
128
Member Avatar for johans22

A loop continuouly runs 3*Y/8. In intel processor, how to optimize the speed of this computation: 3*Y/8

Member Avatar for rubberman
0
97
Member Avatar for mpc123

Hi im using FIND iN SET in a query like below, but i get an error stating that im using wrong syntax and also Warning: mysql_fetch_array() expects parameter 1 to be resource $result = mysql_query("SELECT * FROM table FIND_IN_SET($txt2, field)") or trigger_error(mysql_error().$sql); Hope someone can help with this, thanks

Member Avatar for mpc123
0
106
Member Avatar for mahesh113

Hi All Can somebody clear my query that why the second operand of '+' operator is called first in the code below? When operator '+' takes left to right. #include <iostream> using namespace std; class A { int i; public: A(int i=-1){cout<<"A const i = "<< i <<endl;} int operator+(const …

Member Avatar for rubberman
0
140
Member Avatar for eburlea

Hello! I have a signup form that is working fine. Here it is a text element for providing the email address: $email = new Zend_Form_Element_Text('email'); $email->setLabel($sessionSettings->tr->translate('email')) ->setValue('') ->setAttribs(array('id' => 'email', 'class' => 'required email')) ->setRequired(true) ->addFilters(array('StripTags','StringTrim','StringToLower')) ->addValidators(array( 'NotEmpty', 'EmailAddress', array('Db_NoRecordExists', true, array('user', 'email_address')) )); $email->getValidator('NotEmpty')->setMessage('Email address field cannot be empty.'); …

Member Avatar for eburlea
0
371
Member Avatar for Reverend Jim

I find that I occasionaally have special projects where it would be nice to have a context menu for files. I tend to write housekeeping scripts and it is convenient to be able to run these scripts against one or more files at a time without having to navigate and …

0
1K
Member Avatar for patk570

Hey guys, I am new to programming and doing everything on my own here. I have a website that I am working on, and i want to add things to a list that is on the side of the search page, and then i want to have it be able …

Member Avatar for patk570
0
168
Member Avatar for IsaacMessi10

Hey Guys! I've been working on a CLI. Basically I want to recreate the Command Prompt using more user friendly commands. The thing is, as I'm using a RTB the 'Return' Key won't produce a value but it will only skip a line. How can I fix this? Below is …

Member Avatar for IsaacMessi10
0
1K
Member Avatar for visweswaran28

Hi, I have 50 rows of data in Datagridview. My app will read all rows line by line then save it in DB. When I click the "Save" button my apps entering into not responding mode after sometime it has come back to normal state. Please suggest me to avoid …

Member Avatar for james6754
0
110
Member Avatar for london-G

Hello, I am using Netbeans with JDK7. I was wondering how can I check which compiler is Netbeans is using to compile the program? Thanks

Member Avatar for JamesCherrill
0
149
Member Avatar for Nathaniel10

I have a problem that includes finding the maximums and minimums of certain variables in sequence. I want to nest the max() and min() functions as follows. $variable5 = min(max(($variable1 - $variable0), 0), $variable3); The PHP manual says/suggests that this type of nesting is possible. However, the code doesn't run …

Member Avatar for Nathaniel10
0
370
Member Avatar for samoslook

GeekSpeak.Blog.InsertBlog(BlogTitleTextBox.Text, BlogMessageTextBox.Text) Response.Redirect("Default.aspx") hi hi i m a beginnger in asp.net i need explaination wut does this guy mean with this code in the begining >>>>> i need explaination about wut is geekspeak=?? is it a web page called like this!! geekspeak.blog=??? also this wut means insertblog also this=???? and …

Member Avatar for samoslook
0
245
Member Avatar for Hazuan Nazri

Hello Friends!! I need some help here.... i build a website called E-Maintenance, now i need to make a form that user can choose date and the system will insert into database mysql after the user click submit, im searching on the internet and i found this Javascript calender, this …

Member Avatar for Hazuan Nazri
0
173
Member Avatar for abra_ka_dabra

Hi Bhavcopy is the file containing the data of the prices of stock, derivatives etc in a given day for trade at a stock exchange. The stock market i am considering here is NSE India. I want to download the "Bhavcopyfrom derivatives section from the link http://www.nseindia.com/archives/archives.htm". The above link …

Member Avatar for pritaeas
0
200
Member Avatar for jLamp

Dear Friends, As usually I came with a PHP Problem. I've created a form. When user press the Submit button all the data will added to the database. I want to send an email with all data in form to my inbox when the user pressed a submit button. Summary …

Member Avatar for crescendo
0
213
Member Avatar for Scythe1213

Hello, I need help finishing up an unzip function which takes a zipped list and returns a list of two lists. The result I want is as follows. . . (unzip '((a b)(1 2))) ((a 1)(b 2)) (unzip '((a 1)(b 2)(c 3))) ((a b c)(1 2 3)) (unzip '(unzip '())) …

Member Avatar for sepp2k
0
482
Member Avatar for web01

Hi, i have the following script <html> <head> <script type="text/javascript"> function displayResult() { var x=document.getElementById("mySelect").selectedIndex; var y=document.getElementById("mySelect").options; document.getElementById('result').innerHTML = "You have selected " + y[x].text; } function displayResult2() { var x=document.getElementById("volume").selectedIndex; var y=document.getElementById("volume").options; document.getElementById('result2').innerHTML = "You chose " + y[x].text; } </script> </head> <body> <form> Select Drink<br> <select multiple="yes" size="7px" …

Member Avatar for stbuchok
0
140
Member Avatar for sanyam.mishra

I had connected mouse successfully using 33h interrupt in my program in turbo c++ 3.0. My problem is when i press right button it takes many input and automatically jumps select other menu options by just hovering cursur over them. I want to knw how clear this buffer after every …

Member Avatar for sanyam.mishra
0
130
Member Avatar for vehement66

[CODE]import java.util.* public class ArrayMinMax { public static void main(String[] args) { Integer[] numbers={8,2,6,7,1,4,9,5,3}; int min=(int)Collections.min(Arrays.asList(numbers)); int max=(int)Collections.max(Arrays.asList(numbers)); System.out.println("Min number: "+min); System.out.println("Max number: "+max); } }[/CODE] Hi guys, me again. Okay so I use this code in a single array if i want to know what the minimum and maximum …

Member Avatar for jwenting
0
5K
Member Avatar for mania_comp

Hi guys, I need your help here. I need to develop a form which scans students ID from a barcode and using that ID i need to further operations. For that I have downloaded [B]CODE 39 BARCODE font[/B]. Now what have to do further ?? Barcode scanner will be available …

Member Avatar for Dina_Du
0
459
Member Avatar for Victoryy

I have created a setup in windows application using C#. In the Installer class I have overridden the Uninstall method as I wanted to perform some custom actions. But, while uninstallation I am getting error as **Unable to load one or more of the requested types. Retrieve the LoaderExceptions property …

Member Avatar for Ketsuekiame
0
360
Member Avatar for mogaka

## Stored Procedure ## -- Procedure name: billing_to_invoice_update BEGIN UPDATE accounts.0_debtor_trans SET ov_amount=ov_amount+fee-oldfee WHERE trans_no=encounter AND branch_code=pid; UPDATE accounts.0_debtor_trans_details SET unit_price=fee/units,quantity=units,qty_done=units WHERE debtor_trans_no=encounter AND stock_id=CONCAT(code_type,'/',code); -- gl updates UPDATE accounts.0_gl_trans SET amount=ROUND((-1)*fee) WHERE account=code_type AND memo_=CONCAT(code_type,'/',code) AND last_service_encounter=encounter; UPDATE accounts.0_gl_trans SET amount=ROUND(fee) WHERE account=1100 AND memo_=CONCAT(code_type,'/',code) AND last_service_encounter=encounter; END BEGIN …

Member Avatar for SQLpower
0
130
Member Avatar for Learner010

i want to traverse a checkedlistbox using for each loop for example :- if i want to see that a particular item name exist in checkedlistbox or not. so i think that i need to use for each loop but really don't know how to traverse checkedlistbox using for each …

Member Avatar for GeekPlease
0
141
Member Avatar for omidex

hi guys. how we can find area of posters in the pan? i need a answer!!

Member Avatar for tinstaafl
0
79
Member Avatar for eldiablo1121

I have to write a program that takes a two dimensional array of dice and sees the combinations the dice makes within 360000 rolls. I have my code to work, but what I'm completely stumped with is printing it in a matrix. I know you have to embedd 2 for …

Member Avatar for eldiablo1121
0
1K
Member Avatar for natehome

im trying to get this script to draw a line from the center of the rectangle to the mouse BUT i only want it to draw about 10 pixels out. how can i find that point that is 10 pixels(or points) out? code so far: import pygame from pygame.locals import …

Member Avatar for natehome
0
311
Member Avatar for Suzie999

Hi. Parden me if I do not express my question very well. A project I am considering would benefit greatly from the ability to to compile a dll at runtime, on machines which may or may not have appropriate tools installed (so I may be looking at using third party …

Member Avatar for Suzie999
0
190
Member Avatar for omidex
Member Avatar for bebesilang

ARP ARP LANGUAGE Introduction ARP ARP Talk is a fun variation of the English language. The conversion to ARP ARP is carried out as follows: 1. When a vowel or vowel sound (a, e, i, o, u, or y as in why) is found, arp is placed in front of …

Member Avatar for Suzie999
0
357
Member Avatar for Papa_Don

In trying to teach myself about the properties of the textbox, I'm wondering what the propert "Lines" is all about. The value in the property says "String[]Array". When I click this, a box comes up that asks "Enter the strings in the collections (one per line)". Can someone explain to …

Member Avatar for Papa_Don
0
183
Member Avatar for MRehanQadri

char* f(){ char* result;//I have to return 'result' at the end of this function, where result should be containing i (i.e. int i=97) in it. int i = 97; //Do whatever you can return result; }

Member Avatar for Ancient Dragon
0
402

The End.