199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for pradeep.singh28

Can I use more than one Resultset objects through as many Statement objects using a single Connection object...when i am doing this ,there is an error message" connection is already busy with another statement". Please help me to sort it out

Member Avatar for masijade
0
132
Member Avatar for ajithraj

pls help me to set the width of a combo in IE.....is there any way to fixe the width in IE.... In mozilla ,i fixed it using style="width:100px"; thankzzzzzzz

Member Avatar for ajithraj
0
109
Member Avatar for diyanajaafar

hello, Im doing a system to calculate student attendance to class. Now i'm having problems to grab a data from Access, use it as a value in VB calculation. Then, how to send the answer of the calculation to another [FieldName] as an updated data in Access. the formula of …

Member Avatar for cometburn
0
106
Member Avatar for davidebrownzvi

How do I unlock the forms (for editing) in a vb6 project? One form (the main one) is open, but the rest are locked and read only. Thanks for help.

Member Avatar for debasisdas
0
83
Member Avatar for gallantmon1

I just want to ask if is smart or even possible to use a switch case statement in a program where the user will not be required to input anything, but instead the program gets the input from a *.txt file. This is a suggestion by my friend, I just …

Member Avatar for WaltP
0
119
Member Avatar for heidigjr

okay, so i'm totally new to this. the purpose of my assignment is to compare two strings and to see if they're anagrams my problem is that when i run it, it compiles okay, but then i'd get a message from windows, saying that it has stopped working. er, yeah. …

Member Avatar for WaltP
0
100
Member Avatar for mjs301

I'm hoping one of you javascript guru's can help me because i'm new at javascript!!! I need to return the score from my function and have it emailed with the test results. How do i do it? here is the code: (i know it's mickey mouse but it took me …

Member Avatar for DangerDev
0
93
Member Avatar for temi2004

My company has just taken over a client website and I've moved it to a new server which we own but I'm getting a weird error which can be viewed here [URL="http://spratnets.com/site/"]http://spratnets.com/site/[/URL] I created a war file of the existing site and deployed it on this new server. I didn't …

Member Avatar for temi2004
0
126
Member Avatar for toadzky

I feel a little like an idiot for asking this but.... I have Apache 2.2 installed on my computer just to test my pages and scripts for my web engineering class. Whatever version of PHP that came with it is what I have installed. I can't even get a basic …

Member Avatar for toadzky
0
103
Member Avatar for yarita

Can anybody help me figure out how to fix this so it would come out the highest & lowest score??? #include <iostream> #include <iomanip> using namespace std; int main() { double *score; double total = 0; double average; double max = 0; double min = 0; int testscore; int count …

Member Avatar for caromok
0
144
Member Avatar for bigvic718

