199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dancks

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 …

Member Avatar for diafol
0
403
Member Avatar for Ben Ashton

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 …

Member Avatar for tinstaafl
0
129
Member Avatar for varma51

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

Member Avatar for diafol
0
122
Member Avatar for AARTI SHRIVAS

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?

Member Avatar for diafol
0
147
Member Avatar for missc

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?

Member Avatar for missc
0
100
Member Avatar for biscayne

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 …

Member Avatar for Gribouillis
0
279
Member Avatar for rachelmorg

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

Member Avatar for JamesCherrill
0
142
Member Avatar for Grandiago

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 …

Member Avatar for Grandiago
0
322
Member Avatar for Na'Vi

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 …

Member Avatar for Taywin
0
233
Member Avatar for 123386761

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 …

Member Avatar for 123386761
0
188
Member Avatar for jrosh

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 …

Member Avatar for JorgeM
0
178
Member Avatar for amit.hak50
Member Avatar for JamesCherrill
0
837
Member Avatar for tomz6

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)

Member Avatar for deceptikon
0
168
Member Avatar for artur.sinelnikovs

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

Member Avatar for deceptikon
0
190
Member Avatar for classss

hi all, please share the dode of connectivity from front end to database. thank you in advance

Member Avatar for broj1
0
53
Member Avatar for Violet_82

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

Member Avatar for Violet_82
0
3K
Member Avatar for Webbsta

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 …

Member Avatar for Webbsta
0
227
Member Avatar for rpv_sen

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.

Member Avatar for rpv_sen
0
274
Member Avatar for Obike

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 …

Member Avatar for Obike
0
558
Member Avatar for daino

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

Member Avatar for daino
0
656
Member Avatar for عشقي

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 …

Member Avatar for عشقي
0
339
Member Avatar for riahc3

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 …

Member Avatar for riahc3
0
324
Member Avatar for emmanuell

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 …

Member Avatar for emmanuell
0
126
Member Avatar for Gujjar007
Member Avatar for Gonbe
0
150
Member Avatar for firewall321

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 …

Member Avatar for T-Dogg3030
0
125
Member Avatar for happygeek

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 …

Member Avatar for vmk99
0
688
Member Avatar for Nethran

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 …

Member Avatar for Nethran
0
355
Member Avatar for Lle26

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 …

Member Avatar for poojavb
0
108
Member Avatar for Thomas7399

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 …

Member Avatar for poojavb
0
288
Member Avatar for Harshita_garg

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 …

Member Avatar for azeem abbas
0
221
Member Avatar for huntvbcode

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 …

Member Avatar for M.Waqas Aslam
0
286
Member Avatar for krunal1986

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

Member Avatar for krunal1986
0
660
Member Avatar for Darth Vader

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 …

Member Avatar for Darth Vader
0
154
Member Avatar for Borzoi

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 …

Member Avatar for Borzoi
0
310
Member Avatar for yous

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

Member Avatar for yous
0
158
Member Avatar for Cw Will

Anyone can help? What is the codes to let the word in twinkling motion? I am in trouble of it ><

Member Avatar for Adak
0
281
Member Avatar for Coach_Nate

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

Member Avatar for rubberman
0
261
Member Avatar for vikuseth

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 …

Member Avatar for rubberman
0
229
Member Avatar for RickCJ7

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

Member Avatar for JorgeM
0
709
Member Avatar for dancks

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

Member Avatar for diafol
0
265
Member Avatar for ford.cotterill

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 …

0
129
Member Avatar for monching

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.

Member Avatar for Reverend Jim
0
307
Member Avatar for phorce

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 …

Member Avatar for mike_2000_17
0
173
Member Avatar for pop_cola

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 …

Member Avatar for pop_cola
0
166
Member Avatar for kdar

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

Member Avatar for L7Sqr
0
615
Member Avatar for faizan.saleem.96

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 …

Member Avatar for pritaeas
0
183
Member Avatar for Harley_Quinn

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 …

Member Avatar for Harley_Quinn
0
148
Member Avatar for calvintmoss

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 …

Member Avatar for sbesch
0
387
Member Avatar for bobby2525

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 …

Member Avatar for sbesch
0
1K
Member Avatar for Violet_82

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 …

Member Avatar for Violet_82
0
114

The End.