199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for team_tip

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 …

Member Avatar for Ancient Dragon
0
119
Member Avatar for emhmk1

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 …

Member Avatar for ko ko
0
93
Member Avatar for CapFish

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 …

Member Avatar for CapFish
0
331
Member Avatar for nikolabob

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 …

Member Avatar for nikolabob
0
182
Member Avatar for fatcat2010

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.

Member Avatar for fatcat2010
0
125
Member Avatar for LemonLemon

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 …

Member Avatar for Ancient Dragon
0
98
Member Avatar for slade2627
Member Avatar for Swiftle

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 …

Member Avatar for Swiftle
0
81
Member Avatar for iandmac

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 …

Member Avatar for iandmac
0
225
Member Avatar for Deey

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 …

Member Avatar for drjohn
0
105
Member Avatar for ismael ahm@d

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 …

Member Avatar for drjohn
0
88
Member Avatar for TaSkOnE

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 …

Member Avatar for TaSkOnE
0
2K
Member Avatar for Kamboodle

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`( …

Member Avatar for pritaeas
0
117
Member Avatar for prem2
Member Avatar for jeffery12109

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 …

Member Avatar for jeffery12109
0
137
Member Avatar for Alpdog14

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 …

Member Avatar for LReynolds
0
273
Member Avatar for ckjie

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 …

Member Avatar for ckjie
0
151
Member Avatar for azegurb

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 …

Member Avatar for xylude
0
104
Member Avatar for ctrl-alt-del

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 …

Member Avatar for jonsca
0
108
Member Avatar for Malinka

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 …

Member Avatar for Malinka
0
2K
Member Avatar for tryingtofindout
Member Avatar for BrandonB

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 …

Member Avatar for BrandonB
0
141
Member Avatar for MaxWildly

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 …

Member Avatar for gunjannigam
0
193
Member Avatar for memo1

HI could any one help me to know the main idea to type program which converted from seconds to hours, minutes and seconds. thnks،،

Member Avatar for MaxWildly
0
80
Member Avatar for cfHutton

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 …

Member Avatar for cfHutton
0
175
Member Avatar for hightech2

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 …

Member Avatar for coderGh
0
1K
Member Avatar for miraclebos

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 …

Member Avatar for miraclebos
0
167
Member Avatar for n.utiu

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: …

Member Avatar for n.utiu
0
227
Member Avatar for Exploded Fiber

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 …

Member Avatar for Exploded Fiber
0
122
Member Avatar for atrailm

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. …

0
114
Member Avatar for outkast

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

Member Avatar for issue9
0
176
Member Avatar for rollon

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

Member Avatar for wasimmalik
0
128
Member Avatar for Xufyan

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 (); …

Member Avatar for Xufyan
0
1K
Member Avatar for sniigg

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"]; …

Member Avatar for sniigg
0
276
Member Avatar for pearle

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 …

Member Avatar for pearle
0
117
Member Avatar for bokoto

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 …

Member Avatar for javaAddict
0
9K
Member Avatar for Aamit

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 …

Member Avatar for mialye
0
165
Member Avatar for dude1

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 …

Member Avatar for dude1
0
172
Member Avatar for jtodd

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 …

Member Avatar for masijade
0
138
Member Avatar for k2k

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 …

Member Avatar for masijade
0
718
Member Avatar for jemscomput

16 bit ms dos subsystem Turbo c IDE The NTVDM CPU has encountered an illegal instruction cs:0000 ip:0075 op:f0 00 f0 3705.Choose close to terminate the application.

Member Avatar for jwenting
0
111
Member Avatar for CreativeCoding

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 …

Member Avatar for jonsca
0
115
Member Avatar for mrnobody

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 …

Member Avatar for mrnobody
0
145
Member Avatar for vishalkbhatt

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 …

Member Avatar for Ancient Dragon
0
103
Member Avatar for niths

[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> …

Member Avatar for phpuser
0
289
Member Avatar for cane23

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??

Member Avatar for as.bhanuprakash
0
88
Member Avatar for Pooja J.

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 …

Member Avatar for manishmannan
0
96
Member Avatar for houlahan

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 …

Member Avatar for jwenting
0
192
Member Avatar for balajimarch31

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

Member Avatar for balajimarch31
0
46
Member Avatar for pavan146

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????

Member Avatar for jwenting
0
103

The End.