199,114 Archived Topics
Remove Filter ![]() | |
a requirement was sent to me below: API should be in the form of static library. company xxx will link the library into a third party application to prevent any possible exposure of the code(dll) could they mean an import library? An import library is a library that automates the … | |
Hi everyone, i have a very basic pagination code for my site however i would like to adapt the links as they are displayed, so far the script just outputs numbered links but there is no such styling to the link. i would like the active link to be in … | |
Hello all! I'm trying to restart a service in my fedora installation, from a php local file. So i discovered the shell_exec command, and tried: [CODE]shell_exec('service nagios restart')[/CODE] I also tried shell_exec('sudo restart.sh') where restart.sh has the line "service nagios restart" in it. The first time i did it, i … | |
First i have to say that i'm have low exp in software development, so please have patience and understanding with me. Ok, my first commercial C# appl is almost done, so i wounder what should i have to do to protect it? In the way someone can't copy and use … | |
hi experts, always curious . why sometimes reference book use simple quotation mark. sometime switch to double quotation mark. Does it matter in php? e.g. define ([COLOR="Red"]'[/COLOR]SQL_HOST[COLOR="Red"]'[/COLOR],'localahost'); however, in same define function i see double quotation in another source define([COLOR="Red"][COLOR="Red"]"[/COLOR][/COLOR]CONSTANT[COLOR="Red"]"[/COLOR], "Hello world."); Thanks. | |
I want to convert the text string from a file into binary and then create a new file holding these binary. I am using the VC++ 2008. I have done some search on the internet, but hardly understand. Can anyone give me idea or sample code with explanation? Thanks in … | |
How do you select a string in a list using its index count?? | |
Hello, I'm writing a simple version of the message digest algorithm. In our version we get a string, translated to its decimal value. We need to tackle 8 characters per loop. I'm having problems with the implementation of the loop. I have a DD which stores the size of the … | |
Hi one and all, Have taken a look through the mass of other threads and whilst not covering what I need, certainly given me a dozen other ideas for other things, so definately not wasted hours but learning diversion, anyway sorry. I have been trying to utilize a pre existing … | |
Hello! i have a mysql problem - i need to execute a query which selects field from one table and joins another table which is determined by a field value in table 1. for example, table1 contains fields ID(primary int) and someotherfield(varchar). i need to join table2 or table3 depending … | |
in mysql i have a field named S_No which i placed on auto_increment. whenever i delete the second row from the database and next time when i m trying to add another row in database its starts from the 3rd incremental value and basically i don't want it, i wana … | |
Hi @ all, b4 things get serious. :icon_smile: Im using MFC with VCPP 6. I have a simple dialoge based app. Im using a triggered event with which I want to update the content of a CEdit box. The ASSERT of IsWindow fails because m_hWind = 0, I figure this … | |
Hey there, I'm having problems importing my sql file via phpmyadmin. It keeps throwing up the following error: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'id`) ); CREATE TABLE `sessions`( … | |
| |
can you guys please shorten this code for me... I need to do the same thing for all 8 potions [CODE]def fightItems(yourHp, yourHpMax, heartPotion, megaHeartPotion,bloodXHealer, duelBloodXXHealer,energyYPotion, rainbowBasicHealer, attackXXXPotion, defenceXXXPotion): while karidQuest1chooseFightOptiion == "2": print '1. Heart Potion(',heartPotion,'remaining)' time.sleep(0.5) print '2. Mega Heart Potion(' , megaHeartPotion ,'remaining)' time.sleep(0.5) print '3. Blood … | |
I have a java project that I need help on. The program is for word occurrences and I have a basic add() and frequency() methods I need help creating, not sure how to begin. here is the skeleton I am working with: [CODE]@Override public void add(final String word, final int … | |
Hi all. I am doing a project with visual basic 2008, i'm using c++ windows form. i have a question about the code for this particular button, where i wan tis button click to be link to another folder. For example, when clicking this button [btnDownload], it will open the … | |
hi there i have table consist of 5 columns it looks like this [CODE]id title theme image category 1 PHP tutorial tutorial self 1.jpg PHP 2 Javascript tutor tutorial self js.jpg Javascript 3 PHP tutorial 2 tutorial self ad.jpg PHP[/CODE] category here is changed for ex: how i can count … | |
Good afternoon all! As is most often the case in this forum, I am faced with a problem I cannot seem to solve. I am trying to write a program that reads the state of the caps-lock key. If it is active I want it to display a picture on … | |
Dear Community, hopefully someone can explain this to me in simple terms: I would like to store raw input from a User without waiting for him to press Enter. And would it be possible to still check if the response is one of the predefined options? My raw input consists … | |
Hi all, Im currently doing an assignment where we have been told to write a program to input 2 values (namely the area of wallspace to be painted & the price of the paint) & then output several other values based on the values input. At this point I'm writing … | |
I am not getting the correct output for this method. I have looked at the BigInteger class, and even tried to implement, after rewriting for my instance variable, but it did not carry the numbers over to the next digit, or bring down the remainders. Thanks in advance. [CODE] public … | |
HI could any one help me to know the main idea to type program which converted from seconds to hours, minutes and seconds. thnks،، | |
Hi all, first time post here. I'm using jquery/ajax to create some links with window.open method. Here's the relevant code: [CODE]$("#content").empty(); $.ajax({ type: "GET", url: "webapps.xml", dataType: ($.browser.msie) ? "text" : "xml", success: function(xml){ var newXML = parseXml(xml); $("#content").append('<h2>'+ cat + '</h2>'); $("#content").append('<div id="appLinks"></div>'); $(newXML).find("APP").each(function(){ <!-- alert("before if"); --> if … | |
Hi everyone I am trying to get this done and it is not happening :to implement the method for the is Empty and is Full. I am suppose to check for an empty stack and check for a full stack But I am not getting it? Can someone see something … | |
Hey Narue! I need ur help on a upper-lower case switch problem.. Read the contents of a text file (using ifstream class).. and create a new file or edit the same one (using ofstream class) to switch the case of each char (upper to lower & vice versa).. Thanks a … | |
WE have the && operator, the || operator, but xor is only implemented as '^' . And this causes a lot of confusion. Let's take this case: 2 == 2 ^ 2 generates a logical operation instead of bitwise operation , therefore returning a true value. What do yo think: … | |
Hey all, Im a little confused about taking the values of a 2D array and placing them into a query or string to use in query. I've done some homework but unfortunatly square eyes and a caffeine comedown just isn't helping. Essentially I have an array named $myarray. It looks … | |
Hi. I have the next problem: 1. I'm doing a select in a DB table and I'm displaying the result on a page 2. because one of this field is a comment and is too long, I display only the beginning of this folowed by "Read all" as a link. … | |
Hi is there any way to run a shell script from a batch file? im new to this and any help is really appreciated. Thanks | |
OMG im a IT student but i am not good in programming!! can i ask some question how to be a good programmer????? plss answer my question | |
Can anyone explain whats wrong with this program why this is not working. [CODE] void main(void) { long a,b=1; clrscr (); printf ("Enter number to calculate its factorial:"); scanf ("%ld",&a); if (a=0,1) printf ("You entered 0 or 1"); else for (a=a;a>0;a--) { b*=a; } printf ("Answer is %ld",b); getch (); … | |
Hi All, I am getting the error "There is already an open DataReader associated with this Command which must be closed first. " [code] protected void Page_Load(object sender, EventArgs e) { nbseapi nbsi = new nbseapi(); Guid guid = new Guid(); if (Request.QueryString["Id"] != null) { string Id = Request.QueryString["Id"]; … | |
Hi, everybody. I've started learning about recursion, but I'm having a hard time completely understanding it. I've tried to write a simple recursive function that returns the sum of the series m(i) = (1/3) + (2/5) + (3/7) + (4/9) + ... (i / (2i + 1)), but I keep … | |
Hi all, i need help with this code im trying to produce. I've been searching google for days without finding any answers so please youve got to help me understand. The idea is to encrypt a string inputted by the user I wish to increment the letters at odd positions … | |
Hi, When in google you type time or date ... it display answer - correct time means get your time zone and converted to correct time... e.g. suppose you are in india .. it automatically detect time zone convert it added +5.30 and display result. same as whether you are … | |
ive got a xml file like this: [CODE] <?xml version="1.0"?> <orders> <customer> <order_num>6656</order_num> <name>jon doe</name> <street>123 fake st</street> <city>Beverly Hills</city> <state>CA</state> <zip>90210</zip> </customer> <customer> <order_num>1337</order_num> <name>bob johnson</name> <street>1232 something ave</street> <city>Petaluma</city> <state>CA</state> <zip>94952</zip> </customer> <customer> <order_num>5643</order_num> <name>bill story</name> <street>1st ave</street> <city>Beverly Hills</city> <state>CA</state> <zip>90212</zip> </customer> <customer> <order_num>4533</order_num> <name>tom hutchinson</name> <street>214 … | |
Hey everyone. I am new to java and I am stuck in this program. I am getting error messages and cannot figure out why. On public class Rectangle I am getting error messages on lines 84, and 85. On RectangleTest line 12. Thank you all in advance for and guidance … | |
i am trying to connect to mysql database using java. I have done connecting to microsoft access before. and i modified my code to connect to mysql server locally. i think the problem is I don't really understand where my mysql database is. anybody may point out the problem would … | |
I would like to do something like this: [CODE]readfilethingy("www.mywebsite.com/update.txt"); //fail[/CODE] with update.txt being this: [CODE]3.4 http://www.newupdatedownloadlocation.com/ //OR just the http location[/CODE] with the result being: [CODE]*user clicks on update button* "NEW UPDATE IS AVAILABLE! :D" *Clicks download* *Download on .exe starts*[/CODE] So, is it possible? I have searched and searched … | |
Below is a simple code that i wrote about VARIANT. The weird thing is at the end of the code, both vtEmpName and vtDept is "Accounting". [CODE] VARIANT vtEmpName; VARIANT vtDept; vtEmpName.vt = VT_BSTR; vtEmpName.bstrVal = _bstr_t("Joe Schmoe"); vtDept.vt = VT_BSTR; vtDept.bstrVal = _bstr_t("Accounting"); [/CODE] On the other hand, if … | |
hi all... i m working on a C++ prgm with following definition: Program Definition: Write a program to perform the following on a source file of any c++ program(File shud be included): 1. Count the line of code (LOC) of a source code file 2. Count the total number of … | |
[code] ----Query was empty--- at ---$sql="SELECT * FROM users WHERE username='$username' AND password='$password'"; $result=@mysql_query($sql) or die(mysql_error()); --- <html> <body> <form action="login.php" method="post"> <div> <table width="100%"> <tr> <td><img src="Logofinalcopy.gif"></td> </tr> <tr> <td bgcolor="aqua"><h2>Login</h2></td> </tr></table> <table align="right" style="width:40%"> <br> <tr> <td>username:</td> <td><input type="text" name="username"></td> </tr> <tr> <td>password:</td> <td><input type="password" name="password"></td> </tr> <tr> … | |
i have an issue with the include function. i want to use the include function on a file that is in another directory. can anyone offer any assistance on how i go about doing this?? | |
Hi to all, I have two listboxes, one is state and another is city. As user changes the state, the value of city listbox w.r.t state shuld changed. I do it with using, but I want to do it when user make a selction from state listbox. //two-list.php [code] <?php … | |
i have a client server and i send data perfectly to the client its when the client wants to send or update data which is the problem. what i am trying to do is check to see if the object that is passed to the server has a id and … | |
can any one send me a link to get the best book to learn j2me. i have to work on some mobile games using J2ME. thanks in advance.. Balaji | |
Hi, actually m doin on project in which we need free domain space wher i can run my JSP to execute client request???can anybody help me out from this???? |
The End.