199,114 Archived Topics
Remove Filter ![]() | |
Hello Everyone. I Need a code that can enable me perfom the following task as an administrator i develop a code that i can use to limit other users from perfoming certain task like deleting,inserting updating, the only previledge i can grant is just to submit to the database but … | |
Hi there, (is this the right forum for this? If not, a moderator could move it it would be really appreciated) I'm looking for a programmer who'd be interested in programming from the ground up a online simulation game like those such as [link], [link], [link], etc. Concepts are simple, … | |
I'm pretty new to ASP.NET. I'm working in ASP.NET 2.0 and I need to create a website that has the same look and feel as an existing website. How do I capture the existing site's "skin"? I guess I want to know if there's an easy way to get all … | |
| |
I have a line in a .txt file that starts with the word "Words". What I am trying to do now is for the example below to find all the words after "Words" that is before a "(" wich in this case is "One" and "Two". As seen they are … | |
Hi,I am new to VB6 and I have displayed records in a DBGrid from access using Data ctrl. I have displayed name and mailid in the grid Now,wen I click on any one record,the particular record shoul get selected and corresponding mailid and name should be displayed in another form. … | |
#include <iostream> #include <cstdlib> #include <ctime> using namespace std; int main() { int num; int guess; int noOfGuesses; bool done; cout << "Ready to Play the Guessing Game?" << endl; cout << "Think you can beat me? You have 5 Guesses!" << endl; num = (rand() + time(0)) % 100; … | |
I'm having trouble trying to figure out how to create a Cartesian Graph for the formula y=x^2 so that it looks like the following. ------* ---* --* -* * *please disregard the -* Current grid parameters: 20 X 20 array with step 1 I know I have to create a … | |
Hi my name is Cristina I'm a Visual Basic newbie and my non-teaching professor at school virtually just dumped out projects for us to do without teaching anything and just giving out hand-outs.My problem is im having a hard time putting source codes in because its like hard for me … | |
hi, I'm new to the forum and I hope that i have put this in to the right section... anyway here is my problem, i have to build an electronic device for a school project ( we have to build a device at the end of schooling to show our … | |
Hello. I'm very new to Compuer Science, and I'm taking a class for fun but I recieved a really hard assignment for homework that I was hoping to get a little bit of help on here and there. It's only compter science for beginners, so I hope it isn't that … | |
I am trying to use OPT++ for multidimensional optimization with Visual Studio 2005. I added the include directory to my project. I added the lib directory to my project. When I try to compile the example that ships with the package, i get 102 of the same error: NEWMAT is … | |
Hey guys, I've been working on a poker hand recognition assignment and ive been playing around with it for a week getting one problem after the next. Below is my code I have so far. [CODE=cplusplus]#include <cstdlib> #include <iostream> #include <string> #include <fstream> #define iteration_max 10000000 using std::cin; using std::cout; … | |
What would be the best available solution for uploading files to a Web Server from ASP ? I have been using MS Posting Acceptor but it is giving bizarre problems ([URL="http://www.daniweb.com/forums/thread112267.html"]See here[/URL]). Also I came to know it has 2 rather unpleasant problems - destroys all session data after a … | |
Hello,I have this C program which is equivalent to the com port.Useful for data logging from the sensors.It consists of the .c file and two header files cport.h and xmodem.h .The code compiles fine but there are lot of linker errors.I tried a lot ,pulled my hair but no use.Can … | |
Hi, I am looking for a way to word wrap TreeView text, if this is even possible. | |
I have roughly 700 lines of javascript code going on a new site with ASP.NET. I have a question, and sadly cannot perform the competition at this moment. Would be be better and faster to just include a javascript file through masterpages, or would it be better to use stringbuilder … | |
Hai, This is something to save me and osme other people some time. Basically i need to read data from a text file and put that data in a a web form. It will be easy to read the text file but I don't know how to stuff that information … | |
Hello, I am trying to write my first ever assignment in Java and am straggling with it. I have a superclass LivingThing and two subclasses, Monster and Human. Both subclasses have an attribute 'strength', but the maximum value of it is different for each of them. In my superclass I … | |
Please I need some help in C. I have a file with ".dat" format, how can i load it in C, into a variable, so that I can use the data for some math calculations later on? thank you. | |
Hi, I'm experiencing an OutofMemoryError exception while recursing through a tree with a large number of branches (30) but relatively small depth (5). Here's the basic idea of the code: I start growing the tree using a depth-first method, and after I reach the leaf node, I assign a value … | |
I have an array that I need to make into an array of pointers and return the array. [code] string words[i] = { "when", "if", "as if", "in order that", "before", "because", "as soon as", "after", "although", "as long as", "since", "unless", "even though", "so that", "while", "not even" }; … | |
Hello all:) Is it possible that there is a Pythin to Delphi converter available? Thanks Nev | |
Microsoft has a program called narrator that reads text displayed on the screen. Is there a way I could use this voice? I want to create a program that makes the voice say whatever is typed. So if I type hello then press enter it will say hello. Is there … | |
hi, I was exercising package creation and its usage in Perl. I started with a simple program, 1. Created a package called A 2. Created a package called B 3. A program which includes those packages, and uses its services. [code=Perl] # A.pm package A; use warnings; my $l_var = … | |
I'm attempting to write a function that checks users input and verifies it's numeric. When it isn't I would like to keep the part of the string that's numeric and remove the last character after a messagebox pops up alerting the user to the violation. Here is the code I … | |
I have this project that am workng on that requres the user to write a name in a textbox and images are displayed on the picture box. So the question is how do i do this? | |
Hi. I created 100 dummy mp3s, and I used the id3tool to change the tags on them. Each mp3 is named some number with the extension of mp3 appended to it (ex: 20.mp3). When I click on the file, the tags that I changed appear. What I'm trying to do … | |
hello I am trying to open a file which exists on my local PC using fopen the file is located in c:\B2B Data\files and is called file.txt When i put the above into a variable called filename, i cannot open it ie char filename[27]="c:\B2B Data\files\file.txt"; i then issue an fp … | |
I am looking for input on the best books/resources for learning Java and JavaScript. The students will be familar with programming in general but will be new to Java/JS. Thanks...DS | |
I tried running a program I built and I'm getting an Active X message and my program has a red "X" where a picture should be. I was told to reset my permissions, how do I do that? | |
im a beginner at comp science, and my prof is using python, which is totally new tom me i had a few questions with the program im writing, im having a few problems. brief summary i have to do a project where there are nine boxes filled with number 1-8, … | |
[url]http://www.me.metu.edu.tr/me310/section3/homeworks/homework2/m310s08h2.pdf[/url] hello guys can anyone help me about my homework i couldnt copy paste the question but i gave the link its about Gauss elimination with partial (row) pivoting by c programming. i need the source code as soon as possible. | |
[code=php] <?php // connect to database include("inc/connect.php"); // include auth and nav //include("inc/auth.php"); // begin content //include("inc/nav.php"); // close mysql connection //mysql_close(); // Check if the form has been submitted. if (isset($_POST['Submit'])) { $brandC = $_POST['brandC']; $typeC = $_POST['typeC']; $styleC = $_POST['styleC']; $frameC = $_POST['frameC']; $groupSetC = $_POST['groupSetC']; $errors = … | |
Are there any examples of Time and Attendance System, I would like to know how it works on the part where an employee logs in and the logs are being saved under his/her account when he/she views his/her logs. I am new in .NET programming using VB and I just … | |
I need someone to look over this and see what I am doing wrong. I keepgetting errors on this part of the code. It says its not defined.I also think i need to take that splitter thing out. I am new to all of this and haven't a clue how … | |
Can you please tell me how to expire a session after a fixed interval of time.(i.e if the browser is inactive for some time - say, 5 mins) Once the session expires, and if user tries to access the page, then he is prompted for login again, am i right? … | |
i m trying to build a turn based text game but im kinda of confused on the menu's ok here is my issue i want to have 4 menu's in my game menuDisplay selectMenu fightMenu shopMenu now what i want is the menuDisplay to be the welecome menu where the … | |
Hi Guys/ girls. I have written a small program for uni, and it involves the user inputting a message that is saved into a string. The only problem is that whenever i use a space within the message the whole program crashes. Can anyone help, i have given the code … | |
I'm looking for some PHP scripts that be able to search into the Database and retrieve all the records that matches the user input string in the search form. Please advise. | |
| |
hi all, I am planning to take up sun certified java developer exam(SCJD). Can any one help me with the topic that you have got as the project. This would help me as I am planning to take scjd up only after 3 months. I want to prepare myself for … | |
Hello Im looking for a real simple way, if possible with no databases involved, to send an email to a hosting account on godaddy. I believe they use smtp.secureserver.net for the smtp server. I have a form that asks for the persons name and their email..I am later going to … | |
Hi all, Actually, I had posted a thread in the [URL="http://www.daniweb.com/forums/thread111829.html"]php forum[/URL]. But I don't know the javascripts and AJAX very well, so would like ask for help from anyone here. The code below is originally from [URL="http://24ways.org/2005/edit-in-place-with-ajax"]edit-in-place scripts.[/URL] But this didn't work for my case. Does anyone know about … | |
Hi All, I am using the following codeline to run a cmd from cmd prompt. Process p1 = Runtime.getRuntime().exec("cmd.exe /k start vgnimport.... I have my structure like Class A B importcmd = new B(); importcmd.startimp(); sysout("out of cmd prompt"); Class B startimport() { Process p1 = Runtime.getRuntime().exec("cmd.exe /k start vgnimport.... … | |
I have several breakpoints and the debug goes in the first one, skips the next 2, then jumps directly on the last one, as if the 2 in between don't even exist. And this happened recently, with no big changes in the code and I've never experienced anything like it. … | |
Hi, Im relatively experienced with the Python language, but i have a smaller knowledge of its modules etc. Im familiar with Tkinter, basic sockets, basic threading, math ( i know the most about). Im looking for a way to print to a printer. I can read from files easily - … | |
Greetings! I am new to the Daniweb community but hopefully you all can help me out with this problem! I am to write a c++ function, smallestIndex that takes as parameters int array & its size and returns the index of the smallest element. then I have to write a … | |
In my website, the pages where i allow the users to update their details(such as - change password and update contact details), i want to open them in new window, rather than the current one. Can you please tell me what should be the code for it? What i know … | |
i am trying to make a program in c# based off another program that was written in java i would like to know if anyone nows what syntax you use to link other source files to your program. in other words the c# equivalent to java's [b]import[/b] code. |
The End.