199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bjeffries

Would anyone know why my javascript slider does not work in FireFox? Ironically it works well in Ie and Chrome. All I did was modify a JQuery slider to fit my needs and even before I Modified it, the slider still would not work in FireFox Page: [url]http://www.flyteusa.com/flyteusa/index1.php[/url] Code: [CODE] …

Member Avatar for bjeffries
0
187
Member Avatar for dsul

Hey people, I've been coding in vb.net for a while but never had to publish anything (it didn't get covered during any of my classes) so here's my confusion: Context: My application uses an existing excel spreadsheet which it then modifies per user input, and saves the modified version to …

Member Avatar for ÜnLoCo
0
387
Member Avatar for joker400
Member Avatar for shinyhelmet
0
247
Member Avatar for Rez11

I am trying to write a program that takes a user submitted number of test, along with the test scores. Then I need to sort them in ascending order. (I've done all this). Now I need to get the average, but my getAvg function drops will drop the decimal and …

Member Avatar for dusktreader
0
210
Member Avatar for johndoe444

Why would we need the director pattern? The builder can itself execute the whole construction process instead of going through the director. [CODE] class Pizza { private String dough = ""; private String sauce = ""; private String topping = ""; public static abstract class Builder { private Pizza pizza; …

Member Avatar for Rashakil Fol
0
174
Member Avatar for Loadstone

/edit: I found the Windows Servers forum section and posted there as well, but if you have any input I'd appreciate any help I can get. I'll be checking both threads for replies. Hi guys, First I want to apologize for such a lengthy post. I'm attempting to give as …

Member Avatar for Loadstone
0
251
Member Avatar for poojabi

i am given an assignment to write code on interpolation search binary search(searching an integer in an ordered list). bt i dont have a clear idea about about both of them as i missed the theory class.so can anyone suggest me from where i can get satisfying information about them?

Member Avatar for Adak
0
107
Member Avatar for UniqueMan
Member Avatar for Gait

Which is the best C++ IDE for windows that is free and where can i get it?I have tried downloading Code Blocks and Dev C++ but none of them works.

Member Avatar for hystaspes
0
147
Member Avatar for serkan sendur

I have never found a logical explanation to make my mind about using interfaces in c#. Does any one know a robust benefit of using interfaces? please explain to me in a structural manner.

Member Avatar for Sam.ars
0
1K
Member Avatar for cawoodm

We need to access a MS SQL 2000 database with unicode data in nvarchar fields from PHP (on IIS). Unfortunately PHP's MSSQL does not support this. Unfortunately we cannot use a different driver (like ADODB) - we're stuck with the application (Interspire KM) and can't rewrite it. Is there anyway …

Member Avatar for cawoodm
0
128
Member Avatar for buster2209

I have the following code which is used to get various details about wireless networks; [CODE] // Lists all networks ssid, signal stregth, availability, & security Wlan.WlanAvailableNetwork[] networks = wlanIface.GetAvailableNetworkList(0); foreach (Wlan.WlanAvailableNetwork network in networks) listBox1.Items.Add(GetStringForSSID(network.dot11Ssid)); foreach (Wlan.WlanAvailableNetwork network in networks) listBox2.Items.Add(network.wlanSignalQuality + "%"); foreach (Wlan.WlanAvailableNetwork network in networks) listBox3.Items.Add(network.wlanNotConnectableReason); …

Member Avatar for PsychoCoder
0
151
Member Avatar for skamranj

Hi, I am having some problem using nested if else in C# project. I have no idea why it is always executing the Save() function. I don't want to execute the save() function if the (dr.Read()) is true. Here is the code: [code=c] protected void BtnSave_Click1(object sender, EventArgs e) { …

Member Avatar for skamranj
0
140
Member Avatar for dany12

First of all I want to thank the guys form this forum for there work and help that I found more then use full an different occasions. Here is my c programing exercise. Write a c program that shows all the products tahat have the price over 10. Any help …

Member Avatar for dany12
0
133
Member Avatar for monicao

Hello! I've a Javascript function that has to verify if a form field is empty or not. My function works fine on my local server (Vertrigo), but when I upload it on server (online), the function doesn't verify if form fields are empty or not. Please help, I'm not good …

Member Avatar for monicao
0
183
Member Avatar for turpentyne

I've got a form page with two dropdowns, where people first select a leaf shape, and it shows the image. For example, choosing "auriculate" makes images/leaf_shapes/entire/auriculate.jpg appear. Then they choose the margin design, which could be "crenate" or "serrate" or "undulate" or several others. This changes the image to images/leaf_shapes/"their …

Member Avatar for turpentyne
0
113
Member Avatar for glenak

Ok, I've never seen a while loop like this. Please can someone help explain this: [CODE]CipherInputStream cis = new CipherInputStream(new FileInputStream(new File("plaintext.txt")),cipher); FileOutputStream fos = new FileOutputStream(new File("ciphertext.txt")); byte[] cipherTextBytes = new byte[8]; int i = 0; while((i=cis.read(cipherTextBytes))!= -1) { fos.write(cipherTextBytes,0,i); }[/CODE] Ignore the whole CipherInputStream object if you don't …

Member Avatar for JamesCherrill
0
119
Member Avatar for flxbbs

Hi there, I'm a beginner c# programmer, for practice I did the following code for a rock scissor paper game, the computer picks out it's choice randomly and compares with the player's choice. This code seem not to work properly, please help :?: <%@ Page Language="c#" %> <script runat="server"> void …

Member Avatar for Lusiphur
0
245
Member Avatar for laserlars

Hi! I'm pretty new to C and have to write something that handles strings. I have some experience with python and C++ but i find C string handling pretty strange/ugly. Is the following code really the best way to put together a string containing multiple strings? [CODE] strcat(string1, string2); strcat(string1, …

Member Avatar for laserlars
0
86
Member Avatar for sam023

I just want to know which would be the best CMS for a Social Networking Site.. Is it Joomla or Drupal..?

Member Avatar for anupam.3985
0
137
Member Avatar for cscotty

Hello all. I am a new c++ programmer and I am having a lot of fun with it. I just wrote this programming to help with some American History. I've read tutorials and have learned enough to write this program. I am dissapointed in my code however. I noticed that …

Member Avatar for jack2423
0
517
Member Avatar for heshanm

Hi all, This is regarding part of my project. There is a junior staff member who adds data to the database by way of a form.(customer details) Thereafter a supervisor should logged into the system and if he needs he should be able to modify the details entered by junior …

Member Avatar for MindSter
0
144
Member Avatar for Lazarevsky

"Use Web Application project. Manually create textual file, filled with words and sentences separated with “Space” or “New Line”. Application should be able to read all words from the text file, which must be uploaded to the server side. Read the file content, sort identified words, and show the data …

Member Avatar for Ezzaral
0
78
Member Avatar for Phenneger

I am really having trouble getting my app depolyed! I have within it several Crystal Reports utilizing the CR viewer, but when I package everything it won't work on the machine is it installed on. I get an error that reports a problem with cyrstal! I tried unistalling and reinstalling …

Member Avatar for PsychoCoder
0
109
Member Avatar for Bliksempie

Hi everyone, I have an issue with IE7 not responding as it should after a log-in to a website I built for a client. This same problem also affects the add to basket or add to wish-list functionality, the checkout process, and all other Ajax requests. Here is a breakdown …

Member Avatar for MooGeek
0
178
Member Avatar for smcguffee

I'm sort of duplicating this post because it requested that I start a new thread because I was replying to an old one, but here is a statement that prompted my questions: "Accessors should be const methods at the very least, because the object state isn't changed in the body." …

Member Avatar for smcguffee
0
126
Member Avatar for ssilver

Hi, I can upload my files outside of the WEB-INF folder and to the path specified but am unable to upload them into the WEB-INF folder. I hope someone can point me in the right direction. Thanks!! IDE : Netbeans Server : Tomacat [CODE] public void doPost(HttpServletRequest request, HttpServletResponse response) …

Member Avatar for scubatan
0
194
Member Avatar for challarao

I am a B.Tech 1st year student.I am unable to understand the program given below.Please any one explain me.Any help would be appreciated. This program is for printing longest line of given input lines.. [#include <stdio.h> #define MAXLINE 1000 /* maximum input line length */ int getlines(char line[], int maxline); …

Member Avatar for challarao
0
2K
Member Avatar for therstonsplace

so i need some direction in c++ for grabbing a jpg file sending it to a text file that i can edit to manipulate pixels and send back to a jpg... i have been googling for some time and im having a hard time... just some direction will do.. cuz …

Member Avatar for therstonsplace
0
136
Member Avatar for tennis
Member Avatar for rom87

Driving me crazy keep getting "this line contains a '{' which has not yet been matched on several lines even though i cant find where there missing. thanks main.cpp [CODE] #include <iostream> #include <string> #include "USER.h" using namespace std; string Get_password(); string Get_username(); void Open_account_sucess(); void Error(); void Exit(); void …

Member Avatar for Kanoisa
0
90
Member Avatar for spankboy11

Hi there, I'm having trouble dealing with dynamic arrays and was wondering if someone could tell me where the problem lies. I'm new to C++. Basically, in the following code, the dynamic array of Fuzzy objects works fine. But when you uncomment out the bit that actually assigns values to …

Member Avatar for Kanoisa
0
247
Member Avatar for JamesPH

guys any idea of this equivalent c loops into pascal: for (sum=0,i=0,j=0;i<10;i++,j+=2) sum+=i+j; Thank you.. james

Member Avatar for ez4u2c
0
122
Member Avatar for ravinder.261987

Hi , I want a call feature on my php website. FOR E.g Supoose there is form having a field name "Contact Number". Once the user will enter his phone number and will click submit button then he will recieve automatic call. How to do that ? Anybody having any …

Member Avatar for ravinder.261987
0
331
Member Avatar for ghosh22

Hii everybody!! I am a new user of Perl. I have a small problem here: I have got a tab delimited text file containing a list of chemicals and their properties. Now I would like to create a new column where the program should first scan the whole file and …

Member Avatar for ghosh22
0
119
Member Avatar for phplover

Hi, Does a file have to be writable in order to be deleted? If a file is writable using the php [b]is_writable()[/b] function does it mean it can also be deleted because it is writable? Reason for asking is before i attempt to delete a file and record from database …

Member Avatar for phplover
0
119
Member Avatar for ebanbury

Hello I'm using mysql databases and php via dreamweaver for the scripting. I have worked out how to submit images to a database and retrieve them. How to just use the image_location to insert dynamic images into a webpage etc. But I'm really struggling in working out how to just …

Member Avatar for MindSter
0
3K
Member Avatar for Harine

Hi.. i'm new to JSP. i'm currentli tryin to compare two tables in mysql and reflect the difference. i used the code below but when i display it..nothing is being reflected.Please do help and guide me.Thank you. String sql = "Select * from examinerdb where NOT EXISTS(SELECT * from dbexaminer …

Member Avatar for Harine
0
75
Member Avatar for Axelro

Hello, How can I control the representation of my exponential number? 4.840000E+02 need to define how many numbers I want after the point? Is there a way to define it when I create it from integer? Thank you very much

Member Avatar for Axelro
0
217
Member Avatar for anirban1087

Hi, I am new to php. I am working on a product. My product has a search page, with multiple criteria. Next page will show the matched recodes (with some information) in a table format. Now I would like to show the details of a particular record, by clicking on …

Member Avatar for MindSter
0
90
Member Avatar for flyheight04

could someone help me on this.. the if else statement (bold letters) is not working.. and only the if statement is running and it seems the whole condition too i included the whole code so that everyone can see what i want to do.. [CODE]<html> <head> <title>Untitled Document</title> <link rel="stylesheet" …

Member Avatar for MindSter
0
170
Member Avatar for whiteyoh

hi all, ive been using curl with a few different 3rd parties, but im trying to get me head around what i should be returning. im using this curl function [code] <?php function request($url, $postdata) { $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($curl, CURLOPT_POST, 1); curl_setopt($curl, CURLOPT_POSTFIELDS, …

Member Avatar for whiteyoh
0
212
Member Avatar for ekseks

can someone show me how to call two functions at the same time... and is it possible calling them with the onShow command? thanks

Member Avatar for ekseks
0
169
Member Avatar for chuck577

Hello all, I have an xml file with the information below: [CODE] <?xml version="1.0" encoding="utf-8" ?> <ServerNames> <Name>dfwnbonner1</Name> </ServerNames> [/CODE] I am trying to get the Name of a server into a listview. This works fine with the above xml but as soon as I add another server name in …

Member Avatar for chuck577
0
217
Member Avatar for prem2

Hi, I have executed the sample package program and it executes fine in some conditions.I have a doubt in my program . My directory structure is:/javaprograms/world/HelloWorld.java A folder name :world A java filename:HelloWorld.java [code] package world; import java.io.*; import java.util.*; public class HelloWorld{ public static void main(String args[])throws IOException{ System.out.println("Package …

Member Avatar for prem2
0
506
Member Avatar for arthurav

I have a file upload website. Information about files and the files themselves are stored in a mysql database. I want to allow the users to delete their own files. On every line I have put a delete button. My concern is which is the most secure implementation. I am …

Member Avatar for MindSter
0
76
Member Avatar for Mecklar

Hi all: I am pretty new to php and am currently trying to make a simple website with a login script. I am however having a problem with the header already being set. I understand that this is because of having whitespace or calling certain things before setting the header, …

Member Avatar for sourcebits
0
168
Member Avatar for ^Y^ nobody ^Y^

Hi, I search everywhere and i didn't found anything good. Do you know how to search a string inside a .txt file ?? Like, this is a text file: -------------------------- i love mc donalds food i hate my brother i want a answer a good answer -------------------------- How can i …

Member Avatar for fire_
0
356
Member Avatar for sam1

Hi, First of all it is not home work or anything lol, creating this project just for fun of it and want to learn more. Anyway, I have decided to create a dictionary from english to my language(farsi). So if I have a textbox for user to enter text and …

Member Avatar for PierlucSS
0
95
Member Avatar for boiishuvo

That is a stack program - I tried to change from integers to characters so when you enter a single char of a-z. I ran the program then it displayed shown below: Enter a number: <EOF> to stop: a Enter a number: <EOF> to stop: Enter a number: <EOF> to …

Member Avatar for Adak
0
133

The End.