64,152 Solved Topics
Remove Filter ![]() | |
I've been searching a lot, but couldn't find anything about what I would imagine to be pretty easy. I'm trying to get a number out of a List, that is getting information out of an Excel file. But I don't think that matters. I then want to give it a … | |
hi i have a database ..it contains employee details like name,emil,phno.....when admin sents a mail it must be forwrded to all the emp in the table..plese do tell me how to do tat | |
hi this is not working.how to do that..... form1 <form method="get" action="email2.php"> <table> <tr><td>Subject:</td><td><input type="text" name="subject" size="70"></td></tr> <tr><td></td><td><textarea name="body1" cols="70" rows="20"></textarea></td></tr> <tr><td><input type="submit" name="send" value="submit"></td></tr> </table> </form> php page <form> <?php $subject1=$_REQUEST['subject']; $message=$_REQUEST['body1']; $hostname = "localhost"; $username = "splendor_lydia"; $password = "jesus"; $dbid = "splendor_aletheia"; $link=mysql_connect($hostname, $username, $password); mysql_select_db($dbid) or … | |
Hi experts, I need a linkbutton/button to download the files which my clients have uploaded. Below is my upload method and it works. [CODE]protected void uploadFile() { String projectID = (String)Session["projId"]; //change the file name if (!FileUpload.FileName.Equals("")) { // Create a new folder in Docs folder (folder name = projectID) … | |
does anyone knows how can i create an array that will get parameters from the user row and column and with a method to fill with strings the rows and columns and after that to print it out. i tried several things BUT nothing works :( if anyone knows how … | |
Is it possible to make an entire [INLINECODE]<div>[/INLINECODE] into a hyperlink using CSS only, as can be easily accomplished with mouse events in JavaScript? I'm assuming it's too good to be true since CSS isn't interactive? Nevermind ... I guess I just answered my own question :( | |
Hey, im trying to make an assembly program which encodes a file using base64. Anyway I have a program that works in converting the word "Man" to TWFu. Problem is it does not convert anything else but a few 3 letter words like Tan and Ban probally because of its … | |
Hi all, I am new to java. I am writing a program and I would like to read some inputs from user, when the program is run. Can someone give me some hints on how can do this... Thanks. | |
I have a binary tree program that is trying to retrieve a name. I've already inserted names into the tree correctly and can see this at output. Now I'm trying to check for a name in the tree and calling that input "key". My program wants to take that key … | |
I know this must be painfully simple to do, but I cant seem to find any text that makes sense to me regarding how to actually do it. Basically I have program "X". Program X has the TTrayIcon component added to the MainForm. From what I have read, the need … | |
Greetings all, I'm in the process of writing my own forums. I'd like to insert a 'teaser', showing a few lines of a post, displayed when a user rolls over a thread link. Much the same as happens here on daniweb. Can somebody please explain how this is done. Thanks, … | |
Hi there, I am experimenting with game design and have met an obstacle. I am trying to paint the background of this simple game I have coded but cannot seem to find out how! any help would be much appreciated! | |
1.Can you display your code line number in the IDE? 2.How do you mark your threads as solved? | |
I am attempting to complete a homework assignment. The progam basically requires input from the keyboard into an array and then to perform some calculations on the input information. I believe I can do the calculations, but I cannot figure out how to get the input into the array. The … | |
G'morning, afternoon, night wherever you are ;) I have been working on a website with Coffee Cup and godaddy. I created a form with Coffe Cup's form creator thinking it would be easier, and I am having problems loading it. The first time I tried, it told me I forgot … | |
here's the program i'm trying to run, but everytime i press ctrl+f9.. i get the error in that picture below.. [code]#include<stdio.h> #include<graphics.h> #include<dos.h> #include<conio.h> #include<stdlib.h> main() { int choice; clrscr(); printf("Please choose a version you like: "); printf("\n<1> Random lang\n"); printf("<2> Moribund...\n"); scanf("%d", &choice); switch (choice){ case 1:{ ran(); break; … | |
Hi again, new assignment is to creat a spynetwork (where does he get his ideas?) anyway the program is supposed to take a code (i.e. caesars code) as a list of 2 lists, store the code (i've used a table for mine) then use it to decode and encode messages..... … | |
Hi all , I had created a Document using jTextPane which I will use as a Template to create customize ones . For eg : I will create something like this in a Document using jTextPane Hi [B][I][U]<name>[/U][/I][/B] and I will open this Document in another jTextPane to replace <name> … | |
Hello to everyone :) I'm new here :) I have some problems with MIPS, I would like to aks for help or advise, how to copy/move content of the normal register of CPU unit (register like $t0,$t1 and so on) to FPU cooprocesor (register $fp0,$fp1) I have in register $t0 … | |
Hey guys, I was wondering, in Java the following is allowed: [code=java] Class[] classList = new Class[10]; classList[0] = System.class; [/code] Can this be done in C#? Thanks! :icon_smile: | |
I've just started a C++ class so I am a total beginner at this. I am having a problem figuring out how to pass by reference, and pass by value using the enum data type. The data types are as follows: enum suits {hearts, spades, diamonds, clubs} enum cardValues{two=2, three, … | |
I am working on an IDE for a specific language. One of the features that I want to implement is syntax high-lighting. The way I plan to go about it: When the user presses a key, a function is called with the entire line that the user is editing as … | |
"An attempt to call a field (rather than a method)" What is the difference between these two??? simple english please I'm confused enough as it is! | |
I'm wiring a program where I have a file with city, state, population size laid out as follows; 24 El Paso, TX 577415 Indianapolis, IN 783612 Detroit, MI 925051 Fort Worth, TX 567516 Los Angeles, CA 3798981 Washington, DC 570898 etc... with 24 being the number of elements in the … | |
Hey guys first time learning VB6 and i have to do a Hangman project for my Gr 10 class But i need some help. I am have trouble figuring out how i make the dashes come out in my label box when someone inputs a word. Like say someone inputs … | |
hi all, I am trying to design a game app that uses a swing gui as a main menu. so far I have been a little confused as to how I get my 'start new game' button to actually launch the game. I have googled event handlers and cannot seem … | |
I contacted the host of my project for a problem I was having with inserting data from a form into a db on their server. One of the answers they gave me was: [quote]...for future reference, never declare a prefix, always leave this option blank.[/quote] I understand what a prefix … | |
Could I run a java program without installing the java vitual machine on the computer?If yes how could I do it? | |
hi, i can't seem to a.out the program for some reason. When i type in a.out, the cursor just stays there. I think it goes in a infinite loop. I am trying to read two text files and then putting the atomic number in order. what seems to be the … | |
How can I put "text" directly next to a variable in a URL? My variable is $bandodd. It will have a numeric value. In the resulting URL, I want the value of $bandodd to be right next to the text - "AA" - so it will look like this: "?size=32AA" … | |
I am stuck to know how to design a database for an asp.net 2.0 project. I have a table with many fields. In addition to all the other fields (mainly text fields) I would like to keep track of 4 values: alt, sy, LaF, ord. Any combination of these values … | |
I'm trying to get the CreateProcessA function to work, but it continues giving me trouble and more trouble. Here's the code: [CODE]#include <iostream> #include <string> #include <windows.h> // CreateFile(), CreateProcess(), OpenFile(), etc. and // STARTUPINFO, PROCESS_INFORMATION #include <ctime> // srand(), time(NULL) #include <cstdlib> // rand() using namespace std; string execute(const … | |
hi there, i try to map a file in memory, in linux, using mmap, so that what i write in memory will be written in the file as well. the piece of code looks like this [code=c] fd = open(argv[1], O_RDWR); if (fd == -1) { error_message(__FILE__, __LINE__, "'open' failed … | |
Hi experts, I need a validator in my gridview. When the user update a field in the gridview, I need to check if the email is valid. How can I do that? Below is my gridview. Please help. Thanks! [CODE]<asp:GridView ID="gv_retrieve" runat="server" AutoGenerateColumns="False" CellPadding="3" ForeColor="Black" GridLines="Vertical" Width="751px" OnRowEditing="gv_retrieve_RowEditing" OnRowUpdating="gv_retrieve_RowUpdating" onRowCancelingEdit … | |
Hi, I've been working on a program that reads two binary files, then each value of file1 is divided by each value of file2. My binary files are 8-bit grayscale image files that is each pixel has a value between 0 and 255. I read them into byte arrays. I … | |
Hi again, This time am outputting some html using a switch statement, but the outputted html code is not acting as coded, seems a very strange error as in both the case statements (first and third) its plain html but the link is just not acting correctly, but the main … | |
Hello, I need to create dynamic consent forms, meaning the admin should be able to upload a file and the visitor should be able to read the file and then hit the consent button. I don't have any experience with this. I don't see any such example in my text … | |
Hello everyone. I have to write a program that needs to use generics. I'm basically just hoping someone can guide me in the right direction here. Lets say I need a program that loads different crates onto a boat. I have to have a boat class (generic class), then other … | |
I'm trying to change the font for the turtle graph. [code] def goto(x,y): turtle.up() turtle.goto(x,y) turtle.down import turtle turtle.tracer(False) turtle.width(3) goto(-270,270) turtle.right(90) turtle.forward(540) turtle.left(90) turtle.forward(540) turtle.left(90) turtle.forward(540) turtle.left(90) turtle.forward(540) goto(50,50)[B] turtle.write('testing')[/B] turtle.tracer(True) [/code] That's a box I created and I want to add text to it. I looked around the … | |
Here is my code, it is suppose to take the double num, round it, and return it using call by reference, but when i try to compile it gives me an ambiguity error at [inlinecode]round(i);[/inlinecode]. please help. [CODE=c++]#include <iostream> #include <cmath> using namespace std; void round(double &num); int main() { … | |
Can any boby explain to me in simple english why this I get this error "Compiler Error CS0118" I'm a beginner about to throw my machine out the window!!! Below is the code for my Calcultor & the code for the DLL i'm using!!!! using System; using System.Collections.Generic; using System.ComponentModel; … | |
I am making a quiz show in C++ I need help in storing the answers of a quiz in a array like [QUOTE]cout<<"Q.1 Who is Known as the lady with lamp ?"<<endl<<endl; cout<<"A. Sonia Gandhi "<<"B. Florence Nightngle"<<endl; cout<<"C. Mother Tersa "<<"D. Madame Rozario"<<endl<<endl<<endl;[/QUOTE] So how do I Input the … | |
Ok I have no idea why I'm getting this error. I'm guessing its the fact I'm trying to return something from another class but I don't know how else to do it. [code=C++] #ifndef Floor_h #define Floor_h #include <queue> #include "Passenger.h" using namespace std; class Floor { public: Floor(); void … | |
I have a query to find dates based on Between And criteria but I can't pull up anything in 2008. all 2007 dates work properly. What am I missing? Thanks | |
Is there a way to carryout explicit data type convertions automatically? if the complier can see your errors why can't it correct them? | |
I am doing this program that has listboxes and 2 combos Listbox 1: 1-3 Persons Listbox2: 4-7 Persons Combo1: 8-20 Combo2: 21-50 When I click on a number of persons the price is displayed... But I need a way to change the prices so they must not be in the … | |
My program keeps crashing when the retrieve function calls the getName function. I'd like to make sure my getName function is correct before tinkering with my retrieve function. I'd appreciate any ideas. Is there a problem with deleting the name if it's a pointer? header file: [code] void getName(char * … | |
I have an html form from which I am trying to insert the data into a MySQL db. I have heard that the date needs to be in a specific format for inserting into the table, I believe it was YearDayMonth (20070612) Is this true? Because of that, I broke … | |
Hey everyone, I'm attempting to write a header file, example.h that will contain function declarations that will be defined in example.c. For some reason Its giving me an error when i do this [CODE]extern void mainMenu(node*);[/CODE] Now node is a struct defined in another header file, should I include that … | |
Ok, I am trying to insert the data from a form into a table on my MySQL database. I have been going through some tutorials on how to do this, and have found slightly different answers. I'm assuming that they both kind of do the same thing, but what would … |
The End.