64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for nccsbim071

Hi i want to compress the file on the file during FTP file download. Is it possible to do that. I have an application that downloads the files from remote FTP server as windows forms application using VB.net Please help Thanks

Member Avatar for sknake
0
895
Member Avatar for princesspretear

hi all, i am currently writing a program as my school homework. it used to work and when i changed the column name in my database, it won't save data to the database. i am currently using sql server 2005 and visual studio 2008 and c# language. here is my …

Member Avatar for sknake
0
212
Member Avatar for TheStig01

Hi all, Last night i started coding a database with java. The way i was going to do it was through netbeans with a database connection to an sql database. Then i went to school and told my teacher how i was going to do it and he told me …

Member Avatar for TheStig01
0
952
Member Avatar for supuser

Undefined Variable record: (in a path)/filename.php $sql= "select * from demo table"; $handler=mysql_query($sql); while($data=mysql_fetch_assoc($handler)){ $record[]=$data } <?php for($i=0;$i<count($record);$i++) ?>

Member Avatar for rajabhaskar525
0
80
Member Avatar for ThomsonGB

In the following example I am trying to open a file that I have named in the command line for Read. Does anyone have any suggestions? ========================================== [code] #include "stdafx.h" #include <fstream> #include <iostream> using namespace System; using namespace System::IO; using namespace System::Text; using namespace std; #define RSIZE 1 // …

Member Avatar for ThomsonGB
0
139
Member Avatar for lifeworks

Hi Ive been using some httpRequests but have gotten tired of writing the 'preparation code' for every request... so I thought I'd make a function that accepted a URL, and a list of parameters and would return the responseText variable... But what seems to happen is that my other code …

Member Avatar for lifeworks
0
81
Member Avatar for ashneet

I have two servers and one of them have mysql db and one doesnt so is it possible to use mysql db in my other server while hosting my website on another. also if there is how would you do it with php.

Member Avatar for resuldeger
0
239
Member Avatar for bumassjp

Well basically I keep a null value returned code and I have the same issue in all 6 of my functions. Here is the error code - `Warning BC42105: Function 'GetTimesheet' doesn't return a value on all code paths`. A null reference exception could occur at run time when the …

Member Avatar for bumassjp
0
1K
Member Avatar for Egypt Pharaoh

how can I print a report of the page if it has a many text boxes that I want to print it in one decoment

Member Avatar for Medalgod
0
120
Member Avatar for jonow

I am using [URL="http://musicplayer.sourceforge.net/"]XSPF Web Music Player[/URL] slim, and whenever I put it into a web page and play it using Google Chrome or Safari the song starts playing twice. When i press the pause button one instance of the song keeps playing while the other keep going without any …

Member Avatar for jonow
0
302
Member Avatar for ThomsonGB

If I Open a file using something like: FileStream^ fs = File::OpenRead( path ); How can I determine the size of the file so that I can read all of the data bytes in the file? What sort of Read would you use to read one byte at a time. …

Member Avatar for ThomsonGB
0
228
Member Avatar for kripssmart

Hi, I have been writing a PHP code. As I couldn't execute it locally (installation issue), I moved it to my server as a '.php' file. I haven't executed or run a php file in server before. Can anyone please say me how I can view the output of my …

Member Avatar for kripssmart
0
114
Member Avatar for theABCasian

