199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Cameronsmith63

Ok so here's the thing, I used to read in data from an excel file and bulk copy this data into a SQL table and everything worked fine. But now, my source file changed, so now i get data from a other excel file. Both file look exactly the same, …

Member Avatar for Cameronsmith63
0
117
Member Avatar for deeps2_daniweb

i have just started learning asp.net and webmatrix a week ago. i read these excellent tutorials http://www.asp.net/web-pages/tutorials/introducing-aspnet-web-pages-2/getting-started and i try to make a similar site that instead of movies have employee records. here is the code of web page which i made by modifying the given codes in thee tutorials. …

Member Avatar for deeps2_daniweb
0
326
Member Avatar for silvercats

(1)Are DOS and Windows assembly different? (2)How many registers do both 32bit and a 64 bit processors have speparetl? what is the size of them? (3)To emulate a 16bit or 32bit program under a 64bit processor, does that processor have to physically support those old 16 and 32 bit versions? …

Member Avatar for brunoccs
0
195
Member Avatar for riahc3

Hey This is a stupid and very noob question but lets say I have something like: <script type="text/javascript"> /*javascript up here*/ var variable = new object("bla", "morebla"); variable.dosomething("evenmorebla", function(key, value) { alert("key is '" + key + "' and value is '" + value + "'"); }); alert ("alert 2 …

Member Avatar for riahc3
0
3K
Member Avatar for HasNor

Dear experties, I have a problem which is my code not running correct way. I want to display data by radio button and checkbox selection. Maybe my if else statement have a problem.. If select "All", data show correctly, but if select "My Task" data not shown correctly..seem like my …

Member Avatar for HasNor
0
183
Member Avatar for sparsh610

hello friends, i have read a question about pointers and seems totally new concept for me .. how would you find out if one of the pointers in a linked list is corrupted or not? pointer is corrupted ??,, don't understand :( pls help your friend : sparsh

Member Avatar for mike_2000_17
0
175
Member Avatar for Olifant

want to inset a field on vb form with texboxe besides it such that when i inset values a polygon is drawn. please help asap

Member Avatar for lolafuertes
0
72
Member Avatar for landog

[code] #!/bin/bash if [ [ $a == $b + $c ] || [ $b == $a + $c ] || [ $c == $a + $b ] ]; then [/code] result: too many arguments What is the proper syntax? Thanks!

Member Avatar for laksh.ss
0
168
Member Avatar for rotten69

Hey everyone, I am looking for Javascript API's on the internet but I couldn't find one that has all built-in functions and stuff. Is there a downloadable version of the documentation or a website that I can search what function is available? something like php.net Cheers,

Member Avatar for rotten69
0
420
Member Avatar for JeDieL_guitar07

i'm developing a Random Test questions and answer, but i want each page to only view one question together with answer choices in radion button, each time i click the next button another question will appear together with the choices and when i click submit it will appear all the …

Member Avatar for glycerine
0
95
Member Avatar for sparsh610

hello friends, i m doing programming in vc++. but while making a basic program of link list facing a problem. when i try to add aaloc.h file it turns into atlalloc.h. there is no file as alloc.h. #include <stdio.h> #include <atlalloc.h> struct node{ int data; struct node *link; }; void …

Member Avatar for Ancient Dragon
0
96
Member Avatar for ulrichrandom

how do i freeze a form? scenario: i'm working currently on a form (running program). i'll click a button which will direct me to another form. input info and then back to the previous form. So, how do i freeze the previous form without using unload, and the data in …

Member Avatar for jhai_salvador
0
164
Member Avatar for Patiodude

I want to include a .php file, containing a menu bar, in all my pages. Thing is, some of these pages are at different levels: for example, on might be in the root directory, another might be in root/news, another in root/news/2012, and so on. What can I do to …

Member Avatar for glycerine
0
206
Member Avatar for broskie

If you could help me out, thanks. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; // Adds all stuff for files namespace WindowsFormsApplication1 { public partial class Form1 : Form { static String fileloc; public Form1() { InitializeComponent(); ContextMenu editorMenu …

Member Avatar for hericles
0
215
Member Avatar for super-duper

Hey, everyone. I am writing a batch script (.bat program) to automate some tasks. And when that certain task is complete, I would like it to send an email to the admin saying if the task was completed successfully or it failed. It will figure out if the task was …

Member Avatar for Habitual
0
166
Member Avatar for Patiodude

I'd like to add a timestamp to articles I upload to my website, which reads the time and date the article was uploaded. I've got a database, as well as a working connect.php. In this database, I've created a table with a "date" field (type: date). What can I do …

Member Avatar for diafol
0
292
Member Avatar for Dudearoo

**Dudearoo** *Useing Code::Blocks* Hey you guys! ive got a problem with a 'test' program i have made for saveing strings. heres the code: #include <iostream> #include <cstdlib> #include <stdio.h> #include <time.h> #include <conio.h> #include <stdlib.h> #include <iomanip> #include <windows.h> #include <fstream> using namespace std; int main() { ofstream myfile ("savefile.txt", …

Member Avatar for Dudearoo
0
141
Member Avatar for bo0ga

This form works and everything, but all I want is the comment box. I want to take away "name" and "email". I tried deleting those 2 lines from the top and the code from the form but then it doesn't work. I guess its because of this line: if ($_POST["email"]<>'') …

Member Avatar for blocblue
0
122
Member Avatar for lemur

Hi there, I wrote code that reset search settings, code is: function formReset() { var fields = document.getElementsByTagName( "input" ); for ( i = 0; i < fields.length; i++ ) { if ( fields[ i ].type == "checkbox" ) fields[ i ].checked = false; } document.getElementById( 'rrpmin' ).selectedIndex = 0; …

Member Avatar for lemur
0
80
Member Avatar for angelclawdust

hello there - been awhile since ive been about but im ready to crack on with my learning :) kk i used to have this installed on my last "free" host and it worked fine now im on a paid host (hosting24) it doesnt seem to want to work correctly.. …

Member Avatar for pritaeas
0
140
Member Avatar for cwarn23

In these three functions, you can filter to a url to just the domain name. There are three main methods of doing so which are all shown in the example and the usage of each function is shown in the example.

Member Avatar for diafol
0
745
Member Avatar for brugernavn

There must be a easier way to do this: it prints the size of a mysql database in Megabytes. $query = mysql_query("SELECT data_length, index_length FROM information_schema.TABLES WHERE TABLE_SCHEMA = 'pvs'"); while($data = mysql_fetch_array($query)){ $num[] = ($data['data_length'] + $data['index_length']); } for($i = 0; $i < count($num); $i++) { $tot = $num[$i] …

Member Avatar for diafol
0
147
Member Avatar for lewashby

I'M working my way through a C++ book and now I'M doing a card deck program. Here's the line I'M having trouble with. r = card % 13; // r = random 0 to 12 card in this case is just a random int number from 0 to 51. 52 …

Member Avatar for TrustyTony
0
175
Member Avatar for merse

I would like to use an unsigned integer type for indexing a vector, but I want to use the best and optimal on every platform. How to implemet?

Member Avatar for L7Sqr
0
126
Member Avatar for karolismf

Hello to all, first I am really sorry if i posted this thread in wrong section or something like that... :) So i wanted to get some help from other people who uses PHP language. I want to ask for the best and secure way to do this. All kind …

Member Avatar for minitauros
0
124
Member Avatar for hwoarang69

i want to go inside the if statment if i have both things in one row. so if i have image_id = $image_id_g and user_id=$user_id_s on same row. i wan tto go inside the if statment. but this is not working. i thinkg this query is testing two things sepeartly. …

Member Avatar for minitauros
0
105
Member Avatar for sk8ergirl

Hello, I'm done with my html and css file and now I'm trying to start with the php , but after I type <?php ?> and then try to type > $name = $_post['name']; > line 9 <?php ine10 $name = $_post['name']; line11 ?> I get error "There is a …

Member Avatar for minitauros
0
231
Member Avatar for Mikey12345

Hi Is there a way that i can a loop in my program Dim Total1,Total2,Total3,total4,Total5,Total6,Total7 ,Total8,Total9,Total10 as integer For I = 0 to 100 Total1= InterestRate(i, Listview1.Items(0).SubItems(1).text,Listview1.items(0).subitems(2)) Total2= InterestRate(i,Listview1.items(1).subitems(1).text,Listview1.items(1).subitems(2)) Dim Item1 as new ListviewItem(i) Item1.Subitems.add(FormatCurrency(Total1+Total2,2) ListView2.Items.addrange(new listviewitem() {Item1}) Next This works because i have know how many rows have data …

Member Avatar for Mikey12345
0
140
Member Avatar for sebass123

Hey I am trying to find a way for the user(not the programmer) to determine how many decimal places a number will print out to. I have tried pointers, precision mods and even a sub program to bypass my lack of knowledge in this area. Any help would be greatly …

Member Avatar for dheaven
0
186
Member Avatar for mohsin1992

#include<stdio.h> #include<string.h> void recurse(char [],const char *); int main() { char *charset="abcdefghij"; recurse("",charset); } void recurse(char str[],const char *charset) { int len; len=strlen(str); strcat(str,charset[len+1]); if(len<strlen(charset)) recurse(str,charset); printf("%s",str); } Like the question says, what is wrong here? This is the logic of my program 1. Keep a string called charset which …

Member Avatar for Trentacle
0
2K
Member Avatar for FutureDev86

I am tryin to put to display the elements of an array, with each element of the array on a seperate line. <script type="text/javascript"> var names = prompt("Enter Names:","Enter names here."); var names_array = [names.split(" ")]; var array_length = names_array.length; var i = 0; var array_display = names_array.join("<br>"); for (i;i<array_length;i++) …

Member Avatar for Airshow
0
130
Member Avatar for XodoX

I think this has something to do with process scheduling. (1st process) Start 0// starts at 0ms Run 10 // runs for 10 ms Disk 0 // no idea what this does, but it takes 10 ms Run 30 // run 30 ms End // terminates (2nd process) Start 5 …

Member Avatar for asrockw7
0
194
Member Avatar for satti

Hello,, i want combo to search the whole word before space ..like for blue berries when i press B it should give the whole word blue only not berries but when i select again b the it should give me blue berries . senario.. i have 3 names in combo …

Member Avatar for satti
0
137
Member Avatar for Commando123

Hey Guys i am doing a small project and i am using vb.net with MS access database. i am facing a Concurrency issue sometimes when i try to save data in the datagried view. i have added the datagried view by draging and drop the table from the data source. …

Member Avatar for Commando123
0
129
Member Avatar for Maymac

Hello I am new to java and am having problem loading table numbers from mysql database to tablenumberJComboBox. I am using the load tablenumbers method. private void loadTableNumbers() { // read all table numbers from database try { // obtain all table numbers myResultSet = myStatement.executeQuery( "SELECT tableNumber FROM restaurantTables" …

Member Avatar for NormR1
0
169
Member Avatar for nikolaos

I want to write a version of the SAND GAME. I want to examine the color of every pixel in a Jframe window. I use something like this. Toolkit toolkit = Toolkit.getDefaultToolkit (); Dimension dim = toolkit.getScreenSize(); int height = dim.height; int width = dim.width; GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment(); GraphicsDevice …

Member Avatar for nikolaos
0
247
Member Avatar for Patiodude

I recently decided to try out a simple PHP/MySQL pagination script I found online. After replacing all the required data and creating a connect.php file with my db information, I got a bunch of errors on the page with the script: here they are, in order: Warning: include(connect.php) [function.include]: failed …

Member Avatar for blocblue
0
348
Member Avatar for evandana

I need help getting the Apache POI set up correctly. I downloaded this file: [url]http://mirrors.devlib.org/apache/poi/release/bin/poi-bin-3.2-FINAL-20081019.tar.gz[/url] from poi.apache.org, and don't know what to do next? Where do I put this file? Are there other files I need to download? I hear talk of setting a "Classpath". What is this, and how …

Member Avatar for peter_budo
0
679
Member Avatar for BleepyE

Hey guys, I need a little help with some code im working on. In the end I want some code to change the visible text when dates are past, my current code is below, but this only works for one date. I would like it to update to the next …

Member Avatar for diafol
0
112
Member Avatar for pjdomingo

Subject: System Analysis problem... We have our project in Systems Analysis ang Design this semester, and our preliminary step is to conduct and interview to study the existing system of our prospect organization. I know we are about to focus the interview on the system, but, I REALLY DONT KNOW …

Member Avatar for pjdomingo
0
90
Member Avatar for RonKevin

Okay, its been a while since my last visit here..and yes I need your help with C++ Programming... My grades were fine so that's all thanks to you guys....so here's my next question.... What is wrong with my code? My exponent displays a wrong number... I used a for loop …

Member Avatar for RonKevin
0
319
Member Avatar for lewashby

#include <Stdafx.h> #include <iostream> #include <stdlib.h> #include <time.h> #include <math.h> using namespace std; int rand_0toN1(int n); int hits[10]; int main() { int n; int i; int r; srand( static_cast<unsigned int>(time(NULL))); // set seed for random numbers cout<< "Enter number of trials to run "; cout<< "and press ENTER: "; cin>> …

Member Avatar for VernonDozier
0
169
Member Avatar for Appjacker

Working on a program that needs to open a file, read the contents which is a number, save the content as an integer in the program, edit the number by one and then save in the number in the file once more.

Member Avatar for Appjacker
0
436
Member Avatar for teknogisk

hello bros i need help in dis i have textbox with text blahbla@lablablab blahblabla@alalalala blahbla@lablablab blahblabla@alalalala multi line and so on i would trim all text after the "@" to be blahbla blahblabla blahbla blahblabla thx in advance my bros :)

Member Avatar for TnTinMN
0
106
Member Avatar for codeblock

Hi all, I have a registration page which allows the user to open up separate windows to include additional information. But for some reason it freezes the page and doesn’t allow data to be submitted into the MySQL database table. I’m mot sure whether this is a php or a …

Member Avatar for codeblock
0
288
Member Avatar for codeblock

Hi all, I have a registration page which allows the user to open up separate windows to include additional information. But for some reason it freezes the page and doesn’t allow data to be submitted into the MySQL database table. I’m mot sure whether this is a php or a …

Member Avatar for codeblock
0
262
Member Avatar for Krokcy

EDIT: Im an idiot. The hand-shake like mechanic i put in where the server waits for the client to respond was the reason it was so slow, removed it and it worked. I misunderstood/forgot how streams work.. Ok. So i just started learning how to use the network utility there …

0
428
Member Avatar for Patiodude

I know little PHP, but even less MySQL, and my host doesn't allow remote database connections (for example, from Dreamweaver), so in addition to being confusing to me, database management is impractical. Is there any way to put a timestamp on an article automatically, without resorting to MySQL tables?

Member Avatar for Sogo7
0
261
Member Avatar for laura90

I'm trying to write a simple linked list program. The header files are compiling successfully, but when I try to compile my driver program to test the program, I'm getting an error. Here's my driver program: #include <iostream> #include "Node.h" #include "List.h" using namespace std; template <typename T> void fill(List …

Member Avatar for mike_2000_17
0
382
Member Avatar for omoayan

I have a project in which I desire to upload and download blob files in php. I have written the codes to upload the files into mysql however, when I try to download the files, be it pdf, .doc or jpeg, the error message I get is "The selected file …

Member Avatar for sasankasekhar
0
210

The End.