199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nmakkena

Hi I am populating my combobox with table's data (example table name is "ITEMS" and table is having only one column and that is displayed as combobox items). In my form i am having i combobox,button and textbox. I will enter a new item in textbox and if i click …

Member Avatar for 03hasnam
0
3K
Member Avatar for Martin C++

Hello, I have two requests to my server. The first one gets categories and the output to URL is something like this: doomain.com?category=1. The second request is meant for sorting the data in that specific category. This request outputs something like: domain.com?sort-by=name. What I need is something like this: domain.com?category=1&sort-by=name. …

Member Avatar for diafol
0
101
Member Avatar for you207

My program is nearly done.But my function SumN doesnt print the correct output. SumN have to output the Sum of numbers that belong to the interval [a;b]. Example: input a=1 b=10 1 4 13 45 10 output sum=15 but im getting 60 and in should be 15. Can sameone help …

Member Avatar for deceptikon
0
330
Member Avatar for neha05

Hiii I have two tables 1.category_sub sub_id category_id category_name description event image 2.category category_id category_name my query is that how can i get both values category_id and category_name in category_submy code is that like <?php include("connection.php"); $query_1 = "SELECT distinct(category_name) from `category` "; $result_1 = mysql_query($query_1); $category_name=""; $subcategory_name=""; $description=""; $event=""; …

Member Avatar for neha05
0
139
Member Avatar for Rachna0309

I am populating datagridview(10 columns) with dataset.I am changing 7th column from textbox to comboboxcell at run time if some value(say caste) in database table for row is null. If caste field is not null in database, then comboboxcell should display that value for that particular row.Below is the code …

Member Avatar for Rachna0309
0
165
Member Avatar for ehpratah

hi fellas out thiere im having a headache right now in sending email with attachment..im using ftp in storing the file in my dirctory and sending it to my email...i can upload the file and send it but the prolem is when i try to dowload the file from the …

Member Avatar for ehpratah
0
218
Member Avatar for nigelturk
Member Avatar for nagarajuapex
Member Avatar for ganges
Member Avatar for Waledon
Member Avatar for poojavb
0
105
Member Avatar for kishoresai438

