64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for LastMitch

Hi I recently created a `JQuery Gallery Script` in the `Javascript` section with some help from **pritaeas** & **JJenZz**: Here is the link to the script: http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/434987/havent-issue-with-seeing-alt-with-image-in-jquery The `JQuery` code works you can check the link and test it out. Since the script is in `JQuery`. I want to add …

Member Avatar for LastMitch
0
644
Member Avatar for discovery-power

Hi All, I sware I am loosing the will to live, I have tried to accomplish this by my-self for about 2 weeks now and I am still at square one, I prey someone can help me. I am writing an application for booking conference rooms and I need a …

Member Avatar for pratik65
0
333
Member Avatar for debayanmitra

[CODE] Dim mDocDtT As Date Dim mDtPeriod as Integer = 4 mDocDtT = DateAdd(DateInterval.Month, mDtPeriod, mDocDtT) mDocDtT = Format(mDocDtT, "yyyy-MM-dd") [/CODE] But the codes are not working the date is still in #01/27/2011# format I want it in yyyy-MM-dd format Please help!!!

Member Avatar for debayanmitra
0
188
Member Avatar for oneoderja

Define an integer array ‘arr’ with size 2 in the main method and initialize the two elements in ‘arr’ to be 1 and 2 Write a method ‘swap’ and pass the ‘arr’ into the method, swap two elements of the ‘arr’ in the method Print out all elements in ‘arr’ …

Member Avatar for Taywin
0
156
Member Avatar for vishu.bhavsar

Hi all, I have come across the class JDatePicker which allows user to pick the date from the calender. But, I actually don't know how to use it. I have searched on the Google but didn't find much helpful information. Can anybody help me on this? Any help(e.g. examples) will …

Member Avatar for london-G
0
182
Member Avatar for mahela

I have a vb programme.there I link it to a access database.In the database I have a table with 3 fields code,description,amount.I used primary indexing for code field.so codes are as 1,2,3,4,...when I enter the code number in vb program I can extract related description and amount.but what I want …

Member Avatar for mahela
0
106
Member Avatar for delta_frost

We had been assigned a problem in our Data Structures Laboratory that goes like this: Fill 4 queues with 10 numbers each(Ranging from 1 through 20).Each number need not be unique,i.e a number may be repeated in a queue.Remove an element from each queue.Say 1,3,11,6 are removed from queues 1,2,3 …

Member Avatar for TrustyTony
0
181
Member Avatar for enterpise

