199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for aminevb

i have an error in a Button click : Dim ConStr As String = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source = C:\Users\amine\Documents\projet.mdb" Dim Conn As New OleDbConnection(ConStr) Dim Save As New OleDbCommand("INSERT INTO Client(Nom,Prenom,Adresse,Téléphone,[date]) VALUES(@p1,@p2,@p3,@p4,@p5)", Conn) Try Save.Parameters.AddWithValue("@p1", TextBox1.Text) Save.Parameters.AddWithValue("@p2", TextBox2.Text) Save.Parameters.AddWithValue("@p3", TextBox3.Text) Save.Parameters.AddWithValue("@p4", TextBox4.Text) Save.Parameters.AddWithValue("@p5", DateTimePicker1.Text) Conn.Open() If (Save.ExecuteNonQuery()) Then MsgBox("Ajout réussi …

Member Avatar for G_Waddell
0
114
Member Avatar for toldav

Hi, If some one can guide me to the right direction I'm trying to use arrays to display urls in one line and under the url the text name of the href text. The second function it doesnt work some help will appreaciated. thank you. <!DOCTYPE HTML> <head> <meta http-equiv="content-type" …

Member Avatar for Philippe.Lahaie
0
228
Member Avatar for poolet

Hello, I am trying to design a game for a school kids (6-15 age) and I need a specific help... If you can of course... First of all the program (game) will be an "Open sources" I don't really like to sell my programs so, I will create for free... …

Member Avatar for Begginnerdev
0
168
Member Avatar for pkfx

ive declared and integer array and i need to know how the user can input a single input of "2 4 6 3 5 6 7 5 3 5 6" and get each individal digit into each index of the array and help would be greatly appreciated.

Member Avatar for deceptikon
0
109
Member Avatar for Ralphael

I want my code yo retreive an xml file and display it as an options list under a select object but the code in google chrome is giving this error "Uncaught TypeError: Cannot read property '0' of undefined" and i dont know what to do about it please can someone …

Member Avatar for Ralphael
0
123
Member Avatar for spowel4

I am having trouble getting this to work. I have a form which when the Go button is clicked, calls a function; code for the form & the script listed below: <script> function RunSelectedReport(reportChoice) { alert("reportChoice: " + reportChoice); if ( reportChoice === "AllCalls" ) { alert("All Calls"); } else …

Member Avatar for spowel4
0
343
Member Avatar for ayesha789

Hi, I have Folder Which Name is **LAPO** and There are three Folders insider whihc names are **North**, **Central** and **South**. In North Folder there are many Folders Like **9876** , **9877** , **9333**, **9853** etc. In all Folders there are files Named PO.pdf There are more then 1400 Folders …

Member Avatar for ayesha789
0
115
Member Avatar for spawn2004

Hi all I have a little problem with bourne shell. I've just started writing that kind of scripts I have to write a script that search in folder for header.txt, footer. and content.txt. If these files exists i have to copy the content from them (ignoring the lines with #) …

Member Avatar for spawn2004
0
120
Member Avatar for SyncMaster170

Whats up Daniwebbers, heres my issue: I gotta .asp file, opened it up in VS2010. The report is having an issue with totaling up a column and displaying it. The report generates perfectly, but when I look at the USED TOTAL cell at the end of the report, it is …

Member Avatar for SyncMaster170
0
112
Member Avatar for manzoor.ilahi77

<select name="country" id="country"> <option value="IN">India</option> <option value="PK">Pakistan</option> <option value="UK">United Kingdom</option> <option value="US">United State</option> </select> When a user selects a country and clicks submit php gets the **value=""** ie, country code instead of country name.

Member Avatar for Biiim
0
227
Member Avatar for kakaliki

Any examiner, webmaster,graduate students in computer science or related in here? If yes can you please confirm if an online movie or concert/theatre/attractions booking system using php ,apache, mysql is a suitable topic as final year project? I would like the site to look a bit like stargreen.com or similar …

Member Avatar for Biiim
0
121
Member Avatar for hadi1370

hello friends! I want to participate in soccer simulation competition and i don't have any info about its programming. i want to use java. is there anyone help me? Thank you.

Member Avatar for Miladsob
0
117
Member Avatar for charmcity04

I need to create a program that will read from a file and output the information into a JFrame. I know how to create a program to read a file, but I just need some help reading the file to GUI. Any help would be appreciated! package ism3230_ch6assignment; import java.io.*; …

Member Avatar for NormR1
0
290
Member Avatar for ddm

Design a CPU Timer class (you may name it CPUTimer). This class should allow the user to start timer, stop timer, compute delta time and print the lapsed CPU time of any block of code in a program. #pragma once #include <iostream> #include <cmath> #include <ctime> #ifndef CPUTimer_h #define CPUTimer_h …

Member Avatar for MonsieurPointer
0
100
Member Avatar for king03

Hi there guys how do you know if a program is coded in an object-oriented manner? I just wanted to know if the program I have downloaded is an oop program or not. please help...

Member Avatar for muze
0
127
Member Avatar for iwanna mix-mix

it gets compiled but it crushes: "programm has stopped working" Please help me!!! this is the programm: #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { FILE *fp; int i=0, n; char allwords[100][40]; fp=fopen("fraoules.txt","r"); if ( (fp=fopen("fraoules.txt","r") )==NULL ){ printf("To arxeio den mporese na anoixtei\n"); } while(strcmp( allwords[i],"telos")!=0){ fscanf(fp, …

Member Avatar for TrustyTony
0
194
Member Avatar for sainigks

Hello Friends, i have created a page, here a sql query retrieve students name from database and put these values in drop down options. now i want, i select a value from drop down and send it ot another page. but it is not working. on my next page nothing …

Member Avatar for Biiim
0
181
Member Avatar for HasNor

Hi all, i need your experties where i now in trouble. How can i avoid data jump to next row if user enter "," even data actually in same field..in CSV the row saperate by ",".. so my CSV file is look not stabil when the data convert to wrong …

Member Avatar for Biiim
0
3K
Member Avatar for smarty_t2

I wrote a program in C# for my discrete mathematics class and it worked absolutely fine. My teacher asked me to submit the code in c++ so she can run it on her mac and so I created a new project and typed the code in. After changing everything required …

Member Avatar for ravenous
0
2K
Member Avatar for infinitus

Hello guys im having problem displaying a math equation result in the textbox. It shows 0 and i dont really know where i got the error. Name of the textbox where result shall be displayed is **total1** Thx for help :) int textboxnumber1; int textboxnumber2; int textboxnumber3; int textboxnumber4; textboxnumber1 …

