199,114 Archived Topics
Remove Filter ![]() | |
My program requires users to be able to right click a tab and then close it, but I can't do this when the right clicked tab doesn't select. Any help would be nice, thanks. | |
Hey, So I have a *NIX box (CentOS 5.5) which runs a number of background processes, I leave it on 24/7 with just a terminal up on the screen (I don't have Gnome, KDE or any similar graphical frontend, just a prompt). Is there any way to get my background … | |
I have an implementation question. I am trying to have a rectangle change color based on the position of four sliders. (Alpha, Red, Green, Blue) I am attempting to use a dependency property to combine all four values, convert them to a brush, and apply the brush to a rectangle. … | |
Hi All, i want to know what is the use of const volatile variable, where exactly it is required to use. | |
Can I somehow use the following code to remove all the elements of a binary tree? [CODE] void BinarySearchTree::remove(int d) { //Locate the element bool found = false; if(isEmpty()) { cout<<" This Tree is empty! "<<endl; return; } tree_node* curr; tree_node* parent; curr = root; while(curr != NULL) { if(curr->data … | |
I want to create facebook style friends system How to send,accept and manage friendship? can anyone help me? Thanks. | |
hello everyone.I have a question. I saw this question in a site and tried to solve this but I have no idea can you help me? Write a recursive function (use no while loops or for loops) that prints all the elements of an array of integers, one per line. … | |
Hi i don't know if anyone can help me or not?? i have an assignment about java dice game and here is the instructions: This program will simulate two people playing a two dice game. The objective of this game is to be the first to score 100 points. The … | |
Hello, We are trying to control 8 7-segment displays by using multiplexing. The problem we have is that we have to program buttons, how can we make it? Best regards, Floris /* Ansteuerung von drei 7-Segmentanzeige im Multiplexbetrieb * Gemeinsame Anode, PB0..PB6 * Spalten: PC0..PC2 * * a * f … | |
I'm working on a tcp sever that recieves a message plus font, font size, text color, and background color, and direction to scroll. I have all of this working now, but I don't have the sever being able to recieve new messages and so forth. I need to get the … | |
Hi, I have created a simple shopping cart using session array, selected products are stored in the table. So far I have no problem! I wish to remove (using x) individual product from the table/array, but I cannot access it. Is anyone SESSION expert who can help? Thanks in advance! … | |
Hi, Okay, I really need help with this program please... I have to create a program which; Contains a function called sumN() which takes an int n as an argument and returns an int which is the sum of all integers between 1 and n. In the main() it asks … | |
I have a problem that I am working on, and it is to find the shortest path on a grid, when you are given a start point, an end point, and a list of obstacles. I managed to set up a grid by using a vector of vectors, but I'm … | |
Hi All, I am trying to loop through the values of a dataset. Using a 3-tier architecture...so the dataset is created in the BLL. Now i want to retrieve its values and proceed with my desired functionality for each value of the dataset. Can somebody help as I am new … | |
hai can any one help me to write the codings for hospital management in visual basic on basic forms of bloode donation list,admission form,etc | |
Hi. I am working on a visual C++ app and I was wondering if it is possible to use PostgreSQL for database interaction instead of the default SQL Server? I saw a connector for .NET but it's written in C#, will that work for a C++ app also? Or is … | |
I need to iterate through an array, starting with the first element, in chunks of, say, 5, then break off and do something else with the array, then go back to where I left off. I'm confused about how the array counter, using next, or current etc. would work. How … | |
I'm working on a mysql server 5.0.45 hosted on linux RHEL 5.0. 1. I've 2-tables as below: [INDENT]table1: acct_no VARCHAR(15) column1 varchar(10) table2: acct_no VARCHAR(12) column2 varchar(10)[/INDENT] In both the tables, there are many rows with identical A/c nos. 2. Of the below 2-queries, only the second one works. [INDENT][COLOR="maroon"]SELECT … | |
Can anyone please help me with installation of oracle 11g on windows 7 home basic 64 bit? On prerequisite check its giving an error that "this version is supported by os version up to 6.0 only and not by this version 6.1" | |
hi actually nowadays i design my website to make as a marketplace,but i don't have any idea about how the space is alloted to user or make a new table in database for the user . i mean when user register then how they store his information,upload pics etc. into … | |
What do i do if i have code for insert.when i insert the data it shows when i click the SHOW button(when I enter a serial number and then click SHOW it shows the data) it works but when i stop the system and run it again it does not … | |
I haven't needed to use fscanf before, so I'm not very familiar with it... Everything is working fine except that the numbers it inputs are not what's in the file and they are all the same number (-9.255959e+061 to be specific) I know exactly how the files are formatted they … | |
I am new to vb. I am trying to get a value for a textbox from a database according to the selected item in combobox. but i had this ex.message Operator '&' in not defined for string "select*from ......" and type 'dtarowview' Could anyone please tell me what is wrong … | |
today, I want to transform "c:\*\``"(it is a rout) to "c:/*/''" yes, just from "\" to "/" but it is always missed ,for example "\n" to "enter" and how can "c:\*''" just be "c:\*''" without changing ? thanks a lot! | |
Hi there recently I received help on how to ensure that a user don't close a form before he/she completes all outstanding entries on a calendar. That works perfectly, but now the problem is I have to complete all entries up to say the year 2020. I only want the … | |
using records and types Create a program that will allow a user to store a set of triangle measurements, triangle name, triangle total size and date triangle was entered. Your program will allow the user to enter the size of various triangle and measure their area. The user should also … | |
I'm trying to use this code to grant the current user full permissions to access System Volume Information: [CODE] //It works when manually written in cmd cacls "E:\System Volume Information" /t /e /g %username%:F //but using this formula to make the command window hidden does not work(doesn't give the permission … | |
Hi Everyone I have used a drop down and a label. I want on the selection of the drop down data should be viewed on label. [CODE]ex: if user select value from drop down (Apple) so on label it should print (50 per KG)[/CODE] Data should come from sqldata and … | |
hi all, I am working on a small assigment but this code just wont work. I dont know what the problem is. Can anyone please debug it.[code]var xmlhttp; function listFriend(){ xmlhttp = false; /* For Firefox*/ if (window.XMLHttpRequest) { xmlhttp = new XMLHttpRequest(); } else /*For IE*/ if (window.ActiveXObject) { … | |
Hi Everyone, Can somebody help me out in this problem. I am getting a value from 1 page to another through $_GET[]. When I redirect to other page it shows me its value in URL as well as in a query where I am using it further as this. Here … | |
how i can upload and store image to a specific folder | |
hi. a blind web site designer using the jaws for windows screen reader from [url]http://www.freedomscientific.com[/url], and now downloaded and installed wamp server 2.0, and got word press. as started a full blown star trek application using visual web developer and my sql epxress 2008, but now want to change to … | |
Hi all, Hopefully a quick one. I have some weblogic build scripts that configure a WebLogic Server environment. Previously DB connection credentials have been allowed to be stored in build property files. However new security regulations mean that this is no longer possible. I am trying to write a prompt … | |
[CODE] #ifndef POLYNOMIAL_H #define POLYNOMIAL_H class Polynomial { public: Polynomial(); Polynomial(int ,int []); ~Polynomial(); const Polynomial operator+(Polynomial& p) const;// addition const Polynomial operator- (Polynomial& p ) const; // subtraction int getExponent(); //void setExponent(); void setCoefficient(); int getCoefficient(); void printPolynomial(); private: int exponent; // exponent int coefficient[ 10 ]; // coefficients … | |
Okay heres the background on the code. I've written a code that prints a 10x10 array or random numbers. Then prompts the user to pick a number. After user picks a number, the program then tells user the number of times number was found in the array and supossed to … | |
Hi, I am developing a web crawler using java. I have implemented it to some extent, like I have developed program which parses all the hyperlinks from the entered URL and and visits each link one by one and iterates this process. Now I want to parse all the visible … | |
Hey guys, I seriously need some help here. I have no idea why but after undergoing the Rotation phase I lost coordinatesRotZ[a][0],coordinatesRotZ[a][1]. The value appears to be 0.0 However coordinatesRotZ[a][2] has values stored in it. so the output looks something like that after printing: coordinatesRotZ[a][0] coordinatesRotZ[a][1] coordinatesRotZ[a][2]: 0.0 0.0 13.44 … | |
Greetings all! For some reason the following code does not work in Firefox and Opera: target="_blank" The above code works fine in IE and Safari. But when I close a web page that includes this code in either Firefox or Opera the entire browser closes - not just the one … | |
I am experimenting with the use of WMI from within Delphi. Appears quite simple really however I am running into a problem where the amount of memory used by my application keeps growing. In my sample code below the SendPing() function is executed once every second by a TTimer.... each … | |
I would like to learn how to save a JInternalFrame. Currently reading through Serialize info. I have never ran the app outside of Netbeans. I have had no success with creating the jar for the app (JDesktopPane). Now Serialization is adding to the confusion. Do I have to have the … | |
Hello, I am at the end of my first C# programming class. I am working on some extra credit. Having problems with my loops. I am supposed to get output looking exactly like this: Bark Bark Meow Bark Meow Bark Bark Meow Bark Meow Bark Meow Bark Meow Bark Bark … | |
Hi I have created a code to create excel macro in C#.But while trying to create a new VBA code module i am getting a error.The code that i have used is [code] module = excelWorkbook.VBProject.VBComponents.Add(VBIDE.vbext_ComponentType.vbext_ct_StdModule); [/code] this part of the code is throwing an error. Error 1 The best … | |
Here's what I made to test how python works.... test.py: [CODE=python] class ECollector: #error msg collector #this class should be used as 'global' msgs = [] def addmsg(self,msg): self.msgs.append(msg) def clear(self): self.msgs = [] class test(ECollector): dcodes = [] ECollector def new(self): ECollector.addmsg("test!") [/CODE] And I typed the following on … | |
ok guys one quick question for you. If im reading a file say formated like so.. 123 d52.55 w52.66 d55.55 d66.66 456 w55.55 d55.55 d66.6 and i want to read the first variable so 123 and match it up with another file. how do i go about reading the rest … | |
Hi, can some kind soul advise me on my coding cos it does not seem to work. [CODE] private void DisplayText(object sender, EventArgs e) { textBox1[COLOR="red"].Display[/COLOR](); if ([COLOR="red"]10<x && x<294[/COLOR]) [COLOR="red"]&&[/COLOR] [COLOR="red"](-5<y && y<13[/COLOR]) && (-12<z && z< 228)) textBox1.display("It has moved inwards"); else if (-53<x<-265 && -11<y<37 && -57<z<218) … | |
[CODE]<?php require_once('database.php'); $query="select * from news"; $result=mysqli_query($dbc,$query); while($row=mysqli_fetch_array($result)){ $Title=$row['Title']; //$Content=$row['Content']; echo $Title; echo "<a href=''>$Title</a><br>"; } ?>[/CODE] [QUOTE][B]Hi friends.... [B]I have a table named news which contain columns such as Title, Content,NewsId and many more. I want to display titles in form of link and [COLOR="Red"]when we click any link … | |
#include <iostream> #include <fstream> #include <iomanip> #include <string> #include <ctime> using namespace std; void pickword (); int wordlength (); void printout (); void gameplay (); void totalgames (); void replay (); int main() { string guessed=""; string scaffold_top="______"; string scaffold_pole=" |"; string scaffold_bottom="_|_____"; string names[350]; ifstream infile; infile.open("smaller2.txt"); int counter; … | |
I am having problems with the output of my program. The progam should Design a class named Employee. The class should keep the following information in fields: Employee name Employee number in the format XXX-L, where each X is a digit within the range 0-9 and [INDENT]the L is a … | |
Error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 29 bytes) Though I have set memory limit 96M in php.ini Can anyone give the solution. | |
Hi, I'm working on a project which requires some sort of 'connection' between 2 (or more, actually) clients. Basically one person should be able to send data to another person with their webbrowser, somewhat comparable to a instant message system. My first idea was using XHRs to send data to … |
The End.