64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for LizAE

Hi! Just a quick question: I am using "Website Tonight" to redo a site for my boss. He wants a "floating TOC" on one page. So, when you scroll down the ridiculously long page, the categories on the righthand side move with you. (I wouldn't mind that, but I'd prefer …

Member Avatar for LizAE
0
188
Member Avatar for ptara1

I'm trying to search a mysql table column for a number. However when I enter a number into the search form I get told that no query has been entered. Here is my code. Database connection information left out on purpose. [CODE] <?php if(isset($_POST['submit'])){ if(isset($_GET['go'])){ if(preg_match("/^[ a-zA-Z]+/", $_POST['search'])){ $search=$_POST['search']; $db=mysql_connect …

Member Avatar for smantscheff
0
79
Member Avatar for carlitosway17

I am trying to create a grade book form using the following class createfileform.cs I keep getting the following errors [COLOR="Red"]1:The name 'GetTextBoxValues' does not exist in the current context 2.Cannot implicitly convert type 'string' into 'int' [/COLOR] Here's My Code.[CODE] // Fig. 18.9: CreateFileForm.cs // Creating a sequential-access file. …

0
78
Member Avatar for RenanLazarotto

Hey people! I've saw many many times lots of custom controls, so I decided to build mine. I just don't know how :$ what do I need do to do to build a custom listbox control? Thanks!

Member Avatar for RenanLazarotto
0
1K
Member Avatar for carlitosway17

Hi I am New to C# i Am trying to create a grade book form but I cannot build successfully because of the following error. [COLOR="Red"]The name 'InitializeComponent' does not exist in the current context [/COLOR] [code] // Fig. 19.7: GradeBook.cs // A reusable Windows Form for the examples in …

Member Avatar for carlitosway17
0
2K
Member Avatar for carlitosway17

Hi Am currently taking a Java class and we are supposed to use turtle graphics to draw the following shape rectange made of Asterix ************* * * * * * * * * * * * * * * ************* My program builds and compiles successfully but I cant get …

Member Avatar for carlitosway17
0
258
Member Avatar for bettybarnes

Conversion from string "Widow/Widower" to type 'Integer' is not valid. here is my code [CODE]classLibrary.addParameter("@Sex", SqlDbType.VarChar, txtSex.TextLength, txtSex.Text) classLibrary.addParameter("@Room_ID", SqlDbType.VarChar, txtRoom_ID.TextLength, txtRoom_ID.Text) classLibrary.addParameter("@CivilStatus", SqlDbType.VarChar, cboxCStatus.SelectedItem, cboxCStatus.Text) classLibrary.addParameter("@Nationality", SqlDbType.VarChar, txtNationality.TextLength, txtNationality.Text) classLibrary.addParameter("@Religion", SqlDbType.VarChar, txtReligion.TextLength, txtReligion.Text)[/CODE]

Member Avatar for jlego
0
240
Member Avatar for prvnkmr194

I have a 2d array of size 4X4 that is [CODE] int arr[4][4]; [/CODE] i want to initialize this from 1-15 but in random manner not sequential example 7 8 9 5 1 2 12 14 3 6 10 13 11 4 15 0 I try [CODE]random()[/CODE] function but iam …

Member Avatar for prvnkmr194
0
438
Member Avatar for puvi

hiii ppl of the forum.. I have this date field in the form, i managed to get the calender script work, when i select the date, it appears properly in the text field, but on cliking submit, it gets stored as 0000-00-00 in the database. any idea frens what is …

Member Avatar for puvi
0
97
Member Avatar for Lord_Migit

Hey folks, just a quick question i can't seem to find the answer to. If i overwrite a container with a pointer in it, does the pointer and therefore the object it points to still exist, and would that be considered a bad handling of memory. For instance. I have …

Member Avatar for Lord_Migit
0
145
Member Avatar for lishannx

the above code pasted can only drag the button but not into the picturebox. pls help.[code]hi, i need to drag a button into a picturebox and when the button is dragged inside the picturebox, i want it to be able to move around also. but my code i did only …

Member Avatar for fkomment
0
151
Member Avatar for elsiekins

Hello Using : [CODE] cout << "enter 5 letter"; getline(cin, letter); [/CODE] executes fine but when running PC- Lint: getline(cin, expectedLabel): error 534: (Warning -- Ignoring return value of function 'std::getline(std::basic_istream<char,std::char_traits<char>> &, std::basic_string<char,std::char_traits<char>,std::allocator<char>> &)' error 830: (Info -- Location cited in prior message) I was wondering if anyone could tell …

Member Avatar for Narue
0
259
Member Avatar for RenanLazarotto

Hey guys! Some time ago, I saw someone asking about trial software protection, and my first thought was a '30-day evaluation' mode. I was thinking on how it can be done without using any third-party programs. How can I detect the first run and count down (or up) the number …

Member Avatar for CodeWord
0
348
Member Avatar for Arbus

Hello friends, I am having a trouble with dosbox 0.72. I opened turbo c++ using dosbox and tried a program. But it throws an error 'unable to create hello.obj'. my program [CODE]#include<iostream.h> #include<conio.h> void main() { cout<<"hello"; }[/CODE] I gave this while opening turbo c++ in dosbox... Z:\>mount c d:\turboc3\ …

0
64
Member Avatar for Annettest
Member Avatar for Ignatius88

[CODE] pstmt = conn.prepareStatement("INSERT INTO tableA (userid, itemid) VALUES (?, ?) ON DUPLICATE KEY UPDATE value = ?"); pstmt.setString(1, userid); pstmt.setString(2, itemid); pstmt.setString(3, value); pstmt.executeUpdate(); [/CODE] This code works [CODE] pstmt = conn.prepareStatement("INSERT INTO tableA (userid, itemid) VALUES ((SELECT userid FROM user WHERE userid = ?), ?) ON DUPLICATE KEY …

Member Avatar for smantscheff
0
3K
Member Avatar for thijscream

hey, it has been a couple of months since i have been here, and let's get strait to the point. someone told me you can change the page title of a dynamic link with the .htaccess file. for example i have a page. [url]http://www.mywebsite.com/page.php?id=1[/url] i include this page for different …

Member Avatar for smantscheff
0
2K
Member Avatar for Jake.20

I'm having a problem with the error in verifying the usernames that are already existing in the record/database. When you inputted a username that already existing it will throw an exception, and when you change the username, it still throws the exception.

Member Avatar for Jake.20
0
173
Member Avatar for alex55

I have a program which i need to run with 2 input files 1 is no problem but i have no idea where to start with having it run with 2 anyone have any ideas? basically heres how it goes 1)have the program run with data01.dat 2)outputs results to output.dat …

Member Avatar for alex55
0
226
Member Avatar for bhagawatshinde

Hi, I am developing an windows application in that i want to check internet connection for that i am written the following code but it seems to be not working . Can anybody help me...... [CODE] [DllImport("wininet.dll")] private extern static bool InternetGetConnectedState(out int Description, int ReservedValue); public static bool IsConnectedToInternet() …

Member Avatar for Momerath
0
168
Member Avatar for coolcool1980

Hi folks, I have a java maze, I cant seem to pass the 2d array to the next method. Any ideas on how i can do this? I need to get the character to move around the maze. Thanks [CODE] public class arrayAttempt1 { static int i=0; static int j=0; …

Member Avatar for coolcool1980
0
3K
Member Avatar for bhagawatshinde

Hi, I need to hide calender of datetimepicker in (c#).net. Thanks in advance

Member Avatar for bhagawatshinde
0
93
Member Avatar for Shizuo

[code]import java.applet.Applet; import java.awt.*; import java.awt.event.*; public class Books extends Applet { Choice b; String [] blist; //CheckboxGroup edition; int i; public void init() { setBackground(Color.green); add(new Label("Please Pick a Book:")); b = new Choice(); blist [0] = ""; blist [1] = "Java Programming"; blist [2] = "C# Programming"; blist …

0
100
Member Avatar for yassop

[CODE]#include <stdio.h> float pounds = 0, inches = 0, BMI = 0; float kg = 0, meters = 0; char input[100], choice; int main() { start: do { printf("\n\nThis program is used to calculate the BMI of a person.\n\n\n"); printf("What kind of BMI do you want to calculate?\n"); printf("(Imperial(i/I) or …

Member Avatar for yassop
0
309
Member Avatar for thes0mething

I'm currently working on a tic-tac-toe program and it is working to the point that it runs and X's and O's appear. However when the right combination is made or the board gets full the method "Resultat();" should recognize it and "Clear();" should clear out the board and a JFrame …

Member Avatar for thes0mething
0
152
Member Avatar for styleest

Hi all, Please i need a javascript that displays a calender with only date without time so that the user chooses the date. Thanks in anticipation

Member Avatar for styleest
0
65
Member Avatar for msaranya

I am trying to create an Excel sheet and save it in server... Once it is saved, I display a link to the user "download excel". He can click it and then download it.. The pblm is I cant save the excel it says "The file could not be accessed." …

Member Avatar for Pgmer
0
221
Member Avatar for benjaminFowl87

The easy slider found here. [url]http://cssglobe.com/post/5780/easy-slider-17-numeric-navigation-jquery-slider[/url] I have it set to slide automatically and continuously however when you click previous or next and leave it, the scrolling will stop. Has anyone implemented something to make it so that the sliding continues or know of a way to do it. Any …

Member Avatar for benjaminFowl87
0
351
Member Avatar for ajinkya112

Example : suppose i have a form1 and a form2. form1 has a button on it which would display a message "Clicked" when clicked And if form2 inherits form1. How can i change the properties of that button and make display a message "Now Clicked" ? please help.....:?:

Member Avatar for Momerath
0
104
Member Avatar for ricvik

Hi, I have implemented an Ajax object - a div containing another ASP file which can be updated dynamically. This ASP page has a number of checkboxes. Is it possible to use JS (or any other tool) to check the checkbox status (i.e. like javascript's [CODE]if (field.checked)[/CODE]) from the containing …

Member Avatar for ricvik
0
193
Member Avatar for fluffybunny69

Hi guys, I am new to javascript so thought I's post here for some advice. I'm trying to complete a simple keyword search where the keyword is forwarded on the end of a url. I have this working-(ish), but at the moment it's doing this: 1. Add keyword and hit …

Member Avatar for fluffybunny69
0
175
Member Avatar for bensewards

The question is: A file contains a list of names in the form: Jones, Frederick M Brennan, Claire Your program should alphabetize the list. Use the C++ string class. Also, extract names from the input stream with getline(). What i know so far: main() should declare a char array and …

Member Avatar for ravenous
0
202
Member Avatar for jackparsana

I have a Problem regarding wordpress Redirect. I have panel in Right-side in this there is one form page. its for contact mailing. In this form i have submit button. when i click on the submit button i want to get the thanks page on the left side body contain. …

Member Avatar for jackparsana
0
197
Member Avatar for Akill10

Hi, I am writing this template Array class. I am trying out some different functions, anything I can think of to implement. I have written an Add function as follows: [CODE] /**Add function - adds an element at the top of the stack**/ //creates new Array 1 larger //sets position …

Member Avatar for Akill10
0
223
Member Avatar for bimaljr

Hi I want to convert Sql Server Database to Access Database , I have one database and it has different tables and view also. please help me how to do this ?

Member Avatar for hostingguru
0
1K
Member Avatar for Nahiyan

Hello everyone, I am new to Java but know lot about other programming languages and experienced game developer. As Java is platform independent, we cannot compile it to .exe format and that's where my problem is. Suppose I have created a .java file and compiled it to .class file, then …

Member Avatar for Nahiyan
-1
152
Member Avatar for Hawkpath

I'm a beginner c++ programmer. I use Win XP and CodeBlocks. I'm trying to make a pong game, I already have the controls programmed, but I need a method to do the following: Check for user input, if they don't input for x milliseconds, then continue with the loop so …

Member Avatar for katmai539
0
199
Member Avatar for iskinner

I have XML data where information in nodes relate to other nodes. I am trying to figure out how to generate output based on these relationships. XML sample <gedcom> <indi id="@I001"> <famc>@F002@</famc> </indi> ... <fam id="@F002"> <husb>@I005@</husb> <wife>@I007@</wife> </fam> </gedcom> XSLT sample <xsl:template match="/"> <xsl:apply-templates select="/gedcom/indi[@id='@I001@']"/> </xsl:template> <xsl:template match="indi"> <xsl:value-of …

Member Avatar for xml_looser
0
1K
Member Avatar for McLaren

Have no idea how such simple thing can not work :( [CODE]<form action = "<?php echo base_url()?>admin_/groups/preview" target = ""> <strong>Pavadinimas: </strong><br> <input type="text" name="title" /><br><br> <strong>Tekstas: </strong><br> <textarea name = "text" cols = "90" rows = "90"></textarea><br> <input class = "save" type="button" name="submit" value = "IÅ¡saugoti"/> <input class = …

Member Avatar for McLaren
0
282
Member Avatar for whodoes21

ok so what does this do.. 1.) read the text file(most likely a c++ code in text form) line by line and display it line by line... 2.) (as the title says) check for syntax errors. ( only minor ones like missing ";" or a lack of closing braces) soooo..... …

Member Avatar for ravenous
0
2K
Member Avatar for Shodow
Member Avatar for Shodow
Member Avatar for btsuper

Hi everybody, I've been working with gui recently, and I need help with my JButtons. I need to figure out how to set a button on the keyboard to click that JBUtton. I.e. When i hit the enter key it picks say the third button on the list or something …

Member Avatar for btsuper
0
1K
Member Avatar for cassyjack

I need a little help. Here are the specs: Create a method called findLargest, which takes an array of integers as an input parameter and returns the array index of the largest integer in the array. If there are positions that are tied for largest, the method should return the …

Member Avatar for rosellejane
1
714
Member Avatar for goody11

I am currently working on a Win32 program where I have a picture. Depending where they click on the picture, something will happen.I just loaded the picture on the window, but how do I make it so that my program can tell when a certain area on the picture on …

Member Avatar for Ancient Dragon
0
93
Member Avatar for SeePlusPlus2

I'm trying to read this input from a text file but whenever I try to output it, it shows up as 00000. Input: IBM 100 93.2 98.6 MER 200 67.2 43.89 QQQ 300 78.9 70.0 C 200 35.78 50.02 CSCO 400 45.67 57.23 This is what I have so far: …

Member Avatar for SeePlusPlus2
0
211
Member Avatar for Geowil

'Lo everyone, I am having some pretty frustrating issues that I can not seem to get rid of. The main goal of my program is to make a GUI with buttons that trigger custom events. [quote] C:\Java Tests>javac JGUITest.java JGUITest.java:13: cannot find symbol symbol : class ButtonHandler location: class LabelFrame …

Member Avatar for Geowil
0
281
Member Avatar for ebanbury

Hello I am trying to create a one-field search form with fields that match fields in a database, carry out a search for records which match the word put in the search button, and show the results in a table on the same page. I have got myself a bit …

Member Avatar for Javvy
0
255
Member Avatar for davidjg

Hello all, I am new to C programming and I am currently working an encoder program that encodes text unintelligibly. I need help writing my recursive function to provide the desired output results. A sample is below. Can anybody help me out or point me in the right direction or …

Member Avatar for davidjg
0
126
Member Avatar for Jake.20

Guys, can you give me some idea on how to turn the combo box/drop down box uneditable.

Member Avatar for bLuEmEzzy
0
96

The End.