64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for NewOrder

i put a list box and an image box. now i want the image to swap every time the user clicks on a different element in the list. it doesnt seem to work :( [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class _Default …

Member Avatar for ArtistScope
0
107
Member Avatar for tape enterprise

SO am am soon going to build a blog. what I would like to know is how to do the prvious posts button at the bottom of the page with like the 1|2|3...Next|Last that type I was just wondering how it is done I know to fill the Homepage your …

Member Avatar for Agarsia
0
136
Member Avatar for nish88

hi everyone..... Can someone tell me 'how can we disable the close icon' which is found on upper left corner of a tkinter menu which is encircled in the picture below: Thanks in advance

Member Avatar for gleam.uahmed
0
4K
Member Avatar for HelloPeople1

Hi guys I finally finished my highscore list but i have one problem I have to sort it. I know how to sort regular list, but this is a bit different because of having the text in it. When I sort it I just get an weirdly sorted list. Does …

Member Avatar for slate
0
112
Member Avatar for Derek Elensar

Okay. I have said code: [code=C++] #include <iostream> int main() { std::cout << "This is a native C++ program\n" << std::endl; return 0; }//main [/code] How would I compile this from a standard DOS command line? I've searched all over google, and have yet to find an answer that explains …

Member Avatar for user422
0
366
Member Avatar for JaviP

Hello, I would like to know what am I missing in this program to be getting that error. Thanks in advance! Error is [B]error C3861: 'setprecision': identifier not found[/B] [CODE]#include <iostream> using namespace std; int main () { int numFloors=0, numRooms=0, numOccupied=0, totRooms = 0, totOccupied = 0, totUnoccupied=0; double …

Member Avatar for Fbody
0
6K
Member Avatar for skinwah

Hi all. I am trying to create a program to take in records of a companies payroll. I get the data then write it to a binary file. When I want to delete a record I ask for the specific timesheets name and the employee ID then read the file …

Member Avatar for skinwah
0
141
Member Avatar for simsim123

hi all hope every body is fine i want ask you about how can we send the form data entries includnding attached file to an email without saving the file to the server as i want to know if this procces legal to take the uploaded file and send it …

Member Avatar for simsim123
0
167
Member Avatar for revjim44

I'm getting this error, and I'm not sure why I can't do this in a method. On lines 92 and 93 I get this error thrown: "Only assignment, call, increment, decrement, and new object expressions can be used as a statement" I'm sure it's something obvious, but I'm stumped. [CODE]using …

Member Avatar for revjim44
0
128
Member Avatar for tjmoosh

Hi there. I'm looking for some help with drop-down lists. The lists below are populated by lists.js (a script that was kindly written by a friend). What I need to happen is that as soon as an option within one of the lists is selected, the other four become disabled. …

Member Avatar for tjmoosh
0
237
Member Avatar for samsons17

Hi all.. basically i want an ajax code that retrieve the data from the unique div(with php).. what i mean by unique here is that my div got the id with the name+(the php code to make it unique). okay i dont really know how to explain but here is …

Member Avatar for Airshow
0
180
Member Avatar for revjim44

This may be a simple question, but I'm trying to populate a combo box with an array of string variables, but only that pass a conditional test. I'm getting a "complex databinding accepts as a datasource either in Ilist or IListSource" error. Obviously this is not the right way to …

Member Avatar for revjim44
0
261
Member Avatar for lu25

hey i need some help with my assignment am a seriose beginner i need to create a program using arrays that prompts the user to write a sentence and then prints outs the word and the number of times its appearing..i don't know where to begin please help :(

Member Avatar for lu25
0
89
Member Avatar for ddellostritto

Hi all - Was wondering if anyone has come across a script that verifies if an email address exists or not? Beyond verifying that the data entered has an @ symbol, I'd like to make sure that I'm not getting bogus email addresses. Would be any way to do this …

Member Avatar for mschroeder
0
137
Member Avatar for JaviP

Here is the program that I have to make: Write a program that asks the user to enter the amount that he or she has budgeted for a month. A loop should then prompt the user to enter each of his or her expenses for the month, and keep a …

Member Avatar for Narue
0
633
Member Avatar for plasticfood

[CODE]public static void fun(int x){ System.out.println(x); x--; if(x > 0){ fun(x); } System.out.println("returning " + x); } [/CODE] in the main class: fun(5); [U]output:[/U] 5 4 3 2 1 returning 0 returning 1 returning 2 returning 3 returning 4 --------------------------------------- what i don't get is how the print statement is …

Member Avatar for jon.kiparsky
0
156
Member Avatar for iammirko

Hi, I have been trying to compile open source projects since past few months with no success. I just don't know how to go about the entire thing. Readings over the internet have not helped much. Some come with [COLOR="red"]./Configure[/COLOR] and a [COLOR="red"]Makefile[/COLOR] while others with only a [COLOR="Green"]Makefile[/COLOR]. How …

Member Avatar for iammirko
0
218
Member Avatar for jmensah

Dear sir, I need a help. am having problem coding in vb.net. I have created a field which automatically in sql server. I want a code in vb.net so that user the text on the get focus, the automber would display the current no on the form. This autonumber is …

Member Avatar for codeorder
0
1K
Member Avatar for hmushtaq

Hi, I'm currently a student given the task of programming a RPN calculator using C. The following code is some test code that I made to solve the issue described in the thread title. It calls a custom getline() function(while loop) which is also shown and then should take in …

Member Avatar for hmushtaq
0
165
Member Avatar for Netcode

Pls everyone, i need help with two regula expressions One to accept only file word and pdf file and the other to accept only images(.jg|.bmp|.png|.gif) Thanks

Member Avatar for ShahanDev
-1
127
Member Avatar for arezz

anybody know how to save picture in picture box after upload and set picture witdh+heigh size. i want same picture in picturebox after i relaunch application .. i use this code to upload picture into picturebox....please anybody [code] Dim OpenFileDialog1 As New OpenFileDialog With OpenFileDialog1 .CheckFileExists = True .ShowReadOnly = …

Member Avatar for arezz
0
242
Member Avatar for BenjyC

Hi, I am working on a piece of OOP which needs to be ran entirely by classes, by that meaning the main function should only create the first class and the rest of the program ran by member functions of various classes. Part of this task requires me to keep …

Member Avatar for BenjyC
0
181
Member Avatar for Jake.20

Guys, can you give me some idea on how to validate the day if the selected year is a leap year in combo box. Thank you in advance.

Member Avatar for codeorder
0
157
Member Avatar for <LDJ>

Hi guys, I'll try to keep it as short as possible. Basically, I love the webcomic [URL="http://www.xkcd.com"]xkcd[/URL]. And recently, I've been browsing around for a downloader, and have found one written in Perl that works great. It even grabs the Alt-Text (text that pops up when you hover your mouse …

Member Avatar for d5e5
0
376
Member Avatar for fuston05

Is there a more efficient way of doing this? I am simply catching and assigning vars to a lot of $POST vars. this seem monotonous to me..lol any advise is greatly appreciated. thanks :) sorry aboout the title..wasn't sure how to title this one. lol [CODE]if(isset($_POST["submit"]) ){ if(isset($_POST["est_num"]) ){$est_num= $_POST["est_num"];} …

Member Avatar for mschroeder
0
81
Member Avatar for dyingatmidnight

Hello, first I want to say I'm a total noob to C++ and Visual Studio and MFC. Before this I studied Java in school. Anyway I'm required to learn MFC for work and I've been going through a reference book my supervisor has and I've run into an error that …

Member Avatar for Ancient Dragon
0
594
Member Avatar for jigneshdesai
Member Avatar for khadakbist
0
506
Member Avatar for dragon_sagrado

heres the problem i made a code for sine(X) to calculate the taylor series but i need to change sine(x) for sine(x+1) but i dont know how to do it, heres the code i made [code] from math import sin as senopy def factorial(numero): factorial = 1 while (numero > …

Member Avatar for BearofNH
0
233
Member Avatar for Diamonddrake

I am working on a little USPS tracking class, very simple calls web api returns xml, parses the xml to an object, passes that object back via an event. for some reason I can't seem to get the XML to parse correctly. I there are an unknown amount of a …

Member Avatar for Diamonddrake
0
195
Member Avatar for zensys

I have a database oriented at clients and services provided. In several tables I would like to store documents, e.g. under clients a copy of passport and under companies a copy of the articles of association, mostly pdf's and doc's. Currently I have the documents stored in the respective tables …

Member Avatar for zensys
0
149
Member Avatar for cppgangster

Hi, I want to learn mfc, but as I read in wiki mfc is not included in visual express editions, IS THE ONLY WAY TO LEARN MFC is buying visual studio software? are there any other solutions?

Member Avatar for Moschops
0
136
Member Avatar for Jade_me
Member Avatar for AndreRet
0
302
Member Avatar for obicerno

can any one help me about my project.... how to code data from excel export to access..

Member Avatar for AndreRet
0
83
Member Avatar for killhha

I have been using Pascal for around 3-5 months now. I still haven't figured out how to return random answers. for instance there are 5 integers: var a,b,c,d,e : integer; and now the computer will tell you a random integer like: writeln(c); this is just an example of course because …

Member Avatar for pritaeas
0
4K
Member Avatar for mbarandao

Hello: I want to create a count down to a date with the following variables 1. number of days (90) 2. current date now using a specific past date stored in db, I want to create a countdown that basically tells me how many days until the 90 days are …

Member Avatar for mbarandao
0
162
Member Avatar for mingler

I have a problem with using globals within class scope. For example: [ICODE] $GLOBALS['test'] = "How are you?"; class great { [INDENT]function grace() { [INDENT] echo $test; echo $GLOBALS['test']; [/INDENT]} [/INDENT]} [/ICODE] Problem is, that neither of the echos produce any output. Is there a problem with accessing superglobals from …

Member Avatar for mingler
0
145
Member Avatar for aman rathi

i am very beginner to java getting error in below code [CODE]class forloop{ public static void main(string args[]){ int x; for(x=0;x<10;x=x+1) system.out.println("this is x:"+x); } }[/CODE] error : cannot read :forloop.java i error please help me

Member Avatar for aman rathi
0
179
Member Avatar for Tommybb

I am beginning C++ programmer, I have been taking my c++ class for about 5 months now and this is the first time I have been completely stumped and I know for a fact it wont be the last. My professor assigned an assignment for us to find the mean, …

Member Avatar for G-Dog
0
14K
Member Avatar for gabanxx

i try to create an application that can sent the value from vb.net to SQL database.. the problem is i dont know how....i created the interface, just a simple one like inserting name, D.O.B, hobbies & phone nmber(all this using text area)...and a submit button... pleaseeeeee........... help me :'( -im …

Member Avatar for shubhadip
0
1K
Member Avatar for itit

I am developing a code in Netbeans 6.7. In my code there is a jsp page that contains a form. This form sends the entered details to a servlet called Client.java. I am trying to run an RMI program in the servlet. I have created the classes Server.java and the …

Member Avatar for itit
0
326
Member Avatar for zepi

hi all, am just curious to know...which is the better or more efficient way of these two? Note: tblOD is a DataTable [CODE] For dtrows As Long = 0 To tblOD.Rows.Count - 1 dgv1.Rows.Add(tblOD(dtrows)(0), tblOD(dtrows)(1), _ tblOD(dtrows)(2), _ tblOD(dtrows)(3), tblOD(dtrows)(4), _ tblOD(dtrows)(5), tblOD(dtrows)(6), _ tblOD(dtrows)(7)) Next dtrows [/CODE] OR [CODE] …

Member Avatar for Mariandi
0
138
Member Avatar for puvi

Hi frens I have a row containing 3 text field and a dropdown. the user enters details into the textbox and chooses a option from the dropdown. User may choose to save the details or add more details by clicking on Save or Add Row button resp. If the user …

Member Avatar for six_sic6
0
5K
Member Avatar for trail453

hey guys. i have a very simple programming assignment. i have a little experience in c++ but the code that im using is not working. the assignment is to use an array to enter 10 numbers and then print them out in reverse order. the following code that i am …

Member Avatar for trail453
0
132
Member Avatar for cliffcc

I cannot delete the records after pressing the delete button. What is the fatal error? Thanks! admin.php [CODE] <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="test"; // Database name $tbl_name="test_mysql"; // Table name // Connect to server and select databse. mysql_connect("$host", "$username", "$password")or die("cannot …

Member Avatar for cliffcc
0
83
Member Avatar for zachattack05

If I have an internal class that implements an interface, the interface method must be public. Is that interface method visible to other assemblies or does the internal class that implements the interface prevent it from being visible?

Member Avatar for zachattack05
0
61
Member Avatar for lgonzo

am new to c++, and am having trouble with if else statement for this code i am writing a program that makes the computer guess a number you the user has choosen my program works fine, but when i get in trouble is when my range gets down to zero …

Member Avatar for lgonzo
0
109
Member Avatar for lgonzo

beginning in c++, i have a question of a recent program for this program i am trying to create a game where the computer try's to guess a number 1-100 that the user has chosen and i have it running good. but where i have a problem is at the …

Member Avatar for lgonzo
0
89
Member Avatar for Tinee

Im trying to make a C++ program to calculate the resistance in a parallel electric circuit. The formula is Total = 1 / (1/resistor1)+ (1/resistor2).... + (1/resistorN) I have made the program however when I compile it it has the "linker error" Can you please help me spot the mistake …

Member Avatar for Ancient Dragon
0
286
Member Avatar for AngelicOne

This is my app.config [CODE]<?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="radicalGuard" value="Data Source = MICHAEL-PC\SQLEXPRESS; Initial Catalog = radicalGuardDB; Integrated Security = True" /> </appSettings> </configuration>[/CODE] And this is my connection string [CODE]SqlConnection con = new SqlConnection(ConfigurationSettings.AppSettings["radicalGuard"].ToString());[/CODE] Whenever I try to debug, it says "object reference not set to …

Member Avatar for AngelicOne
0
210
Member Avatar for danattheville

I am trying to write a program that will allow a user to use a button to toggle the color or the text in a text box between blue and green. Any ideas? Here is what I have so far: [Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) …

Member Avatar for danattheville
0
146

The End.