199,125 Archived Topics
Remove Filter ![]() | |
Dear all, I have 2 tables : [CODE]create table test ( FieldA varchar(10), FieldB varchar(10), FieldC varchar(10) ) and create table test_trigger ( FieldA varchar(10), FieldB varchar(10), FieldC varchar(10) )[/CODE] I create Insert Trigger in test table. Every time test table is inserted new row, automatically inserted in test_trigger table. … | |
Hello friends, I am new to assembly language and I want the user to input a string ... then save the string in a stack. Is there a function to get the string from the user, like getStr . Thanks in advance. | |
Hi there, i have a quick question. What is a good software that we can use to build php pages??? I heard that netbeans is a good one!! i never used php before, and would like to have my own website using php. It's not a complex website, it's fairly … | |
Hi to all, I integrated the supercali calendar to my office intranet application using a iframe. I also changed the meta attributes and made sure it is not cached. Still my boss does not find the events or calendar items, instead gets a blank calendar. I tried even the frame … | |
I wrote this php birthday script to send emails to people whos birthday is today. I know there is a more efficient way to do this, but because i did not use the standard unix timestamp in my mysql database. I had to do it this way which was a … | |
I need to execute the following SQL command from within VB: [CODE]CREATE LOGIN [rx] WITH PASSWORD=N'rx', DEFAULT_DATABASE=[master], DEFAULT_LANGUAGE=[us_english], CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF[/CODE] I've been trying to find info for days but everything always deals with updating tables etc If someone could show me the connection string and have to execute the statement … | |
Hey guys I need to copy multiple string arrays into one array to use to display output. I need to copy the name, addr, telephone, carinfo, payment array to the output array. How would I go about doing that. [code=cplusplus] #include <iostream> #include <iomanip> #include <fstream> using namespace std; void … | |
alright i know you're tired of explaining simple things to me, but i've looked around and really can't figure how to do this... i'm trying to write a simple python script like when you type in a number for n, and press enter, it finds n+2? i thought it will … | |
Hi, I have finished making an App with VB6 on a XP computer and have transferred it onto a Windows Vista computer . I have also copied the three dependencies (Adodc, MSFlexGrid and DataGrid) files from System32 of XP to System32 of Windows Vista. However, the program now runs but … | |
Hi all, So I've got an assignment of creating a priority queue using a heap data structure. I've read lots of pages online about the heap data structure, but I keep coming up with questions. In my class, I got the impression that a heap was structured similarly to a … | |
I cannot run my application on another computer when I compile it in VS2008. Error: "This application has failed to start because the application configuration is incorrect." and I have define WINVER to be 0x0400, and it is compiling in release mode. and this is NOT .net | |
hi every one.. i have a problem of how i can change the caption of a label thats inside a [B]picture box[/B].. i want to load a field in a database to the the label the problem is i cant do it.. there's no command like this [CODE]lblStartTime[B].Caption[/B] = rsRecordSet.Fields("Unit").Value … | |
Hello all. I have a problem with a socket server program I writing. The server manages to set up the socket just fine, however, it now needs to be able to take in input from a client. I using the following command to receive information and print it out on … | |
I'm modifying a 10-year old open-source utility written in C, even though I'm a PHP programmer, so the whole pointer business for working with strings is giving me a headache. Can anyone advise on why this string conversion snippet is not converting case? [code=C] #include <ctype.h> int set_keysig (s, ks, … | |
I have been working on something, and i'm stuck again... I have to print out an infile list in columns, and then print it out again in alphabetical order(sort). I can't figure how to print in columns, nor can i soft it. Any help? | |
I hv created setup of my project using "Setup wizard". But when i ran that setup on another m/c which is not having .NET installed on it. setup asks for .NET framework. can i include .NET Framework in my setup. Please help me out.:( Tahnks in advance. | |
Suppose I have a dynamic array.(trees) The user enters the number of times for the dynamic array to loop based on int num. He has filled the array, say num=3, so he has entered the age of 3 trees into trees[i]. Now he wants to display the age of all … | |
I would very much appreciate if anyone could throw some light on this error, not too hot with "C" as yet. When I try and compile the following with Keil C51, I get the following error message. Error C208 DS1302GetAll Too many actual parameters Seems to be line in Time() … | |
i am quite new to python ... currently i am a student learning for mu mcitp exams.. i made a small script ,, for active directory using python all the script does is basicly explor the AD for a number of tasks .. * 1 .Find a user (quick method) … | |
I have a project that I am working on that is basically a game where players travel down a hall and race to the end. Obviously there are more rules but they are irrelevant for my problem. The problem I am having is that I cant get my board to … | |
Write a Java application that asks the user to enter a word and then determines if this word is a palindrome. A palindrome is a word that is the reads the same when spelt backwards as it does forwards. For example, the words noon and madam are palindromes. Note, you … | |
Hi Everyone, I have got a program which takes a html file as an argument, parses it, and outputs the data to a CSV file. It does this no problem. BUT, i need it to take more than one html file, parse them and put all the data collected into … | |
Hello, am new to this so please bear with me. I'm working on a windfarm simulator in C++, it has to read in data from a .csv file and calculate various power values. Anyway that's beside the point. The problem I'm having with is the 2 Dimensional Dynamic Array that … | |
Hey everyone, first post, but I've browsed here enough to know I'm in the right place (of course, if its in the correct FORUM is another story) Ok, first, the breakdown.. I have a PHPmotion script running as a BACKEND. My users will ony see the videos via a "popup" … | |
Hi, Thank you for helping with this. I basically have to encrypt a file in where the user enters the file name & enters a name for the output file. The encryption is based on the password the user enters. It is a case situation, that being said, if the … | |
this is my program [code=cplusplus] // // custorderscf2.cpp // #include <cstdlib> // student ...... Jones, Patricia #include <iostream> // section ...... MW row .... 4 #include <fstream> // due date ..... xx/xx/xx #include <iomanip> // refer to ..... Gaddis Ch3 void SetPrecision(int); // procedure prototype using namespace std; // avoid … | |
im new to this forum and new to C++. i had a homework problem about arrays. the user inputs a number and i had to store it in an array. up to now i still don't know how to do it. and then after that i had to find max … | |
I need to know how i did? Any review will be appreciated... [CODE]/**program description: * * this simple program represents * the basic concept of threads. * main() process will create a * thread that calculate numbers * while main() output the results. * main() and threadProcess() share * share … | |
its supposed to draw an oval on MouseClicked: [code="java"] import java.awt.event.*; import javax.swing.*; import java.awt.*; public class PaintPad extends JPanel implements MouseListener { private int mouseX, mouseY; public static void main(String args[]) { PaintPad pad = new PaintPad(); pad.setGui(); } public void setGui() { JFrame frame = new JFrame(); JPanel … | |
hey, I m creating a small project shopping cart....In gridview. I want to add a Hyperlink to each row of GridvIew, & when the user click on Hyperlink(Add to cart),data go to database.. I add a hyperlink code,but the problem is that,it is not firing,To fire the event for hyperlink..I … | |
Stupid question. Haven't done production C in a while and just inherited some legacy code. In case it makes a difference it is running out of OMVS on a Z/OS IBM mainframe. The C program is invoked by an assembler program. The assembler program passes in a number arguments that … | |
Hi, I'm doing this programming exercise for my C++ class. I'm using Microsoft Visual C++. for some reason, the program wouldn't save my data. Can someone please take a look at my code and tell me what I did wrong? [code] /* Chapter 12 HOMEWORK Dung Tran CS 116 C++ … | |
helo guys...i have a table in sql server express edition and 3 fields in it, UserID, Password and Role. I managed to create my login but now i want to add some piece of code in order to give acces according to the role field..that is admin and user will … | |
I'm trying to implement a simple version of Wari logical board game. My implementation supposes to allow two humans to play the game. I have created array of 12 elements, each element represent the square. Every square has a number of stones. My problem is that I don’t know how … | |
helo guys, i have a little problem here. i've always been using MS access as database to connect my vb.net applications. Now i've design a webpage in asp.net and i want to connect the login.aspx page with the sqlexpress provided in vb.net framework..can anyone help me with the steps?? just … | |
[QUOTE] Hi everybody, I need some help with my project. I'm trying to retrieve some data from a combo box on which i used the "data bound item task" so I can select data from a table of my database. the problem I'm having is that when i try to … | |
Hi, I am new to Visual Studio 2005 and wanted to package up my code into a .EXE file. I also have other code not specific to Visual Studio that I want to package(LabWindows CVI). Can anyone give me instructions or point me in the right direction. | |
i have following code, i am starting a college project and need help [CODE]#include "stdafx.h" #include <iostream> #include <string> using namespace std; class ba146{ private: int capacity; int totalSeatWindow; int totalSeatAisle; int totalSeatMiddle; public: string timeOfArrival; string timeOfDeparture; string departureCity; string arrivalCity; string flight; string seatType; int occupiedSeatWindow ; int … | |
![]() | i just thought i would ask as a reference for the future but if i was to have a loop like this: [code] import time mytime = time.asctime()[11:19] while mytime <= "13:14:15": mytime = time.asctime()[11:19] raw_input() [/code] how could i change it so that mytime would constantly update as at … ![]() |
What is the sequence for inorder, preorder, postorder for ----------------------A--------------------------- ---------------------/--\-------------------------- --------------------B---C------------------------- -------------------/-\--/-\------------------------ ------------------D-E-F------------------------- ----------------/-\-/-\--------------------------- ----------------G-----H-------------------------- Is it correct for Inorder:GDBHEAFC Preorder:ABDGEHCF Postorder:GDHEBFCA if someone out there can help that will be awesome. | |
Hi there, I'm quite new to python and have a question regarding list matching. What would be the most efficient method of searching for matching items in a list? Ideally, the code would look like: [CODE] list1 = ['spam', 'eggs', 'bacon'] list2 = ['spam', 'ham', 'king richard'] matchitems(list1, list2) ... … | |
Hi there i'm trying to display an image on a webpage. The image's URL is stored in a mysql database. i just want to output the image to the display via PHP. Any ideas? Thanks | |
hello friends!! Can anyone of you help me know how to make the members of my forum send private messages to each other? I am building a discussion forum for my college students. You can take me as a novice in the field of Asp.net. I am using Sql server … | |
[CODE]<div style="float: left; font-variant: small-caps;">movie link ([COLOR="Red"]zshare[/COLOR]) :</div><div style="float: left; margin-left: 10px;">Link <a rel="nofollow" style="color: rgb(0, 0, 221); text-decoration: underline;" target="_blank" href="[COLOR="Red"]http://www.zshare.net/video/58502819262e0ecc/[/COLOR]">[COLOR="Red"]1[/COLOR]</a> </div><div style="float: right;"><a href="javascript:DeadLink('http://www.movies-on-demand.tv/report.php?id=2845')"><img title="Report Dead Link" src="http://img.movies-on-demand.tv/templates/mod/images/broken.gif"></a></div></div><div style="margin-top: 2px; width: 550px; height: 20px; background-color: rgb(255, 255, 255); font-size: 13px;"><div style="float: left; font-variant: small-caps;">movie link ([COLOR="Red"]zshare[/COLOR]) :</div><div style="float: … | |
I have a problem like i need to include a different header files depending on the linux kernel in a .cpp file. I have to check the linux kernel version and include the headerfile depending on that kernel. How can I do that? I have ARCH variable in Makefile which … | |
I am doing a simple dialog box that has a status reply and I want to change the colour of the text to yellow for a caution, red for an error and say green if it is okay. I have tried and failed to use Settextcolor() in the dialog box. … | |
Ok I have a while loop set but can you guys give me an example of a while loop that takes information, reads the more specific detail and then another specific detail? In my code I cant figure out how to make the loop search another line or sentence. All … | |
Hi to everyone, i disperately need some help. i need to read a binary encoded file using Visual Bawsic 6. First of all I know that this file has a "text" header of 3200 bytes (40 rows x 80 columns. How can I read it and translate in ASCII code. … | |
Is there a way to find something from html code like <img and then find the src and alt of an image in the <img line? I can get the <img line out but i dont understand how to use find to find the start index and end index. For … | |
Hi I need to find the mode and I'm just not getting the right output for the mode. The program is supposed to find the mode and display it if it exists and if it doesn't exist it's supposed to display -1. Any help will be very much appreciated. Thanks. … |
The End.