199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mattbaehr

I am using a script from Dynamic Drive and have posted this on their forum as well, with no luck. The script looks great in every browser but IE. When you hover over the parent page and the child pages show up, they go away when you start to scroll …

0
71
Member Avatar for techie929

Hi everyone, I am trying to save ip addresses and mac addresses of a node in a structure.I dont know how to assign values.Please help. [CODE] #include <stdio.h> #include<iostream> #define nodes 15 using namespace std; struct nodes_struct { char ip[19]; char mac[19]; } ; int main() { char ip[19],mac[19]; nodes_struct …

Member Avatar for shashwat_2010
0
138
Member Avatar for khnkng

hi i m mateen frm india i have a problem with my java compiler i want to know how to set the path of compiler and how to execute the program i have already installed the java software someone answer to my question and help me out

Member Avatar for peter_budo
0
137
Member Avatar for Extremus

[B]System:[/B] Vista What I want to do is to catch the mouse release event, which I have researched for but nothing useful came up. I found out the way to catch the pressed event: [CODE] #include <windows.h> #include <iostream> int main() { // Grab a handle to the console inputbuffer …

Member Avatar for Extremus
0
1K
Member Avatar for Toddh86

Hi, just hoping someone can shed some light on the best way to read from a text file. I wish to create a program that will grab out specific words/numbers when chosen. I need to be able to extract data from different fields but also be able to determine if …

Member Avatar for TrustyTony
0
360
Member Avatar for ceyesuma

Hello I am trying to use a MySQL database and connect to it using a Desktop App. I need to have it embedded and I am using netbeans and I am connected to the database I am also in the admin console for glassfish. I tried setting it up once …

Member Avatar for ceyesuma
0
92
Member Avatar for Ruko

Hey, i'm new to PHP coding and my knowledge of php is increasing. I have a problem though. Im currently making a flash game site and I want to make urls like "Domain.com/Play.php?gid=34823" And when guests or users are on that page (with ID "34823"), I want it to show …

Member Avatar for Will Gresham
0
335
Member Avatar for ReDuX

Do you work with datasheets regularly ? Always getting .pdf files open in your browser and having to wait EONs for them to download/display ? Well here is a resolve for that most frustrating of problems with Adobe's "Handy file intercept" feature. Use this script to FORCE the browser to …

Member Avatar for w3m
0
156
Member Avatar for leviaeon

i am having this problem related to function implementation. my program is about sending an unread sms string to a bluetooth module and after sending the strings of sms messages it will mark the unread messages as read then move to a sms notification function that will notify me is …

Member Avatar for leviaeon
0
119
Member Avatar for spaniel

Hi, I'm trying to do something pretty straightforward (I think) but it's not working for me for some reason. Basically trying to create an object with an ArrayList as a attribute but i keep getting numerous errors saying '<identifier> expected', '; expected'. My code is as follows: [CODE]import java.util.ArrayList; public …

Member Avatar for spaniel
0
119
Member Avatar for ms_sws

Please help! I have the following code in the head section of my web page: <script> ..... var serverLoc = "http://www.mydomain.com/mypath/"; var serverFile = serverLoc+"myexcel.xls"; var ehandle = new ActiveXObject("Excel.Application"); //error occurs var eWBhandle = ehandle.Workbooks.Open(serverFile); var eShandle = eWBhandle.ActiveSheet; var cell1 = eShandle.Cells(1,1).Value; // get more data ..... </script> …

Member Avatar for fxm
0
556
Member Avatar for througheye

Hello, Don't know where to post this though this topic based on web development platform, i think it may goes here cause in the other software forum in daniweb i didn't get any response. Is anyone aware of screen scrapper Enterprise. I want to use that. Anybody has any good …

Member Avatar for througheye
0
78
Member Avatar for capson

Hello, the code I am posting sorts a pivot table but there can be only one statistic per row e.g Mean or Count. I often have multiple statistics per row e.g Mean, Mode etc... . I often have to generate multiple, long, pivot tables and to sort them manually is …

Member Avatar for TrustyTony
0
206
Member Avatar for sana zafar

Hi all, Im having a little trouble. I have to write a program that will input a string of positive integers terminated by a negative integer and then sort it.I have done the sorting part and it works fine.But the part that the string continues to get integers unless a …

Member Avatar for sana zafar
0
98
Member Avatar for star_lavender

hi...I'm trying to calculate the total no of item of things in a table, so I select the same item first, then I start adding them and save the total no of items in another table...but the problem is when I start insert the new items, the existing items also …

Member Avatar for star_lavender
0
106
Member Avatar for ITGuy2010

Hello, If I wanted to pass the two arrays below into a function and multiply them and return the two dimensional array how would I go about doing that? If anyone can give me an example I'll go with that. Thanks! [CODE]Public Class frmTotalDailySales Dim ItemCost() As Decimal = {12D, …

0
56
Member Avatar for Stefano Mtangoo

I have this question and might look stupid indeed, but bear with me. I have files in this hierrachy ProjectFolder/Panel/panel.h ProjectFolder/Panel/panel.cpp [B]AND[/B] projectFolder/Search/search.h projectFolder/Search/search.cpp I want to include search.h in panel.h I have tried many thing including [CODE=C++]#include "./search/search.h" #include "../search/search.h"[/CODE] but I have failed. Any suggestion on how to …

