199,114 Archived Topics
Remove Filter ![]() | |
Hello All, First – I apologize if this is not the correct group – the asp groups seem to have a very low activity rate, so I decided to give this a try here. Whenever I try and run/debug my ASP.NET application, I receive the warning that “You do not … | |
hi the following funtion to create thumbnail is called: [CODE]function copyImage($srcFile, $destFile, $w, $h, $quality = 75) { $tmpSrc = pathinfo(strtolower($srcFile)); $tmpDest = pathinfo(strtolower($destFile)); $size = getimagesize($srcFile); if ($tmpDest['extension'] == "gif" || $tmpDest['extension'] == "jpg") { $destFile = substr_replace($destFile, 'jpg', -3); $dest = imagecreatetruecolor($w, $h); imageantialias($dest, TRUE); } elseif ($tmpDest['extension'] … | |
Im trying to get this simple page to do three drop down boxes, the boxes for date and year are fine, but month, the only drop down option you get is "$value" so i would assume that the array is at fault or the way it has been typed in … | |
Hello again guys, this time I need help with the [B]FormClosing()[/B] Event in the Picture Viewing application I made. I wanted it to prompt the user before closing the form (if he had any unsaved changes) and I did it without help. But, the bad thing is, when someone saves … | |
help me pls i have a project its DEPRESSION TEST using Assembly Language i need to know how to create a new screen after entering a character and tally all the answers that user gives on the questions pls help me i dont know the codes to be used tnx … | |
Hello, I really need help. If anyone could, please tell me what I'm doing wrong. Well, I'm making this program that asks if you're happy. Then if you don't answer yes, it will ask the question again until you do. I thought that it would be fun to have a … | |
I am pretty new to C#, but I do have some experience with programming ("some" being the operative word here). I am wondering what is the best way to completely exit out of code at a certain time. For example, I am writing an application to read in a Photoshop … | |
Hello all, Having a bit of a problem and not sure where to start with. Maybe someone here could point me in the correct direction. I have the following code. [CODE] $result = mysql_query("SELECT proposal.*, count(bid.proposalid) AS bids,SYSDATE(), TIME_FORMAT(TIMEDIFF(tomorrowtime, SYSDATE()), '%H hours, %i minutes') AS timeleft FROM proposal LEFT JOIN … | |
I am a C++ and Java programmer and I just have a couple simple syntax questions that I can't find a clear answer to. Yes I tried Google. [B]Question 1: [/B]I found the following code on another forum. [CODE]typedef struct List { char* Name; char* Address; BOOL is_present }List_info; List_info … | |
Ok I have to make a 3-D array within a class and read from a file with input like this [code] 90312 Thing_1 12.34 100 25 // Shelf 9, row 3, bin 12 20705 Thing_2 54.78 24 25 10101 Another_Thing 123.45 183 4 [/code] There array is based off 9 … | |
Hi all, I have a php/mysql based site set up. I want to keep my database layer updated via a python script that will query some other systems, parse data and make the appropriate CRUD calls to my database. My question is might be a simple one but I'm wondering … | |
Hi I was just wondering if anyone knew how to deal with the window.open js function when you want to echo it. Can somebody tell me how to fix the syntax error the below. [CODE] onClick="window.open('viewhotel.php?id='$row['id']','mywindow','width=400,height=200')">' [/CODE] Any suggestions would be great! | |
Don't get me wrong, I don't ignore the power behind CMSes. I want to make a Database driven contents. Here is the approach I want to take, correct me/Add opinion as you it! 1. Integrate TinyMCE editor for wariting contents (WYSIWYG) 2. Have database with table contents and three columns … | |
Hi guys!! I've to make a program that reads an arithmetical sentence from a textbox, e.g 12.3*34+4*5-3 and then on another textbox identify and display what is the content of the first textbox, for example taking the last ex: If I have this input: 12.3*34+4*5-3 The output should look like … | |
I got a problem when using mysql connector with wxWidgets my program crashes right when I start debugging, but it gives no compiler errors. Main.h [code]#ifndef __MAIN_H #define __MAIN_H #include <wx/frame.h> #include <wx/textctrl.h> #include <wx/button.h> // Mysql #include "mysql_connection.h" #include <cppconn/driver.h> #include <cppconn/exception.h> #include <cppconn/resultset.h> #include <cppconn/statement.h> class MainApp: public … | |
hello i was reading today some stuff abt bitfield but here in this program I understand most of it but there unnamed fields inside the structure book says its stuff for allgiment or something like that i dont rlly get what does it do [code] /* fields.c -- define and … | |
I'm trying to figure out how to get info off of a 1 structure to use to get info from a second structure and use the info from the second to change the first. Here's some code hopefully explain it better. [code=c] struct weapons { string name; int str; }; … | |
hey i really need help, how can i generate a simple coding of pythagorean table where it reads the upper right triangle? together, how to get table parameters, use nested loops (which prints out the raw list of all Pythagorean-candidates (do not need to store in an array) & how … | |
I'm trying to crop an image: [code] Bitmap bmp = (Bitmap)pictureBox1.Image; Bitmap cBmp = bmp.Clone(croppedAreaRectangle, bmp.PixelFormat); pictureBox1.Image = cBmp; bmp.Dispose(); [/code] It's partly working, but the image result is smaller, and from a different area out side the selected cropped area. So what's wrong? | |
Hey guys, I have written a recursive function mazeTraverse which finds the path of the mouse to find its food which is placed inside the maze. I am given a maze of of 15 rows and 25 columns. Mouse's starting position is (8,1)[eighth row and 1st column] and the food … | |
hi . im trying to figure out what the best possible way would be for me to zoom into a selected img/div. i have multiple divs with images in them and when a user clicks on one of them i would want the selected image to fill the whole screen. … | |
The following binary search code runs perfect . I feed values that exist in the array and it tells me at what location they are. But if i enter a value non-existent in the array it goes bad. It says number not in array and after that... [U] Any other … | |
Hello everyone, I paid for this script which is a community that offers its members the chance to get a club and joijn other members clubs! However, when people try to join a club they getb this error: Parse error: syntax error, unexpected T_PRIVATE, expecting ']' in /home/cyberpet/public_html/club_join.pro.php on line … | |
help me about this: A program that ask your name and display it. we're using msdos.. thank you.. | |
Hi, I'm trying to create a Youtube video inserter script for my site. Long story short, I need to be able to prototype an HTML element and add a string into the element's innerHTML, like this: [ICODE]myObj.insertVid(5sw2OvIgoO8);[/ICODE] I'm using jQuery to getElementsByClass("sip"). [CODE]Object.prototype.insertVid = function(id) { if (id.length > 0) … | |
I'm using system("color __"); and system("title ____"); in my code and I'm struggling on how to change them according to the input. eg. if the user enters he wants green background and yellow words ... i'm stuck with 2 variables (i would convert them to 2 and 6 [the numbers … | |
Hi, I noticed a few snippets recently where a size_t variable was used for array indices, and after searching around I'm still not sure what the obvious advantage of using a size_t variable over a typical int would be.. To clarify, what would be the difference between this: [code=cplusplus] for(size_t … | |
Hi there, I have a servlet which is meant to retrieve data from the database by compairing the number entered via a web form. The trouble is that, it only gives me the last record in the database and not any other record. I have 5 records in the database … | |
Hi, I've been trying to create a program that gets wikipedia pages, and lists all the links found in the page source. I've used the urllib.urlopen() method to do this, and unfortunately I've run into a little problem. Instead of getting the actual page like say the main page, or … | |
Hi! I am using the Microsoft Visual Studio to build a program that has several threads. The threads communicate among them reading a shared variable; thus, a thread is waiting: "while (variable == 0);", until other thread puts the variable into 1. That occurs more than one time in the … | |
Hi I have a problem, I hope you can help me with. I have a number, which I need to compare to some values. I do not wish to go through all the values, and compare them individually, as I there are too many for it to be efficient. Neither … | |
hhmm.. i need to get the pattern of this particular output on one digit odd number.. could anyone please teach me? ^^ if the number is 9: then the pattern is: *000*000* 0*00*00*0 00*0*0*00 000***000 yeah, the three asterisks get nearer as the line gets down... how can i formulate … | |
I have been searching the web for this but cant find it anywhere, i want to search my mysql database with php but i want it to find records if just one of the search term word are met. eg. Search term from form = "one two three" My database … ![]() | |
hello~ Write a program that will display a pattern depending on n. Assume n as a one digit odd number. Example: if n=9, display *000*000* 0*00*00*0 00*0*0*00 000***000 how will i start doing this type of problem? ^^ | |
I've been trying to get started with sockets programming. However, when I try to use the getaddrinfo and freeaddrinfo functions, my linker complains that they are "not declared in this scope" and that they are "unused variables". I have checked the header (ws2tcpip.h) and the headers appear to be declared … | |
Hi everyone. Basically what I want to do is search for a specific *.exe file upon initialization of my application. The *.exe file that I want to search for happens to be a .NET debugging tool. When / if my application finds this file, I want it to automatically close … | |
Hi good day. i am designing a little project for school. This project is to register the MAC address of the laptops of every student in the school. My problem is, when i put in the student's MAC address in the textbox, i would like the little search algorithm i … | |
So below is my first attempt at using user input, but I can't figure out how to get the input (at the bottom) to plug into my function definitions. I have no proper python training and am attempting to learn on my own with some books. I would appreciate any … | |
If you own a stopwatch, here is your chance to benchmark the various versions of Python on recursion performance. The Ackermann function gives the old computer quite a workout. | |
Hi all! As you probably have guessed, I have a problem. And as such I would like to use your collective knowledge so I can continue. I have a form that has a crapload of buttons on it. so, because I was being lazy, I created myself a ButtonGenerator. Here … | |
i have assigned my two variables correctly, but if i try to login as soon as i enter username and jump to password textbox the username disappers from its textbox and all the credentials are not picked up as soon as i click log in command button.Below is the source … | |
what is the difference between openGL glut and openGL? | |
Hello, JAVA community. I am currently working on developing a system (Hotel Reservation System) as academic work. I am using Netbean IDE 6.7 and MySQL or MS SQL as development tools. I am quite amateur with the use of Netbean, I also find that manual coding is very tedious. So, … | |
How to use large pagination in a limited area , plz see the bottom pictures , please help me ........ as an example in my page , i have [B]more than 100 posts[/B] no my pagination system is like this [B]1 2 3 4 5 6 8 9 10 11 … | |
I'm a total newbie and.. with the code above.. What I want to do is have 10 dValue numbers, but if, of those 10 I only enter 5 values, the exe shouldnt ask me to enter all 10 and just add the 5 values I entered when I press the … | |
i have one table.that contains one salary field.I want to find the third maximum row from that field.If anyone knows this please help me thanks | |
I'm a noob when it comes to C programming. I wrote a simple program that runs an infinite for loop. But inside that loop I wanted to create another loop to stop the user three times after entering incorrect passwords. I tested from different angles it seems like the infinite … | |
Right i'm in the process of designing a web page for a property company and the owner has requested a random property be displayed each day. I have modified a quote of the day script to work with a filemtime method but its not working and im stumped, fairly sure … |
The End.