199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for br0wnm4n

Hi all, I am new to C++ and I am having trouble with the syntax. I am suppose to write code for this question: //Write a program in which the funtion main prompts the user for one of the six letters a, b, p, q, x, or y. The function …

Member Avatar for pseudorandom21
0
386
Member Avatar for airmvp23

I've been trying to use the php includes code instead using iframe, but I'm having some issues. I have 2 php platforms (Joomla & Shopping Cart) that I need to connect together somehow. Basically I need to "include" the shopping cart template within a Joomla Template (so basically like iframe). …

Member Avatar for airmvp23
0
501
Member Avatar for RazorRamon

I built a quick date time test page. The coding is below followed by its results. I'm entering the raw timestamp into table time because i want to be able to manipulate it once i show it (say if i want to show time and date using the same timestamp). …

Member Avatar for RazorRamon
0
314
Member Avatar for Weird Nerd

Hey everybody, I need a way to browse your computer's files from a program without the use of a separate dialog box (I'm running in fullscreen, you see). It should start from a specified default folder and list all folders (except hidden ones) and files of a specified format in …

Member Avatar for mike_2000_17
0
120
Member Avatar for blogger371

Hello everyone. Please somebody teach me how to setup mysql database. I have register a free domain for social bookmark website. But I found problems when making database. Please teach me step-by-step to create bookmark website database. Ohya, I use Pligg free software for social bookmark site. Thank you before. …

Member Avatar for blogger371
0
152
Member Avatar for damon dash

Hi!all Im having a diffucult time to spot the error on the below codes to find the GCD of the two integer numbers.Please help me to debug [B]Private Sub cmdgcd_Click() Dim A As Integer, B As Integer, D As Integer A = InputBox("A = ?") B = InputBox("B = ?") …

Member Avatar for WaltP
0
4K
Member Avatar for reemhatim

What is the difference between declaring a variable [CODE]private static final int x;[/CODE] and [CODE]private final static int x;[/CODE] I mean what is the difference between declaring static first then final and vice versa . Thank You :)

Member Avatar for reemhatim
0
80
Member Avatar for keskor

Hey guys i jst wanna ask about how to put categories in php in such a that i write a function that will take a specific surname as a parameter and check in which category of letters it falls to and return the name of the person e.g muller category: …

Member Avatar for ddymacek
0
107
Member Avatar for raghujosh

I have a google maps application which has an address text box. When we type in the postal address, it gives the corresponding latitude and longitude as a pop up info window on a google map. All i want to do is to be able to get the latitude and …

Member Avatar for Airshow
0
5K
Member Avatar for mbarandao

Hello; I using the following sql to get information from two tables --through join; /[CODE]/ this join works in sql, but can $res = "select ad.firstname, ad.lastname, ad.address, ad.city, ad.state, ad.zipcode, ad.dhtmlgoodies_category, ad.dhtmlgoodies_subcategory, ad.caryear, ad.customerid, ad.servicedesc, aj.email, aj.areacode, aj.phoneprefix, ad.clientID, aj.phonesufix, aj.cellareacode, aj.cellprefix, aj.cellsufix, aj.commentonclient from additional_cars as ad, ajax_client …

Member Avatar for ddymacek
0
438
Member Avatar for devindamenuka

hi all, first i want to say I am new to php. I'm developing a blog where administrator can get all comments replied by the users. I can view it in a html table. But now what I need is dynamically delete , edit them. i tried this [CODE] include …

Member Avatar for leakbali
0
360
Member Avatar for triumphost

How do I call the function in the button section?? I tried doing target(); and got when the program ran, it gave me some exception thing.. [CODE] package smart; import java.applet.Applet; import java.awt.AWTEvent; import java.awt.BorderLayout; import java.awt.Canvas; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.GridLayout; import java.awt.Point; import java.awt.event.ActionEvent; import …

Member Avatar for triumphost
0
301
Member Avatar for Rahul1996

Hey everyone, I'm having an undefined variable error where I have marked in red. The variables i and f2 are defined in another method somewhere else in the code. Please tell me how to fix these errors. Thanks in advance!! function showDateBox() { $startDate = array(); $endDate = array(); $dayarray …

Member Avatar for Rahul1996
0
130
Member Avatar for Welsh_Wizard

Hey, So I am very new to using VB, Visual Studio etc. I am trying to do something really simple. Basically I have an Excel 2003 workbook with some data pre stored. All I need to do is add a chart to the spreadsheet and plot some data. However I …

Member Avatar for nmaillet
0
195
Member Avatar for yousafc#

I have two text box [COLOR="Red"]Textbox1[/COLOR]and [COLOR="red"]Textbox2[/COLOR] and [COLOR="red"]button1[/COLOR] textbox1.text = 1; textbox2.text = 0; Now I want when I click on button1.textbox2's data increment. this is my code [CODE]for (int i = 0; i <= 5; i++) { textBox2.Text = textBox1.Text[i].ToString(); }[/CODE]

Member Avatar for ddanbe
0
141
Member Avatar for 54uydf

