199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hisan
Member Avatar for Gribouillis
0
7K
Member Avatar for mayank.dyl

m unable to run executable jar.I created one on swing based prgm using command: jar cmf my.mf demo.jar *.* .....problem is this that it does not show everything added on Jframe..it just shows a frame and no buttons,textfields,etc which i have added... waiting for a good response..!!

Member Avatar for Killer_Typo
0
90
Member Avatar for teedoff

Hi I have created two tables in MySQL using Navicat. When running an update query, I noticed that first, when I am entering a price for a product, the price is rounded to whole numbers it seems. Secondly, one field that I enter data in to be added to the …

Member Avatar for teedoff
0
137
Member Avatar for sabareesh

[CODE]void String::operator+=( String &pData) { int nLen = 0; // for store length of string // check string is null or not if(pData.m_pText != NULL) { // length of string nLen = (int) strlen(pData.m_pText); } // Total string length int nTotLen = m_nLength + nLen; //object of string class String …

Member Avatar for sabareesh
0
139
Member Avatar for bkendall

I am trying to debug a form that is basically a popup where the user enters a date and then two more dates are generated based off of date and the user can then edit those dates. When the user tries to save the second set of dates the "Element …

Member Avatar for arrgh
0
1K
Member Avatar for glamourhits

Here Is My Code i am done with it and it works fine but i want to make this run in loop . like i want this program to ask Would you like to enter another Student Grade <Y/N>... Here Is the Code .. If Any 1 Can Help Plz …

Member Avatar for glamourhits
0
219
Member Avatar for nolife

hello every body i just join us so ..... i have a little problem with a variant , i call in first step : "variantClear(&bbvariant)" and after when i call a member of my bbvariant " _bstr_t (bbvariant.bstrVal).length() " is not equal to 0 , so i want to someone …

Member Avatar for nolife
0
695
Member Avatar for tommytom70

I'm really new to javascript how do I make it that when I click a button a number on my page in the <p> tag with the Id of num gets 1 added to it so it i like 2,3,4,5 each time I click

Member Avatar for tommytom70
0
174
Member Avatar for lightningfire

I'm trying to learn c++ and am trying to use classes. I'm doing something wrong but can't figure this out. Here's the code: [CODE=c] #include <iostream> using namespace std; class dead { public: void dieNow() { cout<<"You just died!"<<endl; cin.get(); } }; class alive { public: void youLive() { cout<<"Whew! …

Member Avatar for lightningfire
0
159
Member Avatar for cjmartin

In my application I use a class that extends a JDialog. When my application encounters certain errors this diaglog should popup with the appropriate message. The problem I have is that after the message appears, when I click the OK button, the message reappears one or sometimes two more times …

Member Avatar for cjmartin
0
157
Member Avatar for somesh_nag

We have developed a website which connects to a third party Server and sends a request with some data, and receives the result and displays in our Website. We used IIS server to host this site. How this IIS server handles if two different users send data to server simultaneously? …

Member Avatar for eyal_elkevity
0
138
Member Avatar for dietdew12z

I don't know if there is something unstable about using $_SESSION variables or not, but I've written user management scripts for my website, most of the time everything works okay but sometimes my server goes off on it's own and I can't load any pages on my server until I …

Member Avatar for dietdew12z
0
313
Member Avatar for NH1

Im having a little bit of trouble with an update statement. if any one could take a look at it and help me with what im doing wrong that would be great. [code=c] private void button6_Click(object sender, EventArgs e) // Button6 is OK { ///////If Null///// if ((textBox1.Text.Length == 0) …

Member Avatar for Geekitygeek
0
107
Member Avatar for terrymold

Hi everyone This is my first post here and it would be great if someone could help me with this small problem. I have a PHP script which inserts form data into a MySQL database. But clicking on the Submit button produces the following error:- [COLOR="red"]Database ERROR: You have an …

Member Avatar for hielo
0
105
Member Avatar for seh1

Hi, I have a bunch of uploaded files in a folder. Now I want to be able to get the names of these files that are stored in the folder using PHP so that can I create direct links to each file from my page. ie can PHP read the …

Member Avatar for mschroeder
0
171
Member Avatar for niche1

[url]http://www.lincolnsrealdeals.com/loc2f.php[/url] produces three javascript errors: Line 49, Column 27: character ";" not allowed in attribute specification list Line 49, Column 27: element "innerdivs.length" undefined Line 54, Column 9: end tag for "innerdivs.length" omitted, but OMITTAG NO was specified What are the errors really saying?

Member Avatar for niche1
0
91
Member Avatar for macdonald12

Hello people, On my site i am using a .htaccess file with a simple rewrite rule: [code] Options +FollowSymLinks RewriteEngine on RewriteRule ^servers/(.*)/ index.php?action=servers&id=$1 [/code] Allowing visitors of my site to use [url]www.example.com/servers/1/[/url] - which will grab and display the correct page from [url]www.example.com/index.php?action=servers&id=1[/url] In the index.php file, there are …

Member Avatar for sourcebits
0
191
Member Avatar for deni_bg

Hi everybody, I don't understand waht does bigint(20)in MySql means. First I thought bigint(20) means number from 0 to 99999999999999999999 digits, but I made a test with bigint(2). I thought bigint(2)=number from 0 to 99, but it's not. Did you know anybody? I'll be happy to know. Thank you :)

Member Avatar for sourcebits
0
430
Member Avatar for abbyadnez

hi guys, pls can someone pls help look into this code.. i'm trying to create a code that will add data into the database.. after inputing, its giving me the "ERROR: Please fill in all required fields!" error [CODE]<?php /* NEW.PHP Allows user to create a new entry in the …

Member Avatar for Zagga
0
121
Member Avatar for starlight849

Hello, I am having a problem. I am filling a datagridview straight from an oracle sql query. The datagridview is filling properly using this code. [code] Try cmd.CommandText = "SELECT *" & _ "FROM oracle database Dim da As New OracleDataAdapter(cmd) Dim DMdt As New DataTable da.Fill(DMdt) If DMdt.Rows.Count > …

Member Avatar for starlight849
0
110
Member Avatar for visweswaran28

Hi, I am using DataGrid, Now I want to know to get all values from that Datagrid. How can I acheive. Thanks in Advance, Visweswaran V

Member Avatar for jbisono
0
132
Member Avatar for Perlhelp

Hi All, I have two files to compare. Each has 10 columns with first 4 columns being key index together. The rest of the columns have monetary values. I want to read one file into hash; check for the key value availability in file 2; then compare the values in …

Member Avatar for Perlhelp
0
396
Member Avatar for diyez treze

hi can you please improve my code.. thanks hope you can all help me... here's my codes: import java.util.Scanner; public class NumberToWord { public static final String[] DIGITS = {"one", "two", "three", "four", "five", "six", "seven", "eight", "nine"}; public static final String[] TENS = {null, "twenty", "thirty", "forty", "fifty", "sixty", …

Member Avatar for jon.kiparsky
0
143
Member Avatar for anuradha.d

I am trying to insert mutiple checkbox list values in my sql database in single column..only one value is inserting because of insert statement.i want multiple values to be inserted.For loop is not working..Any help would be appreciated. Here is my code... for (int i = 0; i < CheckBoxList1.Items.Count …

Member Avatar for Geekitygeek
0
843
Member Avatar for sanam2010

[I]Hello every body,[/I] I have a question, pls help me, thanx in advance. I am searching the response of these two questions: ?If we need to have a framework for a bank (banking business)it is better we use .net technilogy or java? (ehich one is preferable?) [I]Regards[/I]

Member Avatar for masijade
0
120
Member Avatar for anupama96

i have 2 pages reg.aspx and home.aspx where in home.aspx page i have reg and signin link buttons and reg.aspx has a wizard control(consists of registration form, login form and forgot password form). when i click on signin button it has to redirect to reg.aspx and in the wizard control …

Member Avatar for anupama96
0
100
Member Avatar for drunkenmonk

I'm writing a lite version of the stty command for school, and I keep getting this error at compile: showtty.c:40: error: expected ‘;’, ‘,’ or ‘)’ before ‘&’ token My code: [CODE] #include <stdio.h> #include <stdlib.h> #include <termios.h> /** ** showtty ** displays some of current tty settings **/ main(int …

Member Avatar for sree_ec
0
164
Member Avatar for omg0000

i have a .jar file that i want to run one certain computers on the network. Since these comps are changed out sometimes i wanted to add the java jdk that is up to date, the jdbc connector, and my .jar. I also have a batch file that copys and …

Member Avatar for stultuske
0
85
Member Avatar for bow103

Hi all I am in need to of some help. As I just sorted out a loging scritp to. I can't seem to add a downloading counter within the members page. So say for example after when the user logs and then wants to view the speacial page the download …

Member Avatar for bow103
0
146
Member Avatar for hajjo

I am copying from microsoft word a simple word into my application(rich text editor).. i get special characters added to it. how can i get rid of them? how can i solve the issue? thank you

Member Avatar for hajjo
0
67
Member Avatar for lisles

im trying to open a document...but every time i get a dialoge box asking if i want to pen,save or cancel.i just want to open the document.can someone tell me wot im doing wrong?here's my code [code] if (objView.extension == ".pdf" || objView.extension == ".xls" || objView.extension == ".xlsx" || …

Member Avatar for Ketsuekiame
0
115
Member Avatar for Kshawn

I want to call a 'C'api called BUICInit() in vendors dll from java using JNI.but the generated function name using javah is java_classname_API().so I kept my own dll and from my dll i called vendors dll.. I used loadlibrary()/getprocaddress()..it is working but is there any possiblities with out using getprocaddress …

Member Avatar for Kshawn
0
241
Member Avatar for Sunshineserene

Hi, I have a problem with my codes now. I've actually extracted the column of information that I need from a text file. However, now I need to convert the output of the file to something that I specify, but I don't know how to do it. It is actually …

Member Avatar for JamesCherrill
0
175
Member Avatar for Kish85

[CODE] Private strConnection As String = _ "Provider=Microsoft.Jet.OLEDB.4.0; " & _ "Data Source= C:\Users\KISH\Documents\Visual Studio 2008\Projects\Final Year Project Learning program with HCI\Final Year Project Learning program with HCI\Database2.mdb;Persist Security Info=False" [/CODE] the porblem i have is if i send this porgam to anthoer computer, the program will not work. how …

Member Avatar for vbhelp
0
71
Member Avatar for Don_leon

when i try to add a new data source halfway through the add new data source wizzard it gives me this error ------------------------------------------------------------------------------------- un expected error has occurred error message: Could not load type Microsoft.visualStudio.DataDesign.SyncDesigner.SyncFacede.SyncManager,from Assembly Microseoft.VisualStudio.DataDesign.SyncDesigner.DslPackage Version=9.0.0.0 culture=neutral,PublicKeyToken=b03f5f7ff11d50a3a'. ------------------------------------------------------------------------------------- is there any way pass this because it will not …

Member Avatar for Geekitygeek
0
137
Member Avatar for campbell.st04

Please help me with this program. I can't figure it out. This is my previous work and I've been asked to modify it with the objectives below. Given Script: Main (Class1.cs) using System; namespace Assignment1 { class Class1 { [STAThread] static void Main(string[] args) { Dwelling x = new Dwelling(); …

Member Avatar for Geekitygeek
0
148
Member Avatar for ruwanaru

i got this error in my code in my hosting account plz help ti solve it [COLOR="Red"][CODE] "Error connecting the database"[/CODE][/COLOR] this is my connection codes [CODE]$MYSQL_SERVER='jsnf.db.6477609.hostedresource.com'; //sessions not need for this one $MYSQL_USER='jsnf'; $MYSQL_DB='jsnf'; $password='[removed]'; mysql_connect($MYSQL_SERVER,$MYSQL_USER,$password) die("Error connecting the database"); mysql_select_db($MYSQL_DB) die("Error Selecting the database");[/CODE] this information give me …

Member Avatar for pritaeas
0
101
Member Avatar for Avasulthiris

Hi everyone, I'm pretty new to Mobile Development. I'm a final year student and this is my first major project that might just get me a job for next year. So I'm very keen on getting it working! Pleeease help :) As far as I understand - I need to …

Member Avatar for jfoo111
0
264
Member Avatar for Venom Rush

Hi all I have multiple select boxes that have various options such as 'bangles', 'rings', 'earings' etc and I have a div that doesn't display until an option has been selected from one of the select boxes. If the option 'rings' is selected I don't want to display the div …

Member Avatar for Venom Rush
0
168
Member Avatar for LRNPHP

Hi everyone. Could some assist me? I have a link. [code] <a href="index.php?make=<?=$mead_make?>&model=<?=$model?>&veh_id=<?=$vehicle_id?>">Add to Cart</a> [/code] This HREF link is generated by a for loop from a mysql DB. All I want to do is add the veh_id to a array and keep adding them to a array until I …

Member Avatar for vibhaJ
0
96
Member Avatar for belle carin

[COLOR="Green"]hi Im just newbie here. I want to ask help from you guys, about on how to use the listview functions in vb.net. I also just starting to study about the vb.net for my object-oriented programming. Please help me in writing the codes for a simple listview. thanks in advance..... …

Member Avatar for belle carin
0
84
Member Avatar for Mylsamy

Hi all, I am using Netbeans for Java and MySql to Store my Datatbase, I get inputs from User and Encode the String input and Store the Data in my Database , My Problem is Some Strings are Stored as '??????' in my database. I am using code for Encoding …

Member Avatar for Mylsamy
0
133
Member Avatar for Agent Cosmic

Is it possible to read an audio file, like an mp3 song, and see the details of the sound like decibels, pitch and bass during different intervals of the song? Also, is it possible to do this with Silverlight (C#)? Thanks.

Member Avatar for JamesCherrill
0
114
Member Avatar for Mueni

i need help . what are the codes for importing data from access and creating a text file which you save to a certain name. and this text file gets specific information by search. And can all that be done in one button?? Thanx:confused:

Member Avatar for peter_budo
0
71
Member Avatar for jjhames

[CODE] Make a java program that will accept 10 int as an array[10] index=10 and find the following using these methods find the mode,median,mean method... /* here's my code.. */ import java.util.*; public class List2 { //instance variables private int items[]; private int count; static Scanner cons = new Scanner(System.in); …

Member Avatar for javaAddict
0
131
Member Avatar for jjhames

Make a java program that will accept 10 int as an array[10] index=10 and find the following using these methods find the mode public int mode() { } find the mean public double mean() { if even add the two median.. } find the median public double median() { } …

Member Avatar for masijade
0
162
Member Avatar for fourty

I created a form to calculate sign in time, sign out time, and the elapsed duration. Below is my code. CAn anyone please tell me where i dont get it. Sign in time is OK,Sign out time OK but the worked hrs is not.. Any Help??? Option Explicit Dim signin …

Member Avatar for fourty
0
132
Member Avatar for aaronmk2

I want to center this. [CODE]cout<<a<<" "<<"+ x = "<<b<<endl;[/CODE] a and b are both int. How would I go about this. Most of the information I found on the web is about centering strings, I tried the code but did not have any success.

Member Avatar for Nick Evan
0
170
Member Avatar for DealthRune
Member Avatar for lionaneesh

I am trying to solve the problem Present at [url]http://www.codechef.com/problems/INTEST/[/url] I have made a small Python script to do my job :- [CODE]array = [] no_lines = 0 no = 0 j=0 div_no=0 no_lines = input() no = input() temp = no_lines while(no_lines>0) : i=0 i = input() array[j] = …

Member Avatar for TrustyTony
0
809

The End.