199,113 Archived Topics
Remove Filter ![]() | |
I cannot seem to solve this problem. if someone can please help me, i would much appreciate it. thanks [QUOTE]This problem is concerned with how variations of Tomasulo’s algorithm perform when they run a loop that is very common. This loop is a vector loop called the DAXPY loop (for … | |
hi friends can anyone tell me how to play videos using Windows Media Player in ASP.NET 2.0 using c#. please help, i am novice programmer in asp.net and c# | |
Hi there! Ive been working on my relational schema for a while now and just recently managed to implement it. I wanted experiment a little with it so ive decided to produce a report displaying relevant information. At the moment my schema only consists of 3 tables : a 'student' … | |
I am trying to display a crystal, from an object report in asp.net using c#. Can anyone help me out. The idea, as much as I understand is, object -> table adapter -> Data table -> crystal report viewer then population of the report file. I want to populate the … | |
Having trouble understanding the assignment please help me. Thanks so much. the assignment is available here: [url]http://is.cba.edu.kw/230/Assignments.htm[/url] it is assignment # 5 Thank u so much.. I am very confused and lost. | |
Hi , I am looking for a javascript framework which is stable first of all and supports many things like I say, i could drag and drop, sliders, do some event based effects, AJax. I think facebook got some functionalities that i am looking but am not able to make … | |
Hey guys, I've found this article showing how to manipulate itunes using java and com objects. However I dont really understand how it works, and can't seem to tell java to send a play / pause request. The event listeners works. [url]http://www.workingwith.me.uk/articles/java/itunes-com-with-java-and-swing[/url] Could someone try and expand on this? Or … | |
Hello. I'm having problems in 2 different functions: GetNth() and InsertNth() 1) For my GetNth() function, I want to take my linked list and an integer index and return the data value stored in the node at that index position. For example: {42,13,66}, the index of 1 should print out … | |
Hello, I am writing a program that will read in a pair of inputs, (P, S), summarizing the results of a code inspection. One input is the integer problem number, P, and the other is the severity level, S, of that problem. Since a typical code inspection will never have … | |
friends i have a problem. i want to find out tcp statistics(bytes recieved&bytes send). for this i used this code [CODE]dim a as system.net.networkinformation.tcpstatistics dim aa as long aa= a.bytesreceived() [/CODE] this code shows a warning as [QUOTE]Variable ‘a’ is used before it has been assigned a value. A null … | |
I'm still learning Linux, and have been for the past 7 years, but am still rusty on scripting. Can someone tell me if it is possible to create a script that will change the DNS IP address of your interface from dynamic (from DHCP) to a specific static IP address? … | |
hello all i am facing a problem when i try to add new records in to data base. first of all my tech details are given below Front end - vb 6 Back end - Microsoft SQL Server 2000 i am connecting to sql through ADODB connection ( through code … | |
I am trying to solve a tricky problem involving a sorted array. Say I have an array of sorted integers (8, 6, 4, 1) and given the value x I need to check the array to see if any two numbers add up to x. This needs to be done … | |
[code]void decryption() //this function decrypts whatever the user inputs using keys 1 - 100, providing all possible decryptions { const int MAX = 100; string code, output; char array[100]; cout << "Enter what you would like decrypted" << endl; cin >> code; //herein lies the problem strcpy(array, code.c_str()); for (int … | |
Hi, I am writing output to a file and am using ostream. I wanted to format my output and not sure how to do it. Here is some simple code. [code] int var1; int var2; ofstream out("blah.txt"); out << "Name " << var1 << endl; out << "NameofAnotherPerson << var2 … | |
Hello, First I'll like to say that this a fantastic site for newbies and I'm sure for seasoned programmers as well. I have gained a lot of insight by just reading the threads and for this I thank Daniweb. Thank you very much in advance for your expert help. My … | |
Hi, I have problem to terminate the process EXCEL.EXE after I write into it. After the program finish execute. The EXCEL.EXE is still in the proceses list in the task manager. Anyway to terminate it? Below is my coding: [CODE=csharp] SaveFileDialog s_Lvl_Max = new SaveFileDialog(); s_Lvl_Max.Filter = "xls files (*.xls)|*.xls|All … | |
Good morning everyone, Is there a way to find out [B]how many MySQL connections are on a particular page[/B]? I am limited to 50 db connections (MySQL+Linux shared server). It seems that my site cannot handle more than two people at once. I have been told by my hosting provider … | |
Hey guys, I'm having a problem with my checkers program; whenever I move the piece, it redraws the whole board and basically puts the piece back into its original position. The code is attached to this post. Thank you for your help! | |
Is there a way to Alt-F4 programatically. It will be used to close another programs window that opens wich is the topmost form on the desktop. | |
So here's my question. I'm new to python and am near lost. I've been through a few tutorials and still don't feel confident. Sure I can do whatever the tutorials say, but it's a different story when I do the whole thing myself. Here's what I would like to do … | |
Ok, so I've been working on this code for a day now and i thought I had all the kinks worked out, but my program isn't working right. I'm writing this code to simulate a game (basically a simulation of a simulation) used to illustrate some topics we are trying … | |
Hi, im doing a program in VB and i want to print my clients information. But i dont want to print a printscreen of the form, i want to print a list of all my clients on a page design by me, i know that is possible to design the … | |
Hay, I'm an undergraduate student in Sri Lanka Institute of Information Technology. And we'll have a final year project which time period is one year. It is a group project and there are 5 members for one group. Project topic must be related to IT. If any body can give … | |
please help me with this Assignment: Write a program that will read the critical path information from the attached file (ProjectInfo.txt) into 3 arrays, events, tasks and numDays and defines a 4th array called eventNumDays in which you will calculate the number of days needed for each event to complete, … | |
I am a bit confused. I am trying to make a program that will take the choices you make and display them all simular to this: Item 1. Sword Item 2. Shield Item 3. Potion Item 4. Potion but when I try to run it it looks more like this … | |
Hi, how to pass value frm javascript to jsp page. Thanks in advance... ~ ukbasak | |
Hi there, wondering if anyone is able to help me. I am making a piece of software (for a uni project not for profit) and I have pretty good knowledge of Java but not Javascript. For this project I wish to create an interface that looks like igoogle.com but not … | |
i have a div that is hidden.After calling a function i just give the code as follows for making the div visible. the code is document.getElementById("divid").style.display="block"; it works in IE but not in Mozilla(3.0.3) have any idea? thanx in advance... | |
I'm working on a problem that I thought would be common but so far I haven't been able to find a good solution. I need to create a scrolling map that works similar to google maps (only more simplistic). The page will display a 500X500 pixel image which is itself … | |
I have a GUI app which in which I need to pass a value from an array to a List... here is what I have... The problem occurs when I try to pass the array element to the ActionListener... im not sure exactly how to do it... [ICODE] import java.awt.*; … | |
Hi All I have a google code project running at the moment to develop a simple-standards web-based slides show system (code.google.com/p/easyslides) At the moment there are several .css and .js files as well as images in one folder and a seperate HTML file. I want to be able to provide … | |
Can anyone help me please? i need to create a program in which you enter a distance and the program will tell you how long it will take to get there in hours minutes and seconds. My trouble is that they all display independently and not seperately ... for example … | |
Hi, everyone. I am doing a performance test on the heapsort. I wrote this program and it has a run-time error that I cannot explain. I am compiling on Microsoft Visual Studio 2008 and this is the error. HEAP CORRUPTION DETECTED after Normal Block ... well, I think that the … | |
I'm really not understanding what's going on with the array in this. Here's the question. The following code totals the values in each of the two arrays. Will the code print the correct total for both arrays? [code] int total = 0; int count; for (count = 0; count <= … | |
Hi, I am new to java and would really appreciate it if someone could look at the code I have attached. This is part of a java lab assignment that I have got to do for university. For reference, I have also uploaded the lab file. I am trying to … | |
Here is my code I'm pretty sure the problem has to do with using namespace std and the included header files but I can't figure it out (error string no such file or directory in .h, error iostream no such file or directory in .h,error syntax error before namespace) box.h: … | |
Is there an API I can use to program a flow diagram? My need to develop a table flow diagram from database data collected in a excel spread sheet. I need to parse the table joins and generate a flow diagram. The program is an attempt to keep our diagrams … | |
I have code but when I want to gather my widgets under same wx.StaticBox I fail. I wonder what is wrong! Please someone to corrrect me! [CODE=python] #Add static box to hold related widgets--- it otherwise does nothing holder1 = wx.StaticBox(mpanel, -1, label="Transactions", pos = (10, 10), size = (300,300)) … | |
Hi I have a form which adds data to a dataset, which can be viewed in a datagrid as it happens and then they finish and this adds it to the database - but after a short while the data that was added seems to rdissapear ffrom the database! Wondered … | |
Main.cpp This is where the problem lies. [code] #include <iostream> #include <time.h> #include <math.h> #include <iomanip> #include "LinkedList.h" #include <fstream> #include <string> using namespace std; void main(void) { LinkedList Customers; Customer* newCustomer; Entry* test; int i = 0; newCustomer = new Customer(1001, "Olly", "07/10/1988", "17 Bob Lane", "Hobbs Road", "UB3 … | |
Hi Have written this code for a program that requires the user to either enter 1 or 2 dependant on whether the program solves the problem of finding the divisors of any given to numbers by recursive or iteration methods. [code] #include<iostream> using namespace std; int recursiveGCD(int ,int ); int … | |
Okay, I cannot figure this out. I still get the same error: [QUOTE]Error 1 error C2039: 'function' : is not a member of 'D'[/QUOTE] Here's what I have: Class A.h: [CODE] #pragma once #include <string> using namespace std; class D; class A { public: void function(string s); friend class D; … | |
In the JFrame I have two components JMenuBar and JPanel. A selection in one of the options in menu bar change the content of panel as [code=Java]JMenuItem jmiAddEmployee = new JMenuItem("Add Employee"); jmiAddEmployee.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent ae) { mainPanel.removeAll(); mainPanel.add(addEP); validate(); } });[/code] This will replace the content, … | |
Hello everybody, Please Solve my some problems.I would be very thankful to you. [B]Problem # 01[/B] Show the trace of partitioning algorithm on this array, 5 3 8 6 4 7 3 1 [B]Problem # 02[/B] If you’ve to compare three values i.e. a1, a2 and a3 then make the … | |
Hi: I need some assistance in this code. I am trying to get this format. 1 .2 ..3 ...4 and so on.. i dont get any errors in the code but i get no o/p eitehr [code] #include<iostream.h> int main() { int i; cout.fill('.'); for(i=i;i<10;++i) { cout.width(i); cout.fill('.'); cout<<i; }}[/code] | |
Can some someone help me with a code to create a new Excel workbook and send data to the workbook using[B] java[/B].Please help me. | |
I want to know how to call the above function ??? [code] import java.awt.*; import java.applet.Applet; import java.awt.event.*; public class GridDrawingApplet extends Applet { public void paint (Graphics g) { // Draw the vertical lines: g.drawLine (0,0, 0,240); } } public static void main(String []args) { // now i want … | |
Hi i have made a stupid mistake in my code which i cannot find,and i am getting this error Parse error: parse error, unexpected T_STRING in /home/content/d/r/a/dragun/html/vote.php on line 107 According to my eye sight it should be o.k. but apparently not. Can anyone give a helping hand. As far … | |
Ok ... after receiving some great help and education as to how to design a relational database, I went on to try and create the front end for one. I am learning here so bear with me. To put this into context, so you know, I am using DreamWeaver and … |
The End.