199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for SusanHAllen

I am using a custom ListItem class in order to fill a windows forms combobox (in DropDownList style). I am filling the control fine, but how do I get the id (NOT the name) upon cmbProgramName_SelectedIndexChanged? [icode] public class ListItem { private string id = string.Empty; private string name = …

Member Avatar for nick.crane
0
198
Member Avatar for fingerpainting

[B]Background: [/B] I'm extracting values from a file which is sometimes an xls and sometimes an xlsx file. An xls is easily read with xlrd, but xlrd nor any other Python library (as far as I could find) supports xlsx, so instead I'm using[URL="http://github.com/dilshod/xlsx2csv"] xlsx2csv[/URL] to convert to csv and …

Member Avatar for fingerpainting
0
9K
Member Avatar for Peppercat101

I have a little problem... I use a MS database in my program.... I want to enable the user to backup the database that I use to a specific location that they choose.... Any suggestions? Because I'm lost..... Oh its in Delphi 7

Member Avatar for BitFarmer
0
303
Member Avatar for integer*09

Hi All, I just created a simple displaying of photos in a CLR window form application just like a slideshow of photos. With the code below that is within a button_click, however the form will displayed only the last pic (picgen(3)) after all the sleep time of 4.5s. What should …

Member Avatar for integer*09
0
103
Member Avatar for surabhi.awh

hai iam new to jsp.i want to uplad an image to my website .my code is given below. Pls anyone help me ........... thanks in advance [code=java]import com.mysql.jdbc.Connection; import com.mysql.jdbc.Statement; import java.io.*; import java.sql.DriverManager; import java.util.Iterator; import java.util.List; import java.util.Random; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.servlet.*; import javax.servlet.http.*; import org.apache.commons.fileupload.*; …

Member Avatar for jaka.ramdani
0
162
Member Avatar for Member 784740

Hey, I want to send parameters via submitted form, and then to reload my jsp page: Should I use onclick command or on submit action to transfer parameters using GET method? My code: [CODE] <body> <form action="ShowPatientList.do" id="patientListForm" name="patientListForm" method = "GET"> <p>Imię <input id ="imie" name = "Imie" value …

Member Avatar for jaka.ramdani
0
517
Member Avatar for exchequer598

Hi everyone! I am making a JSP page with Eclipse and Apache Tomcat 6. I want to create a drop-down list that will be populated with the list of all folders in the directory of that JSP page. Can someone show me how to do that? Thanks in advance!

Member Avatar for EloiseJoseph
0
806
Member Avatar for The Z. Will

I've looked up some topics, but decided to make my own for this. The error is.. Parse error: syntax error, unexpected T_STRING in /home/a2765026/public_html/forum/global.php on line 234 Here's the full code. [CODE] <?php /** * MyBB 1.4 * Copyright © 2008 MyBB Group, All Rights Reserved * * Website: http://www.mybboard.net …

Member Avatar for rajarajan2017
0
865
Member Avatar for kirtan_thakkar

I want to send one variable's value to another page.. How can i do with php..?? actually I'm receiving it from another page so i want to send it to another page..

Member Avatar for bouhbob
0
4K
Member Avatar for Qcdms21

HI DANIWEBBIES, this is my prob. <% if trim(rs2.Fields("loan_approve"))="Yes" then %>Approved<% else %> <a href="loan_approve.asp?id=<%rs2.Fields("stud_id")%> in this line of code , wht is the function of trim ? plz fill me in on this. help appreciated.

Member Avatar for superarun
0
100
Member Avatar for watz_uph

hi all, i need to read coordinate from a .txt file to draw lines , here is the example of the file [code=txt]1E20, 1E20, 1 154.0872,3703.414,1955 178.458,3719.069,1955 239.8909,3753.263,1955 1E20, 1E20, 2 2480.712,105.5662,1950 2486.905,144.5641,1950 2512.991,215.5622,1950 [/code] lines 1 to 4 is line 1 coordinate lines 5 to 8 is line 2 …

Member Avatar for watz_uph
0
156
Member Avatar for molocas

Hello every one, I am new in C++ and I have a new project. I have a text file with numbers that are coordinates x,y The text files´s format looks like this: X Y 234 5678 343 3456 193 235 and so on Steps, 1.- Put all this file in …

Member Avatar for Ancient Dragon
0
175
Member Avatar for spockGirl

Hi! I'm trying to figure out if it's possible to graph a piecewise mathematical function using Python where the limits of the function are dependent on another variable (i.e., if a > b, graph f(x); if b > a, graph g(x)). I've been trying to google stuff about graphing, but …

Member Avatar for Gribouillis
0
132
Member Avatar for jhonnatas

hi guys!i need your help again.I have a database and i load the content in a textarea but the text is coming with html tags:<p><span class> etc...and if i load it directly in a table,without the textarea the content is showed normally. hope u can help me again!thank in advance!

Member Avatar for jhonnatas
0
80
Member Avatar for wolfeater017
Member Avatar for tbone2sk
0
159
Member Avatar for avinash_545

hi everybody!!!! I am really new to vb.net and I wish to know how to embed Google maps into one of the forms of my project. help please.

Member Avatar for Pegazux
0
169
Member Avatar for jemimaloh

Hi there! this an excerpt from an extracted pdb file my team has done in the format of a text file. ATOM 1 N ASN A 2 [B]18.668 27.299 52.379[/B] 1.00 41.19 N ATOM 2 CA ASN A 2 [B]19.400 26.674 53.492[/B] 1.00 40.18 C ATOM 3 C ASN A …

Member Avatar for jemimaloh
0
2K
Member Avatar for PixelExchange

Hello. I am currently creating a software that requires the detection of "cheating." While my software is open, players will not be allowed to have certain types of content open. Ex: --- Lets say that my software, is a Chess Server. In order to prevent cheating, my software must be …

Member Avatar for PixelExchange
0
109
Member Avatar for Tank1970

Hi all I am receiving these errors when compiling my code, I am new to C++ programming and have trouble with the actual writing of codes. Here are the errors I am getting. I am not looking for an answer but a step in the right direction to get the …

Member Avatar for jonsca
0
278
Member Avatar for shad

Hi everyone, i am in my third and final year of uni and i was thinking of basing my final year project on online voting/survey, i am not too familiar with the subject i really need ideas on how i can go about designing and building the system. Any help …

Member Avatar for izzatikhalid
0
202
Member Avatar for Nulled

I am trying to release a console program I made, and when I tried on another computer it did not work, It told me I needed to download a .dll, I downloaded it, and it gave me some other error. So what am I missing, What do I have to …

Member Avatar for Aranarth
0
92
Member Avatar for wavyaquaeyes

[B]Hi wonderful programmers,[/B] [B]I once again need help. First i need to create a class where if the input is a vowel , it returns true and if not it returns false.[/B] [B]i am just learning java, but also just learning classes, methods etc. I know I have to call …

Member Avatar for NormR1
0
187
Member Avatar for cyberjorge

Hi, This might be too much to ask, but can someone help make sure this php file code always saves current date to my "lastupdate" field of "ReservationDetailsTmp'" table? Would be great to receive response asap. Thanks a lot in advance! :) [CODE]<?php // no direct access defined( '_JEXEC' ) …

Member Avatar for almostbob
0
258
Member Avatar for bops

Hello. I am having a little trouble with enabling and disabling word wrapping in a normal edit control. [CODE] hEdit = CreateWindowEx(WS_EX_CLIENTEDGE, "EDIT", "", WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_HSCROLL | ES_MULTILINE | ES_AUTOVSCROLL | ES_AUTOHSCROLL, 0, 0, 100, 100, hwnd, NULL, GetModuleHandle(NULL), NULL); // This is how my …

0
100
Member Avatar for alsnchns

I am trying to do simple insert, update, delete, select statements within VB .NET to access a MS Access database. I have tried all kinds of solutions offered on the web and while the code seems to work, no rows are inserted. Also, I have tried, unsuccessfully, to use the …

Member Avatar for goldenevil
0
202
Member Avatar for dupowdis

I have this great little program that I have made in the JCreator IDE. It has four class files. All of the classes are in a package called org.jfree.panning. They are listed as follows: XYPLOT.class* PanningChartPanel.class PannableXYPLOT.class Pannable.class * = Main Class There are also four .java files corresponding to …

Member Avatar for dupowdis
0
656
Member Avatar for doctorphp

Hi All. Now I am really stuck here. I am trying to develop a calendar which hilights the days date (which I have done) but now I am on to the really tricky bit (for me). I need the calendar to change each month and because the different months have …

Member Avatar for fxm
0
109
Member Avatar for vinochick

Here is what I have so far. I understand the middle portion of it. I'm just having a hard time understanding which variables to stick in the voids. [CODE]#include <iostream> #include <iomanip> using namespace std; //function prototypes void getFahrenheit(); void calcCelsius(); void displayCelsius(); int main() { //declare variables int fahrenheit …

Member Avatar for Andreas5
0
1K
Member Avatar for thehivetyrant

Hi there, I'm making a simple shell program in [B]pico using Unix[/B]. I was given most the code from a tutor and added bits to it, it's supposed to go to a prompt allowing user to type but instead it does nothing. [B]No errors are shown.[/B] Btw: i use [B]gcc …

Member Avatar for thehivetyrant
0
134
Member Avatar for xan517

I have NO idea what I'm doing... I need to link an exe to my c++ project. The problem is, I don't know the code! Help if you can.

Member Avatar for xan517
0
36
Member Avatar for benhowdle89

Hi, Just need a bit of advice, no code or anything, i know someone at quite a large company who is interested in implementing their own social media site for their employees. Roughly how would one go about coding/setting this up, i imagined it would take alot of heavy duty …

Member Avatar for jrivera
0
125
Member Avatar for lijukochumon

hai, guys how to open a image directory in server and upload picture from server to database

Member Avatar for metalix
0
71
Member Avatar for aukeebler

There's no error. The code just stops after you enter the fahrenheit [CODE]#include <iostream> #include <iomanip> using namespace std; //function prototypes void getFahrenheit(int &); void calcCelsius(int, double &); void displayCelsius(double); int main() { //declare variables int fahrenheit = 0; double celsius = 0.0; //get input item getFahrenheit(fahrenheit); //calculate Celsius calcCelsius(fahrenheit, …

Member Avatar for sfuo
0
128
Member Avatar for CHRISTTY MAE

need help again>>> hi! i need c++ codes that will translate a sentence into another language using only arrays and pointers.. all help will be very much appreciated.. thanks..

Member Avatar for daviddoria
0
91
Member Avatar for hindu times

Hi there, Just working on this page - [url]http://www.rjt-online.com/photos_titletest.php[/url] In Opera, the dynamic resize of the iframe isn't working correctly. As you can see in the code, I have set a minimum height of 200px so the iFrame should always be a minimum height but if the content requires it …

Member Avatar for hindu times
0
442
Member Avatar for buddyalexander

I have just started to learn python (Learning Python), and I am trying to move some files to another folder that are over a week old. I keep getting an error about the files not existing. import shutil, sys, time, os src = 'c:/users/wca36050/temp1' dst = 'c:/users/wca36050/temp2' now = time.time() …

Member Avatar for TrustyTony
0
244
Member Avatar for gutiarfanatic7

I'm trying to make a blackjack game but I'm having a little trouble with a do/while loop. Maybe a do/while loop isn't the right kind of loop to be using? I dunno, you tell me. Here's the code: #include <cstdlib> #include <iostream> #include <string> #include <sstream> #include <ctime> using namespace …

Member Avatar for gutiarfanatic7
0
117
Member Avatar for mcld

hi guys, I've been following the tuts and help on this incredible site for a while and must say that you guys are really amazing and very helpful. I am learning PHP since it's very useful for site development etc. I will appreciate any help form you guys on a …

Member Avatar for diafol
0
105
Member Avatar for onthego

I can't seem to get a comma embedded string (i.e. an LDIF DN value) to save as a key in an associative list without the value being interpreted as a list itself. I can't find a method that will cause the value of the string variable to be interpreted intact …

Member Avatar for onthego
0
238
Member Avatar for abhijat

Hi guys, I'm new to the forum and to progamming. I've started following a set of online video lectures as an introduction to programming using python. One of the problem they asked to solve is to create a simple program that computes and prints the 1000th prime number. I got …

Member Avatar for TrustyTony
0
1K
Member Avatar for grunge man

Hi I'm new to JavaScript. Looking to get some pointers and some discussion going. I'm making a simple JavaScript code where if you click some text it will make it the same as the other text in both cases. Apparently I am doing something wrong or my logic is flawed. …

Member Avatar for grunge man
0
364
Member Avatar for jeffsbaker

I was wondering if someone could help me with a mysql indexing problem. The index of 'username' for this code works fine: [CODE=mysql]EXPLAIN SELECT count( * ) AS num_messages FROM messages, users WHERE messages.username = 'johndoe' AND users.username = 'johndoe' AND messages.sent_date >= users.last_activity[/CODE] Here is the explain: [code] id …

Member Avatar for jeffsbaker
0
356
Member Avatar for Taichi56

I have work in a high school and I am working on designing a database for a tardy calculator. It will be Internet based. I am not real sure how I am going to set up the database though. So I though I would throw it out there and get …

Member Avatar for Stylish
0
359
Member Avatar for ktimov1

I have an excel file SpeedStudy.xls located in (C:/files). I need to extract specific cell values to be displayed in a DataGridView. For example: I need the value of Cell: B6 to be displayed in the DataGridView under the Road column. Any ideas to get me started? How can I …

Member Avatar for ktimov1
0
113
Member Avatar for mamabear

A string consisting of letters and digits. How do you do that? How do you code that?

Member Avatar for Fbody
0
80
Member Avatar for NishantG01

Hi All, I want to create a event on a static variable of the class. The intention is to notify the class whenever the static variable value is changed, so that it can do some processings. Please help me do this. Thanks & Regards Nishant Guarav

Member Avatar for nick.crane
0
147
Member Avatar for sajohnson05

Below you will find my code for a web program that takes in changes and will change the last area. I am wondering if i need to make the last box a textarea? Also any help with the javascript will be greatly appreciated and any other ways to make it …

Member Avatar for Taywin
0
325
Member Avatar for Zinderin
Member Avatar for Zinderin

I'm using VS2005 ... when you set a button image, is that image stored in the app's resources like the icon is, or do I have to do that manually. Now, don't think I'm crazy for asking this... :P I was a long time Delphi user, and in Delphi when …

Member Avatar for Zinderin
0
170
Member Avatar for jonnyflash

I'm writing an app that requires a list from Python to be read into an array in C++. The problem I'm having is that I can't get my code to work under any version of Python after 2.4, and I don't think I'm using any deprecated functions. It runs fine …

Member Avatar for Gribouillis
0
1K

The End.