199,114 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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 … | |
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. | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 = … | |
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 … | |
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 … | |
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" … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 = … | |
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 … | |
What library is there in C++ that has the ServerSocket, Socket,MulticastSocket, Datagram & DatagramSocket classes?it is java.net in java i guess :( | |
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 | |
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 … | |
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] | |
select myColumn from myTable1 union select myColumn from myTable2 | |
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 … | |
How do i store images in the database and retreive them in vb.net? Please help.... Thanks in advance | |
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 … | |
[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)); … | |
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 … | |
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........ | |
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 … | |
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 … | |
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 … | |
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.. | |
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> … | |
sorry it didnt come out properly | |
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]" … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.