199,114 Archived Topics
Remove Filter ![]() | |
Hi, I need a script to resize JPG, GIF, BMP, TIFF so on. [B][COLOR="Red"]NOT only[/COLOR][/B] for JPG please. I'll be happy if anyone can help me out. Thanks in advance | |
Hi guys. I'm pretty new to sql and I'm having some trouble with a store procedure. I tried to read about it by searching goggle but all the references i got to the topic contained to complex store procedures for me and my current level :P. Here is my simple … | |
Hello everybody, I am currently developping a GUI interface game for windows XP. I am currently having difficulty changing the background of a EDIT box created with CreateWindowEx(). It's default background is white (which is the color I want). But the user is not supposed to be able to adjust … | |
Hello I've been designing a Bookstore where students can login to their accounts and buy books. And since then i've been struggling with this " error '424' Object required " and i i don't know how to fix it. This starts at the beginning of the program at the login. … | |
hi! I hope this is the place for my my question: I work on a file tagging system. I write it in java and use MySQL as my DB. I have a table that contain only one field: file's path. when directory is renamed, it's path changes. and that's mean, … | |
G'day, I recently gotten my MySQL certification, and have been thinking about looking into oracle. Could anyone please recommend some decent reference material to look at? | |
Hello ,Iam trying to write a programme for the connect -N game : Your program must allow two people to play Connect-N against each other using a text-based interface. Since this is a text-based game, we do not represent the players as colours(traditionally red and yellow), but instead as numbers: … | |
[CODE] <script language="javascript" type="text/javascript"> function Calcaulate() { if(document.getElementById("drpPhoneList").value=="Home Phone Lite") { var txtRegular= document.getElementById("txtRegularRs").value; document.getElementById("txtTotalRegularRs").value=parseFloat(txtRegular); document.getElementById("TotalRsTaxes").value=parseFloat(txtRegular)+parseFloat(3.63); } </script> <input type="button" value="CALCULATE" onclick="Calcaulate()" class="button" /> <asp:Button ID="btnAdd" runat="server" Text="ADD" OnClientClick="return Validations()" OnClick="btnAdd_Click" class="button"/> [/CODE] as i have two buttons one is html and other is aps.net button what i want to … | |
(VS2008 SP1)building my 1st website but having a problem...need to have the contents of the page to always be centered with respect to the window size, so that is to change to flow layout | |
Format of the connection string to access an ACCESS database in c# over network? I want to make a OleDbConnection in c# and connect it to an access database in another PC on my lan. This is an example of a connection string to connect to a database on my … | |
Hey all, stuck on abit of a problem. I am outputting afew strings to a text file. However when I check the text file it has been automatically split into 2 lines. Is there anyway to force the output to remain in one line or what is the reason for … | |
![]() | Hi all, I'm currently having an issue with an array, which when i loop through it, it returns random results, or only 1 result even though it should contain more. What i doing atm is calling some information from a database and displaying it. im outputting a hidden field with … ![]() |
Hello everyone I have a hard time making this work.. I have some data that i wish to sort by date , and i would like to sort them asc and desc using a jump menu. I know that within the jump menu i have to call 2 queries to … | |
Hi, i am trying to read the contents of a text file containing a single line into a string. i'm doing this in a while loop. the text file gets updated in each run of the loop and therefore the string should contain a new value in each run. but … | |
I'm a newbie so please forgive me if this is a stupid question. I don't understand what I've missed in the code below and how I can get it to work. I have a few lines of code that works fine. It makes a * show as an error message … | |
I've made a Circular List and I need help implementing a simple memory management. It's the first time I'm doing this so I really have no idea where to start. What I want to do is pre-allocate X amount of Nodes that I can use for my list. Only when … | |
hello....... how to do cronjob in windows. i am using wamp server. give any suggestions. ![]() | |
Hello Is there a recommended way to drag a table from netbeans pallet and use ResultSetMetaData or any class to have the table change automatically for any table being displayed? thanks | |
Hey everyone, I'm trying to get this code to work... [CODE]#include <stdlib.h> #include <stdio.h> #include <stdbool.h> int allPrimes(int n) { int kiloN = n*1000; int count = 0; int i; for(i = 2; i <= kiloN; i++) { boolean hasfactor = false; int j = 2; while(j<i and !hasfactor) { … | |
Can I display formated table in crystal report ?? also I want to take the data of table by using select SQl query that takes data from many tables in database?? please help me? | |
How do i call a vb subroutine from a javascript function? in my code i want to verify if the field is filled or not.if its left black a message pops up but if it is filled it should proceed to submit the form or run the background vb subroutine. … | |
Hi I'm new and have a question regarding MIPS hardware single cycle datapath. I've search and looked through many textbooks and I couldn't find the answer to my question. My question is how does a shift instruction (srl, sll, etc.) get interpreted and travel through a single cycle datapath. Everything … | |
Hello, I want to create an XML file Containing 3 tables say Table 1 : Under this i have one column :Data which has 3 rows of data say 1, 2 ,3. Similarly i want to create more two tables which will have similar structure. All these 3 tables should … | |
The following function DateAdd("h", -24, DateAdd("d", 1, DateValue(Now))) gives todays date without any minutes or seconds. How is it possible by just adding 1 day and subtracting 24 hours we get todays date without time in the result. 'Now' actually displays time along with date | |
I'm trying to append a function to the body tag's onload event... [CODE]<body onload="Do_This();"...> ... ... <script....> document.body.onload =+ " And_This();"; alert(document.body.onload); </script>[/CODE] The alert reports "undefinedDo_This();". The Do_This() function does load (and run) but I want both funcions to run on the onload event. The body tag is in … ![]() | |
hi i want to redirect python compiler messages to a file. for example if i run a python which has a line [CODE=python]a=;2[/CODE] python compiler will give me an error message saying 'syntax error' how i can fetch this error and write it to a file? i run it with … | |
[CODE] //************************************************************************************ //function playagain(); //parameters char cAns //resets game variables and board or exits game //************************************************************************************ void playagain(char cAns) { cout<<"would you like to play again?(y/n)"<<endl;//function call depending of the choice of the player cin>>cAns;//sts value to variable do { iTotalMoves=0;//resets # of moves ResetBoard();//resets game array cPlayerSymbol='a';//resets game char … | |
I figured it out. To return an array you need to write your function as so [CODE] int *foo() {} [/CODE] | |
hi, Is there any sql query to check if a table exists already in a database? Thanks in advance.:) | |
how to create thumbnail dynamic image which store in sqlserver2005 databse.. it will be display in datalist component with thumbnail.. i'm using this function for asp.net vb thank for advance best regards hiks | |
I really like your forum here and I just want to know: How to make your home page shows a small part of your post with the title and "read more.." button, so once you click on the "read more.." button you will be taken into page with the entire … | |
i have a very simple program which takes in file name as argument and print the content of the file , but for some reason it isnt working here is the code [code] import sys ,os def Cat(filename): f = open(filename) text = f.read() print '----', filename print text def … | |
Hi, I'm trying to code a tile engine for a game a couple friends and I are making. The main speed bump that I've run into is converting a string, which the contents are only integers(from a text file), into a integer array. How would I go about this? Thanks … | |
I just upgraded my server and now a simple log script reaks of errors. [code]#!/usr/bin/perl use CGI ':standard'; use warnings; $database = "/full_path/filename.shtml"; $shortdate = `date +"%D %T %Z"`; chop ($shortdate); open (DATABASE,">>$database"); print DATABASE "$ENV{'REMOTE_ADDR'} - $shortdate - $ENV{'SCRIPT_URI'} - $ENV{'HTTP_USER_AGENT'}<!-- - $ENV{'HTTP_REFERER'}--><BR>\n"; close(DATABASE); { print "Content-Type: text/html\n\n"; print … | |
Hi all... I've been teaching myself PHP and MySQL for the past few weeks so I'm pretty new at it. But this question has more to do with javascript (which I have been using for some time) than it does PHP. I am letting the user enter a date into … | |
This should be simple, but I think I am missing up the syntax. I am trying to make a list of the letters that appear in a string. import string values=[] values[5]="12234.7B" holder=[] holder.append(values[5].letters) This code gives me an error on the letters function. Any idea why? Many thanks. | |
I have just started ASP.NET, so I want to know the best books and tutorials online... Please Help ! | |
Hi Im a bit new here and i have been learning programming for a while now. But i just started to learn asm. I've been all over the internet to find how to build a simple os. But there is not much information that is related to my problum so … | |
How your guys run the IIS? I am just done a project (vb.net with access) on the vb 2008 express, but not sure the steps to set up and run the project on the internet with IIS? THANKS. | |
This is my class [CODE]import java.io.*; public class bankAccount { //instance variables public String name; public int number; public double balance; public double deposit; //constructor public bankAccount(String name, int number, double balance, double deposit) { this.name = "John Smith"; this.number = 123456; this.balance = 0.0; } public double getBalance() { … | |
Good day my masters first let me start by saying that i am a complete novice to c++ programming. i got myself into some trouble while debugging a win32 program in 2008 V.studio. with this code line(with similar lines anyway): ::MessageBox (wndhnd, "Error!", "Exception Occured", MB_ICONINFORMATION | MB_OK); Here's the … | |
Ok, guys I know that I'm asking too much questions, it's just that I really want to understand how things work. So I have a little project: Make a program in C which runs three processes (A,B,C), which use a common memory (buffer). Process A generates 50 random numbers and … | |
i want to know how to configure iis in order to access a remote microsoft access database in asp.net.permission how should it be,anonymous iis usrs,... any exact information pls thanks | |
I have a selection box that allows me to select muliple items. I'm trying to use the click event handler to send an array of multiple selections back to the server using the $.ajax function and I'm having some issues. Please help. Below is my html, javascript code, and PHP … | |
Just downloaded C# 2008 Express and I am working from the 'dummies guide to C# 2008'. Having initial problem with some things in the book not corresponding to what I am trying to do- 1 cant find a build-build program 1 from the drop down menu. Just build solution. Is … | |
hi guys, design by contract or aspect-oriented programming. anyone has used one of the above technique? in a nutshell, which one is better? in terms of simplicity and usability, which one is a hassle? | |
Hi, I'm writing a program that totals how long someone has worked by the starting time and the ending time. It DOES work if the times entered are both AM or PM. Like if they worked from 2:00 to 9:10, it tells me the right answer of 7 hours and … | |
Hi , I actually have a script to bundle up two files but i don't know how it works .Can someone please explain. Here's the script:- [code] for i do echo "echo $i 1>&2" echo "cat >$i <<'End of $i'" cat $i echo "End of $i" done [/code] now suppose … | |
I am a relatively inexperienced coder so please excuse my ignorance. I am attempting to write a code to iterate rotations of functional groups in a molecule. The number of groups that need to rotate and the step size is based on user input. I know i can generate the … |
The End.