199,114 Archived Topics
Remove Filter ![]() | |
I am having a problem with URL redirection using a mail submission form. The form is working and sends the mail successfully, the problem lies when I try to redirect the user to a thankyou.php page using header('Location: http://whatever.com/thankyou.php'); When the form is filled in and submitted, the mailform.php page … | |
Hi, im making a application and am stuck :) the page has 3 radio buttons, if the user has selected one i want the page to go to page2.aspx if the user hasnt selected one i want an error message to be displayed (lblErr) and no navigation to happen. im … | |
I have created a hotel booking system programme. However, I am puzzled as to how when the booking button is clicked it can search a database and find the best suited room (RoomType) and make sure that it is available (Date of Departure < system.date). This data is held in … | |
Whilst having 20+yrs in IT I'm brand new to Python programming... I'm trying to reference an object in a different class as a lookup... I have a class which describes items and their prices I have a class which describes a currency code and a conversion rate I'm trying to … | |
I am having a problem with getting my program to compile. This is a sample of my code but it an error comes up and says " binary '||' : no global operator found which takes type 'std::string' (or there is no acceptable conversion)". Is there anyway around this or … | |
Below is a code that i have created to seperate a string statement. There are no errors but the code will not display the micron or the idustry statement. what do i need to do so that everything will show [CODE] #include <iostream> #include <string> #include <fstream> #include <cstdio> #include … | |
I want to chane the backColor of particular date.Mine code is only just bold the particular date,but not changing the BackColor. I have searched on internet,But none of them provide me the Solution. I Found the Below code thru net- [code] Private Sub Calendar1_DayRender(ByVal sender As Object, ByVal e As … | |
![]() | Hi, I am using [icode]setw[/icode] from [icode]#include <iomanip>[/icode] library to format the output and it works just fine... Par exemple. [code] cout<<std::setiosflags ( std::ios_base::right ) << std::setw ( 20 ) << "---------025125222" << std::endl; [/code] However, I wish to format the same output as a STRING. So instead of doing … ![]() |
I am very new to using XML and I have what should be an easy solution but google is failing me. I have one xml document with different data sets in it (see code below). What I want is to only work with one set of data at a time. … | |
Hi guys, I'm taking an engineering class and i'm not familiar with Matlab at all. I've been trying to generate a square matrix from an input with a pattern. For example: 1 0 0 1 1 0 1 0 1 0 1 0 1 1 0 1 0 0 1 … | |
hi i have a problem, trying to set a form to open a new window, this is what ive got ... private void newWindowToolStripMenuItem_Click(object sender, EventArgs e) { this.browser.NewWindow(); } any ideas why it isn't working? | |
I am using visual studio 2008 with C# developing an window application, I want to displsy blinking text with marquee on label using [B]thread[/B].But it generates error :--Cross thread error. What is this and pls solve my problem. | |
Hi, this is probably a simple one for someone, but i have on my page a button rather than a text link. when they click cancel i want it to back to my details page but pass the parameter id back. so currently it is like this [CODE] <input type="button" … | |
new to this form guys need some help When opening a button and opening a new form as soon as it opens it close for some reason but its not giving any errors as to why its doing this now i've checked the linked linking it to the next form … | |
i have to make a program in cpp that finds max,min and avg value from a table and the table is to be retrieved from a location.......any ideas how to do it?????? ![]() | |
Hi, I'm working on a shared library with a various of dependency libraries. They are all currently linked dynamically (shared object). I'd like a few of the libraries linked statically TO the main shared object. When I go ahead and try to link these libraries (.a) I get an error … | |
Hi, what would you recommend as the best book for someone *new* to SQL and SQL Server (specifically 2005, Developer version)? Thanks! | |
When I try run my appliction on a client machine I keep getting the following error: Run-Time Error '20532 Cannot find database dll I know I need to install the 'database dll' on the clients machine ... but ... what is the database dll? I am using MS Access 2000 … | |
Okay, I'll admit up front that my request is quite presumptious but I need help. Can anyone here 'give' me the necessary php script to be inserted in my html 'form' that would allow me to accept credit card donations? Additionally, could you also provide me with the mysql database … | |
i have 10 data notepad files (with column x= 1 to 5 and column y = some random number) x y 1 12 2 13 3 8 4 6 5 2 i want to multiply the 1st file's second column with 3, and save it as new data file Increase … | |
Hi guys, I'm learning basic SQL. I have a query I can't solve. Need to create a query named Task1D to list the last name, first name, number of matches, total number of points, for players who have played more than 10 matches and scored more than 330. A portion … | |
Here is a sample of our project which involves counting votes, the problem is that we implemented a pop-up window thus clicking a submit button to be able to vote (which is in the pop-up window) well what our problem is that we need to increment or rather add +1 … | |
Hello, I have a question, if you please. I have been trying to fill an array with values from a text file for hours. I has been 12 years since I have used any C code, and I thought I would be able to remember this. I have an opportunity … | |
I am making a server-client application in c++. In this i am also using shared memory & file read-write operations. my program is completely ready & i now wants to make a gui for it. someone suggested me to go for QT4, but when i tried it, i found i … ![]() | |
Hi all, My code is giving the desired o/p, but at the end its producing segmentation fault. (I know this is very column and also I have checked other posts, but couldn't understand the solution) Here is my code[CODE]#include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include "blake.h" int genShortMsg(int … | |
Hallo guys, I want to first start by saying, that I`m fully aware the question I`m about to ask, has certainly already been posted some thousand times. I`ve looked through some of the posts, but non of them was quite like my case (or I just didn`t stumbled upon any) … | |
Is there a way to determine which shift key is pressed? I am writing a program that shows an image and I want the user to say which side of the screen it is showing up on.... I thought of using the mousekeys but realized that not all computers have … | |
Hello all, sorry for this being my first post. I have been dealing with this Nqueen program, and I cannot get it to work properly. I feel like I have been just staring at my computer screen for hours and my brain is starting to hurt. After entering n, the … | |
I have another problem with mysql. I have 3 tables (Users, User_status and Analysis). Users and User_status are in relation (Users.User_status_name=User_status.user_status) and Users and Analysis are in relation (Users.Username=Analysis.Tipster). I want to have table in php: [CODE]Tipster Form boskor 1W 1V 0L slopart 0W 1W 2L [/CODE] In table Analysis … | |
Hi all, I am trying to do what I thought would be a simple task: connect to a foxpro database, that resides on another machine on our network, through .Net. I get the following error: //windowsrv//f$//GSD//DEPO//L1//' is not a valid path. Make sure that the path name is spelled correctly … | |
Hi Guys and girls, I'm doing some work with XML documents and one is stored behind a .htpasswd arrangement. I have a script which requests the xml docs using XMLReader. So the problem is the secure xml file, does anyone know of a way to access the file without going … | |
Help I need to download MinGW Offline Installer | |
Hi! This is actually not a question, but I want to share what I realized when I was doing some projects using DataGridView. I was a bit confused on what I should use for the cells whenever I check the value of a DataGridCell (e.g. [inlinecode]String.IsNullOrEmpty()[/inlinecode]). Before I usually do … | |
we've got an issue on our new test site that i'd like you to be able to solve; we have product pages; example page: [url]http://www.printsmarter.co.uk/newPrinttest/34-Brochures.html[/url] there is a selection of menus on the screen that you can change select different options to show you a price. issue is as follows; … | |
[CODE]Warning: preg_match_all() [function.preg-match-all]: Compilation failed: range out of order in character class at offset 76 in C:\xampp\htdocs\extracter.php on line 7[/CODE] hey i am not able to figure out what kind of warning is this? the line 7 is this in the code [CODE]preg_match_all("/(http:\/\/)?(www.)?rapidshare\.com\/[0-9A-Za-z]+\/[0-9A-Za-z]+\/[0-9A-Za-z_-.]+/",$contents1,$out1);[/CODE] | |
In windows based programming there is some confusion about the data grid and data binding. What to do first and where to do in code? | |
hi all, i am having a page where i can select a projectname from the dropdown box(the project names will be cuming from database) and below that there is a list of users with checkbox. so i wil select a projectname and select one or more users for that project … | |
Hai frds, I am a final year B.E student.As i have to start my final year project by now,can you give me some valuable ideas regarding what topic to choose and in which platform that would score me high marks. Thanks in advance. | |
I'm trying to import all data from an Access DB using Visual Basic 2005. I'm new to Access and so far I can only import one record at a time. Any help would be appreciated!! Here is the code I have so far (obviously to bring one record at a … | |
So far, here's my code. It is running after I built it but it runs differently that I typically supposed to play tic tac toe with a partner ( two players only). Where do I go wrong on this code? [icode] //Timing. #include<iostream> using namespace std; int check( char g[3][3], … | |
Hi. I have created an application wherein I am showing a large image inside a JScrollPane . As I move my mouse over the image within the jscrollpane i want to display the RGB values of the pixel under the mouse pointer on a status bar. I am able to … | |
hi all, I had a page.It works fine in mozilla.But i am getting problem with Internet Explorer. The problem is...In my page i can add users and they can be seen in a table on the same page.so this is fine with mozilla,but in IE i can see the existing … ![]() | |
Can someone give me a simple code of hovering my mouse into a picture in a html then the picture automatically has a white light fade on it thanks... I've been searching over the internet and they're just giving me a fade effect... I just wanted a simple white highlight … | |
Dear All, I want to connect to SAP and call RFC from VB.Net 2008. I have done it with VB 6.0 But not getting success in VB.Net I used following code in VB 6.0 ------------------------------------------------ Set ctlLogon = CreateObject("SAP.LogonControl.1") Set oConnection = ctlLogon.NewConnection oConnection.User = "SIILRFC" oConnection.Client = "777" oConnection.Password … | |
I am working on this project for my class, and I am getting an error when im trying to compile. I dont understand what the problem is. can some one help me out. The error is "Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - cannot find symbol symbol: class … | |
Hi, Please advise how to bind std::sort with boost::thread. I'm trying to do: [code=c++] boost::thread_group thg; thg.create_thread(boost::bind(sort<vector<int>::iterator>, mass.begin(), mass.end())); [/code] and get: ThreadSort/main.cpp:40:0 /Users/Maxim/Documents/Projects/SW/C++/ThreadSort/main.cpp:40: error: no matching function for call to 'bind(<unresolved overloaded function type>, __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >, __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >)' Please HELP!!! | |
Organizations make business deals with other organizations. When negotiating a specific deal, each organization is represented by one lawyer. The same organization can have deals with many other organizations and it might use different lawyers in each case. Each lawyer has a first and last name, address (Street, City, State, … | |
Hi, im working on basic macro program. I want to select applications by window name and sending keys(f5 f1 etc.) to them basically. The problem is, sendkeys dont work on non-active windows. I search for this problem internet. I can get window names to combobox with; [CODE=cs]foreach (Process FFget in … | |
I am having a terrible time separating this code into a header file and source file. I am running this on cygwin and it keeps giving me error messages I do not know how to solve... any help would be greatly appreciated [code] #include <fstream> #include <vector> #include <string> #include … |
The End.