199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for zarifin99ska

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.

Member Avatar for zarifin99ska
0
94
Member Avatar for Steve_Jones

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 …

Member Avatar for Steve_Jones
0
103
Member Avatar for keweul

//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) …

Member Avatar for keweul
0
239
Member Avatar for 080346

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

Member Avatar for kramerd
0
103
Member Avatar for LianaN

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", …

Member Avatar for LianaN
0
180
Member Avatar for muneer_alam

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 …

Member Avatar for mahmoud_wow
0
154
Member Avatar for mannyaz

please am writing my final year project on design and implementation of an xml database. pls i need any help i get. thanks.

Member Avatar for cale.macdonald
0
85
Member Avatar for milenio

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, …

Member Avatar for iceandrews
0
245
Member Avatar for nonshatter

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, …

Member Avatar for mschroeder
0
138
Member Avatar for exception

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 …

Member Avatar for PoisonedHeart
0
177
Member Avatar for tgifgemini

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 …

Member Avatar for cschrishoo
0
473
Member Avatar for judithSampathwa

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 …

Member Avatar for judithSampathwa
0
263
Member Avatar for pinkygirl

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() …

Member Avatar for masijade
0
279
Member Avatar for hmdb

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 …

Member Avatar for masijade
0
126
Member Avatar for 080346

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...

Member Avatar for Dean_Grobler
0
139
Member Avatar for vincezed

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 …

Member Avatar for vincezed
0
115
Member Avatar for arjen

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 …

Member Avatar for arjen
0
105
Member Avatar for poornimashobana

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

Member Avatar for melessa
0
87
Member Avatar for PaulStat

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 …

Member Avatar for PaulStat
0
69
Member Avatar for amitchawla

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 …

Member Avatar for rohand
0
126
Member Avatar for sree_ec

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

Member Avatar for itpungaraja
0
241
Member Avatar for shrikant76

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(); …

Member Avatar for rohand
0
931
Member Avatar for niths

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 …

Member Avatar for paulrajj
0
160
Member Avatar for bokr66

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 …

Member Avatar for bokr66
0
375
Member Avatar for nsam

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 …

Member Avatar for nsam
0
1K
Member Avatar for hoganmadman

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 …

Member Avatar for fdsa99
0
446
Member Avatar for pandaEater

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 …

Member Avatar for gashtio
0
381
Member Avatar for trilithon

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. …

Member Avatar for trilithon
0
104
Member Avatar for rinkuburagohain

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.

Member Avatar for rinkuburagohain
0
130
Member Avatar for ladeana1

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 …

Member Avatar for Michel88
0
145
Member Avatar for Vllinator

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 …

Member Avatar for Vllinator
0
143
Member Avatar for simple dude

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 …

Member Avatar for simple dude
0
137
Member Avatar for mrnutty

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 …

Member Avatar for csurfer
0
125
Member Avatar for swathys

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 …

Member Avatar for Oxiegen
0
124
Member Avatar for ahmedeqbal

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 …

Member Avatar for ahmedeqbal
0
105
Member Avatar for absoluthamm

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 …

Member Avatar for GeekByChoiCe
0
162
Member Avatar for terrymold

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 …

Member Avatar for terrymold
0
115
Member Avatar for arunpatyal1987
Member Avatar for dfxover
Member Avatar for dschuett

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 …

Member Avatar for vibhaJ
0
177
Member Avatar for lionaneesh

[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(); …

Member Avatar for Ajinkya Naik
0
168
Member Avatar for aizel

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 …

Member Avatar for fredrickprem
0
180
Member Avatar for mpc123

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 …

Member Avatar for pritaeas
0
140
Member Avatar for Puster

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, …

Member Avatar for pritaeas
0
1K
Member Avatar for AntonyLini

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 …

0
311
Member Avatar for burcin erek

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 …

Member Avatar for burcin erek
0
523
Member Avatar for cpt clueless

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 …

Member Avatar for cpt clueless
0
126
Member Avatar for luckybutlost

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() { …

Member Avatar for Taywin
0
110
Member Avatar for neoraghav

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]

Member Avatar for neoraghav
0
4K
Member Avatar for taimeyj
Member Avatar for P0lT10n
0
158

The End.