199,114 Archived Topics
Remove Filter ![]() | |
Hi, I am trying to copy a directory from one spot on my server to another spot on my server. I have copied the directory successfully, but suppose I delete a file in the "parent" directory. I want the "child" directory to be exactly the same as the parent directory. … | |
Every time I try to reply to a post, I get an error "Message Field is Required" Wazzup? | |
Pls i want to call a constructor within itself but don't know how to. | |
Hi everyone. I am making an application that you need to sign up and login to. I want to use an online SQL database to store the login information. I know how to use a local SQL database, but I want to use an online database. Please help :) BTW, … | |
Hi I'm having problem getting what should be a simple INSERT using a preparared statement to work? Am I missing something? Many thanks require_once ('myaccess/dbc.php'); // $stmnt1 = $dbc->stmt_init(); if ($stmnt1 = $dbc -> prepare("INSERT INTO DEV_property_trades VALUES (?,?,?,?,?) ")) { $stmnt1->bind_param("sssss",$trade_name,$trade_number,$trade_email,$trade_list,$trade_details); $stmnt1->execute(); $stmnt1->close();Code blocks are created by indenting at … | |
We have chosen to create an project on e-shopping in ASP.NET we have chosen front end as HTML & back end as Oracle since we know something about both of this We are using ASP for maintaining connectivity between database & project and pages, etc. Is this good idea just … | |
Hello again, I am asked by my professor to create a program using selection sort in a linked list. Selection sort with sorting only the data is pretty easy, but I'm having a hard time because he made us sort the nodes themselves. Can anyone help by giving atleast the … | |
hi all pros, below is my vb6.0 code. the click command is to save my text and picture. there is no problem for my text. but, i have a problem after saving the picture. the picture can be saved but it is not availabe for preview. is there any fix … | |
Hi guys, I know its too much to ask for but i am a beginner (self-taught) at PHP. Iam tring to build a news website and have this script that i want to implement pagination on. Any kind of pagination will do. Please help and if you can explain how … | |
I want to calculate the instance of * in the text file.... | |
Hi there I have a few lines of code that I would like to ammend but have been unsuccessful in doing so. I have posted in a few other forums with no luck, hopefully somebody here can help me out. I have a delete statement which I have been asked … | |
The local pointer will be remove after i go out from that scope? or will remain? Example: int glb1 = 2; int main () { int var1 = 0; fnCall1(); fnCall2(); //at here } void fnCall1 () { int tmp1; tmp1 = 10000; } void fnCall2 () { int *ptr1; … | |
This are my tables: tblData **numIndex** | **num** | **cost** tblPrize **numIndex** | **num** | **Prize** and the result I want is : tblData.num=tblPrize.num then sum the cost in tblData example of the table view i want: **tblData.Num** | **SUM(tblData.cost)** | **tblPrize.prize** | |
**I have a problem in the Trainee Id Iwant the ID to be like that 20120001 the year should be change if we are in new year and start with a new count i alrady connect the vb with a database how can i do that? ** | |
Hello Friends, I need idea for my below process... I have one medical prescription form in my table....which will generate bill...and a receipt number will be generated in crystal reports.... If suppose a bill is generated for a particular transaction and after suppose few days i need a duplicate bill....how … | |
My name is Leon Norwood Jr....hmm.. Anyway I have this program that I'm nearly done with I have to do one of those ICAO(International Civil Aviation Organization program, in fact it's the same program that I did myself several weeks ago, I now have to do it again with arrays … | |
I am working on a practice exam right now and I came across a write-your-own code problem that I can't figure out. The question is: > Modify your first function. In addition to returning the greatest value by pass-by-value, you should also sent a true/false value back to main() if … | |
Hi, I have voidmain() function in Program.cs [STAThread] static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); frmMain main = new frmMain(); MainTool.frmmain = main; if (args != null && args.Length > 0) { Application.Run(new frmMain(args[0].ToString())); } else { Application.Run(main); } } In that: MainTool.frmmain = main; Assign frmmain variable of MainTool … | |
So for my code that i have below the reg.onclick is happening before it is even clicked and I'm not really sure how to fix this. Thanks for the help in advance. function displaySearch(){ var div = document.getElementById('table') var table = document.getElementById('tableSearch') var res = xmlhttp.responseXML var e = res.getElementsByTagName('element') … | |
I was told to use bubble sort to sort the arrays. what i need to do is read in one array and have to sort into the other array but i haven't been able to figure it out here's the code i have so far. i've been trying to manuplate … | |
Hi, I have recently finished first game in C++ which has huge code which will be fixed in future who knows how many times. It is really not practical to publish entire .exe launcher as fix, but I heard that it isn't case with DLL files. I could simply create … | |
Hi, I'm trying to use a javascript for loop to write out links with titles from an array, that when clicked will execute a function I have written to pop open a new window, with info on the link clicked, this is the code I'm trying to use (this is … | |
I am so confused on how to tell a run time of a algorithm. so i came up with some ex for me to understand. could any one tell me if i am find the run time right plz. ex1 - run time for this loop is O(n)? bc it … | |
Hello, I am trying to write a simple program which should read the first line from the file s1, and display it. When I run it , I get the message cannot implicitly convert 'System.IO.Streamreader 'to 's1.Program' which happens for the line Program re = new StreamReader("s1.txt"); using System; using … | |
![]() | Hey all! I have to come up with code for taking the contents of an input box on my webpage, use that as the name in my script and then display a message based on the time, say "Good morning Dave!" if it's between 5am and 12pm. I have all … |
Hello all, I am having some trouble with my assembly code...still kind of new, but here it goes... The assignment is to desing an assembly program that uses a dialog box to prompt the user for a number. These numbers will be stored in an array. There will be an … | |
hi Am trying to write a C-code that multiply two matrices but i want the elemnets of every matrix is random number using time function main() { srand ( time(NULL) ); int m1[10][10]; m1[10][10] = rand() % 10; scanf("%d%d",&r1,&c1); scanf("%d%d",&r2,&c2); if(r2==c1) { . . . . } this is the … | |
I created a function that saves a file with a custom extention ".nra" however each time that i enter a file name, it throws ArrayIndexOutOfBoundsException public static void SaveFileNra() throws Exception { if(gl.DataStack.isEmpty()) { System.out.println("There is nothing to save!\n"); Menu(); } else { System.out.print("Enter the directory you wish to save … | |
ok, so if i want to increment soemthing to "2.4," how would i do that? This is what i have: While (something == D) { total+=2.4; } Would this be correct? | |
heLLO.../ I tried writing this logic gate with software (estudio) but I am finding difficulties with it.. I understand this may be entry level stuff... but i have never written assembly code in my life.. and I got this off a task.. wud appreciate if someone helps wif my questions.. … | |
I am stuck on trying to figure out a few questions. The questions are listed below. 1: Given the data below, design IA-32 instructions to find the octal string for X and save it in Y. .data X word 200 Y byte 6 dup (' ') 2: Given the data … | |
I have made an application to add monthly usages of coffee to a listbox using an array. I have a button which opens up an InputBox to enter the monthly usages. I then click a button to display the usages in a listbox. Howerver, I only want users to be … | |
Hi there, when calling a method from another class I get the following error message: ** Exception in thread "main" java.lang.NullPointerException at TextAnalyser.main(TextAnalyser.java:23) ** My two classes: import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.lang.String.*; import java.util.*; public class TextAnalyser { static Tokeniser aTokeniser; public TextAnalyser(Tokeniser aTokeniser) { } public … | |
Straight to the point, I am using SOIL (http://www.lonesock.net/soil.html) library to upload images into OpenGl. Loading textures works fine but there is this thing i dont fully comprehend. Lets say I load an image into OpenGL via SOIL and I want to reuse the same image over few other textures … | |
HI there, I was wondering if anybody can advise. I am trying to build an unordered list with a few items in a page, and I want this list to be created and displyaed dynamically. So I create an array of strings and then through jquery I want this to … | |
Hey guys i'm new to visual basic and im trying to figure out where im going wrong. if you have any tip or a point in the right direction. i would be gratful thank you Public Class frmMain Public counter As Integer = 0 Public card1 As Integer Public card2 … | |
how to find the roots of any given polynomial using newton raphson method if any one have the code plz share it | |
hello, I'm creating e-menu system for a restuarent... It has 3 users... and in staff user i want , when the staff see orders of the custmer from StoreOrders1 table which will be displayed in DataGrideView ... i want a botton to move the records of StoreOrders1 to ReceiveOrder table.. … | |
#MySQL TABLES CRASHED BUT STILL WORKING WHEN RESTORED TO MySQL ON ANOTHER SYSTEM, WHY ???# Hi everyone, I'm a software developer and just started my professional career life, question here i want to ask is ... that few days ago i was at client site to resolve some issue in … | |
Hi, I am luking for a Collection library much like what we get in java and c# and in my hunt i came across few names like bucket, coffeeblack, js_cols. Which would be most compatible with jQuery? As i got a nice library from sourceforge.net but it is not compatible … | |
Hello everyone, I am trying to read in a folder path, delimited by / and ending in COSC, and then output the last field to a file. It is supposed to match all directories that end in a course name, for example, COSC-101 or COSC201. I am using the following … | |
Hi All, the other day I somehow messed up my companies website and I am not quite sure what I did. all the logos at the bottom of the page used to be centered, but now I can not get them back. I am pretty sure this a footer.php file … | |
I have a program, and I'm trying to remove duplicate characters. I have tried using toLower(), but it doesn't work...I'm not sure where to go from here. Any help in the right direction would be great! using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SortingLetters { static class RandomLetter … | |
Hey guys I need help with in my code... I need to add a method that checks wheather the weather attributes are consistant or not. thanks for the help heres my code... import javax.swing.JOptionPane; public class Week_eight_number_31 { private int DefaultFarenheit = 70; private String DefaultSky = "Sunny"; public Week_eight_number_31 … | |
Hi, I have a database called my_db1 which contains 3 tables. Out of the 3 tables one table is being populated 24*7. My hosting provider (i.e godaddy) provides 25 Mysql databases 1 GB each. What should I do if the database exceeds the 1 GB size limit? Is there a … | |
Hey all, I have been wanting to make a cool game in jave such as a fighting game starting off simple with drwing stick figures :). But i was wondering why there are so many java games created in Japplet why not use swing- i know there are games out … | |
hello, i'm currently working on a website for my team fortress 2 server, and am now getting to the premium part. i would like to make a page where people select either a subscription or a one-time payment and then pay it. when the payment is done, they would be … | |
I am working on a module where i have to show all the videos list on the left side of a page with thumbnail.& videos player on the center which plays video after clicking. from the list. Need suggestions for open source video player. | |
example: daniweb is very useful webs(read more) or (...) at the end whole message is: daniweb is very useful website. please help thank you in advance.:) | |
hi iam really interested in c++ game programming but i have have no idea how to get started and i have never used c++. i am using C and Java for about 2 years now. could any one let me know where can i learn graphic programming, game programming, where … |
The End.