hello all im having as the title would suggest a runtime crash in my program cant quite figure out why hits some ware around enter tenant name. line 53 [CODE]void ComplexInterface::editUnit(){ bool test = false; do { int unitToEdit; cout << "choose a Unit to edit " << endl; for …

0
66
Member Avatar for whisper_101

Hi Guys I have been working on an Automatic Email Function. The code returns two different email addresses which are used to send emails to. The problem is - in second email sent the Body of the text is repeated twice i.e. In the First Email Sent: Welcome to the …

Member Avatar for oluwa4real37
0
192
Member Avatar for Lida_pink

How can I stop shape after 5 seconds of moving? I know how to move it and how to stop it but don't know how to make it stop IN 5 SECONDS. This is the rest of the code that I have done but the 5 seconds part is still …

Member Avatar for jlego
0
79
Member Avatar for tunde011

[code=php] <?php include 'config.php'; include 'opendb.php'; $result = mysql_query("SELECT * FROM 888db ORDER BY id") or die(mysql_error()); echo "<table border='0'>"; echo "<div id='bodyframe'>"; // keeps getting the next row until there are no more to get while($row = mysql_fetch_array( $result )) { // Print out the contents of each row …

Member Avatar for me655321
0
372
Member Avatar for Egypt Pharaoh

how can I get a picture of the panel that in my application and save it

Member Avatar for sknake
0
152
Member Avatar for 21KristianN

Dear members I have a challange. I want to update my CRM database (MSSQL) with turnover numbers from our ERP database. I can retreive the data in different file types from my ERP database so they can be importet as a flat file. But does anybody have a good idea …

Member Avatar for 21KristianN
0
95
Member Avatar for Romil797

Hi I have tried so much and I am wondering how I can put a background image in an email using gmail.

Member Avatar for sknake
0
383
Member Avatar for letlet_pogs

Hello good day guys. I just want to ask for help in my java python. I am just new in this language. MY first java language is java. However, for me to make it easier to code in python, i need to code it in java first and then convert …

Member Avatar for vegaseat
-2
105
Member Avatar for Kurosaki

Hi. I am kinda new to java and I really need help on this program that I have been assigned. Here is the assignment: [B] Assignment:[/B] Write a KochCurve program that uses DrawingTool and provides a drawKochCurve method for drawing Koch curves. Each drawKochCurve method can take the number of …

Member Avatar for gods_angel
0
262
Member Avatar for tqmd1

These codes work fine to display data from listview to textbox. TextBox1.Text = ListView1.Items.Item(ListView1.FocusedItem.Index).SubItems(0).Text Is there any alternative codes for this purpose?

Member Avatar for me655321
0
135
Member Avatar for leegeorg07

Hi again, I am trying a competition entry (its old, purely to test myself) and I have come against a problem, this is the description for the competition: In a word game each letter has a score based on its position in the alphabet, A scoring 1 through to Z …

Member Avatar for leegeorg07
0
195
Member Avatar for lotrsimp12345

basically i have 4 files 2 contain the following data . Trying to find out data which is common and not common in both files and write it out to files common and not common. It almost works except for it doesn't compare the last item in the list before …

Member Avatar for TheArchitect
0
497
Member Avatar for shahid00704

Hello, I have three different string strings string attach1,attach2,attach3; string attachment="text1.txt,document.doc,text2.txt"; i want the above string should be split and each string after splitting it should store into three different strings ex: attach1="text1.txt"; attach2="document.doc"; attach3="text2.text"; there should be a check how many string are coming after splitting the comma and …

Member Avatar for shahid00704
0
120
Member Avatar for Japus

Hello I'm trying to copy a variable from a vector into an array (with a few steps in between) As you can see from the code, I take a random piece of equipment from the vector of equipments and insert it into the inventory (which is an array). The line …

Member Avatar for thelamb
0
2K
Member Avatar for Skeen

Okay, I'm making a game, and I need to use random inside a class, however I can't figure out how to seed the randomness into the class, so atm I'm getting the same random each time. I've tried stuff like srand(time) in main, however, that doesn't apply to the class, …

Member Avatar for Skeen
0
112
Member Avatar for kellnerq

Question- Write a function that displays at the left margin of the screen a solid square of asterisks whose side is specified in integer parameter side. For example, if side is 4, the function displays: Sample Screen Display **** **** **** **** i have come this far but i get …

Member Avatar for sidra 100
0
3K
Member Avatar for GoGames1315

I wont to know how to find Pascal actions (functions?) like, how would you find the CPU speed (if pascal can do that,) or how would you minimize the window. Do I have to look for hours on GOOGLE search to find the code I wont ? cant I just …

Member Avatar for GoGames1315
0
158
Member Avatar for Happy Family

struct date{ int y; int m; int d; long int calculate_date(/*struct variable */) { //.... } }; void main () {/*here how to call function and define struct var*/ }

Member Avatar for Narue
-1
84
Member Avatar for jlego

im trying to determine if there is an item selected on the listview.. i have a listview that displays customers name with a .tag that holds there ID. how do you tell if the tag is 0 or empty before executing code? in vb6 i simply did [code] if .lstwhatever.selecteditem …

Member Avatar for jlego
0
109
Member Avatar for jlego

this is not a web design question, i'm actually using it in vb.net but they don't have a database forum in the software development section. what i am doing: i have two tables. customer and customer_phones my visual basic program has a search for customer option, which returns the customers …

Member Avatar for jlego
0
130
Member Avatar for prakash.pipil

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <?php $_REQUEST["chkhob"]; if(isset($_REQUEST["btnsubmit"])) { $choise = array("cricket","football","polo","tennies"); foreach($choise as $key => $val) { //var_dump($_REQUEST["chkhob"]); if(in_array($val, $_REQUEST["chkhob"])) { $chkbox[$key] = "CHECKED"; } } $result = implode(" , ", $_REQUEST["chkhob"]); echo "Your Hobies: $result"; …

0
55
Member Avatar for rs25

Hi, I'm learning Java/Jsp. I just started a project to learn and have some Practical knowledge. But I'm stuck and confused Kindly suggest me so that I can proceed further.- The Project is a Knowledge System. It stores Lots of Questions their answers which is listed by Categories. There's 2 …

Member Avatar for rs25
0
106
Member Avatar for raff004

whats wrong with these code? the buttons don't add or remove the panel.. someone help me!??plss..:S [code=java] import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; public class addremove extends JPanel implements ActionListener{ private JButton addbut; private JButton revbut; private JPanel panel1; private JPanel panel2; public addremove() { addbut = new …

Member Avatar for HerrLehmann
0
124
Member Avatar for mani2009_it

I want to check in Date Field(Textbox), whether the input is Date Format or not (i.e) Date Format should be followed(YY/MM/DD) in C# windows applications. How can i check this?

Member Avatar for DanielGreen
0
94
Member Avatar for P00dle

I made a filechooser that enables the user to save a file. I used netbean's gui maker for it. I literally have just one thing stopping me from finishing my task: The save button does not actually do anything. You can click on it, but nothing happens. How do I …

Member Avatar for P00dle
0
186
Member Avatar for apollokid

Hi all kinda new with php and forms so wondering if someone could help me out. I have a form with 4 text fields which are used to add the fields with the result in the 4th field. When i submit the field result the 4th field then displays the …

Member Avatar for phpbeginners
0
168
Member Avatar for ampLife

hi, fellow programmers im currently using phpdev and windows xp as a platform. i've been developing this website and now im trying to test it in local network. i have already installed the apache and already set the index.php in the folder www. now my problem is i keep on …

Member Avatar for phpbeginners
0
173
Member Avatar for ribot

Hello! My application is crashing randomly, and I thought it might have to do with it manipulating widgets that are not yet mapped, despite them being already gridded. Have you experienced this problem? I supply some code that shows that the print function happens before tkinter recognizes the button being …

Member Avatar for ribot
0
110
Member Avatar for C++ Beginner

Here is the problem: Write a program that displays the name of each month in a year and its rainfall amount, sorted in order of rainfall from highest to lowest. The program should use an array of structures, where each structure holds the name of a month and its rainfall …

Member Avatar for C++ Beginner
1
231
Member Avatar for mrjoli021

i have two values in a table and instead of returning the values it returns the word "array" twice. [code] $mysql = new sqlConnection(); $query = "SELECT DISTINCT status FROM status ORDER BY status"; $result = mysql_query($query) or die('Error, query failed'); while ($row = mysql_fetch_array($result)) { echo "$row<br>"; } $mysql->close(); …

Member Avatar for mrjoli021
0
2K
Member Avatar for sirdanman10

I am trying to get a handle on two things: building strings, and reading a file. I am trying to write a function that will pull a line from a file and put it into a string. I want to use it in a loop, so I am having the …

Member Avatar for sirdanman10
0
120
Member Avatar for tnimblett

It just crashes out. [CODE]{ int i,j; ifstream input; input.open("carpark.txt"); { for (i=0;i<j;++i) { input >> employee[i].spotnumber; input >> employee[i].driver_name; input >> employee[i].car_reg; } while (!input.eof()) j++; } }[/CODE]

Member Avatar for jonsca
0
101
Member Avatar for kellnerq

Hi all, I would like to ask you all for some help. I need to write a program that allows me to have a circle radius as input and then print out the diameter, circumference and area of that circle. Easy task but i have to put the calculations in …

Member Avatar for kellnerq
0
85
Member Avatar for kilermage

[CODE]Running Compiler -------------------------------------- server.java:52: cannot access handling.Handlers.CommandManager bad class file: .\handling\Handlers\CommandManager.java file does not contain class handling.Handlers.CommandManager Please remove or make sure it appears in the correct subdirectory of the classpath. public static CommandManager CommandManager = null; ^ Press any key to continue . . .[/CODE] What I did was …

0
84
Member Avatar for statutoryape

Hi all, Here's the code I've come up with. I deliberately left off an expiration date since I want the cookie to expire when the browser is closed. [CODE]<html> <head> <script type="text/javascript"> function setCookie(name,value) { document.cookie=name+"="+value; } </script> </head> <body> <a href="#" onClick="createCookie('Role',Parent)";>Parent</a> <a href="#" onClick="createCookie('Role',Student)";>Student</a> </body> </html> [/CODE] I've …

Member Avatar for statutoryape
0
2K
Member Avatar for SiPexTBC

I was wondering if there was a way to play music from within the program. For example. When they click the button, the music starts playing just as a background process without opening an other music program. Is this possible? Thanks

Member Avatar for ddanbe
0
125
Member Avatar for astala27

Q. Using recursion, write [B]a[/B] C++ function into [B]b[/B] to convert an arbitrary integer n>=0 into binary. Call this function in the main program with the argument n (That's an easy part I can do that). In example; input n=27, output 11011. If anyone can help me with this question, …

Member Avatar for n1337
0
111
Member Avatar for Hughsy17

I'm trying to make a simple login screen with php, but every time I submit the form(with correct values) I am returned to the Login page with the error [COLOR="Red"]"Invalid login, try again"[/COLOR] shown. I can't think of any reason why this will not work, the variables are correct as …

Member Avatar for Hughsy17
0
114

The End.