I'm not sure. This the right way to calculate percentage ? Here's my method public class percent extends Operation { @Override public Value calculate(Value key, Value value) { //BigDecimal result = key.getValue().divide(Value.hundred, Value.SCALE, BigDecimal.ROUND_UP); return new Value((key.getValue().divide(value.getValue()).multiply(Value.hundred))); // return new Value(result); } @Override public String getSymbol() { return "%"; } …

Member Avatar for enterpise
0
113
Member Avatar for shanki himanshu
Member Avatar for diafol

Hi All. Have been messing around with PDO for a while, but have come across a bit of a quandry. I like the prepare - execute method for fetching data, but I needed to check if an update query actually did update or not. Now not having mysql_affected_rows() to hand, …

Member Avatar for diafol
0
1K
Member Avatar for HibaPro

the procedure entry part 1stractI could not be located in the dynamic link library MSDART.dll ??? how i can fix this ??

Member Avatar for AndreRet
0
147
Member Avatar for vishu.bhavsar

Hi all, I am creating one GUI application in java. I need to make menubar visible when particular panel is made invisible. Is it possible by creating an event which will be triggered when panel is made invisible? Can anybody help me? Thanks in advance!!!

Member Avatar for JamesCherrill
0
204
Member Avatar for momonq1990

how can i send mail with working .gif, .png and background color using mail()function. what i need to set? i have $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; pls help what i need to do :(

Member Avatar for momonq1990
0
187
Member Avatar for themaj

I'm trying to read a DBF file into a DataSet and then write a selected number of columns to a MDB. I've been successful reading the DBF into the Dataset with this code; Public Sub sReadDbf(ByVal dbffile As String) mydbfConn = New System.Data.OleDb.OleDbConnection mydbfConn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _ sAlohaPath …

Member Avatar for themaj
0
196
Member Avatar for DelilahDemented

I have an array of structs that contains an account number and a balance. I open a file which contains an account number and an amount that needs to be either added or subracted from the correct account. My problem is it is adding and subracting to the first account …

Member Avatar for np complete
0
168
Member Avatar for RonKevin

0001 Bread Bakery 35.00 0002 Soap Hygiene 20.00 0003 Milk Dairy 40.00 0004 Apples Fruit 30.00 0005 Gelatin Snacks 15.00 0006 Candy Snacks 25.00 0007 Catsup Condiments 40.00 and so im trying to read this grocery.txt file...i'm thinking of using an array...the code ive done would read the first line …

Member Avatar for RonKevin
0
319
Member Avatar for popeyemissy

I need to fix the code. Once a war event takes place, no points are assigned however in the next deal whoever wins (be it the player or computer) should get double points. One point for the war and the second point for the next deal that was won as …

Member Avatar for JamesCherrill
0
313
Member Avatar for gamebits

Well I know how to upload image (.gif, .jpg, etc) resized, resample, add link to database fetch link and display images on webpage. But now I need to be able to upload documents on server, add link in the database and be able to display those documents on the web, …

Member Avatar for yats123
0
482
Member Avatar for oneoderja

Define a class called ‘twoInt’ with two public integer fields a and b In the constructor of ‘twoInt’, initialize the a and b to be 1 and 2 Create an instance ‘mytwoInt’ in the main method Write a method ‘swap’ (not the method of the class ‘twoInt’) and pass the …

Member Avatar for oneoderja
0
163
Member Avatar for somjit{}

i was watching [this video](http://www.youtube.com/watch?v=jTSvthW34GU&list=EC9D558D49CA734A02&index=2&feature=plpp_video) about type conversion and what the compiler does while converting from small byte formats to large byte formats(and vice versa) etc etc, and tried to write a code for it... but seems that function calls in my code are getting completely bypassed... once again, here …

Member Avatar for somjit{}
0
416
Member Avatar for hwoarang69

hi, i need help with bubble sort. i am not sure what are variable j and variable sort are for? public static void bubble_sort(int unsorted[]) { int i = 0; int j = 0; int sort = 0; while(sort == 0) { sort = 1; j++; for(i = 0; i …

Member Avatar for hwoarang69
0
198
Member Avatar for garyjohnson

I recently had an accoutn with godaddy and found they did not support FFMPEG so I cancled that account, now I want to use a local server on my computer for testing so I do not have to pay for hosting. My question is how do I get a Mysql …

Member Avatar for garyjohnson
0
137
Member Avatar for jongiambi

I am trying to implement a function sameMonth from a class to compare two user entered months. My class is declared in a header file "Date.h": #include <iostream> using namespace std; class Date { private: string month; int day; int year; public: Date(); Date(string aMonth, int aDay, int aYear); void …

Member Avatar for vijayan121
0
288
Member Avatar for TheHealer

Trying to write a for loop to insert buttons into the array. This is the code to create an array that can hold 7 values: JButton[] buttons = new JButton[7]; String[] buttonText = {"Circle", "Square", "Oval", "Smiley", "Swirl", "Start", "Stop"}; This is the for loop I'm not sure about to …

Member Avatar for NormR1
0
3K
Member Avatar for Djmann1013

I am having trouble with this code: <!DOCTYPE html> <head> <title>AJAX Chat Test</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- Script --> <script src="jquery.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready( function(){ $("#chats").load("feed.php"); $("#post").submit( function(){ return false; } } ) ); </script> </head> <body> <!-- Messages display here --> <div id="chats"></div> <!-- Post the …

Member Avatar for Djmann1013
0
145
Member Avatar for TheHealer

Trying to change the size of the shapes over time. Making them bigger as they move upwards and to the right, and making them smaller as they move downwards and to the left. This is the class that contains the move method: import java.awt.*; import javax.swing.*; import java.util.Random; public class …

Member Avatar for NormR1
0
1K
Member Avatar for marius2010

So I'm beginner starting software enginering studies here condition: Given number n ( n<=9999) need to identify if this n is palindrom(ex. 7777,8228,0220...). Need to write in c++ language.thanks

Member Avatar for WaltP
0
369
Member Avatar for M.S.

This is me with another project for beginners :) The Project as stated by ZZucker about 2 months ago: "Given the length of three sides, write a function that checks if it is possible to create a triangle." I could solve it with an annonymus function like this: is_triangle = …

Member Avatar for M.S.
0
253
Member Avatar for triumphost

I had absolutely no clue where to post this but I figured since it crashes on the C++ side, I'd ask here. I have the following code: Java side (Loads My C++ DLL just fine.. Passes it a ByteBuffer so that I can write to that): import java.io.IOException; import java.awt.*; …

Member Avatar for triumphost
0
400
Member Avatar for mmcdonald

Hey all, I have a folder called 'templates' in my root dir (../templates/). When a PHP form is submitted I want to copy a folder out of 'templates' called 'template1' (../templates/template1) and paste it into the root directory but with the new name of 'username123'. How can I copy, rename …

Member Avatar for mmcdonald
0
416
Member Avatar for Dane2259

Could someone please give me an idea of why I get a nullPointerException when I run this method in my main program. Every list has a variable, first, to store the address of the first node of the list. I assign current1 to the first node of list1 as a …

Member Avatar for NormR1
0
201
Member Avatar for FUTURECompEng

Prove that there is a positive integer that can be written as the sum of squares of positive integers in two different ways. For some reason this is not clicking in my head and I can not figure it out. Any help will be greatly appreciated and I would appreciate …

Member Avatar for FUTURECompEng
0
254
Member Avatar for godzab

I am just trying to submit two input fields, username and password. I am not able to do that because my code won't submit my data to the PHP database. The code is below, also please note I am trying to use ajax: getData.php <?php $db = mysql_connect('localhost', 'wont tell', …

Member Avatar for Clanstrom
0
228
Member Avatar for DelilahDemented

I think I am getting bad data because I have my pointer doing the wrong thing, I just don't know exactly how to fix it. Any help is greatly appreciated! output: Number: 4669840 Name: Value: 3.76441e-039 Number: 4218312 Name: Value: 6.52879e-039 Number: 2686408 Name: Value: 6.52879e-039 Number: 128 Name: Value: …

Member Avatar for DelilahDemented
0
213
Member Avatar for LastMitch

Hi I want to know the if `GD2` run the same as `JQuery`? For example for `JQuery` you need this: `<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>` for the code to run. But for `GD2` you need a package but I haven't download it yet. I just want to know the **Pro** and **Cons** between …

Member Avatar for LastMitch
0
119
Member Avatar for mmcdonald

I'm hoping not to post much code (to do this myself) but I'm having issues in figuring out why a mysql_query isn't be executed. This is the mysql_query: mysql_query("UPDATE `servers` SET `status` = 'online.png', `cur_players` = '".$online_count."', `max_players` = '".$max_slots."', `software` = '".$software."', `plugins` = '".$plugins2."', `players` = '".$players2."', `version` …

Member Avatar for mmcdonald
0
276
Member Avatar for cssweb

when i submitted the form i get this error on my site but i am sure of the config 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 '' at line 1 <?php mysql_connect('localhost','ali_root','kingstone2012')or …

Member Avatar for cssweb
1
239
Member Avatar for mktrx

Hi all, hope you are having a better day than I am... I am trying to write the results of a search of text using preg_match_all to a database... First thing I need to do is write the results of the search to an array (which preg_match_all does)... It writes …

Member Avatar for mktrx
0
108
Member Avatar for lancelot626

I've been trying to display sqlite data in wxcomboboxes but I get a type error not all arguments converted during string formatting, I'm Using a caller for the frame and it displays for about five comboBoxes but when I add more (exactly the same way as the first ones) It …

Member Avatar for lancelot626
0
300
Member Avatar for silversurf

Hello everyone, I am trying to build a inventory and pos system with Ms-Access as database and VB 6.0 programming. I got stuck in one place again. What I want to do is trying to print out the codes and price of the products. In this form, I have a …

Member Avatar for AndreRet
0
458
Member Avatar for kitschkath

Hi, After two weeks of not touching my web codings. PHP just gave me tons of surprises. I'm confused. I don't know what happened but I have this page entering a new category: <form name="new_category" action="savenewcategory.php" method="post"> <input type="text" name="category" size="30"><input type="submit" value="Add"> </form> savenewcategory.php <?php $con=mysql_connect("localhost","root"); mysql_select_db("cart0902",$con); $category=$_POST['category']; $sql="insert …

Member Avatar for kitschkath
0
253
Member Avatar for HibaPro

Private Sub Cmd9_Click() 'On Error GoTo Error_Handler Dim Report As New Blank_rShopDrawing 4 Set Report = New Blank_rShopDrawing Report.RecordSelectionFormula = "false" Form1.CRViewer1.ReportSource = Report Form1.CRViewer1.ViewReport Form1.Show 1 Exit_Error_Handler: Set rs = Nothing Exit Sub Error_Handler: MsgBox Err.Number & " : " & Err.Description Resume Exit_Error_Handler End Sub the error in …

Member Avatar for AndreRet
0
317
Member Avatar for plmexico79

im trying to understand to create a form that process in php but shows the erros in ajax. heres a sample of something i want [Click Here](http://php4every1.com/demos/ajaxSubmit/), i already understand some jquery but not everything , like when i create a form in html do i had to create a …

Member Avatar for pritaeas
0
346
Member Avatar for athulram

Hey all. I have this program where I need a variable number of for loops. For eg. the program i use to find the pythogorean triplets is for n1 in range(100): for n2 in range(100): for n3 in range(100): if n1**2+n2**2 == n3**2: print str(n1**2) + '+' + str(n2**2) + …

Member Avatar for athulram
0
4K
Member Avatar for anevins

Hello, I can't use CURL, $ch = curl_init(); I get the error > Fatal error: Call to undefined function curl_init() I've used `phpinfo()` and found the php.ini directory, > Loaded Configuration File D:\wamp\bin\apache\apache2.2.22\bin\php.ini I've then edited the php.ini file from that directory and removed the semi-colon in-front of extension=php_curl.dll Restarted …

Member Avatar for anevins
0
9K
Member Avatar for alaa sam

hi everyone well I'm learning network programming currently , I've written a day time client and server but when I run the client it gives me a connection error . Here is my client code #include<sys/socket.h> #include<sys/types.h> #include<stdio.h> #include<netinet/in.h> #include<netdb.h> int main(int argc ,char *argv[]) { int sockfd, n; char …

Member Avatar for alaa sam
0
102
Member Avatar for jaydac12

HI ! could you please help me here? i'm having a problem on marking the books in my library program if it is borrowed or returned? here's where im at, import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.*; import java.awt.Color; public class Library { ArrayList<String> bookName = new ArrayList<String>(); {{ …

Member Avatar for jaydac12
0
706
Member Avatar for rahul.ch

public class Thread7 implements Runnable { public static void main(String r[]) { Thread t = new Thread(new Thread7()); t.start(); public void run() { System.out.println("C"); System.out.println("D"); } System.out.println("A"); try { t.join(); System.out.println("B"); } catch(Exception e){} } } Query1: On compiling this program I get "illegal start of expression" error pointing to …

Member Avatar for delta_frost
0
275
Member Avatar for dancks

I'm a noob, I know very little about php. Anyway, my page won't load at all, browser says its redirecting in a way that is not loading. As the title suggests I think the issue is with one of the php files I include with require_once(). Let me just show …

Member Avatar for dancks
0
300
Member Avatar for anisha.silva

hi, does any one know about the pipe & filter architecture implemntation in C# have a question in that.

Member Avatar for anisha.silva
0
242

The End.