199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sumit.jain7389

hello i m using c#. i extended a textbox with a dropdownlist. now i want to add a datasource to this extended dropdownlist. im trying: textbox1_dropdownextender.**** so what to do now??? Sumit Jain

Member Avatar for sumit.jain7389
0
87
Member Avatar for atramposch

I wrote a short piece of code to give me a .dat file for use in another program. But i cant figure out what is wrong. I run on a mac, and use Xcode. [CODE]#include <stdio.h> #define ARRAYSIZE 1500 #define BINDATA "file://localhost/Users/Hub/Desktop/231A4binData.dat" int main (void) { int i; double dblData[ARRAYSIZE]; …

Member Avatar for Ancient Dragon
0
169
Member Avatar for javaperson1

Hi there, I tried to to delete sorted number in each rows by reading a text file and write it to another file with a new format: such as readfile1.text contains 1, thoman 2, tom 3, jess87 4, kelly and so on.. I came up with this code and I …

Member Avatar for javaAddict
0
153
Member Avatar for TSims11

Hi guys, I'm makeing a Homework "tracker", which is basically a day planner. I need help making a settings file for the initial setup. I have a text box, a couple radio buttons, and one "begin" button. I need a way for the program to remember what choices were seleced. …

Member Avatar for Ancient Dragon
0
111
Member Avatar for Azurit

This is part of my code. I want to declare an array of List, and I want to be able to pass this array to the functions listed below, so that I can do work on the array (i.e. add/delete nodes). But I have problems getting my head around pointers …

Member Avatar for Azurit
0
1K
Member Avatar for musikluver4

I have been able to successfully load another java program (Calculator) within a java program with the following code: [CODE]Calculator.main(null)[/CODE] The program loads successfully but both programs have the code: [CODE]addWindowListener( new WindowAdapter() { public void windowClosing(WindowEvent e) { System.exit(0); } } );[/CODE] So once I close the Calculator program …

Member Avatar for JamesCherrill
0
129
Member Avatar for pallen

I know this is the PHP forum, but I couldn't find a better place for this question (I don't CMS as an option). So, I'm using Drupal to build out my site and run have into an issue with the "chat room" module. The problem involves inviting another user to …

Member Avatar for Kraai
0
239
Member Avatar for onsir

how to show data from database to treeview. example: data like this code Menuname l_evel parent M01 Maintenance 2 File M0101 Area 3 M01 M0102 Terms 3 M01 M0103 Category 3 M01 M010401 Rate Maintenance 4 M0104 M0106 Customer 3 M01 M010601 Customer Maintenance 4 M0106 please give code. thx

Member Avatar for Kazmirus
0
221
Member Avatar for tariqi

am using sql 2005 and vb 2008.i need to compare dates and select matching records betweem a selected date range.say records between 11/13/2010 and 11/20/2010.e.thing is working ok except when it comes to selecting dates between 11/1/2010 and 11/9/2010.this is happening because when am retrieving the dates from database,its being …

Member Avatar for tariqi
0
591
Member Avatar for bob3

I'm just trying to make a cash till and something is wrong because when i try to execute it it just freezes. I think something is wrong with my loop, also i don't know how to refresh my sale total when i click clear order. It clears it but when …

Member Avatar for Netcode
0
161
Member Avatar for shredder2794

Hello all, In lots of applications there are copy,cut,and paste buttons where the user can highlight some text and click "Copy" or "Cut" or "Paste" and then the program would do the corresponding actions. I was just wondering how to code such a button in Visual Basic 2010? Thanks in …

Member Avatar for Netcode
0
2K
Member Avatar for abz121

I ram coding a website that links to thousands of mp3's on the web, but i need to retrieve the duration of these files without first uploading them onto my server. I already tried using getid3 script but that requires you to have the mp3 file on your server. Any …

Member Avatar for diafol
0
72
Member Avatar for fahadyousaf

Please any one guide me or give me some hint ... can i run my java application directly from batch file or any other way from which i can directly access GUI of application. Regards,

Member Avatar for apines
0
104
Member Avatar for vedro-compota

Hello programmers ! Can anyone tell me - how to delete an initialized reference-type element, which suggest some links? Is there for this in C # the special function? Thank you for your answers))

Member Avatar for vedro-compota
0
178
Member Avatar for mphan228

I have to create the following functions with the code provided: OpenScreen(); MonthlyPayment(???); Amortize(???); AmortizeScreenHeader(???); But I'm kind of confused on whether or not the program will only have functions showing in the main body or will there be more than just the functions? Ex: [CODE]int main { OpenScreen() MonthlyPayment() …

Member Avatar for jonsca
0
382
Member Avatar for Goalatio

Over the past few days I have been writing a bootloader/kernel in NASM... It loads perfectly fine when I write it to a virtual floppy using PARTCOPY, and then boot to it from Oracle VM VirtualBox. However, when I write it to a physical floppy and try to boot to …

Member Avatar for Goalatio
0
331
Member Avatar for phpbeginner

hi all, is there a method to change the url variable? eg: from [url]www.someaddress.com?value=value1[/url] to [url]www.someaddress.com?value=value2?[/url]