Member Avatar for Stefano Mtangoo
0
68
Member Avatar for Bagleys

Hi im trying to run "ipconfig /all" in vb this is the code i have but the window closes down after it has completed the command is there away to keep the window active until the user wants to close it? [CODE]Dim Command As String Command = "ipconfig /all" Shell("cmd …

Member Avatar for Bagleys
0
145
Member Avatar for farsen

Hi. I have this kind of common problem, but cant find a solution for it after many google searches. What i want is this: [CODE] ArrayList items = new ArrayList(); items.add(item1); //the item object contains several properties items.add(item2); items.add(item3); foreach (item i in items) { Create and edit a new …

Member Avatar for Venjense
0
198
Member Avatar for thomasekugm

I am writing a small algebra io program for an intro to c class and i am stuck. The idea is to get the user to input (a * b) + (c / d) + (e % f), in exactly the same format as you see it with the exception …

Member Avatar for jephthah
0
231
Member Avatar for Griff0527

Ok, I have read several other questions basically asking the same thing, but I know this code can work instead of using other peoples work. Yes, i'm stubborn. I have written a function to be called from my main program and i keep getting an error that I cannot figure …

Member Avatar for jephthah
0
775
Member Avatar for Atomika3000

trying to get i form going, so that the user can just a code from a list generated from a database(i got that bit working), and then bring up a new page with the details of that product. i cant seem to get it to send the variable through here …

Member Avatar for diafol
0
93
Member Avatar for Whizzy

Good day all. I am trying to write a c++ rpg game, learning c++ as I go. As I understand it, the example below is a basic class, and I can access my variables with dot notation. Along with the class functions or methods if you wish. Thats all fine …

Member Avatar for NathanOliver
0
162
Member Avatar for kingsboro2008

This is my first working java game. I am thrilled it works. What I want to know is.... what can I do to improve it? I would like to use a simple datebase to collect every possible combination of computer names. I would like to collect new information every time …

Member Avatar for kingsboro2008
0
203
Member Avatar for sacarias40

Does anybody have any ideas of how to make an advanced search function? I would like to accept a string as the search query. i want it to run a query on the string as a whole, and for each word in the query. The problem is here: The results …

Member Avatar for sacarias40
0
168
Member Avatar for yznk

I am writing a program that implements a topological sort. The actual question is as follows : Given a collection of n items and dependency lists for each item, determine whether the dependencies support a topological sort. If not, report this fact. Otherwise, find a topological sort of the vertices …

Member Avatar for yznk
0
115
Member Avatar for nunos

I need help with debugging this piece of code. I know the problem is in malloc and free but can't find exactly where, why and how to fix it. Thanks. [CODE] #include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <unistd.h> #include <string.h> #include <sys/wait.h> #include <sys/types.h> #define MAX_COMMAND_LENGTH 256 #define MAX_ARGS_NUMBER …

Member Avatar for nunos
0
174
Member Avatar for YenkoSC

I have code here for a form that submits the data to my email. When I click the send this form button, it submits the email to my address with the titles that I want but not the data that has been put in the boxes. Furthermore, I want to …

Member Avatar for JRM
0
99
Member Avatar for lebron

This is problem part of my assesment I've done but my assesment says use a function to calculate the fuel cost and function should take 3 parameters : distance,economy(as litres per 100 kms) , and fuel price per litre. The function should return the total cost of trip. Could you …

Member Avatar for lebron
0
4K
Member Avatar for munna_001

I am very new c# , the code i wrote constantly sends the data to console i.e console.writeline. the class is called generate_data i created another GUI class that contains a textbox. i want to redirect all the output of generate_data to the textbox. everytime generate_data class produces output it …

Member Avatar for munna_001
0
273
Member Avatar for bettybarnes

i have this problem with regards to java data the problem accepts input number and then output the sum of the square from 1 to the n(1 to the no. input) thus, if the input is 4 the output should be 288 because: 1 raise to 1 + 2 raise …

Member Avatar for huyyaya
0
98
Member Avatar for laghaterohan

i have a database (access database) which contains id and img column .The id column contains ID'S and img column contains their respective images. [B] When the user selects a particular ID at runtimes the picturebox should display the corresponding image... However the problem is how to achieve this ? …

Member Avatar for Isaaac
0
142
Member Avatar for jeanfrg

Hi I'm a java intermediate student, I have been studying java for two years. I just wanted to offer my help to those students that are currently struggling with java in general, or those who need help on an assignment. Lately I have been ahead of my class so I …

Member Avatar for jeanfrg
0
121
Member Avatar for yasy

Write a function called nRandomNumbers( ) to performing the following: • Generates N random integers between -250 and 250 (inclusive) and save them in a file called number.txt, (Use the function srand()). • Prints all the generated integers. • Finds the average of all the negative integers, and the maximum …

Member Avatar for Adak
0
111
Member Avatar for SMHouston

Ok, I'm new to php and MYSQL aswell. I have a couple programs actually that are getting this error and I don't see what could be causing this at all. Here's the situation. I have a job interview page. The user enters the information from the candidate and submits the …

Member Avatar for SMHouston
0
4K
Member Avatar for nschessnerd

Hi, I have a query: [CODE=sql]SELECT h.id, h.creator uid, h.haiku, h.title, h.likes, h.approved, cat.name category, count(c.id) comms, h.anonymous, CASE h.anonymous WHEN 1 THEN 'Anonymous' ELSE u.username END username FROM haiku h left join categories cat on cat.id= h.category left join comments c on c.haiku=h.id left join users u on u.id=h.creator …

Member Avatar for nschessnerd
0
74
Member Avatar for flashkarni

hello all, i am new to VB. i am trying to execute SQL Stored procedures from a macro in excel. but i fail to do so. i managed to write a code that imports a table, but not to execute a SP or a function. heres my code: [code] Sub …

Member Avatar for vb5prgrmr
0
110
Member Avatar for Mandana_bgh

hi I use log4j framework for logging my program. i insert log4j.xml in my project an test it. everything was ok and logfile correctly was put in path. but when i made jar file and copy it to linux and run it it return error [CODE]log4j:ERROR Could not open [log4j.xml]. …

Member Avatar for peter_budo
0
160
Member Avatar for Sseeth

Ok heres the problem Im working on a final project for a java course and one thing is blocking my path. import java.util.*; public class Controller { public List<CrewMember> list = new ArrayList<CrewMember>(); public void addItem() { CrewMember cm = Academy.load( MenuUtil.getAString("Enter the role: "), MenuUtil.getAnInt("Enter the id number: ")); …

Member Avatar for Sseeth
0
4K
Member Avatar for Idontknowc

I'm currently trying to create a code in Cygwin using pure C to display ASCII control characters that may be present in the text file in a ASCII control characters non-printable form. I can call to a text file to display its contents but in normal ASCII characters but I …

Member Avatar for Ancient Dragon
0
324
Member Avatar for leeZA1

The code below is what i am using to upload a photo to store it in a database, is it being stored correctly?? as it will not let me view them properly, any help is great!!! [code] $title = $_POST["title"]; $userfile = $_FILES['userfile']['tmp_name']; $userfile_name = $_FILES['userfile']['name']; $userfile_size = $_FILES['userfile']['size']; $userfile_type …

Member Avatar for diafol
0
140
Member Avatar for Tabone3

Hi, I'm a bit new to java and I would like to make a program that save's and load the saved data that the user had inputted in my java program. For example I done a sort of a Bank System and when I close my program and restart it …

Member Avatar for Tabone3
0
186
Member Avatar for invictuspravin

Hello There, Access denied for user 'xxxx.d'@'xxxxx' (using password: YES) Actually in my application i am executing stored procedure on page load of index page ... i have hosted application on webserver and i am using shared mysql database server when i triese to run the page it shows the …

Member Avatar for invictuspravin
0
153
Member Avatar for lowhzplayinfool

I havn't been able to find anything on the web which actually applies to what i'm trying to do yet. I have form1 which has 2 methods. These methods are the same but two versions, one with 3 variables in its parameter (?), one with 4. It is necessary for …

Member Avatar for lowhzplayinfool
0
143
Member Avatar for yahooak

Hello. I just want to know if i have a file on my disk named 'c://blahblah/mypic.bmp' & want to show it via a Turbo c++ program. How to do that? i have googled it, but no solution.

Member Avatar for Stefano Mtangoo
0
108
Member Avatar for Atomika3000

I'm making some dynamic drop down boxes for a site that get their contents from a database, i belive i have the correct code to do this [CODE]<?php echo "Product Code"; $sql = "SELECT DISTINCT Product_Code FROM product_supplier"; $result = mysql_query($sql, $odbc) or die("could not run"); echo"<select name = Product_Code>"; …

Member Avatar for Atomika3000
0
131
Member Avatar for leeZA1

If anyone has ideas pleas help!! Ok, i have a drop down box generated from my database, the user can pick a option and then delete it from the database althoguh i doesnt seem to reogise it if it has a space in the word. How can i prevent this? …

Member Avatar for leeZA1
0
100
Member Avatar for CppBuilder2006

I have a problem with this Window Procedure. in new versions of Windows OS, when I run the program, at first everything is painted & then paintings disappear (until the window receives the next paint message) [CODE] long _stdcall WndProc ( HWND hwnd, unsigned msg, unsigned wParam, long lParam ) …

Member Avatar for CppBuilder2006
0
152
Member Avatar for asif_14443

I am using Data Reports throug Data Environment, and using Relational Database in MS Access.. I have prepared the query throuh SQL Builder(in data reports) and the query is running OK , but how can I pass parameter in this query to show the results on the data reports..... my …

Member Avatar for kvprajapati
0
236
Member Avatar for tgifgemini

[B][/B] Good morning everyone, can anyone give me example of how to programatically copy an existing database to another location and rename the copied version - sort of a backup. I have a database name "DbProd" which is located on a server, and I want to copy this database to …

Member Avatar for kvprajapati
0
2K

The End.