this is like my last hope guys! lol I need to generate a diagram that looks sort of like this only 4 times bigger using data from db [url]http://imageshack.us/photo/my-images/827/unledoyt.jpg/[/url] my db is MySql, I don't think this is possible using php, but I saw there are a lot of grapf …

Member Avatar for almostbob
0
119
Member Avatar for bradploz

[CODE]Imports System.Data.OleDb Public Class frmlog Dim con As New OleDbConnection Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click If ask() = True Then MessageBox.Show("Success") Me.Hide() Form1.Show() Else MessageBox.Show("Invalid") End If End Sub Public Function ask() Dim dt As New DataTable Dim ds As New DataSet ds.Tables.Add(dt) …

Member Avatar for debasisdas
0
129
Member Avatar for shannonkr

I'm trying to create an xsd dictionary for some data migrations, I don't fully understand how to format xsd:pattern values correctly, I was wondering if anyone had any ideas. I have some values that were done already: <xsd:pattern value="[a-zA-Z]{1}([#-. a-zA-Z0-9]*)"/> <xsd:pattern value="([ a-zA-Z0-9]*)"/> But I don't know how to manipulate …

Member Avatar for nmaillet
0
187
Member Avatar for gordo58

Hi, I am trying to redirect links through a php redirect. I am just about there but am having problems with the coding to pass the variable through from my page to the php script. For example link on my page is: [url]http://www.website.co.uk/redirect.php?m=196591.html[/url] This should display the page for HotelID …

Member Avatar for gordo58
0
246
Member Avatar for wd.hamaden

[CODE]#include<stdio.h> void main(void) void change(void); int x=4,y; y=x; { printf("\n The value of x is = %f and the value of y is = %d",x,y); change(); printf("\n The value of x is = %d and the value of y is = %d ",x,y); } void change(void) { x=x+3; } [/CODE] …

Member Avatar for WaltP
0
297
Member Avatar for newbie14

Dear All, I have a link here [url]http://183.78.169.54/v3/addCVC.php[/url]. First if you select the name T1 via ajax the second drop down list is populated. Then pick anyvalue from the second drop down list and your will get a table populated below it. Then finally when you press submit button I …

Member Avatar for newbie14
0
91
Member Avatar for akasekaihime

we were asked to create a calculator in java applet......My codes are working except for one thing....whenever I click the clear button, it only erases the first,second and the total sum.....it does not clear the total difference, total product and total quotient....please help me what to do?...... here is the …

Member Avatar for akasekaihime
0
254
Member Avatar for brynjar

Hi, I'm pretty new to C++ but have a lot of experience in Python. In python its pretty straight forward to make functions that both take arrays/vectors as input and return arrays/vectors. My thought here is to make a function to calculate the gravitational force between to bodies with mass …

Member Avatar for lcordero
0
230
Member Avatar for bhagawatshinde
Member Avatar for bxdfjmkl

[B]What kind of windows version do i have?[/B] i need to know what version of Windows i have for costomer service from iTunes, but i dont know what version, Windows 7, Windows Vista or what, so how do i tell

Member Avatar for pseudorandom21
0
111
Member Avatar for emir_gradacac

Is there a GUI Builder for Code::Blocks, something like BOA for Python? Greetings, Emir

Member Avatar for JasonHippy
0
463
Member Avatar for laguardian

Hey guys! I've been creating this program that takes in an input from the user, and if the user is done inputting the required information, the user clicks on the "Ok" button and it opens another form which displays the info that the user inputted from the first form. My …

Member Avatar for JamesCherrill
0
161
Member Avatar for zachattack05

Is it possible to move the "description" column to the right of the "Allow Nulls" column in the table designer so you can see the descriptions for each table column without clicking through them one at a time? Like the attached picture? Please, someone, for the love of all that …

Member Avatar for zachattack05
0
109
Member Avatar for praveendasika

I have assigned the value whether the check box is ticked or not to a vairable.I want to pass the value to a function. how do I do that ? if (checkbox1.checked==true) { value1 = "I am here" } if (checkbox2.checked==true) { value2="I am there" } value3 = value1 + …

Member Avatar for praveendasika
0
166
Member Avatar for rpv_sen

Hi Friends i am facing problem in searching a words from database. Below is my Database details [CODE]CREATE TABLE IF NOT EXISTS `latest` ( `latest_id` int(25) NOT NULL AUTO_INCREMENT, `latest_title` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL, `latest_short` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL, `latest_image` varchar(250) NOT …

Member Avatar for shaams
0
195
Member Avatar for kapojian

in my c# program, you will have to create accounts for you to log-in. now, when i create an account, (username, password, age, gender, date...) the info will be inserted in a table named "users". ones a users has a created an account he needs to update his record everyday, …

Member Avatar for Fenrir()
0
107
Member Avatar for ineedsomehelp:3

I can't seem to "return" a value that is stored in "diff". I am suppose to give the value of diff to "int main()" to activate the void low() or void high() functions. But the program I did skips [CODE] difficulty(diff); if (diff == 'l') {low();} else if (diff == …

Member Avatar for ineedsomehelp:3
0
324
Member Avatar for GeneralBilal1

[B]Hi Guys[/B] Please Help me out....Iam banging my head to the wall now just because of this problem.... I want to get the HTML code of a Website using the Class of HttpWebRequst and HttpWebResponse..... the main problem is that whatever web requests are made...they are done using Internet Explorer.....Please …

Member Avatar for GeneralBilal1
0
362
Member Avatar for Pravinrasal

I have problem with creating jar file want to create jar file with mysql connector i include the mysql connector in manifest file but still it five me error like: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) …