I am these 2 errors come up in my database and I cant figure out the problem with my code....can someone help please? here is the code. [code="PHP"] <body> <?php include("../misc.inc"); mysql_connect($host,$user,$pass); mysql_select_db($database); if($HTTP_GET_VARS['id']) { $query = "SELECT * FROM guestlist WHERE eventID = '".$HTTP_GET_VARS['id']."'"; $result = mysql_query($query); $nrows = …

Member Avatar for bigvic718
0
113
Member Avatar for mcenley

Hi friends, I have written the following program to display a specific o/p: [code=Python] def square_root(a): if a>1.0: x=a-1.0 elif a==1.0: return 1.0 else: pass while True: y=(x+a/x)/2 if math.fabs(y-x)<0.0000001: break x=y return x import math i=1.0 while i<=9.0: print i, sqrt=square_root(i) print sqrt, math_sqrt=math.sqrt(i) print math_sqrt, print ''*4, difference=math_sqrt-sqrt …

Member Avatar for mcenley
0
121
Member Avatar for 88omar

The question says Write a menu driven program that finds the minimum, maximum and sum of 3 numbers (integers). All the numbers entered should be unique. (i.e. no two numbers should be same .Check this condition) Please adhere to the following guidelines. a. Write a function that finds the smallest …

Member Avatar for Ancient Dragon
0
193
Member Avatar for LogicWeb

I'm trying to correct some W3C validation errors found at [url]www.logicweb.com[/url] I'm not a designer by trade, but I learn quickly and would appreciate help on this. The code used for the view packages button is below, and the one that caused W3C errors [code] <div id="view_packages"> <h4><a class="view_packages_button" href="/services/hosting.php" …

Member Avatar for LogicWeb
0
88
Member Avatar for LanierWexford

The function below will take a string(s) and rotate it a given amount(num). i.e cheer rotated by 7(cheer,7) will return jolly, and (melon, -10) will return cubed. This is an attempt at exercise 8.10 from "How to think like a (Python) programmer, and it works just fine. The issue is …

Member Avatar for jrcagle
0
199
Member Avatar for pmtheint

Hello, I'm a new learner to VB.Net and don't know much about it. Recently, the term "Stream in the context of data files" has made me think. What is it actually? I've searched for it everywhere but found no satisfactory answer to it. I may be silly to ask this …

Member Avatar for ivatanako
0
99
Member Avatar for pickachu

Im having problems with my ms acess sql command, well im trying to get the last value from the database here is my code, the error is ORDER BY clause syntax error.. [code] data.Open() record.SelectCommand = New OleDbCommand("SELECT PatientID FROM PatientRecord ORDER BY PatientID desc LIMIT 1", data) Dim ds …

Member Avatar for ivatanako
0
138
Member Avatar for sarabhjeet

Hello all, Actually i need to close a dialog automatically after 5-6 seconds. For it what should i do,please help me.I am using wxTimer self.MB = wx.Dialog(self,-1,"hello",pos=(-1,-1),size=(200,100),style=wx.NO_3D) self.SB = wx.StaticBox(self.MB,"Here description of atelier will come") self.MB.Show(True) self.timer = wx.Timer(5,self.Step(self)) self.timer.Start() def Step: if self.timer.IsRunning(): print "" else: self.MB.Close(True) Is this …

Member Avatar for jrcagle
0
158
Member Avatar for crazywoods

Write a C++ program called “HW3c.cpp” that will solve the following problem: The pressure of a gas changes as the volume and temperature of the gas vary. We are all familiar with the ideal gas equation of state which relates pressure, specific volume and temperature (Pv = RT) where P …

Member Avatar for Narue
0
157
Member Avatar for crazywoods

Your instructor wants a program that will read in a set of grades from a file called “grade.txt” (see below and is available on blackboard under assignments) and report the total number of letter grades i.e. A, B, C, D and F in the file. You program must use case …

Member Avatar for plgriffith
0
259
Member Avatar for enigmaenigma

I have txt files in russian which i need to read and trim out all the special characters like !,digits, blankspaces and write it into another file in the encoded form. Below is the code i am using for for fname in filelist: if fname.endswith('.txt'): count = 0 path = …

Member Avatar for enigmaenigma
0
100
Member Avatar for sanjayk1241@yah

Hi, I am using Borland C Compiler for preprocessing a source file. I am using the following command for preprocessing.... C:\cpp32.exe -P- -o"outputfilename" "Sourcefilename" According to my requirement i should get source file comments into preprocessed file. The above command is not satisfying my requirement. I don't which options i …

Member Avatar for mitrmkar
0
191
Member Avatar for uncertainty

What library is there in C++ that has the ServerSocket, Socket,MulticastSocket, Datagram & DatagramSocket classes?it is java.net in java i guess :(

Member Avatar for hammerhead
0
112
Member Avatar for a1eio

Hi all, Just wondering if there is a way to see if a window has been destroyed or not. eg: [code] root = Tk() bla ... bla ... if root has been destroyed: do something... [/code] thanks in advance a1eio

Member Avatar for a1eio
0
304
Member Avatar for welbyobeng

I have just finished a java code and I am having trouble with displaying each division increase or decrease from previous quarter and also a company increase or decrease from the previous quarter. Can someone help import javax.swing.JOptionPane; import javax.swing.JTextArea; import java.text.DecimalFormat; public class twoarray { /** * @param args …

Member Avatar for Ezzaral
0
96
Member Avatar for Jennifer84

I wonder if I have something like this where Replace is the same as/"contains": Number == 5. My question is if it is possible to put this: Number == 5 to a std::string in any way through Replace ? [code] #define Replace Number == 5 [/code]

Member Avatar for Jennifer84
0
391
Member Avatar for serkan sendur
Member Avatar for Jx_Man
0
86
Member Avatar for kimmyshop

I have two tables - products and productpropertyvalue I need to select multiple fields from the productpropertyvalue as it corresponds to the product id. The script I am using is select a.id, a.productname, a.siteprice, b.propertyvalue from product a, productpropertyvalue b where a.id = b.productid and propertyid=590 This allows me to …

Member Avatar for Jx_Man
0
97
Member Avatar for hemamohanraj

How do i store images in the database and retreive them in vb.net? Please help.... Thanks in advance

Member Avatar for bwkeller
0
88
Member Avatar for SolTec

I have a program that I'm building and I have a form load event that loads the data from a table, but when I try and load the data from a query I get an error. Here is my code: MyTable = MyDa.GetData() If MyTable.Rows.Count > 0 Then Dim MyRow …

Member Avatar for Jx_Man
0
140
Member Avatar for Lensva

[code] #include <iostream> using namespace std; typedef unsigned short ushort; typedef unsigned long ulong; ulong power(ushort, ushort); int main() { ushort x,y; ulong z; cin>> x; cin>> y; z=power(x,y); cout<< z; return 0; } ulong power(ushort i, ushort j) { if (j==1) return i; [B]else return (i * power(i, j-1)); …

Member Avatar for Lensva
0
99
Member Avatar for chrisdent1986

Hi I'm a final year university student and i'm running into a bit of trouble with my final year project (It's very important) My task is to create a DBA (Database Administration) tool in visual basic to allow me to add/edit/delete users from an existing oracle(sql) database. I really don't …

Member Avatar for chrisdent1986
0
64
Member Avatar for mywebworld

Pls, I need a php script that will creat complete loging page on my web page and if password is forgotten it will retrieve and send it to the user by mail. e.g loging User Name:........ Password:.......... if you forget your password Enetr email Address........

Member Avatar for Designer_101
0
99
Member Avatar for abhi287

Hi all I want to acess the rows from the excel database with first row the maximum value, then next row with less than maximum and then thired row with less than and so on.. from the same column. menas values will be displayed as -- first max,then less than …

Member Avatar for masijade
0
86
Member Avatar for null_guy

Elo guys, i have been trying to create a real-time graph for my application!! I'm using JFree_Graph! I have modifed a code so as to include a thread but eventually got errors. [copyrighted code removed] And the output is [QUOTE] Entering Thread Now = Wed Mar 12 14:58:16 EET 2008 …

Member Avatar for null_guy
0
285
Member Avatar for bradleykirby

Hi, How do I test Perl scripts in a web browser on a mac? Im using OSX 10.4.11. Ive got some documentation on how to edit the /etc/httpd/httpd.conf file, but its read only for some reason (even though Im on my own laptop). I also run MAMP and thought that …

Member Avatar for bradleykirby
0
105
Member Avatar for _::suhanna::_

would you all help me? how do i do, when i double click at item using list view then bring and display the items at textbox and option button at the another form??please help me...im in urgent...thank you so much..

Member Avatar for SolTec
0
1K
Member Avatar for newport

I'm trying to make a program that will ask the user to which file they want to sort, sort it, then output the sorted text into a user specified file. the text file will contain names and the program should make lowercase and uppercase letter the same. [CODE] #include<stdio.h> #include<stdlib.h> …

Member Avatar for jephthah
0
110
Member Avatar for fufu123
Member Avatar for leokuz

Hello! I have this simple Internet browser. It works “fine”, but I’d like part of the URL (most of it actually) to be predetermined (always same website, but different pages). For example, [COLOR="Green"]I want to be able to type only some middle part of the URL[/COLOR] & then click "[B]Go![/B]" …

Member Avatar for leokuz
0
234
Member Avatar for Zelores

Hi, I just joined today and i need some help with python. I just started using python not to long ago in my intro programming class. We have an assignment coming up and i need some help. How do you get the sum of an integer. ie: you put in …

Member Avatar for Zelores
0
197
Member Avatar for spec80

Hi, I need to write a program that reads from an input file (input_equations.txt) the values of the numbers that will be inputed into a function to find the quadratic root of the 3 numbers. For example, the input file could contain: 1 0 1 1 3 -4 2 -4 …

Member Avatar for jephthah
0
173
Member Avatar for IT Girl

Hi everybody, can you help me to solve this problem ?!! I need your help please .. [COLOR=#000000](1) [/COLOR][COLOR=#000000]Define a structure named menuItemSpecificationType that stores ingredients in a menu item (string [4]) and a brief description of the item (string).[/COLOR] [COLOR=#000000](2) [/COLOR][COLOR=#000000]Define a structure named menuItemType with four components: num …

Member Avatar for lAmoebal
0
451
Member Avatar for c++noob

So I have a program i am writing. relatvely simple, but i am not sure what to do. the first I am trying to make a program that displays loan amount, monthly payments, and number of payments based on the input (annual interest rate), (number of payments), and (amount of …

Member Avatar for lAmoebal
0
142
Member Avatar for prabhashsingh11
Member Avatar for zellex

Hello, I'm designing a C++ Program for a connect 4 game. I have the matrix set up, the test to determine if there is a winner, and now I need to design the computer to go against the player. This seems to be quite a challenge. First, I need to …

Member Avatar for mentkapto
0
1K
Member Avatar for monster597

Hello, I am new to java i am writting a small java program using threads to sort values in a array of integers. So far I have my array of integers but im having trouble writting the threads that do the actual sorting. Can anyone offer please offer me help …

Member Avatar for Ezzaral
0
102
Member Avatar for dokumen

i'm newbie here.. i'm not a programmer.. i'm really interesting with this kind of application.. it's a chat application.. it is made with asm.. it has 4 button: Join chatroom, Leave Chatroom, Kick and Send Text.. can any1 help me to modify this application so there are new feature like …

Member Avatar for jephthah
0
156
Member Avatar for kooljoycie

hi everyone, am new here and it's nice seeing all the notes u all dropped off for newcomers like me. please i urgently need help in java. started java for a while, even wrote the certification but i did not make it so i abondoned it for a while. right …

Member Avatar for Ezzaral
0
68
Member Avatar for Dilnesaw

I want to enable visitors to send the url of the page they visitied to their freinds by filling out forms. I want the e-mail to contain the url address they visited as well. I tried to use two php scripts that are freely available on the web. The two …

Member Avatar for Dilnesaw
0
166

The End.