Member Avatar for phpbeginner
0
584
Member Avatar for little.daffodil

Hello, I need to read from a text file. There are only 2 lines in the text file. And I need to read both, line by line as a string. After reading it, I want to use it (concatenate). For example, each line is represented as string1 and string2. I …

Member Avatar for little.daffodil
0
262
Member Avatar for justinbailey

I have to answer with the runtime for Big O for a few examples of C++ code. I'm generally having some trouble grasping the concept of Big O but two particular problems are stumping me: [CODE]cin >> x; double n = example(x); for ( i =0; i << n; i++) …

Member Avatar for justinbailey
0
170
Member Avatar for flamedragon00

Hello everyone, I'm new to this website and to prgramming in general. Taking a class and we're starting with python. Doin a programming project in which I need to do Data mining for a company. I'm stuck trying to get the company's monthly average for each month. I can A …

Member Avatar for flamedragon00
0
1K
Member Avatar for blknmld69

I have started my code to create an application with two combo boxes. One that holds the names of the dormitories and the other holds the meal plans. The user should select a dormitory and a meal plan, and the application should show the total charges for the semester. I …

Member Avatar for jon.kiparsky
0
907
Member Avatar for awais1a

i have an assignment can somebody help me, [B] Assignment Statement:[/B] Comparing two arrays for equality or matching indexes You are required to write a program which will take input from user in two integer arrays. The program should compare both arrays for checking if both arrays are totally identical …

Member Avatar for VernonDozier
0
182
Member Avatar for furianera

Hi everyone, i'm following this guide [url]http://code.google.com/intl/it-IT/apis/maps/articles/phpsqlajax.html[/url] to parsing MySql data to google maps. Every step until creating XML file are good, the problem i found was when i use this code (edited with my variable) [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" …

Member Avatar for hielo
0
164
Member Avatar for musikluver4

I have a GUI program that controls all the graphics, etc of the program, while another program has all the calculations the GUI program grabs to show in its program. Well I would like to have another program that uses Frame and implements ActionListener, and launch that program with the …

Member Avatar for musikluver4
0
136
Member Avatar for pikkas

i am trying to make a simple trim function but this doesnt works. any help pls? [CODE] function tr(input){ var i; var str; for(i=0; i<input.length-1; i++){ if(text.charAt(i)==" "){ str+=""+text.charAt(i) } return str } } [/CODE]

Member Avatar for hielo
0
100
Member Avatar for lochnessmonster

say i execute an windows api function in my code to allocate memory in the specified process! How do i actually view/know this worked without checking getlasterror() or return codes? is there any other way i can do this in a easier/better manner? maybe runtime with a debugger? if so …

Member Avatar for Ancient Dragon
0
85
Member Avatar for pietpiraat

Hello everyone, i'm using a jquery datepicker like this: [CODE]<script type="text/javascript"> $(function() { $('#inlineDatepicker').datepick({ rangeSelect: true, monthsToShow: 3, minDate: '+7d', rangeSeparator: '|', altField: '#resdate', altFormat: 'dd-mm-yyyy', pickerClass: 'locgrid', onDate: nationalDays } ); }); var natDays = [[12, 18, 2010], [12, 19, 2010]]; function nationalDays(date, inMonth) { if (inMonth) { for …

Member Avatar for Airshow
0
233
Member Avatar for srdva59

hi, i use ireport to creat my report, i use the PHPJasperXML to load into a pdf. i need to know is any one know a alternative because this class don´t work with many functions that we have in the ireport. thanks a lot for your help :)

Member Avatar for sudeepjd
0
51
Member Avatar for Perry31

Hi, Can anyone explain in detail what is the difference between int *a and int* a? Is there any difference between them?

Member Avatar for Ancient Dragon
0
85
Member Avatar for yuugib

Hi again guys, last time I posted a problem I got a lot of help... and here I'm back again with new issue. This is the assignment: [QUOTE] Contains a function called sumN() which takes an int n as an argument and returns an int which is the sum of …

Member Avatar for penguins10
0
566
Member Avatar for Syntax12

I'm trying to sort by the date for some mysql results... and in the table, the date field is "date" format, so the rows have like, 2009-3-5... however when I sort by the date... it doesn't work right. I'm guessing PHP is treating it as a math problem in my …

Member Avatar for EvolutionFallen
0
154
Member Avatar for jasha

Hello there, first of all hi everyone, this is my first post here. i'm pretty new to PHP but i do know enough about programming to understand advices at any level. Here is my question: I've done a login algorythm which is working fine, everything is managed by an idex.php …

Member Avatar for CEVGames
0
259
Member Avatar for hwalsh

Can anybody tell me why I'm not getting checkboxes? Sometimes I can get one, but never the three I need. [CODE]public class SwingLab implements ActionListener { // instance variables - this instance will get reader's name private Scanner reader;//name from user private Random random; private ArrayList<String> name;//construct a responder, declare …

Member Avatar for hwalsh
0
167
Member Avatar for LELE7

