199,114 Archived Topics
Remove Filter ![]() | |
how can i call data from database that newly updated(into row) to be inserted into a labels, here is the screenshot: sorry for my bad english. i hope u can understand. thanks. | |
I have a program that displays a website using system.windows.forms.webbrowser. It runs off files located on the computer, just html files that are not on the web. All i would need to do is link to the index page and then you can access everything. The purpose of it is … | |
//Have to convert digits to words, having problems with the output. Please help. [CODE]#include<iostream> using std::cout; using std::cin; using std::endl; int numToText(int num) //function to return text version of number entered { switch (num/10) //Nested switch, this part detemines if number is multimple of ten { case 1: switch (num) … | |
i have a problem i.e i want to add new line after the second text field; let say i have made one text field and for the second text field i want that it will come in the next row, now how i displayed it in the second row?? thnx | |
Hi guys! I have a JTable updated from MySQL. I can successfully insert a row in JTable using SQL statement "insert into...". However, when I execute a delete statement, then JTable is not updated. Please, help me to find an error. [CODE] public void actionPerformed(java.awt.event.ActionEvent evt) { SystClasses.FilterClass.tableModel.initDB("85.254.219.164", "employee_record", "liana", … | |
Hello all of you,,,,,,,, Currently i am facing a problem.....problem is that.i am using two table admin or customer.I have one form.....i want when i select admin button then it will insert the values into admin table and when i will select customer button then it will insert into the … | |
please am writing my final year project on design and implementation of an xml database. pls i need any help i get. thanks. | |
Hi all, first i would like to apologize if my question seems out strange or not well define, but I've never do this before. here it is my problem: I have a txt file with a delimiters. I have a XML file that should be used to load the data, … | |
Hi all, I have a fairly simple problem. I have an array which prints out the following text: [CODE]1 Full, Gen. 3 TMSWK2D 9 Poor write quality 2 Full, Gen. 1 TMSWK2C Read Only, Clean Tape[/CODE] The problem is after some of the lines of text, there are empty values, … | |
i already post this topic in the programmingforums.org..a sister site of daniwebs. i think that this site is more populated.. i exploring deep programming, and i would like to have good start.. i want to determine the parts of this code, and how it works.. i think this is very … | |
Good morning everybody: I am attempting to populate a listview control on Form Load() and I get a Run-Time Error: 380 - Invalid property value. Below is the line to generates the error: [code]lvw.ListItems(lvw.ListItems.Count).SubItems(1) = OutlookAddressEntry.Address [/code] Below is alos my entire FormLoad module: [code] Private Sub Form_Load() Set OutlookApp … | |
hi there, I have to list boxes and in one list box there is all the names of the employees, there is two buttons which represent the arrows to sending the selected item from list box to another, how can I get the values in on list box to a … | |
Please help me use this LookAndFeel in java. I have downloaded quauqa-5.4.1.zip I tried the following, but it's giving me exception in thread:- package ch.randelshofer.quaqua; class Account extends JFrame { @SuppressWarnings("unchecked") public static void main (String [] fisd) { Account acc=new Account(); acc.setVisible(true); acc.setSize(900,600); java.awt.EventQueue.invokeLater(new Runnable() { public void run() … | |
![]() | Hey :D I'm currently writing a software where users pick out seatings from auditoriums. The tables will contain seating statuses of auditoriums, which could update quickly. I was thinking of using a thread to repaint the contents, however as the software could be used by many users on the same … |
Heloo; when i drag the window; then how i stop changing the size of textfield and buttons, and how i fixed the size of window.i shall be very thankful to all of you kindly give me the answer... | |
Hi to all I'm developing an application using C#.net .My problem is I have two forms Form1 and Form2... I have a combo box in Form1 with values Admin , student and others....Form1 is used as login form . If login by student i want to hide certain buttons and … | |
hello guys, I have a problem with my code first is i have two combobox named facname.text(facility name) and facno.text(facility no.) and when I choose in facility name(facname.text), in the facility no.(facno.text) should display the number of facility in that particular facility name..For Example you 2 facility for bowling and … | |
hi , this is Poornima i am a trainee in java i want many questions for banking problems in java to get trained where can i get that plz help me else plz send some questions | |
I'm trying to use the [url=http://docs.python.org/library/logging.html]logging[/url] module for python (2.6), whenever I try to use one of the handlers however it claims it doesn't exist. For example [code] import logging.handlers.SMTPHandler [/code] Gives me the error [quote] Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module … | |
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class CalculateNumber { int Number1, Number2; char option; int Result; public void Number() { Console.WriteLine("Enter the First number"); Number1 = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("Enter the second number"); Number2 = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("Main Menu"); Console.WriteLine("1.Addition"); Console.WriteLine("2.Subtraction"); Console.WriteLine("3.Multiplication"); Console.WriteLine("4.Division"); Console.WriteLine("Enter the Operation you want … | |
Any suggestions on the best online tutorial/ebook/printed book regarding C libraries and latest c std? I would like to get more coverage on FILE I/O s Thanks in advance | |
Hi All I am getting above error when I am trying to build the project.Could anyone help me out ? Error: 'NCCDAL.clsDataAccessLayer.fncreateCmdObj(string, System.Data.SqlClient.SqlParameter[], System.Data.SqlClient.SqlTransaction)': not all code paths return a value' Code: public static SqlCommand fncreateCmdObj(string spName ,SqlParameter[] commandParameters,SqlTransaction transaction) { SqlCommand command ; try { command = new SqlCommand(); … | |
hi all, i am having problem with javascript validation..My problem is i am having two radio buttons 1.Single 2.Married By default single is checked.Now when we select married i will get displayed spouse name below.Now if the person check married and didnt enter spouse name then i should get an … | |
Hi, I have a problem with an VB aplication programmed in Visual studio 2005. Recently i was upgraded my computer with windows XP to Windows 7 Ultimate (fresh instalation). After that I made reinstallation Visual studio 2005 and service pack 1 for Vista/win7. My problem now is when I run … | |
Please help out as i am a beginner in PHP I have a table with the name doinfo with the fields doctor,hospital, and city. What I want is that when I select city from the dropdownlist, it should give me its details i.e the doctor and hospital. I am able … | |
i am trying to do a program that reads in an arbitrary number of lists of integers. SPECIFICS -A valid list of integers consists of AT MOST (could be less than) 20 integers. -You can be given less than 20 numbers. -You might be given more than 20 numbers. This … | |
I've been working on getting the Big-Oh notation for this code segment a couple days now and I can't figure it out. I've most likely come across the right answer but I can't convince myself it's right. What's the Big-Oh notation for the following code and how do you arrive … | |
Hi All, I am having trouble in updating a table. The form consists of check boxes that are populated from the first query. I need the form to submit in itself and set the checked fields to 1 and the unchecked to 0. Any and all help will be appreciated. … | |
i have two forms form1 and form2 i can able to call form2 from form1 in button click event but not able to call form1 from form2 in click event.. i have included the respective header files also but still not working. | |
I have a Model popup form with a button which is coded to send an email. When I click on the button, it first opens another Model Form and fires off the same code on this new form. Not sure why it's opening a new form, there is no code … | |
Hi i'm writing a program that reads records from a file, then sorts these records by the person's firstname, and stores the sorted data in a new file. Heres the code: Everything works fine, except it stores garbage at the end of the last record. If i set the array … | |
Hi. I know some simple plain C++ and have even learnt some basics of MFC programming in Visual Studio.I can create simple desktop applications now. But the problem basically is that,I feel all that I have learnt is messed up.I learnt some flash actionscript,C++,then left programming itself for a long … | |
Just for Fun, and for reference to the web searchers, lets start a series of problems in computer science thats ranges in difficulty from [1,10], where 1 is easy, and 10 is harder. Maybe I and others will learn something useful from this. The following exercise is meant as an … | |
hi, Below is my code for DELETE button. What i want is if the user select the transaction from the listview and press the DELETE button it must be able to delete the transaction from listview and text file(temporary log file) which i keep all the transaction record. At the … | |
Hello dear friends, I’ve one problem. I hope you guys help in this…! Actually, I have two array. One array carry ‘title’ of my sms text messages. Second array carry ‘description of sms messages. Problem is that…! i want to got these two array result in my foreach loop. As … | |
Hey everyone, I have been searching and searching and cannot find out how to do what I'm looking to do, that is the only reason I would post a new thread. So basically, I am wanting to read a file that looks similar to this: [CODE] DATA START NOTES FILE … | |
Hi everyone I have a PHP Class file (salat.times.php) that accepts a few User Inputs, one of which is a Date in the format dd-mm-yyyy. The date is used for a part of the class and is fine. In another part of the class, there are a number of Time … | |
php code for uploading & storing a pdf file on server side | |
How to set Windows 7 to desktop html page or what i ned to do this on windows 7 | |
I have a mysql table full of pictures(their path) that are owned by many different users. I need to run the following query and return the results into a 5 column table. The number of rows will be however many it takes to display all the pictures. My query is … | |
[CODE] #include<stdio.h> int main() { FILE *point; char others[35]; int indexer,count; strcpy(others,"Additional lines."); point = fopen("tenlines.txt","a"); /* open for appending */ for (count = 1;count <= 10;count++) { for (indexer = 0;others[indexer];indexer++) { putc(others[indexer],point); /* output a single character */ putc('\n',point); /* output a linefeed */ } } fclose(point); getchar(); … | |
hello sir..i am wondering how to calculate between two dates..here is my code: [CODE] <input type="text" name"date1" value="mm/dd/yyyy"> <input type="text" name"date2" value="mm/dd/yyyy"> <input type="submit" name"calculate" value="calculate"> <?php echo $answer;?> [/CODE] example value of date1 is 09/26/2010 example value of date2 is 09/27/2010 so the answer should be 1 by subtracting … | |
Im trying to get the queries and results to load quicker. I have 10 of these after each other with slightly different queries, how can i optimize this please, i have tried removing select * and entering the field names require (which is about 9 rather than the 40 with … | |
![]() | Hei! I am worcking at the moment my website for my gaming clan [url]http://www.physicgaming.com[/url]. I'm working now on making a script that display results from the database ([url]http://www.physicgaming.com/site/results.php[/url]) if you visit the site you see a big gray table, but this should be only 3 tables and not one big, … |
Hello All, Open Destination Folder programmatically using Folder Browser Dialog. [U][B][COLOR="Green"]CodeSnippet attached below[/COLOR].[/B][/U] Usually all know about the dialogs available in .net like savefiledialog, openfiledialog, printfiledialog etc; but many of us dont know about folderBrowserdilaog. Me too was unaware of it, and searched a lot to get code to open … | |
i found msoftcon.h on the book and added. when i run below program on dev c compiler linker error undefined reference to set_color(color,color) linker error undefined reference to set_fill_style linker error undefined reference to draw_circle linker error undefined reference to init graphics [CODE]#include <cstdlib> #include <iostream> #include <msoftcon.h> using namespace … | |
Ok my project is to make several shapes that are all controlled by the user as far as what size and character is used I have the parallelogram, rectangle, triangles and the even diamond. But I cant get the odd diamond. I can only use the libraries that are in … | |
Hi, I am trying to get some xml data using a jquery .post request, but it's not outputting anything. The client-side code looks like this [CODE] <html> <head> <script type="text/javascript" src="jquery-1.4.2.js"></script> <script type="text/javascript"> function cstarter() { window.einterval = setInterval("cst()", 5000); window.big = "hi"; } </script> <script type="text/javascript"> function cst() { … | |
The following code swaps values between 2 variables without using a temp variable..... i want to know the logic behind this [CODE] //#include "stdafx.h" #include<stdio.h> int main(){ int a =3, b=5; a^=b^=a^=b; printf("%d" "\n" "%d",a,b); return 0; }[/CODE] [CODE]Output 5 3 [/CODE] | |
How do i accept picture uploads unto a php webpage from a user? ![]() |
The End.