199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for seanmc23

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 …

Member Avatar for seanmc23
0
185
Member Avatar for karthikanov24

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'] …

Member Avatar for karthikanov24
0
83
Member Avatar for surf

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 …

Member Avatar for edwinhermann
0
127
Member Avatar for TechSupportGeek

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 …

Member Avatar for sknake
0
246
Member Avatar for dharen

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 …

Member Avatar for dharen
0
37
Member Avatar for jefanot

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 …

Member Avatar for William Hemsworth
0
119
Member Avatar for TenaciousC22

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 …

Member Avatar for sknake
0
102
Member Avatar for debuitls

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 …

Member Avatar for debuitls
0
311
Member Avatar for chunalt787

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 …

Member Avatar for chunalt787
0
152
Member Avatar for zinjnhell
Member Avatar for power_computer

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 …

Member Avatar for power_computer
0
276
Member Avatar for Barefootsanders

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 …

Member Avatar for Stefano Mtangoo
0
157
Member Avatar for debuitls

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!

Member Avatar for dasatti
0
294
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
86
Member Avatar for doomfrawen

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 …

Member Avatar for doomfrawen
0
211
Member Avatar for Silvershaft

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 …

Member Avatar for yonghc
0
241
Member Avatar for MrNoob

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 …

Member Avatar for codeguru_2009
0
145
Member Avatar for CrAzD

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; }; …

Member Avatar for CrAzD
0
119
Member Avatar for NightLightSky

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 …

Member Avatar for Foamgum
0
174
Member Avatar for brando|away

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?

Member Avatar for Diamonddrake
0
93
Member Avatar for complexcodes

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 …

Member Avatar for sfuo
0
109
Member Avatar for Sereal_Killer

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. …

Member Avatar for donfady
0
171
Member Avatar for Der_sed

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 …

Member Avatar for vmanes
0
114
Member Avatar for justted

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 …

Member Avatar for nasado
0
942
Member Avatar for maricel91

help me about this: A program that ask your name and display it. we're using msdos.. thank you..

Member Avatar for jingo1126
0
49
Member Avatar for itsjareds

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) …

Member Avatar for Troy III
0
210
Member Avatar for cookies

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 …

Member Avatar for cookies
0
77
Member Avatar for KonkaNok

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 …

Member Avatar for KonkaNok
0
148
Member Avatar for timon_zed

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 …

Member Avatar for timon_zed
0
143
Member Avatar for Tommy_101

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 …

Member Avatar for Tommy_101
0
208
Member Avatar for xagutxu

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 …

Member Avatar for xagutxu
0
129
Member Avatar for mostermand

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 …

Member Avatar for mostermand
0
175
Member Avatar for kyumi419

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 …

Member Avatar for kyumi419
0
108
Member Avatar for mcatominey

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 …

Member Avatar for diafol
0
152
Member Avatar for kyumi419

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? ^^

Member Avatar for kyumi419
0
205
Member Avatar for crash override

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 …

Member Avatar for ndarkduck
0
4K
Member Avatar for voidnull
Member Avatar for papanyquiL

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 …

Member Avatar for papanyquiL
0
206
Member Avatar for alumbagreenz

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 …

Member Avatar for kylegetson
0
108
Member Avatar for optikali

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 …

Member Avatar for sneekula
0
190
Member Avatar for sneekula

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.

0
234
Member Avatar for ctrl-alt-del

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 …

Member Avatar for sknake
0
156
Member Avatar for tawazzile

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 …

Member Avatar for Vineeth K
0
128
Member Avatar for MattyRobot
Member Avatar for pvt_geeker

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, …

Member Avatar for Ezzaral
0
91
Member Avatar for vijaysoft1

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 …

Member Avatar for smartness
0
313
Member Avatar for leadenwinter

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 …

Member Avatar for MattyRobot
0
222
Member Avatar for rajesh79

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

Member Avatar for manips
0
83
Member Avatar for sftwr21

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 …

Member Avatar for sftwr21
0
214
Member Avatar for kained

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 …

Member Avatar for kained
0
187

The End.