64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for VersEtreOuNe

Getting an Unhandled Exception: Here's a screen shot: [IMG]http://i25.tinypic.com/344d28l.jpg[/IMG] [code=c#] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Chapter2Program3 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { while (Visible) …

Member Avatar for VersEtreOuNe
0
111
Member Avatar for carnage

this would be my first time with arrays so i still have no idea how to use it i'm thinking on using it on this program [code=c++]#include <iostream> #include <conio.h> #include <string.h> using namespace std; int main() { char main_menu; char parts; char items[]; //here's the part i don't know …

Member Avatar for carnage
0
136
Member Avatar for Jaycii

I am trying to use an overloaded + operator to find the total balance for two values. I am messing up with the way to set them up, or forgetting something. I am getting values such as -9.543e2433 The code I am using for the operator is [code] Account operator+(Account …

Member Avatar for Jaycii
0
146
Member Avatar for cosmos22

Hello. I've been doing some programming recently that is supposed to delete files from a specified pathway [code=cpp] #include <iostream> #include <cstdlib> #include <windows.h> using namespace std; int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow); int main() { cout <<"Deleting file..."; // ??? What to do here? MessageBox(NULL, …

Member Avatar for cosmos22
0
186
Member Avatar for jino

Dear All,, My php page having a search query is not displaying the result when it is loaded... But when i check this same query in php my admin it is working correctly... for ex: If i search with the field "Marital Status" Single... There are totol 3 records having …

Member Avatar for nav33n
0
136
Member Avatar for protos1

Hi I'm building a site which uses ajax and DHTML heavily to build a frontend. Th frontend has a lot of transparent PNGs for which I use the filter hack to display them in IE6. The issue arises when I'm building a new component in javascript which has transparent PNGs …

Member Avatar for protos1
0
139
Member Avatar for dami06

Hi, I have tried creating a webpage but when i click on one of my links it gives me this ?> DATABASE ERROR Connecting to server ::<NO SERVER> What does this mean because i have checked my database and everything seems to be fine..

Member Avatar for richie513
0
84
Member Avatar for carobee

how do i increase the size of file upload?. i have changed the value of upload_max_size to 300M and post_max_size=600M in php.ini and restarted the apache server. running php.info script i still get 2M to be the upload_max_size.now when i run my uploading script and try to upload file a …

Member Avatar for carobee
0
602
Member Avatar for shaikh_mshariq

I am developing an application in which i want to set up ServerSocket's port on requirement. I have given an interface which accepts port number and this port number i want to assign my previously running serverSocket but serverSocket.accept() method blocks and I am unable to execute the code after …

Member Avatar for shaikh_mshariq
0
513
Member Avatar for carobee

hi, i have written a php script for uploading files into linux server. but when i try to run that script i get "UPLOAD_ERR_NO_TMP_DIR ". i even tried to changing upload_tmp_dir directive in php.ini and giving it a path to one of my created folders but it seems nothing is …

Member Avatar for nav33n
0
8K
Member Avatar for wiz83

we recentely migrated our database from 2000 to sql server 2005.The migrated database has some issues like collation issues,so we created the scripts for each databases and then updated these scripts to remove collation issues to make these compatible to SQL server 2005. But we have some permission issues for …

Member Avatar for wiz83
0
84
Member Avatar for nurulshidanoni

How to correct it , at line 84. Error executing cl.exe. error C2447: missing function header (old-style formal list?) [code=C++] /*--------------------------- Filename : ConflictMatrix.cpp ---------------------------*/ #include <iostream> #include <fstream> #include <iomanip> #include <string> #include <vector> using namespace std; struct student { string studentid; vector <int> examcode; }; int main() { …

Member Avatar for nurulshidanoni
0
123
Member Avatar for Jennifer84

I have 2 Forms in my Windows Form application. Form1 creates .txtfiles. I open Form2 from Form1 and can see the .textfiles that is created in a comboBox3. If I open the application from the beginning and go to Form2 I will see all .txt files that exists in a …

Member Avatar for Jennifer84
0
106
Member Avatar for brinze

Hello - I'm a brand new student of programming and I'm needing help. I'm stonewalled. I've got an assignment that requires me to create a class named Dice that another program will use to roll dice. The instructions are: - The class must be named Dice - A method named …

Member Avatar for brinze
0
141
Member Avatar for SheSaidImaPregy

I have a master page that contains elements for Ajax and certain standard controls that I do not wish to have to copy to every page on my site (hence the master!). However, these controls need a sub for an OnClick method. Now this method is edited differently on every …

Member Avatar for SheSaidImaPregy
0
285
Member Avatar for studecua

Hi guys. First post. I have to write a program that allows the user to input his or her name. If the user type all lowercases the program should be able to convert to first letter of the name to uppercase. Also, if the user press "enter" without entering the …

Member Avatar for studecua
0
88
Member Avatar for Dr_Pepper

my question is how can i make my program not to display any unique combination more that ones? //*****f04.cpp***** //Name: //Date: 02 - 17 - 08 #include <iostream> using namespace std; int main () { // #1 int a, b, c; for (c = 1; c *c <= 100; c++) …

Member Avatar for Dr_Pepper
0
123
Member Avatar for ivay14

Hi! I need help on writing a program that puts 10 "char" values into an array, the program have to sort the values of the array into ascending order. Sample output: Array before sorting: Array[10] = [ E, F, Y, R, Q, A, T, O, W, X ] Array after …

Member Avatar for John A
0
146
Member Avatar for nikk

Hi friends, I'm creating a website for my college project. I came to know that to run it through tomcat, you need to create web.xml file first. i saw the readymade file in root directory of tomcat, but could not understand, how to modify (or create) it so as to …

Member Avatar for nikk
0
111
Member Avatar for delosoa

Can you help me with this?? The total will be displayed only when the user type -1. And it will continue looping if you will not type -1. And it will also continue to add the total(that will be displayed only if you type -1). import javax.swing.JOptionPane; import java.text.DecimalFormat; public …

Member Avatar for javaAddict
0
110
Member Avatar for curt1203

I am having all kinds of problems with my assignment. I have worked on it for hours and cannot get it to work properly. I am new to programming and it gets frustrating very fast for me. Here is the code I am currently working and i have attached my …

Member Avatar for curt1203
0
250
Member Avatar for kv79

Hi I want to know is it possible to connect C with VBA . And can you please give me the link of some explain or you can by your self . So my question is how to connect C and VB 6 . Thank you for your effort of …

Member Avatar for kv79
0
64
Member Avatar for sonygamer

I'm trying to use the switch function to compute the resistance of resistors. Basically, a person types in 3 letters, each representing a color; each color has a different value. Then v throws back the resistance by going through the equation. This is what I have so far. [code=c++] #include …

Member Avatar for Arpy Giri
0
295
Member Avatar for Crazycfk

I am to make a program that finds the value of a resistor after inputting 3 letters those letters of are of the color on the resistor. i have written a program to do so but the value does not follow the equation. I am not sure if the program …

Member Avatar for Crazycfk
0
159
Member Avatar for TobbeK

My looped output looks like this Link 1, Link2 , link3 , link 4 .....and so on I need a way to count the RS in either words or chars to cut it if needed in this manner: Link1, Link2, Li ..... Have tied to measure the length with Len() …

Member Avatar for TobbeK
0
98
Member Avatar for dexter1984

Hi guys, I need a little help in my assignment. Got it down to the last part but I don't really get recursive functions. [code=language] #include <iostream> #include <ctime> using namespace std; void constructArray (int [], int); void swapArray (int [], int); int printArray (int [], int); const int MAX …

Member Avatar for dexter1984
0
90
Member Avatar for +--RagS--+

Hello, I'm using a askdialog box from tkinter with a form. My problem is when I use "print" or "return" to get the selected directory it prints it to the terminal (if open) and I would like it to print to an Entry textbox. For example: [code=Python] from Tkinter import …

Member Avatar for +--RagS--+
0
108
Member Avatar for dexter1984

Hi guys, I need some help with arrays. [ICODE] #include <iostream> #include <ctime> using namespace std; void constructArray (int [], int); void printArray (int [], int); const int MAX = 30; int sizeArray = rand() % MAX; int main() { srand(time(NULL)); int makeArray [sizeArray]; constructArray [makeArray, sizeArray]; printArray [makeArray, sizeArray]; …

Member Avatar for SpS
0
165
Member Avatar for vishalkhialani

Hi, I am working on a project where I need to save data which the user inputs for future reference and manipulation. I know one can use a database or a binary file. I would like to use a database but I don't know where to begin. I know one …

Member Avatar for vishalkhialani
0
164
Member Avatar for KONE BREAD

Hello, I am trying to run this program, but I have no idea where the problem is. I get these 3 errors in my error list when I try to run it: Error 2 The best overloaded method match for 'Project_1.Client.Client(Project_1.SharedClick, Project_1.SharedMsg, System.Windows.Forms.TextBox, System.Windows.Forms.Button, System.Windows.Forms.Button)' has some invalid arguments Error …

0
69
Member Avatar for saketbash

Our teacher wants us to take an array and output it via these instructions. The array conists of grades (ie 92 72 83...etc): "Write the output to a text file. In it, display the original grade array, 10 per line, in fields of 5." My question is, what does that …

Member Avatar for saketbash
0
169
Member Avatar for TobbeK

Need some help with a nested loop. This one (my example code below) prints out a correct 3 column HTML table with the recordset with proper opening and closing HTML tags AS LONG as the GRUOP BY clause is set by the topcategory Db table. I think I may need …

Member Avatar for TobbeK
0
1K
Member Avatar for sonygamer

I'm trying to use the switch function to compute the resistance of resistors. Basically, a person types in 3 letters, each representing a color; each color has a different value. Then v throws back the resistance by going through the equation. This is what I have so far. [code=c++] #include …

Member Avatar for Narue
0
1K
Member Avatar for werks

Hello experts could someone tell me how can i combine multiple records into one value. Sample in MS Access: (Lastname & "" & "," & " " & Firstname) AS Name How can i do this in MySQL?..tnx in advance

Member Avatar for nav33n
0
96
Member Avatar for saketbash

Hi guys. This is my first post and I hope I can get some help. Thanks so much in advance for this. I have what I'm sure is simple but I'm missing something here. I have a file being read from (input.txt) which has no more than 50 grades w/ …

Member Avatar for saketbash
0
88
Member Avatar for Jennifer84

This code(Files) does return the whole directorypath like this: C:\Documents and Settings\User\Desktop\Text.txt What should be changed if you only want to return the fileName wich is: "Text" Code: System::string ^ Files10 = "c:\\"; array<System::string ^> ^ Files = System::IO:: Directory::GetFiles(Files10,"*.txt");

Member Avatar for Jennifer84
0
145
Member Avatar for justapimp

I have this webservice that connects to my database via a table adapter and I am trying to read the column value based on the controls passed by an AJAX script that I wrote. I tried to use a hash table to replicate the actual database column. What I like …

Member Avatar for justapimp
0
93
Member Avatar for dagray

The code will read in a file and build a table with the ctn_no and seq_no which works fine. I want to change it so that when I find a break mark I build a table of ctn_no + 1 and seq_no + 1 rather than a table of ctn_no …

Member Avatar for woooee
0
82
Member Avatar for fpaquin

Hi to all, I am using Java version 1.3 with IBM Websphere and DB2. I would like to create a page that you can save and retrieve an image from DB2 and post it on a web page using a stored procedure. My questions are: 1. How should I create …

Member Avatar for fpaquin
0
122
Member Avatar for gsivaram
Member Avatar for Adventa

Quick one here really, Basically there is one page with say, All Articles, When a user clicks on an article I want to go to a new page that displays the article clicked on. All I need to know is what method to use here. Should I use the link …

Member Avatar for Adventa
0
85
Member Avatar for eddy556

Hey, I'm having a problem with an if statement. I want to check if variable key and id are the same. They are both strings and when I print them to screen they certainly look the same. However when using them within an if statement it always returns false. Here …

Member Avatar for eddy556
0
171
Member Avatar for lydia21

1. $q="Select SQL_CALC_FOUND_ROWS * from post_resume where ind_type='$industype' and career='$careerlevel' limit $cps, $rpp"; 2.$q="Select SQL_CALC_FOUND_ROWS * from post_resume limit $cps, $rpp"; hi i am doing paging in php.the first query is not working.the second one is not working........please do tell me the error. [CODE=php] <html> <head> <title>Record Set Paging with …

Member Avatar for lydia21
0
85
Member Avatar for sbv

hello friends, i am sending selection formula from code. something like ... CrystalReportViewer.selectionFormula = {MyViewForReport.Q_code}=" & cboQ.Item(i).value my req. is i want to send multiple values with " and " , "or" what i did is - "{VoterRegDetail_Qry.QualificationCode} = 1 and {VoterRegDetail_Qry.CasteCode} = 19 Or {VoterRegDetail_Qry.CasteCode} = 20" But its …

Member Avatar for sbv
0
186
Member Avatar for dalefish

Ok, I've had enough of looking at the same piece of code now. Someone please enlighten me as to what simple bloody thing it is I'm missing: [code=php] $pp2 = $_REQUEST["pp"]; $io2 = $_REQUEST["io"]; $sn2 = $_REQUEST["sn"]; $re2 = $_REQUEST["re"]; $sd2 = $_REQUEST["sd"]; $ed2 = $_REQUEST["ed"]; $dp2 = $_REQUEST["dp"]; $rn2 …

Member Avatar for nav33n
0
460
Member Avatar for Morty222

I spit out 4 photos across the screen, then I want to start a new row of the next 4 photos, then so on until done. This works fine expcet the first row shows only 3, then it goes to 4 across. Can someone help? <?php $ln = $_POST['lastname']; $ps …

Member Avatar for nav33n
0
101
Member Avatar for werks

Hello PHP experts how can you detect [B]'[/B] character in your search field? Because every time I input the word [B]hilgard's[/B] it returns an error I think because of the character [B]'[/B]. This is the error [CODE=php] Warning: odbc_exec() [function.odbc-exec]: SQL error: [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) …

Member Avatar for werks
0
92
Member Avatar for Jennifer84

I have managed to create a file (Sample.txt). So what I need now is to put the contents from array (ReadLines[]) to this file, line by line and the file name should be what is written in textBox3. [code] array<System::String^>^ ReadLines = gcnew array<System::String^> ( textBox2->Lines->Length ); ReadLines = textBox2->Lines; …

Member Avatar for Jennifer84
0
111
Member Avatar for justapimp

Hi Fellow programmers, I need to print the content of a repeater list located inside of an asp:panel. once the page is loaded, the code for the asp:panel is displayed as a regular div tag. What I need to do is to print the content of the div/asp:panel once the …

Member Avatar for justapimp
0
613
Member Avatar for Jennifer84

If I have a textBox1 that contains 2 lines of text. What I want to do is to put each line into an Array. So I want to check the textBox1 and read in all consisting lines into an Array. [I](1 line will reprsent 1 memoryplace in the Array)[/I] How …

Member Avatar for Jennifer84
0
340

The End.