64,152 Solved Topics
Remove Filter ![]() | |
Hi all :) I'm having a few problems with this assignment I'm working on. Its a Java - C# conversion of a Mandelbrot program. What I'm trying to do, is draw the Mandelbrot to a Bitmap, and then print it onto the Windows form. So far I've been able to … | |
Hi, anyone can help me on how to connect PHPMyAdmin with java? | |
How do I create an installer for my application other than than selecting Build>Publish? | |
Disclaimer! I have no prior knowledge of php, I just need a clear answer. I have the string $content, and I want to replace any [ or ] between the [nobb] and [/nobb] tags inside it with ^ and *. And I need also to do this again but this … | |
hello guys I need help Please.. What I want is that when i select the data from the listview1 it will also delete the corresponding data in the database im using mysql database...these is my code [CODE]Dim Button = MessageBox.Show _ ("Are you sure you want to delete this Data?", … | |
Trying to write a program for my C++ class. Basically; call a function getJudgeData five times within the main function to get five different scores. Send the scores from getJudgeData function to calcScore function. From there use two more functions, findHighest and findLowest to find the highest and lowest score, … | |
here is code for my assignment. I am getting: Exception in thread "main" java.lang.NullPointerException at SortedStringList.insert(SortedStringList.java:33) at TestSortedStringList.main(TestSortedStringList.java:6) Line 33 is the "while" loop in my insert. Its supposed to be a double linked list of nodes w/string in each node, alphabetically arranged. here is the code: public class SortedStringList … | |
Hi all, I'm currently working on a RC4 project for my computer security class. I have looked at the [URL="http://en.wikipedia.org/wiki/RC4"]wikipedia page[/URL] for RC4, and I'm trying to adapt that algorithm to my problem. I can get the correct encrypted text when I just cout the values. However, when I try … | |
hi guy, i need this ugently.. hope someone can help me out.. i need to get data from database, but want it to take randomly and also dont want to get data duplicate. Ex; i get data A from DB, then there will be a next button. i wan to … | |
[CODE] String names1 = ""; System.out.println("enter names: "); names1 = kb.next(); while (names1 != "stop") { System.out.println("enter names: "); names1 = kb.next(); namesList.add(names1); } [/CODE] everytime i type "stop," the program keeps running... | |
the following are my program since it's not large, it might be alright to post the entire code? anyway... it is the deallocate() causing the crash at the end of the program for some reason, it did not panic in the grow() function am I supposed to do something after … | |
I am trying to insert data from a text file into an SQL table. I'm getting this error: " csv_data = csv.reader(file('TxtFile1.txt', 'r')) TypeError: 'list' object is not callable " [code] import MySQLdb, csv, sys conn = MySQLdb.connect (host = "localhost",user = "a", passwd = "b",db = "c") c = … | |
Hello, I've enountered a problem whith saving to an XML file. My app receives user input in several text boxes and when the user hits the OK button it checks if the text boxes are empty. If they are not empty it saves the input to an XML file and … | |
I have created a porcess that manipulates large volumes of text. I have created a form that has a button that manually starts the process. I have tried to give some feedback that the process is actually progressing through the data by changing the value of text fields on the … | |
Hello Members, Does BlueJ support Networking? Can you have the main() of Client.java and Server.java running at same time? I always get this "Your program is running.You cannot start another execution......". Any help would be greatly appreciated. Thank you!! sciprog1 | |
[code] c = new Console (); int lvl = 1; double exp = 0; int x = 1; double monsterhp; int monslvl = 1; int a = 1; while (a == 1) { int lvlup = 10 + (lvl * 40); if (exp >= lvlup) { lvl = lvl + … | |
I can easily hide my form with the event KeyDown, but only by pressing ONE key, and I wanna hide it by pressing CTRL+SHIFT+O, for example. And the biggest problem is when I wanna restore it, because I have to go to the Task Manager, make the aplication has the … | |
Hello, Now I'm making a program for creating language glossaries, but the problem is that windows uses ANSI for encoding text files, and the program that will read these files (which is not mine) only displays words in utf-8 encoding. Since my program is multiplatform, it can also work under … | |
I have the code below and I get everything except the bonus in the output. I tried it a few different ways and the bonus never comes out right after the staff and sales. #get user input for sales bonuses and make calculations #print headers print" Sales Tracking Program" print … | |
is this possible? [CODE]Dim wa As Integer = 1 con = New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Bengkel\Project\db.mdb") con.Open() myCommand = New OleDbCommand("insert into payment (slip) VALUES (wa) ", con) 'insert the value of "wa" myCommand.ExecuteNonQuery() wa = wa + 1[/CODE] if i'm wrong, can someone help me? | |
Hello, I used to code in python and I recall being able to take a class such as the list class and add my own functions to it. I am not quite sure what this is called in c++ or how to do it, so I was just wondering if … | |
hey all i'm busy makin an online bookin system for a project. What i need is when the rooms get displayed, the customer can select, using check boxes which rooms he/she wants. ranging from 1 room to all 6 if he/she wants. then on the next page i need only … ![]() | |
Hello all, I would be grateful for some help with a function template problem. I cannot figure out how to pass a matrix as an argument in a template function. I keep getting the error "does not match any template declaration". Can anyone suggest what my problem is? Have I … | |
Hello, I am in Object Oriented Design for C++ at the moment... The test we are having has a question on it and the professor wants us to find and know the answer before we come in for the test. The question is this: The following code out puts what … | |
Hi friends... I'm doing Inventory Project... I'm Having purchase and sales tables... In purchase table fields are Code, Category, Brand,S.p, Date etc., Men, Women, Kids, Accessories are the VALUES STORED IN Category Fields... In PURCHASE FORM, When i select MEN in Combobox, it has to AUTOMATICALLY allocate(SHOW) CODE(it is also … | |
If we have more than one if statement, is it possible to combine them? Like this: [code=syntax]x = raw_input("> ") if x == a: print "1a" elif x == b: y = raw_input("> ") if y == a: print "1y" elif y == b: print "1b" elif y == c: … | |
Hello all, Does VC++ Express 10.0 even support the ability to get text from a text box? I've seen related threads having conflicting solutions, none of which actually work. Ex: must have SDK version x.y. This functionality seems to be so basic and necessary that solutions would be all over … | |
i'm having a bizarre issue with a form that seems to not want to post the file data array... [code=php]<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <input type="hidden" name="category" value="music" /> <input type="file" name="image_upload" class="multi" accept="jpg|jpeg" maxlength="1" /> <input type="submit" name="cat_music_img" value="Update" /> </form>[/code] the following is a snippet i just … | |
hello everyone i am new to this community . i am having a problem right now with arrays. So basically this program let user to enter anything in lowercase and then convert it to uppercase(if user input uppercase it will stay the same). Because i am not allowed to use … | |
Trying to write a simple program that will read data but keep stumbling upon the fact that I kinda can't limit the amount that is read. I have simple student.dat file which is filled ATM with nothing else but simple string "somethinginside", without quotes. When I do this on each … | |
Below is the XML response you get from the W3C Validation API: [code=xml] <?xml version="1.0" encoding="UTF-8"?> <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> <env:Body> <m:markupvalidationresponse env:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://www.w3.org/2005/10/markup-validator"> <m:uri>http://www.pritaeas.net/</m:uri> <m:checkedby>http://validator.w3.org/</m:checkedby> <m:doctype>-//W3C//DTD XHTML 1.1//EN</m:doctype> <m:charset>utf-8</m:charset> <m:validity>true</m:validity> <m:errors> <m:errorcount>3</m:errorcount> <m:errorlist> <m:error> <m:line>10</m:line> <m:col>1</m:col> </m:error> <m:error> <m:line>12</m:line> <m:col>2</m:col> </m:error> <m:error> <m:line>14</m:line> <m:col>3</m:col> </m:error> </m:errorlist> </m:errors> <m:warnings> <m:warningcount>0</m:warningcount> <m:warninglist> </m:warninglist> … | |
Good day: I'm creating a form to write SEO into my php page head and have run into a block on the mysql_query() UPDATE function. I just cannot seem to get it to write multiple fields in a row. What I've done so far is as follows: [CODE] <? if … | |
I'm using cygwin g++ to compile my code and Notepad++ as my editor. The code i authored works fine if i implement member functions in the class definition .h file. However g++ throws a chunk of gibberish at me when i replace member functions with function prototypes in the class … | |
Hello im confused with pointers, how do i create a shallow copy of a string array in c ? [CODE]char *currMenuArray; // ??? char *MainMenuArray[] = { "MAIN MENU", "One", "Two", "Options", "Quit" }; char *OptionsMenuArray[] = { "OPTION MENU", "Option1", "Option2", "Option3", "Back" }; void main() { currMenuArray = … | |
Hey guys, new to the forum. So sorry if i am posting this in the wrong location. To my question: I am trying to create a random password generator, and I think it's done is this way. I have made four arrays, two for the alphabet (capital letters and not), … | |
hi every one im working with some exersies which include inheretence every thing is fine except that the compiler dose not recognize the base clase it says Error [COLOR="Red"] Cannot open include file: 'pointType.h': No such file or directory[/COLOR] here is part of the code [CODE] # include "pointType.h" # … | |
Hi! Sorry for my bad english. Darkening page in ie doesn't work well. On the left side there is part of the site that isn't covered with dark! In firefox this is well, whole page is covered, but in ie not. Thanks. (There is an attachment). | |
Hi, can someone help me? i have 5 textbox, and 5 column in listview, how can i put the data from textbox into columns? and also using F5 key( key event) to add the data(not using butons). Thanks. | |
Hi! I'm creating a guessing game where I ask the user to guess a number between 1-1000. The output where the computer asks the user for a number is contained in a [I][COLOR="Green"]do loop[/COLOR][/I]. The problem I'm having is that I have a high score list and in the high … | |
EDIT: Sorry, it is of course Skype4Com. I really appreciate any help I can get, I want to develop a Skype userinterface for dissabled people, it must be a downscaled version of Skype, an easier human interface focused on video connection. I hold a Bachelor degree in electronics Engineering with … | |
HI, I have a rich text box and loaded a file in that. Used Find and replace form. whaever text found i highlighted in the rich text box by giving background color, changing font size and giving color to the found text. say now i replaced the found text to … | |
Hi, Have drawn rectangle and zoom the image. As per zoom, the rectangle are redrawn ([url]http://www.daniweb.com/forums/thread296495.html[/url]). Redrawn rectangle place slightly down. so i adjusted to fit the point. but the rectangle value varies with different resolutions. how to adjust the rectangle value with different resolution. [CODE] private void pictureBox1_MouseDown(object sender, … | |
can someone give me a code of auto calculation. i have 5 textbox,qty.text price.text gross.text discount.text and netmount.text. for example price is 35.00, then if the quantity is 2,value of 35.00 * 2 inserted into gross, then i got discount 25%, the total will be inserted into netmount.text. hope you … | |
I'm try to design a web page that displays pictures (thumbnail) with a link to the full size picture under the picture.. The code below shows the full path to the picture but I can't figure out how to make it into an link. Here is the php code:[code=php] <?php … ![]() | |
Hi friends, I'm learning to program in C++. I'm using Notepad++ to author my code and Cygwin g++ to compile it. [QUOTE]main.cpp : in function 'int main() : main.cpp : 38 : error: no match for 'operator << ' then a lot of jibberish and number of errors : 1 … | |
Hello everyone, I'm working on a project where I wish to find out who the instructor for a particular course is. The user is has to input the course name and course id for that course id then the script will search for the instructor. If the value returned is … | |
hey frnds, I know the foll one line code which is shown below-- that returns the System32 Path . ?environment.GetFolderPath (Environment.SpecialFolder.System ) "D:\WINDOWS\system32" But i want the Function that Returns the above code. Did Somebody knows that?????? | |
hi, i have problem here....if listview reach 2 records i disable the addmore button but when i delete 1 transaction from the list view it suppose enable the addmore button. Is there anyway i can do that. please guide me | |
I'm trying to create a console uninstaller for my friends, since they use addons for left 4 dead, and I am trying to make this to remove them before they update.. heres the code so far [CODE]using System; using System.IO; class Test { public static void Main() { // Specify … | |
Hello, I want to put some .net web based projects in the resume as a 3yrs experienced programmer. Can anyone please suggest me the kind of good projects. I know C#, VB.Net, ASP.Net, SQL Server. I am learning AJAX, Silverlight also. I would be grateful if anyone could help me … |
The End.