I have an upload form where the uploaded picture is displayed. This works perfectly in Firefox. Problem is that in Internet Explorer, the image only displays when the page is refreshed. I do not want my users to have to do this, any tips? I tried just about every solution …

Member Avatar for LELE7
0
126
Member Avatar for kberrianjr

I am trying to save a listview item and 5 subitems to a txt file, I have tried one solution that was posted on here but i could not manipulate the code for all of my sub items can someone please help me out.

Member Avatar for Unhnd_Exception
0
992
Member Avatar for LONGWAY

Hi, i have four tables: books info autor publisher ---------- ------------- --------------- -------------- id id id id bookname type name publisher name autor_id year second name quantity publisher_id autor year country I tried with this relations but it did not work (is this normalization ok) relations: `autor.id = books.autor_id` AND …

Member Avatar for LONGWAY
0
120
Member Avatar for sanju21

I have tried rs.wasNull() to check the null value from the database table..but it doesn't work.. pls let me show other ways to check null.. I consider the empty table when i request.

Member Avatar for toughlittleone
0
783
Member Avatar for dduleep
Member Avatar for Jmknight
0
105
Member Avatar for bjeffries

I was wondering if anyone over here could help me figure out why this thumbnail generator is not working. I am using the [url]http://code.google.com/p/smart-lencioni-image-resizer/[/url] I have a discussion on his google group going but he I am not really getting anywhere over there on getting this issue figured out. I …

Member Avatar for bjeffries
0
333
Member Avatar for Tankadin

Hi folks I know this particular program has been posted in many other forums but it all involves many different things that I have no learned yet so I really can't use any of them.....plus it would make me look stupid to turn in something that I copied that includes …

Member Avatar for Tankadin
0
5K
Member Avatar for foobar8

Hello, I have a program that is like a ftp server - it sends and receives files over unix sockets. It works fine when I transfer text files, but as soon as I want to receive binary files, it's not working properly. Files are transferred correctly, I can verify that …

Member Avatar for mrropi
0
946
Member Avatar for saintrenz

I am making an menu list of starbucks the code is working but it only prints: ------ WELCOME TO STARBUCKS Total Price: "amount" ------ [B]Problem: I want the value to be displayed also in the alert box kinda like anyone help im a noob in js[/B] ------ WELCOME TO STARBUCKS …

Member Avatar for Airshow
0
155
Member Avatar for facarroll

Hi. I purchased some software recently but have been unable get any helpful product support with the following problem, because it's a coding matter, I guess. The purchased software is for a PayPal subscription management system, and it relies on user verification by way of a username (email address) and …

Member Avatar for facarroll
0
410
Member Avatar for Azul-P

Greetings, I'm working my way through Michael Dawson's Python Programming for the Absolute Beginner book. At the end of chapter 4: "for Loops, Strings and Tuples", there is a challenge that asks so "improve Word Jumble so that each word is paired with a hint. The player should be able …

Member Avatar for TrustyTony
0
2K
Member Avatar for sirko

I need to calculate the value of sin(sin...(sin(x))) for n times (n and the value of sin are input from the keyboard). That's is what I've came up with. #include "stdafx.h" #include <iostream> #include <math.h> using namespace std; double multipleSin(int n, double x); using namespace std; int _tmain(int argc, _TCHAR* …

Member Avatar for Bench
0
182
Member Avatar for albertkao

This SQL operation will get the desired Proposal_ID. [CODE]SELECT P.Proposal_ID, AVG(c.Task_Good_Idea) AS Average FROM proposals P, proposal_appraisal c LEFT OUTER JOIN users b ON (c.Evaluator_ID = b.User_ID) LEFT OUTER JOIN submission_status d ON (c.Primary_Evaluation_Status_ID = d.submission_status_ID) WHERE (P.Proposal_ID = c.Proposal_ID) AND P.Proposal_ID >= 931 AND d.Submission_Status_ID = 2 GROUP BY …

Member Avatar for hielo
0
98
Member Avatar for terabyte

Hello I'm starting to learn c++ and I'm wondering if I should wait until c++0x standard is published (since I'm not in a hurry, currently learning Perl and Java) or should I start learning c++ with an old book I have If i do learn c++ w/ the 2003 standards …

Member Avatar for Bench
0
147
Member Avatar for gusadolfo

Hi i need to capture which users are logged on to my winserver 2008 and their status for my admin app, and i have no idea of how to do this. I'm using .net and c#. I could really use some help with this.

Member Avatar for gusadolfo
0
90
Member Avatar for Andrew1988

Hi there, I am in a first year programming class at Dalhousie University (Halifax, Nova Socita, Canada), and I need a little help with an assignment. The exercise is as follows: "[10 Points] Create a number guessing game. First, ask the user for some positive integer, n. Ask the user …

Member Avatar for woooee
0
193
Member Avatar for kuchi

Hi, I have a date with the String like "20091128' and we have to check this date with current date ("20101118"). if that date is old then we need to do some rules. I've checked in google whether there any existance but there have different formats. Can anyone give me …

Member Avatar for Gribouillis
0
82

The End.