199,114 Archived Topics
Remove Filter ![]() | |
G'day Folks. This is a general question and not a request for code. I have a client with many DTS packages on their sql server 2000. Has anyone had to migrate these buggers to sql server 2005 or 2008? Was it difficult? - After substantial googling/searching I'm not sure I … | |
ok. i am woking on a web browser for a friend of mine. everything works except for the favourites / history code, which is giving me an Unhandlded access violation. i have tryed using [CODE]Try[/CODE] but then it gives me a file not found error when attempting to append the … | |
Hi, I have a problem with filling a form dynamically. I have a form to which I add labels and textboxes. They are dimensioned globally as Label[] newlbls = new Label[30]; TextBox[] newtxts = new TextBox[30]; The first time I add controls there are four labels required. Everything works fine, … | |
Hi, I am working on some practice problems for my class and I keep getting stuck on this problem. It is using linked list, I am bit stuck. The problem is to write a function int testloop (listnode *head) that checks to see whether the list 'head' contains a loop. … | |
Here's my curiosity [code] #include <vector> class A { protected: int somedata; public: A () : somedata (1) {} A (const A& cpy) : somedata(cpy.somedata) {} virtual ~A () {} }; class B : public A { A* someobj; std::vector <A*> vec; public: typedef std::vector<A*>::iterator It; It i; B() : … | |
![]() | I have two pages, both extremely simple. One of the has some code on it which is literally an iframe with some basic CMS controls which allows the user to enter some text in it (by default it reads some pre-written text from a file and pastes it into the … ![]() |
I read some articles with regards on watermarks in windows app, but I found it to be quite complicated. What is the best way to implement watermark in textboxes? | |
Hi, i have to write a program to allow the user to input 5 candidate names and the number of votes they received, then it calculated what percent of the vote each candidate received and then ten tells the user who won. I think I've got a code that will … | |
Hello everyone. I need some help on a java project. I'm to develop a human genetic(family) tree. This is the subject: Each human cell contains 23 pairs of chromosomes numbered from 1 to 22,and a pair of sex chromosomes: XX in females and XY in man. During fertilization, the 22 … | |
Hi, I keep getting this error message. Warning: Cannot modify header information - headers already sent by (output started at /home1/lgmsevze/public_html/passion4anime/test/header.php:18) in /home1/lgmsevze/public_html/passion4anime/test/login2.php on line 31 Can sumone help me or explain to me on how to fix this issue.. I will post my codes here... Header: [CODE]<?php session_start(); if(isset($_SESSION['SESS_CHANGEID']) … | |
Hey all, I am trying to use a numeric up down object. But the problem is that I need the output to be an int since I need to feed the value as an argument for an int. Example: [CODE]public void ExampleMethod(int lala) { //stuff } ExampleMethod(numericUpDown1.Value);[/CODE] By the way, … | |
I am currently building a program where the user inputs up to 1000 numbers (-1000 to indicate the end of input), and a number of equations are to be applied. However I have encountered a problem with the "for loop" in case 1. The variables initialized and modified within the … | |
I desperately need help with a project I am working on. I need to create and implement a Binary Search Tree Header file. I am having great difficulty with this and was hoping I could find some help here. This is what I have done(note: I am aware that the … | |
This is homework. I am not asking for someone to write this code for me, just to help me understand how to solve my problem. I have to take two lists or integers inputted by the user, sorted in ascending order and combine them using pass-by-reference to return a pointer … | |
I'm having difficulty to implement a select query for my database using datagridview to bind to and textbox for searching a particular value in my table. I have this stored procedure [CODE]CREATE PROCEDURE usp_searchvisitor @keyword nvarchar(20) AS SELECT * FROM tblVisitor WHERE lastName = @keyword OR firstName = @keyword OR … | |
I have been stuck on this problem for a while, and I just can't figure it out. I'm sure there's an incredibly easy way to do it, but I'm at a loss... I need to take in this text file: Smith, M.N., Martin, G., Erdos, P.: paper name Erdos, P., … | |
I have a couple of questions about tab controls. 1. How do you access the specific tabs and edit their properties? For example if I want to change the name of tabPage1 to "blank". 2. How do you create a new tab page with code? So if I press button1 … | |
This programming project/assignment had me write a program that lets the user play rock paper scissors with a computer until the user decides to quit, at which point their score(wins, loses, ties) will be displayed. The program I have so far works, aside from the "loop until the user decides … | |
Hi there, I'm writing a function that fills the array with numbers from 1 - 52 with no repetitions basically my main problem is the second set of loops or the nested loops are, check to see if it is repeated and if it is it puts a new number, … | |
Hi I'm new with Python (I'm a genetics major who took a computing course as an elective) and I have an assignment that requires me to write a simple text based game. Its an exercise an working with lists, if, elif, and while statements. It also has to be able … | |
![]() | [CODE]# A simple calculator x=input("What do you want to do? \n 1) Add \n 2) Subtract \n 3) Multiply \n 4) Divide \n") #This is a comment, note that single line comments start with a hash '#' """'x' is a variable. The 'input' statement accepts a number where as the … |
how to write a program for raising a number to a power(integer only) (e.g 2^2=4 ; 3^3=27 etc) [COLOR=Blue][B]without [/B] [/COLOR] using a precompiled C function(ie pow()). [COLOR=Blue][B]but [/B] [/COLOR] only used addition, substraction, while loops,if statement and/or for loop. | |
Hi everyone, just started learning Java and I realized a very minor problem. I am looking to multiply an asterix "*" by a number so that it is longer. Something like: Code: [CODE] String num = ""; num = "*" * 4; System.out.println (num); [/CODE] Sould output: **** But instead … | |
Hey, I have a problem.. I'm working on my final project and wanting to do some database intigration, now I have chosen MYSQL to do it in, however, when I try and create a database (locally) it won't let me connect.. This is annoying! So, is there any way that … | |
Hi I am supposed to create a program that prints out a rectangle made of asterisks using Turtle Graphics in Java I have attached a document describing the project. My code works fine and prints fine but the problem is I cant seem to get the right sequence to print … | |
Hello, I just wrote my first code with a while loop and I am getting strange results. The program is supposed to give a Fahrenheit (TF) to Celsius (TC) conversion for every 5 degrees Fahrenheit increases between 0 and 100. It increases the value of TF just fine but in … | |
Hello everyone, I would like to know how to create a PHP file to create the following database: Database name: "dbUsers." [CODE]Name Type Addition id int(10) Primary Key, AUTO_INCREMENT username varchar(16) Unique password char(16) email varchar(25)[/CODE] Thanks :) | |
hey i've a form given below.........with minimize,maximize,close button........ how can i remove all that and display the form with only the picture as shown below | |
Can anyone tell me how to print the week name rather than printing numbers in c# | |
How can I resize the height of a textbox? I know that you can do it by setting the multiline to true but whenever the text reaches the right edge it will make a new line. I just want to make a large textbox and behaves just like a normal … | |
Hi, everyone. I need to find matrix n*n (or 5*5) determinant. I have a function translated from Pascal, but there's INDEX OUT OF RANGE EXCEPTION. Could somebody help me? Here's my code: [CODE]public static double DET(double[,] a, int n) { int i, j, k; double det = 0; for (i … | |
Hello friends, I am trying to play music through turbo c++.I used Irrklang sound library 1.3.0. But while compiling i get an error saying "unable to include IK_IRRKLANGTYPES.h" and other header files. Should i change anything in header files? Is there any other way to play music in turbo c++? … | |
how do i find the foreign key and primary key constraints of a particular table through a sql query? | |
Hi everyone! I feel like I've come a long way in my "quest" of creating a 16-bit toy os, since I last posted in these forums. Currently, the problem is that my CPU encounters an error, trying to switch to protected mode, and therefore shuts down the computer. This is … | |
hi everyone...im having an issue with collecting the data using HTTP_REFERER the problem is if i paste or type a referral url into the url bar it gives an error :- Message: Undefined index: HTTP_REFERER but if i click the link from another site it works perfect... i understand that … | |
I submitted an assignment but I was told it was wrong. I have till the end of the day to get it right but I'm working and my deadline is creeping up. So I'm hoping you guy can help me out. Assignment Write a program with two funtions: main and … | |
Hey guys, this is my first project since learning the python basics so please bear with me! I am trying to either portscan a host or ping sweep a class c network based on what the user specifies. The code is very basic I know but what's giving me issues … | |
hi guys.. pls help me out.. in my project , i am extracting the data from mysql database.. and presenting it in a table.. each time a new data is getting displayed row wise..dynamically.. how can i make that data to be get displayed column wise.. fr eg : i … | |
Hey guys i seen this script in a tutorial but he never explain how this script function $_SESSION how can i use this script in a project or in any situation. can anyone elaborate this code | |
Hello, I would like to confirm if I have the correct way of calculating the mean and standard deviation of an image. I am not sure I have the right answers. Please can someone please confirm this. Also, I would like to ask if anyone knows how I can obtain … | |
hey friends i need to retrive data in textbox... here is the detail information... A class has been created: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Data.SqlClient; namespace databaseR { class data { public SqlConnection dbCon; public SqlCommand dbCmd; public SqlDataAdapter dbAdptr; public SqlDataReader dbRdr; public … | |
anyone know how to do the backspace coding? example. textbox1.text with abc i click a button it remove "c" i click again it remove "b" i click again it remove "a" something like this? | |
I have been trying to write some strings to the notepad. I have successfullly written the first string , however when I try to add another string,It always over writes the first string I have written.Can you tell me a way where I can write strings to the next line … | |
i am working on an encoder nad i have developed a way to encode my message in terms of (x,y) coordinates..but i have to put these locations on a world map to strengthen my encoder.... im using dev c++ 4.9.9.2 and need a gui base coding for my c++ program … | |
Hi people! Im having an issue, and it is really bothering me. I want to get some content (only 2 lines) from another site and paste it into my own site. The problem is that the content on the other site keeps changing, and I need it to be auto … | |
Hi I need to access a label's properties from a method that I will be running inside the label's click event handsler. I have no clue??? I suppose I need to add a bit more info. I have 25 labels, when you click on one label, this method will check … | |
Write a program which generates randomly some numbers (integer) say 20 numbers between 1 and 100 and send it to an output file called randOutput.txt. Next your program should open this file (randOutput.txt) and check whether the numbers are ordered either ascending (or descending) or not. So you should have … | |
Hi, I am trying to copy/paste a structure to the clipboard the copy appears to work but the paste errors with "COMException crossed a native/managed boundary ErrorCode = -2147467259". The error occurs on the highlighted code line below. Is it possible to put a structure on the clipboard? If so … | |
What is the fasted way to delete rows based on a condition in Column A using VBA? Anybody have an example? Thanks. | |
I have 2 arrays A = [good, bad, cat, frog] and B = [best, great, ill, evil, wicked, rotten, vicious, poor, nasty, puss, toad, paddock] and I want to match between 2 arrays with ironpython or c# Match Result!! [good : best, great] [bad : ill, evil, wicked, rotten, vicious, … |
The End.