199,114 Archived Topics
Remove Filter ![]() | |
I'm not sure why I suck so bad at this. I was recommended by my prof to use date as opposed to timestamp. I'm starting to think going back to timestamp would be easier due to built in php functions I can use. so in my original addproduct.php form I … ![]() | |
Hello I am making a piece of software that reads a board of difference pieces and then puts them into an array for management. I am at the point where I have got a rectangle around the whole board and am researching what the quickest and most effective way to … | |
<form action="#" Method="post"> <input type="radio" name="cakes" value="blackforest"> <input type="radio" name="cakes" value="darkforest"> <input type="radio" name="cakes" value="vanila"> <input type="submit" value="submit"> </form> > Quoted Text Here here what the thing is i selected a radio button from those choices. now i did refreshing the page. the selected radio button will not display as … ![]() | |
i m displaying image from data base but it gives an error **failed to load given url** in fire bug and image not diaplyed on my website how i can solve these problem? ![]() | |
i have a textbox and a button in list view ! now i would like to get the text/value of the textbox on btnClick event ! can some one tell me how i can get it? | |
I'm trying to find a record in a csv file in a nested stucture: for elem in lstLine[1:]: for item in open(fname): lstData = item.rstrip('\n').split(';') andexfield = lstData[0] if andexfield == elem: do bladibla Now I want ot add error handling: if no record in fname is found where andexfield … | |
Hey, just a quick question, I have a function to double the size of a string array and another function to use StdIn to populate the array my code is public static String[] read() { String[] a = new String[5]; for (int i = 0; i < a.length; i++) a[i] … | |
Hi im using turbo C++ compiler and im currently learning C. Iand have an assignment that i need to make a program that solves mathematical problems. Well first is that. the user would have to input a problem in whichever way the user wants. like this example: (5*2)+2-2/2 it could … | |
Hi, I'm trying to complete this method for a binary search tree and recursion has never been my strong point. All it does is return the total number of nodes in the tree. I have an answer that finds it a different way, but I wanted trying to get it … | |
Hello! I'm new here, so correct me if this is the wrong location... but I'm trying to make a program for the Minecraft server I'm on, and it requires that if someone wants to make a map that is used on the server, that there's a .xml file that shows … | |
SQL server 2012 query. declare IDList cursor for (SELECT ID FROM [dbo].[News] WHERE PublishFromDate BETWEEN cast(@fromDate as datetime) AND cast(@toDate as datetime)) order by PublishFromDate The above cursor wrks fine. But when add order by "desc" make it is not working. declare IDList cursor for (SELECT ID FROM [dbo].[News] WHERE … | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 and this 1 2 3 4 2 3 4 5 3 4 5 6 4 5 6 7 | |
If I don't know the size a string will be, and if that size may change later, and if that string may contain '0' characters, what methods are there to do this? (I would prefer a professional/reliable method if possible) | |
The "r" function works well! #include <stdio.h> #include <string.h> #include <stdlib.h> int main(void){ FILE *file_r, *file_w; int c; char fileread[40]; char filewrite[40]; printf("Enter filename to be copied: "); gets(fileread, 40, stdin); fileread[strlen(fileread)-1] = '\0'; file_r = fopen(fileread, "r"); while(file_r == NULL) { printf("Invalid file, ealnter again!"); fgets(fileread, 40, stdin); fileread[strlen(fileread)-1] … | |
hi all, please share the dode of connectivity from front end to database. thank you in advance | |
HI all, I was looking at this program and noticed few things: import static java.lang.System.out; public class Employee { private String name; private String jobTitle; public void setName(String nameIn) { name = nameIn; } public String getName() { return name; } public void setJobTitle(String jobTitleIn) { jobTitle = jobTitleIn; } … | |
Hey guys, I have written a "bot" program that is scriptable to do certain automated tasks, e.g. type, move mouse, interact with windows etc. I have a little window on this bot program (picture box) which captures the screen and places a crosshair on the window which shows the user … | |
Hi I am planning to create web based association Management project. Can any one please provide me some sample or details which would me more helpful for me to develop the project. | |
I'm having a problem updating records from my VB.Net application to the database (Access Database). I've tried all sorts of update technique and i keep getting either "syntax error in update statement" or "data mismatch in criteria expression". heres the code i'm using: Public Function save1stsemester() 'this code updates 1st … | |
Anybody know what the below means. I'm building Gnuplot on Windows XP with a MinGW compiler. It could have something to do with the flags at the top of the message below but I don't know how to work that out. Error starts 8 lines down. gcc -DHAVE_CONFIG_H -I. -I.. … | |
hi every one, i'm writing a code to split a file into many files with a size specified in the code, and then it will join these parts again. the problem is with the joining code,it doesn't work and i can't figure what is wrong, can any one help? this … | |
This a followup to these two threads: http://www.daniweb.com/software-development/java/threads/438729/recursive-ftp-listingmakingcreatingetc-access http://www.daniweb.com/software-development/java/threads/439941/recursive-ftp-listingmakingcreatingetc-access...-part-2 For the "real thing" Ive decided to break it to two function: Insert file and make directory. Ill reexplain what I am trying to do. Im going to go a folder called "webfolder". If it isnt found, it is created. If … | |
guys,i am developing an application in Nokia Mobile Internet Toolkit which i am pushing an SI indicator,i was using simulator and now i want to use a real phone and to test it in a real wireless environment.what tools can i use and how can i deploy my application? please … | |
can anyone give a hint in Complete Binary Tree Insertion ????? | |
Hey guys, i'm kinda desperate.. because of illness I had to miss 2 months of uni, I was seriously sick and could not even leave house for that time, now it's an exam time and I have no idea how to write it.. fortunately our teacher gave us 8 small … | |
An in-the-wild exploit targeting a vulnerability with Java 7 has led to security experts the world over warning users to disable the Java plug-in for their browser clients at the very least, and preferably uninstall Java altogether. The CVE-2012-4681 vulnerability, comprising two flaws, along with a couple of other 'related … | |
First off, some setup. I'm doing the final course project for my C++ class, and this is the first time I've had trouble. The things I'm supposed to be doing in this assignment seemed a lot simpler before I started working on this, and now I'm just hitting walls. The … | |
Public Module BackupRestoreModule ' save all db Public Function SaveDB(ByVal FileName As String) As Boolean Try ' create the stream writer object Dim FS As New System.IO.StreamWriter(FileName) ' open DB connection and start a transaction Dim Conn As New OleDb.OleDbConnection Dim Tmp As New LMS_DSTableAdapters.BookTableAdapter Conn.ConnectionString = Tmp.Connection.ConnectionString Conn.Open() Dim … | |
Hi, I am trying to insert values into my local SQL database. Here is my code: Imports System.Data.SqlServerCe Public Class AddSensor ' Shared variables Dim con As SqlCeConnection = New SqlCeConnection("Data Source=C:\Users\Bryan\documents\visual studio 2010\Projects\SiteSecure v1.1\SiteSecure v1.1\Database1.sdf") Dim cmd As SqlCeCommand Dim myDA As SqlCeDataAdapter Dim myDataSet As DataSet Dim oForm1 … | |
Hi! I am working on a project in which I have some variables & I have assigned certain default values to those variables.Output of the project should be somewhat like as shown below :- a = 10 b = 20 c = 1 d = 4 ... & so on … | |
I want to know **what are the prerequisites Softwares Needed to install on my pc to start vb.net 2008 and ms sql Standalone and Server Client Software Development**? I have P4 Processor, 4 GB Ram, 1 TB Hard Disk, Oprating System Windows XP Professional Service pack 3. Visual Studio 2008 … | |
hi all, i am sending mail through exchange server version Exchange2010. below is my code: static void Main() { try { string owausername = string.Empty; string owapassword = string.Empty; string mailFrom; string mailTo; string mailSub; string mailBody; ServicePointManager.ServerCertificateValidationCallback = CertificateValidationCallBack; ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010); EmailMessage email = new EmailMessage(service); … | |
Hello, I wonder if 2 backgroundworkers which are asynchronous can call the same function like in the code below. What I wonder is if the function is called Exactly at the same time from 2 workers. Can anything go wrong here or is this not a problem. I am not … | |
I have a server which is hosting just a single site and because of this, I intend to redirect all traffic from domains which isn't mine to my domain. For example, if a random person decides for some reason to point their domain to my server, when my server gets … | |
Hi Guys I need to retrieve a value from the javascript below in my html code and inject this value into a webbrowser. how can I format and invoke this script ? $(function(){jQuery.liveviewWithTable({enableCountsTable:false,enableCountTable:true,countTableElement:$("#count"),directionIn:$.getParam("Counter.DirectionIn"),liveSumUrl:"/local/people-counter/.api?live-sum.json",loadingAnimationUrl:"/people-counter/images/ajax-loader.gif",dataTypes:["in","out"]})}); Thanks a lot | |
Anyone can help? What is the codes to let the word in twinkling motion? I am in trouble of it >< | |
I was wondering if there is any way to parse integers from a string (like in java)? Anyone know of a built in function in c++? | |
I am using one dll in my application for including the functionality provided by that dll . This dll i am getting after installing one msi . But in my application i have a requirement like if the user has not installed that msi then we have to show one … | |
I have a table that has information of fire departments around the state. I am trying to set up the gridview so that the address is a hyperlink with google maps. For example, In my address column, I have an address such as 745 W Colfax Ave Denver CO 80204, … | |
A lot of code here. Basically I'm making an auction type site. This segment of code is for a user to upload a product: I'm pretty sure there isn't anything wrong with addproduct.php but for completeness I feel like I should post it. addproduct.php: <?php require_once('checklogin.php'); require_once('validate.php'); if(!isset($_SESSION['user'])) { //die("redirect"); … ![]() | |
Hi I have the two queries below, they run far too slow around the 20 second mark , I have around 18,000 rows on the videos table and 2,000 on the other. Any thoughts? Thanks $query="SELECT videos.VIDEOID, videos.title, (select video_thumb_chosen.thumb from video_thumb_chosen where video_thumb_chosen.videoid = videos.VIDEOID group by video_thumb_chosen.thumb order … | |
Hello there, How to add items in combo box from mysql database? 'mySQL statement 'tryCatch method ComboBox1._______ = myReader.GetValue(myReader.GetOrdinal("Uname")) I'm trying use this: ComboBox1.items = myReader.GetValue(myReader.GetOrdinal("Uname")) but an error occured. | |
Hey, I have a function in C that I am trying to convert over to C++. I have done everything, apart from this line: memcpy(mel[i],&temp[melstart[i]],mellength[i]*sizeof(double)); I need a way of copying the elements in temp[melstart[i]] over to a vector of doubles.. Here is the C code: void Setup_Mel(int fft_size, int … | |
Hi guys, Do you have some sort of guidelines on how a user is notified that there's a new upgraded revision of the application (assembly information) or set-up files? The situation is like this, I have created a vb.net application and created a set-up file using VS2008. Now everytime I … | |
Hello everyone, I am working on one program that generates a lot of data...eventually it can be in GB range. And the way I am doing it now is just by writing to ascii file everything time... like this: ofstream flowC("outputfile.out"); // declared at the start flowC << prevsid << … | |
Dear all, I have a huge problem and cant figure it out how to resolve it. I have a mysql database. which has plenty of entries in the table. I have linked my search.php page with my database everything is working fine the data is being fetched and showing the … | |
Hey Guys, I'm extremely new to the coding in Assembly language MIPS - currently I'm using QtSpim. And I was wondering how I can go about multiplying two numbers that I input and display that number, as well as, find an average of numbers and displaying that. Any info would … | |
So I am using spim and I am trying to figure out how to take a users input say "16" and then print it as 9 digit binary number. for example 16, 000010000 or say 4, 000000100, 67 01000011 etc etc always 9 spaces and in binary. I have all … | |
Hello, I've been working on this code for a while and I can't get it to display A to a(Uppercase to lowercase) as well as lower to upper, a to A. I've looked around and found suggestions on here and googel from other similar threads that I've tried but none … | |
Hi I am trying to give some sense to this expression #container, #footer { width: expression(document.body.clientWidth < 742? "740px" : document.body.clientWidth > 1202? "1200px" : "auto"); } found on here http://www.cameronmoll.com/archives/000892.html but I can't quite get it. Is it saying if the width of the page is less than 745 … |
The End.