Hi frnds, I need to seperate keys based on valuee. Please check the below array. Array ( [0] => 10:00 to 10:15, 10:30 to 11:00, [1] => 10:00 to 10:15, 10:30 to 11:00, [2] => 10:30 to 12:15, [3] => [4] => 10:00 to 10:15, 10:30 to 11:00, [5] => …

Member Avatar for R0bb0b
0
88
Member Avatar for anirban1087

I am trying to get some xml data into my web page using php. When I am placeing the url into a web browser it is showing some xml data. But when I am doing that from inside a php page it is returning some empty data. The link is …

Member Avatar for R0bb0b
0
293
Member Avatar for chocomilk

I am developing a code where im getting the interval of two dates for example DTLeavePayFrom = 1/1/2013 DTLeavePayTo = 1/14/2013 since 1/1/2013 is tuesday and 1/14/2013 is monday, the date diff of both date is 14 but how can i exclude the count of 2 sundays, i have an …

Member Avatar for chocomilk
0
101
Member Avatar for jspence29

My site is www.jeremyspence.net78.net. As you scroll down I want to make the main menu dissapear(the one menu you see now) and another smaller menu (kinda like the apple menu from apple.com) appear on the top that is fixed, I was thinking about making a sticky menu, but I want …

Member Avatar for JorgeM
0
221
Member Avatar for kent.johnstone

I need to convert a DWORD into 4 bytes to send to serial RAM. All the examples of using SPIRAM, EEPROM and FLASH use `*variable` to send and receive. I can break the DWORD down into bytes which I stuck in a `char[3]`. I don't, apparently even with all my …

Member Avatar for Ancient Dragon
0
210
Member Avatar for joshl_1995

Hello Community, Is there a way to make it so a cookie will expire after the user has been inactive for 10 minutes. Please Help...

Member Avatar for joshl_1995
0
250
Member Avatar for BHARGAVI2

I have a problem. It is to generate a C code Please tell me how to display a image file on the screen in C? If u r kind to me, send the code

Member Avatar for Ene Uran
0
149
Member Avatar for DaveyMoyes

Hi everyone - I am helping to build a website for a good friend of mine & we are adding into the website an easy to read conversion rate. The only problem we have at the moment is the value is being displayed incorrectly. for instance - If the website …

Member Avatar for DaveyMoyes
0
158
Member Avatar for Mikey12345

Hi I have a datatable which i can save easily as xml using the following code. My problem is that i also have a textbox which i would like to save with this datatable. How can i save a datatable + textbox value as one XML file. Many thank for …

Member Avatar for TnTinMN
0
430
Member Avatar for HunainHafeez

i want to make this string , "'basic@yahoo.com'" like this "basic@yahoo.com" in asp.net , via .Repalce function,

Member Avatar for stbuchok
0
106
Member Avatar for WDrago

All, I'm trying to use a RichTextBox to display the revsion history of my program, and I can't figure out how to format the text (bold, italic, etc.). I'm using the String Collection Editor in the Lines Property. Anyone know how to do this, or if I should be using …

Member Avatar for tinstaafl
0
610
Member Avatar for kshami92

hi i m new to vb with sql.i made login form.but after that on main form some feature will be disbleed for ordinary user and that feature will be only enabled to admanistrater.so on main form a button will be enabled with specific password that is in backend so i …

Member Avatar for mark.scutt.7
0
109
Member Avatar for rajeshkhanna03
Member Avatar for Luc001
0
107
Member Avatar for Proglearner

As an exercise to help learn JS, I wrote a short bit of code that defines an array of random integers and then randomly logs one of them. Here's the code: var turkey = true var crud = [] for (i=0;i<10;i++) { j = abs(Math.random()* 10); crud.push[j]; } while (turkey) …

Member Avatar for Proglearner
0
127
Member Avatar for lewashby

I wrote the following script to try and get validate if a date was valid or not. I think I've about got the script done but I'M having some trouble getting the values from the array. When I input 11291985 into the program I'M getting "29 is invalid" I can't …

Member Avatar for lewashby
0
125
Member Avatar for brock.holman.7

// hi-low guesser #include <iostream> #include <string> using namespace std; const int NUMBER_OF_GUESSES = 5; int main() { string firstName; int computerGuess; int numGuesses = 5; char answer; int min; int max; cout << "please think of a number between 1 and 100, and I will try to." << endl; …

Member Avatar for brock.holman.7
0
141
Member Avatar for bradly.spicer

Hey all, Looking for some quick guidance, Trying to make it so that I can have a field which presents how many customers the database has. E.g This is the DB: http://prntscr.com/o2vuf This is my php: <?PHP $id_customers = "SELECT id FROM Customers"; $Customeramount = mysql_query($id_customers) or die(mysql_error()); echo $Customeramount; …

Member Avatar for bradly.spicer
0
206
Member Avatar for geraldmumpuku

can someone help me with a code for a cinema program in C++ using linke lists? i tried this but there just too much errors.urgent,pliz... #include<iostream> /*#include<stdio.h>*/ #include <stdlib.h> #include<string.h> using namespace std; typedef struct{ char name[30]; char booking_ID[3]; int seats; }seat; //xxxx typedef struct{ int t[20][50]; struct bloc *&suiv; …

Member Avatar for Gonbe
0
144
Member Avatar for abdelrules

Hello, I am fairly new to c and i am finding it hard to spot why a part of a program I am making is not working. The program lets you work out the area and circumference of a circle. This is the code: #include <stdio.h> #include <math.h> int area() …

Member Avatar for Gonbe
0
235
Member Avatar for ImZick

Please can someone know how to trim this code. Any help will be appreciated If Range("D8") = "EBU 2" Then If ComboBox1.Text = "Level 4" Then Sheets("Main").Range("C9") = Sheets("Main").Range("C9") + 1 Sheets("Main").Range("D9") = Sheets("Main").Range("D9") + Range("K8") ElseIf ComboBox1.Text = "Level 5" Then Sheets("Main").Range("E9") = Sheets("Main").Range("E9") + 1 Sheets("Main").Range("F9") = Sheets("Main").Range("F9") …

Member Avatar for AleMonteiro
0
150
Member Avatar for geedow

Dear all, This example is compleet ,but wont load the file. Can anyone help me with puzzle?hier is the code: Class ATMWindow import java.io.IOException; import javax.swing.JFrame; public class ATMWindow { /** * @param args the command line arguments */ public static void main(String[] args) { if (args.length == 0) { …

Member Avatar for Taywin
0
208
Member Avatar for Violet_82

HI peeps, I have a question about the following program: TempScale.java: public enum TempScale { CELSIUS, FAHRENHEIT, KELVIN, RANKINE, NEWTON, DELISLE, R�AUMUR, R�MER, LEIDEN }; Temperature.java public class Temperature { private double number; private TempScale scale; public Temperature() { number = 0.0; scale = TempScale.FAHRENHEIT; } public Temperature(double number) { …

Member Avatar for Violet_82
0
235
Member Avatar for c-work

Hi, I hope someone can help me with a problem that I am currently stuck on, basically I am trying to create a file archive utility which can archive 1 or more file each specified in a command line into a file. My problem which I am currently stuck on …

Member Avatar for krsna90
0
150
Member Avatar for Hayati_mahamad

#include<iostream.h> #include<fstream.h>//header file #include<string> #include<stdlib.h> void main() { fstream pasca; pasca.open("C:evaluate.dat",ios::out); fstream display; paparan.open("C:evaluate.dat",ios::in); int lecturer_code; int course_code; char gred1, gred2, gred3, gred4, gred5; float point1, point2, point3, point4, point5; float total_point1, total_point2, total_point3, total_point4, total_point5; char user; if(!pasca || !display) { cout<<"File cannot open"; exit(1); } cout<<"Enter Lecturer code …

Member Avatar for Hayati_mahamad
0
195
Member Avatar for sana.f.qureshi

AFter asking for name, it doesn't ask for other things, just gets to the end where it says "game has been developed by.." Kindly guide me what i am doing wrong. i am a beginner, trying to learn. Thank you! Here is my code: #include<iostream> #include<conio.h> #include<stdlib.h> #include<stdio.h> #include<time.h> using …

Member Avatar for sana.f.qureshi
0
191
Member Avatar for vikuseth

Inside FileTwo.h #ifndef FILETWO #define FILETWO #include"FileOne.h" class FileOne ; class FileTwo { public: int Test(FileOne One){ return (One.var1+One.var2);} FileTwo(void); ~FileTwo(void); }; #endif Inside FileOne.h #ifndef FILEONE #define FILEONE #include"FileTwo.h" class FileTwo ; class FileOne { private: int var1 , var2 , var3 ; public : friend int FileTwo::Test(FileOne One); …

Member Avatar for vikuseth
0
207
Member Avatar for Vincentas

Hi everybody, I am in the process of building a small web application which will hold around 10 pieces of information for every person inserted. Due to data protection the majority of this information must be encrypted. Using the CodeIgniter framework and the CodeIgniter encryption class I can encode the …

Member Avatar for pritaeas
0
329
Member Avatar for christinetom

Hi again everyone.. Happy New Year. Hope yours was as good as mine. Would anyone know if Javascript can be used to create complex search queries. I see that you can bring up a Java Console in web browsers such as Chrome and Firefix and I was thinking that with …

Member Avatar for pritaeas
0
163
Member Avatar for zjony.rashed

Hello, Happy New year please help me senior bro,I can't insert mulityple selected checkbox value into my databse.When i click SUBIT then it show me below error: *Error Number: 1054 Unknown column '0' in 'field list' INSERT INTO `tbl_course_offred` (`0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `user_id`) VALUES …

Member Avatar for diafol
0
112
Member Avatar for Minko

Hello, I have a tcplistener and a tcpclient. If the client computer went down for some reason, what would be the best way to handle disconnections. Thanks in advance, Minko

Member Avatar for Minko
0
83
Member Avatar for eburlea

Hi all. For 3 days I have searched the web to find out how it works, unfortunatelly with no success. I need to compare the encrypted haptcha code with my text, both of them sent by a form. if(!isset($_POST['my_text'])) { $view = new Zend_View(); $captcha = new Zend_Captcha_Figlet(array( 'name' => …

Member Avatar for eburlea
0
168
Member Avatar for Venter

> QuoCAtted Text Here Actually I'm passing connection Parameters by calling class Connection.Here what i cant understood is what is the way for passing the value in $link(which can declare as protected).when i want to use this connect class in other page how can i use this class. <?php class …

Member Avatar for pritaeas
0
846
Member Avatar for ImZick

Im using VBA build inside excel is there a way to find if ComboBox has a value? for example i have 80 ComboBox and i want to check if they have a value like "A", "B", "C" and "D" and if the value is blank like "" then stop the …

Member Avatar for ImZick
0
187
Member Avatar for sandeepbhatia

I have installed Eclipse Juno. I want to run jsp and servlet program using Eclipse IDE. But while adding new Server of Tomcat, i am unable to do so. In the add new Server option it does not show apache nor do other servers. Please help me how to sort …

Member Avatar for peter_budo
0
136
Member Avatar for abed.arb

//for my final project i have to reserve a 1kb memory to write data on,then defregmant that memory to be ready to take new data and repeat this process until i say so or the memory is full.Finally clear this memory.the data types are :real<as in float>, integer<as in int> …

Member Avatar for Lucaci Andrew
0
174
Member Avatar for myk45

Hello All, I am reading the Effective C++ book by Scott Meyers. Regarding new, he mentions the following: > this additional bookkeeping data can more than double the amount > of memory needed for each dynamically allocated object (especially if the class contains no virtual functions). This is in reference …

Member Avatar for jjl.
0
220
Member Avatar for ProgramGuy

Hey everyone! Happy New Year! I am trying to hone my programming skills by writing simple applications. I created a very simple currency converter program (hard-coded exchange rates....so nothing special). I first created it as a console app, and then in WPF. Anyway, I ran into an issue with the …

Member Avatar for ProgramGuy
0
754
Member Avatar for t2nator

I'm using the Visual Basic that comes with Visual Studio 2012 Utlimate, and everything I find online doesnt ever work. I am simply trying to make it to when a button is clicked the rows that are checked get deleted. Do While TodaysTrans.SelectedItems.Count > 0 TodaysTrans.Items.Remove(TodaysTrans->CheckBox.Equals(true)) Loop

Member Avatar for tinstaafl
0
151
Member Avatar for janskey15

<?php session_start(); include "dbConfig.php"; if (!$_SESSION["valid_user"]) { // User not logged in, redirect to login page // Header("Location: login.php"); } echo "<p>User ID: " . $_SESSION["valid_id"]; echo "<p>Username: " . $_SESSION["valid_user"]; $sql = "SELECT tbl_subject.SubjectID, tbl_subject.SubjectDesc, studentsubjectgrade.Finals FROM tbl_subject INNER JOIN studentsubjectgrade ON tbl_subject.SubjectID=studentsubjectgrade.SubjectID INNER JOIN academicyr ON studentsubjectgrade.SubjectID=academicyr.SubjectID WHERE …

Member Avatar for LastMitch
0
1K
Member Avatar for rahim92

This my error massage : Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\test\loginproc.php on line 16 Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\test\loginproc.php:16) in C:\xampp\htdocs\test\loginproc.php on line 24 ======================================================================================================== <?php require_once('Connections/kgcrmis.php'); ?> <?php // Inialize session session_start(); // Retrieve …

Member Avatar for TonyG_cyprus
0
163

The End.