Member Avatar for muze
0
201
Member Avatar for azareth

i just need a clear explanation for this: var lastCol = getColumnCount()-1; var lastRow = getRowCount()-1; var table = document.getElementById(TableID); var rowSum; /*Summation of all the values in of rows*/ var columnValue; if(ths == 'on'){ for(var b=1;b<lastRow+1;b++){ rowSum = 0; for(var i=0;i<lastCol-1;i++){ columnValue = table.rows[i].cells[b].childNodes[0].value; if(columnValue != '' && !isNaN(columnValue)){ …

Member Avatar for azareth
0
211
Member Avatar for itisnot_me

first off hi again. Now i dont know where to start this one script or let alone how to execute it. This is what i would like to learn how to do. I would like to output the current DB structure then take that and update another db with the …

Member Avatar for |-|x
0
318
Member Avatar for dinosaur123

Hello, I am having trouble with a program I am writing. The problem is that I need to take information from a text file, read it, and then output the information into another text file. I keep getting this output: > <ProductSummary>0015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A0 </ProductSummary> I need it to output something like …

Member Avatar for VernonDozier
0
427
Member Avatar for vijayram

Hi every body, I have this error anybody plz help me. Parse error: syntax error, unexpected '>' in C:\wamp\www\public_html\apps\frontend\modules\personal\templates\indexSuccess.php on line 30 this is the line 30. **>getPrimaryAlbumId()."_".$personal->getProfilePicture(), true) ?>" alt="Profile Picture" /></a>** <?php use_javascript('addTalk') ?> <?php use_javascript('schedule') ?> <?php use_javascript('sync') ?> <div id="profileName"> <?php foreach ($personals as $personal): ?> …

Member Avatar for vijayram
0
203
Member Avatar for melaki

Hi all, After spending 2 days going through this code, going through search engines and endless forums trying to find a solution, i find myself still on Square 1. Therefore just before I begin hitting my head against the wall (have pity on the poor wall) I thought I'd give …

Member Avatar for |-|x
0
188
Member Avatar for dgibbons82

I am new to PHP/MySQL and currently working on a project to learn it a little better. I have a bit of PHP code and it has a problem that I'm having a little trouble figuring out. Basically, it is taking session data and writing it to a MySQL database. …

Member Avatar for veedeoo
0
310
Member Avatar for risen375

Hi I need help with this program. When I run this program, it will not print out the correct kilograms which always displays 0. Please help #include <iostream> #include <istream> #include <iomanip> #include <vector> using std::vector; using namespace std; using std::endl; using std::setw; struct PatientInfo { string name; double weight; …

Member Avatar for histrungalot
0
131
Member Avatar for weeraa

I’ve developed a VB application. Now I want to disabled resizing the form. I know there is a property “Border style”, which changes to fixed single, can do my work. But I want minimize button to my form. Minimize button is only in “Sizable” mode. I changed another property “MaxButton” …

Member Avatar for weeraa
0
466
Member Avatar for hwoarang69

trying to create fifo that can read and write. but some reason its not going below "O_RDONLY" line. any thoughts? char *fifo_name = "fifo"; #define 0666 int main() { int fd1; int fd2; //create fifo if(mkfifo(fifo_name,FIFO_MODE) == -1) { exit(1); } //open fifo for read if((fd1 = open(fifo_name, O_RDONLY)) == …

Member Avatar for hwoarang69
0
156
Member Avatar for Junior999

#include <stdio.h> #include <stdlib.h> #include <string.h> int main() { FILE *file; char ch, str[500], a=0; char name[20], word[50], temp[50]; int i,lenght=0, b=0; if((file=fopen("sample.txt" , "r"))==NULL) { printf("Error while opening file\n"); system("pause"); exit(1); } while (!feof(file)) { fgets(str, 499, file); printf("%s\n",str); ch=fgetc(file); if(ch!=' ') { a++; word[b]=ch; if(a > lenght) lenght=a;f …

Member Avatar for Ancient Dragon
0
180
Member Avatar for kit007
Member Avatar for kit007
0
94
Member Avatar for caltech

Here's my code. (Lines of interest: 49, 138, and 162; rest of the code works fine.) #include <iostream> #include <iomanip> #include <fstream> #include <vector> #include <algorithm> #include <cstdlib> #include <conio.h> using namespace std; class Records { public: string name; int hours; double rate; int age; double pay; double tax; double …

Member Avatar for mike_2000_17
0
362
Member Avatar for theprofoundgeek

I need to create a dynamic HTML form using PHP. I am only considering the following fields : Text, Text box, Radio, Check Box, Drop down. I am thinking of the creating the following database design. Field ID | Field Type | --- Other Attributes, such as length and others …

Member Avatar for theprofoundgeek
0
322
Member Avatar for debasishgang7

Hi All, I wanna generate all possible combination of certain list using python. For Example I have a list like list = ['A','B','C'] I wanna generate all possible combination of these list elements like using "itertools": AAA AAB AAC ABA ABB ABC ACA ACB ACC BAA BAB BAC BBA BBB …

Member Avatar for TrustyTony
0
1K
Member Avatar for lamba89

Hi everyone, I'm trying to parallelise a Gram-Schmidt algorithm. Here's the serial code: for( k = 0; k < m; k++ ) { for( i = 0; i < k; i++ ) { s = 0.0; for( j = 0; j < n; j++ ) { s += q[ i …

0
126
Member Avatar for vedro-compota

hi there) my brothers-programmers) please tell me - how to get double type character by character - i need make custom realization of fprintf - so it's necessary for me to show double type numder on the screen. (For integer type this problem could be solved by subtracting 32 - …

Member Avatar for WaltP
0
169
Member Avatar for DAlexNagy

Hi all! I am looking for some advice on how to best design C++ programs that read, write, and update data in MySQL databases. I have completed a system that successfully does this but I'm not sure if I designed it the right way to take advantage of OOP principles …

0
125
Member Avatar for bobanderson90

I want to push a value to a stack using the assignment operator, I need some help with this.. Thanks Stack s; float x = 5; s = x; class Stack { public: Stack(); float push(float value); float pop(); int Size(); float operator = (const float &right); private: float values[30]; …

Member Avatar for mike_2000_17
0
1K
Member Avatar for NeoSyn

Recently i've been coding my own game, it was working fine up to a point but suddenly the backround is moving over the sprites drawn to the screen... I've loaded them unto the screen alright, and sometimes when i run they actually do come out on top. Here's my main: …

Member Avatar for vegaseat
0
464
Member Avatar for newbie14

Dear All, I have a time ticker which updates the time say now for 5 seconds. Then it keep calling a function and in it via sql query based on the current time it shows the relevent sum data. I got few things to confirm am I doing the right …

Member Avatar for skatamatic
0
1K
Member Avatar for infinitus

Hello guys im having a problem and i dont see where i made error. Im tryting to write something into XML file. Also how do you read textbox input and save it into XML ?? Cheers for help :) public class CourseName { string _name; public CourseName(string name) { this._name …

Member Avatar for skatamatic
0
179
Member Avatar for esraa waqfi

i wanna ask how to read from a file and give a summery of letter count (separate small than capital letters),number of line ,number of paragraphs,number of quoted sentenses ? i know the number of lines by (wc -l) but the others i woundered about !! hope somebody teach me …

Member Avatar for esraa waqfi
0
85
Member Avatar for Dani

I autoload the Session library in CodeIgniter. However, sometimes there are controllers that output XML, JSON, an image, or other mime types, and I don't want these sending back cookies in the header. Is there a way to suppress this on a per-controller basis?

Member Avatar for diafol
0
175
Member Avatar for johndohmen1963

I have the following warning only when paword is wrong Warning : mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\mijn_stamboom\login\login.php on line 23 <?php include_once '../common.php'; include("config.php"); if($_SERVER["REQUEST_METHOD"] == "POST") { $myusername1=addslashes($_POST['username']); $mypassword1=addslashes($_POST['password']); $ip = $_SERVER["REMOTE_ADDR"]; $pass1 = md5($mypassword1); $sql1="SELECT * FROM stamboom_admin WHERE username='$myusername1' and password='$pass1' …

Member Avatar for johndohmen1963
0
219
Member Avatar for kjeu_kach

[admin.php](https://github.com/apps-vn/admin.php/commit/f2e3c157d42750c39e1778a58abf271f8ddb5f82) <tr> <td><?php echo MOD_DS_PRODFILE;?>: <?php echo required();?></td> <td><input name="filename" type="file" size="40" class="fileinput mask" /> <span style="margin-left:80px"><?php echo tooltip(MOD_DS_PRODFILE_T);?></span></td> </tr> <tr> <td><?php echo MOD_DS_PRODFILE;?>: <?php echo required();?></td> <td><input name="filename" type="file" size="40" class="fileinput mask" /> <span style="margin-left:80px"><?php echo tooltip(MOD_DS_PRODFILE_T);?></span></td> </tr> [admin_class.php](https://github.com/apps-vn/admin_class.php/blob/9fc485be7667cd0d559e74b3e99c71941044bbd6/.gitignore) */ public function getPaidDownload($token) { global $db, $core; $id = …

Member Avatar for kjeu_kach
0
248
Member Avatar for AliAwwad

hi, i made a form that its pupose is chatting... very simple one, one user talks with another one. so there is two INSERT simultaiously. Sure, i put the mdb file on shared folder, EVERYONE have full control, the mdb file is NOT read-only. when only one chat form loads, …

Member Avatar for Begginnerdev
0
118
Member Avatar for jonny93

Hello, I'm new to this site, and i really need help with something. I have been working on a checkerboard project for my second programming class, and now I'm stuck. I now how to set the icons, but now I am absolutely confounded as to how I move the icon …

Member Avatar for NormR1
0
2K
Member Avatar for shifat96

I need help for another one of my assignments for CS Class. On the rubric, one of the part said: > all characters are shifted right by two positions and the last two characters becomes the first two characters The condition is that the string has to be entered by …

Member Avatar for shifat96
0
2K
Member Avatar for mayank.dyl

what does fork() do in c.? Is it same as fork operation in OS ? What is the o/p of following program ? #include<stdio.h> main() { int i=0; fork(); printf("%d",i++); fork(); printf("%d",i++); fork(); wait(); }

Member Avatar for mayank.dyl
0
193
Member Avatar for effBlam

Pretty much i have to read a txt file which contains a sample maze in it as so: 4 5 ~~~00 00S~0 E~0~~ 0~~~0 the first number is the number of rows and the second is number of columns. Im having trouble figuring out how to store just the "maze" …

Member Avatar for NormR1
0
508

The End.