199,114 Archived Topics
Remove Filter ![]() | |
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 | |
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]; … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … ![]() | |
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, | |
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)) | |
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() … | |
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 … | |
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] | |
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 … | |
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++) … | |
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 … | |
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 … | |
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 … | |
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" … | |
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 … | |
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] | |
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 … | |
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 … | |
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 :) | |
Hi, Can anyone explain in detail what is the difference between int *a and int* a? Is there any difference between them? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. ![]() | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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* … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … |
The End.