Member Avatar for NormR1
0
155
Member Avatar for Mona Ali

hi to all i made a code to find the mac number that runs on java and gives me output but when i implement it on applet and link the applet with html then applet links correctly but the logic to find mac number does not execute.....what should i do...here …

Member Avatar for johny20
0
243
Member Avatar for chixm8_49

Good day! I would like to ask how to enumerate the contents of certain vector and print it in a certain file because this code is having problems: [CODE] Enumeration e = v.elements(); ... while(enu.hasMoreElements()){ out.write(enu.nextElement()); }[/CODE] Error: ...: cannot find symbol symbol: method write(java.lang.Object) location: class java.io.BufferedWriter It seems …

Member Avatar for NormR1
0
195
Member Avatar for Paaat

Hello people.. I have written a code that replaces IMG tags in a text with the HTML <img tag.. However, I faced a problem; Big images spoiled the layout of the page being viewed. Is there anyway to limit the size of the image only when it's more than 300 …

Member Avatar for Pro2000
0
129
Member Avatar for thecoolman5

Hi, i am trying to make a BMI calulator and here is my code: [CODE]#include<iostream> #include<sstream> #include<fstream.h> using namespace std; int main (char argc) { double ff1; double ii1; double ww1; for(;;) { system("cls"); cout << "Enter feet." << endl; string f1; cin >> f1; stringstream(f1) >> ff1; if(ff1 >! …

Member Avatar for thecoolman5
0
966
Member Avatar for orville

Hi All Im using datagridview to load data but i want to filter the grid using the index selected with in a combobox.

Member Avatar for ddanbe
0
75
Member Avatar for ineedsomehelp:3

Ok, now I'm feeling dumb and all, but I need help on how to a print a secret random code if I said yes on cheat, and I should not let it be printed if the answer on the cheat is no(but it should still be stored in a value …

Member Avatar for ineedsomehelp:3
0
155
Member Avatar for Stefano Mtangoo

I'm not sure where this post fits, but after staggering here and there I Thought I would throw it here! I find difficult to make coordinates by hand (Not very good at x-y-z though I know the XY coordinate). Is there a tool that will allow you to draw let …

Member Avatar for Stefano Mtangoo
0
236
Member Avatar for upmuthukumar

Hello all, While upload my resume i'm getting below error, Warning: Cannot modify header information - headers already sent by (output started at /home/abc/public_html/site/resume2.php:1) in /home/abc/public_html/site/resume2.php on line 57 I have attached the code as well.... <? $subject = $_POST[subject]; $Comments = $_POST[Comments]; $name = $_POST[name]; $phone = $_POST[phone]; $mobile …

Member Avatar for elibyy
0
175
Member Avatar for orville

Hey All Im using 3 tier design to do my coding. Im having problems deleting a record selected in the grid. I have my method which does the loading of the datagridview in the businesslayer. Can you please assist me on how to delete a record selected... Please

Member Avatar for orville
0
78
Member Avatar for kool.net

hi, can any one tell me how to i convert amount(in digitts) to word. thanks in advance

Member Avatar for kumarvarshadr
0
505
Member Avatar for divyakrishnan
Member Avatar for triumphost

Why does it always return true?! No matter what I do it says the bitmaps are the same.. I want it to tell the difference between the two bitmaps.. like if they look alike with a slight tolerance to make sure that it doesn't have to be a perfect match.. …

Member Avatar for Salem
0
220
Member Avatar for Charly-Garcia

Hi any idea of how to parse a file like this. The problem that I found reading a line a putting into a list that it does not respect the blanks, I need to parse first 9 positions, then 8 positions then 8 positions, then 7, then 7 then 7 …

Member Avatar for Gribouillis
0
158
Member Avatar for vikaspa

Dear All To conduct online exams we need to set timer for say 60 minutes or 90 minutes after this time the user should be logged of fiocrcefully Please help me for the code in php Can I use session for this ...

Member Avatar for urtrivedi
0
719
Member Avatar for angelfriend89

hi, I want to run lkdemo.c which comes as a sample of open cv. Actually i am interested in using algorthim of optical flow in order to track movement of an object for my project but it gives error which says segmentation fault.my operating system is linux .it is showing …

Member Avatar for Salem
0
362
Member Avatar for yazz110

Ok so I'm new at programming java(well not that new) but I do tend to hit a lot of wall and give up out of frustration. I need help. Can anyone suggest a book for beginners or something. I'm actually doing a computing course but I really don't wanna ask …

Member Avatar for peter_budo
0
283

The End.