199,114 Archived Topics
Remove Filter ![]() | |
I have a dropdown list at the bottom of my page. It's populating like it's supposed to but when I choose whatever option I want and click submit it doesn't repopulate the content on the page like I want it to. I'm trying to have content of the page change … | |
hi frnds.. Here i m trying to attach the file from my webpage..it is working..but when i checking on the mail, the attachment is corrupted like this way.. [QUOTE]This is a multi-part message in MIME format. --==Multipart_Boundary_x58df1ff5254b4812160783d14198c239x Content-Type:text/html; charset="iso-8859-1" Content-Transfer-Encoding: 7bit --==Multipart_Boundary_x58df1ff5254b4812160783d14198c239x Content-Type: application/doc; name="resume/kishore.doc" Content-Transfer-Encoding: base64 0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAACAAAAhAAAAAAAAAAA EAAAhgAAAAEAAAD+////AAAAAIIAAACDAAAA//////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// … | |
Hi, I am playing around and trying to understand template singleton class and I accidentally created something that I am surprise it even runs. What I don't understand is when did Apple and Orange instances get created? Could you also comment on the good and bad of the Singleton class … | |
![]() | Hi all, So i basically created a database with an arraylsit. All the data is stored in the arraylist and is added by a stringLine. [B][U]All this is shown in the code[/U][/B] My Database is an Insurance Database. Well basically i'm finding it hard to find out how to actually … ![]() |
please how do i create a login page using gui in java?And also how do i make the login page move to the next java page when the password is correct? | |
Hi everyone, I have quite a problem. I have a text pane and three menu items which are cut copy and paste. In my textpane i have some text and an embedded icon. when i select all the contents of the textpane and click cut all the contents of the … | |
HI Guys I have an issue, I would like to know if anyone can suggest how I can achieve what I want. I have two tables, a user table and a media table. The media table has a FK, User_id , referenced to User.User_id. Table structure User: user_id username password … | |
Suppose the user wants to input a string. The length of the string is unknown. I also don't want a character array of size 1000 or what so ever. I want the size of the character array increasing by 1 byte for every character entered. Here is a sample output … | |
Hi there , Just wondering if anyopne could help me out with a problem I am having with a update statement. I this error [I] ExecuteNonQuery: Connection property has not been initialized.[/I] I have been at this all day and still can't figure the problem. Hope someone can put a … | |
Can anyone tell me that how can i open a site in webbrowser component of c#. Usually i open the site easily using the following code webBrowser1.Url = new Uri("http://google.com"); But now i want to access a site which is not allowed to be opened by IE and one can … | |
Hi guys, The following code doesn't compile, and I've been banging my head why. Some header code: [code] template <typename T, typename LESS_THAN> class RestrictedSet { private : int _size; int _max_size; set<T, LESS_THAN> _S; typedef typename std::set<T, LESS_THAN>::iterator tIt; public : RestrictedSet (int max_size); RestrictedSet (RestrictedSet<T, LESS_THAN> &other); ~RestrictedSet … | |
need tutorial how to display multiple tables from database. i have table (price) that holds various pricing data related to table (acc_establishments). how do i link tables together to display data (price) that corresponds to (acc_establishments). need a simple example how to do this. thanks | |
![]() | |
Hi people. :) I'm making a function callback system for a console, so I would dynamically be able to send a function pointer to my console class, and then it would be callable from the console. Well, it works - but only with functions that are not member of a … | |
hello! i have to create Jtable with two columns one is for data(string)and another one is for animated gif file ... how can i write a gif and data in two columns respectively.... please give any sample code snippet... | |
Hi guys, just playing about with pointers and keywords and to my surprise, this code does not throw up an error... can anyone tell me why? [CODE] int main() { int *P = new int; *P = 50; cout << *P << endl; // output: 50 delete P; *P = … | |
Hi! Basically, what I'm trying to do is a site for online storage of my own files, like Microsofts SkyDrive service. One thing I'm wondering about is what way that would be most effective to organize the files? My first thought was that when I upload the files to the … | |
Hi, I was wondering if it is possible to update one table with another tables values depending on a where condition, such as a insert into or using a join as a subquery. I have successfully got a windows application to do what I want it to do but it … | |
| |
Can anyone please point me towards a good C# SQL tutorial. I've been looking for about 10 minutes, but I can't find a good one that actually works. I would apperciate anyone that helps me! Thanks! Nile | |
Dear Experts, How to display INT value in textbox1 in this format 45,75,147.45 I do not want to use MaskedTextbox Please help | |
Hi!! I am making an application for generating report containing marks of students in various subjects with percentage and corresponding grades. I have two forms one for "Entering marks" and other for "generating result" . For "Entering marks" ,there are 5 combos and a textbox. From combos we can select … | |
hi!!! am palcy , am having problem in my listview with my save button whenever i try to edit something then press the command button for saving the update that ive' done it give's me the error "querry is too complex" then pointing my "rs.Update" code any solutions or proper … | |
I have tried the following codes. The maximised window worked but the centralizing failed. How centralize a form in maximised window? [CODE]Me.WindowState = FormWindowState.Maximized Me.Left = (Screen.PrimaryScreen.Bounds.Width \ 2) - (Me.Width \ 2) Me.Top = (Screen.PrimaryScreen.Bounds.Height \ 2) - (Me.Height \ 2) Me.StartPosition = FormStartPosition.CenterScreen[/CODE] | |
i am trying to run this code but i am not getting anything from the mysql_fetch_assoc($result) it is just blank can anyone help me thanks in advance [CODE]<html> <body> <?php $host="localhost"; // Host name $username="root"; // Mysql username $password="hayden"; // Mysql password $db_name="ecng3020"; // Database name $tbl_name="students"; // Table name … | |
I have recently use a Exit For within a For Next Loop to exit the loop later the procedure returns to the same For Next Loop. I noticed the control does not reset. Is this what is supposed to happen? | |
this code was written by me for my projects. all it does is increments by 1 the string which is passed to the function. if you have any improvements to my code ill be glad to hear from you ;) | |
Hi, Assume I start session and print data stored in session and print some html stuff at the begining of php file. Then I need to use header() to download a file afterwards. When I do it i get this error: [CODE]Warning: Cannot modify header information - headers already sent … | |
Hi, Code below fails and I cannot solve it. [CODE] $folder="myfolder/files"; $file="1.doc"; header("Content-type: application/msword"); header("Content-Disposition: attachment; filename=".$folder."/".$file); readfile($file); [/CODE] The file link I get when popup opens is " myfolder_file_1.doc ". I don't know where does the underscore comes from. Any idea? Thanks | |
Hello again. I was trying to login to my web server protected with basic auth, and after i understood that it would be nice to automatically detect the realm so now i want to know on how to do so. Thanks in advance. | |
can someone help me for image converter to icon in visual c#?how to design an icon?whats the difference by using photoshop?i'm currently doing a project for image convert to icon in mobile phone..but all i want to do is just design a new icon for replace old menu icon?is that … | |
Hi, I am having some 'fun' with a VB.Net DLL. I have written and debugged my DLL, built it and copied the .dll file to a separate 'live' folder. Calling applications will reference the DLL in this folder. Now, when there is an error in my application the DLL code … | |
Hi can anyone help me. Currently im using Luxand and c#. I want to save my 2nd image using different name. But How can anyone help me? Heres my codes: [code] public partial class Form1 : Form { string Filelocation = @"D:\Facial Based Tracker Device\Images\Viewer.jpg"; . . . . FSDK.CreateEmptyImage(ref … | |
I have a query that looks good to me but MySQL does not agree. I am using the DATE_FORMAT function and I do not see what is incorrect so I am hoping some one can point it out. [code] SELECT title, DATE_FORMAT(event_date '%Y-%c-%e') AS event_date FROM event WHERE event_date LIKE … | |
My question is the following, i'm just figuring out this language, now my question is about the "n" number. What is the role of n<5, i know after this condition it continues the for or not. But i can't find the precise explanation of the "n" . Thank you. Why … | |
hello friends.. i have a excel file which has more than 20000 rows..!!`when i upload the file i got this error ' MySQL server has gone away ' even i increase the maximum excution time to 3000..and and memory limit to 512.!! i just want to know how many rows … | |
[CODE]#include <stdio.h> int main(int argc, const char* argv[]) { int x; loopstart: printf("enter a value : "); scanf("%d", &x); getchar(); printf("value is %d\n", x); return 0; } [/CODE] can u help me, I want x return integer number (ASCII code) when enter a character... my code is not working... thanks... | |
hi, i debug it keeps show: Syntax error in FROM clause. i google and read many website tried remove ' ' from sql line still cannot. can anyone help pls [code] Public Class frmLogin Dim mypath = Application.StartupPath & "\password.mdb" Dim Password = "" Dim conn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\Users\Du\Documents\password.mdb") … | |
Hi, I am trying to work out a simple code in C++.I am getting the input as a string and the output should be reversed.Some thing like this input ="Glitters are Not gold" output should be "gold Not are Glitters". What i have done is get the string and stored … | |
Hello, I'm a complete alien so some questions may be too evident. I'd like to get a degree in computer graphics (something like physically-based animation and rendering) in a major American university. I'm a Russian national with German residency, never been to US. I already have a degree in applied … | |
How does a property that returns a byte[,] signature have the same parameter types as a function that returns a bool and has a passed byte[,] signature? Here is the command: ...My Documents>csc /target:library /out:CourtneyNumbrs.dll CourtneyNumbrs.cs here is the output: Microsoft (R) Visual C# 2008 Compiler version 3.5.30729.1 for Microsoft … | |
i am making a game in python 2.3.5 and i wanted to know if there is a command that would make it so one sprite will move to another no matter what the position is on the screen. | |
With regards to another thread, [url]http://www.daniweb.com/forums/thread251069.html[/url] on how to compare the current date to retrieve relevant data (Details there), now I have issue on storing this query result on a VB.net variable. It works in this way. It is an academic work to do a ecommerce website, and I need … | |
HI, I have a class that backup database but when I restore it the farsi charecter can't be shown well and If I backup from it manually from phpmyadmin it doesn't make any problem.So,the question is this;How can backup from database with whole data like tables ,data and the other … | |
newbie here can anyone help me with C# dealing with RFID and file handling process?? if you have tried this kind of IDEA or codes or something..you can post it here thanks.. | |
Hello. I am stuck on a simple piece of code. For some reason it keeps saying it can't call the Str object. Im also unsure on how to float the data to 2 decimal points (i don't know where the 2.f% should go.) The task is to make a taxi … | |
Dear all, I have a problem with binding a server socket on a mac os x 10.5.8. The problem is that every time i try to bind the socket to the address it gives the following error "Address already in use". I know that it means there is another process … | |
This works: -----------PrintInfo.php <?php phpinfo(); ?> -------------------------- But this doesn't: -------------PrintInfo.html <html> <head> <title> Hello World </title> </head> <body> <?php echo 'This is my first PHP web page.'; ?> </body> </html> ------------------------- I'm using Apache 2.0 on WinXP Home with php 5. Thanks! ![]() | |
Hi, It must be a simple issue, but couldn't find any answer googling. Here is the problem: I have a simple test application with a TextCtrl, Button and StaticText. When I press the Button, it must query PostgreSQL with ...[code]SELECT name FROM contacts WHERE name LIKE '%"+TextCtrl.Value+"%'[/code] and return the … | |
Hi, Is it possible to put 2 where closes in your mysql select query. I need it because some people appear to be available twice, so I need to add from which team I want the information, so I need a where for the name and a where for team. … |
The End.