199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for grarhakim

Hello, used tech: C# 4.0, sql-Server 2008 i have this stored proc: -- ================================================ -- Template generated from Template Explorer using: -- Create Procedure (New Menu).SQL -- -- Use the Specify Values for Template Parameters -- command (Ctrl-Shift-M) to fill in the parameter -- values below. -- -- This block …

Member Avatar for grarhakim
0
246
Member Avatar for rhayken

GUYS IM NEWBIE HERE , GUYS I NEED YOUR CODING SKILLS . CAN U CREATE ME A AUTHENTICATION PAGE THAT HAVE LOG IN AND REGISTRATION PAGE ?? PLEASE GUYS I NEED IT IN MY WEBSITE ..PLEASE !! THANK YOU IN ADVANCED :) CHEERS !!

Member Avatar for yehuda2001
0
85
Member Avatar for LD Company

Hello programmers! I made two programms. One is for my marks in school and second is for library for my school. One man who work in the library in my school has error with this my software. Software can't load database anymore. When I start program I got error message: …

Member Avatar for Reverend Jim
0
149
Member Avatar for Rizi004

Hi I want to ask question in loop everytime there is two button in the question one is for download image and the other is next if user click on download the image download and next itration start and if the user click on next button the next itration start. …

Member Avatar for diafol
0
142
Member Avatar for rrr12345

I have made a chat client using TCPListener for server and TCPClient for client it works perfectly fine on localhost. However it is unable to send message over a ad-hoc network. I have tried everything i can think of. 1.Firewalls allow the application to run on both computers. 2.Even disabling …

Member Avatar for rrr12345
0
275
Member Avatar for yous

I have a AXI camera that count the number of people entered the building and show the result on web page with video. The webpages update the count every time it detect a passing person. I believe the page has 2 iframes. I`m trying to insert the value of the …

Member Avatar for tinstaafl
0
1K
Member Avatar for histrungalot

["Objects that are instances of an inner class exist within an instance of the outer class"](http://docs.oracle.com/javase/tutorial/java/javaOO/nested.html) Even though I attempt to create an independent instantiation of the inner class, the outer class is always there because of the statement above. ##Is that ture? If true, then that would also mean …

Member Avatar for histrungalot
0
176
Member Avatar for nblackburn

I am trying to get this Skew double animation working but for some reason nothing is happening when it is called by the Dispatch timer, i would be very greatful of any advice as i am not getting any errors or anything of that sort. > What i would like …

Member Avatar for Momerath
0
122
Member Avatar for ToasterMango

I am working through a text book to prepare for my database module next semester, I am on this exercises which is really tough...to me anyway lol can anyone help converting this into an er diagram? took a while to type lol DreamHome has branch offices in cities throughout the …

Member Avatar for urtrivedi
0
133
Member Avatar for mattster

Hi all, Am building a WinAPI project in Code::blocks and MinGW. I Downloaded some opensource source code, and tried to compile the snippet haveing done nothing to it, and I get *Syntax Error on line 6* for the following code: IDR_MENU MENU DISCARDABLE {//BEGIN POPUP "File" {//BEGIN MENUITEM "New", IDM_NEW …

Member Avatar for mattster
0
330
Member Avatar for gahhon

protected void btnOkay_Click(object sender, EventArgs e) { Boolean blBill = checkBill(); if (blBill == true) { SqlCommand cmdRegistrationID = new SqlCommand("SELECT RegistrationID FROM Registration WHERE RegistrationID = @id", conOOC); cmdRegistrationID.Parameters.AddWithValue("@id", txtRegistrationID.Text); conOOC.Open(); SqlDataReader dtrRegistrationID = cmdRegistrationID.ExecuteReader(); if (dtrRegistrationID.HasRows) { while (dtrRegistrationID.Read()) { Server.Transfer("Make Payment.aspx", true); } } else { Response.Write("<script>alert('Record …

Member Avatar for JorgeM
0
131
Member Avatar for bbjybon89

Hi, I have a problem to delete data from mysql database using checkbox. This the error appear in my page and the data cannot delete. <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="mentormentee"; // Database name $tbl_name="appointment"; // Table name // Connect to server …

Member Avatar for broj1
0
207
Member Avatar for Dani

Is there any way to set the long_query_time for the slow query log to less than < 1s? We consider anything over 0.5s something wrong. Or can you recommend any MySQL monitoring software that can handle a super high load without a super amount of storage space?

Member Avatar for pritaeas
0
626
Member Avatar for efth

I have it set up so that onclick (on a picure) calls the following function: function nxtimg(country){ document.getElementById("imgcont").src="images",country,"/",imgs[i],".jpg"; i++; } When I click on the image however, accorfing to firebug, the src of the image is; "images". It should have been changed to something like: "images/a/flag". Where did I mess …

Member Avatar for theHop
0
264
Member Avatar for Spack101

Hi there, new to DaniWeb. I have an idea for a website, im sure many of you have heard "that" one before...but still gotta start somewhere! The website idea is based like Horse Racing, but with a slight twist, instead of horses racing, have the actual users images be it …

Member Avatar for deceptikon
0
182
Member Avatar for websponge

I have no idea why this query doesnt work? the WHERE part will work if I put the value in of the rowset, but I can echo out the variable $faultid and its the same? it executes the query but doesnt change the record? all the variables are declared before …

Member Avatar for websponge
0
159
Member Avatar for Rizi004

Hi I want to give a download button in my web page and when any one click on download button the image download to their computer. How i can do this please tell me? currently i m doing <a href='images/3.png'>Download</a> it open the image in new tab but i want …

Member Avatar for JorgeM
0
301
Member Avatar for mpc123

Hi I have an issue whereby I need to replace characters in a field and also narrow the amount of characters down, but sturggling with putting them both together I have 2 seperate lines of code to do them both seperately that work, but struggling to get them together btw …

Member Avatar for mpc123
0
196
Member Avatar for jemz

Hi can you help me please how can i change the color of progressbar or just look like in windows xp progress bar...please help me...thank you in advance hoping for your positive responds...

Member Avatar for Samanta Goutam
0
8K
Member Avatar for ajitjhajjar

program that contains a Rich Text Box & a scroll bar where scroll bar represents the size of font size of selected text in Rich Text Box as soon as user scrolls the scroll bar.help????

Member Avatar for Reverend Jim
0
480
Member Avatar for munik.bell

I'll appreciate any assistance on this. The scenario; I have a database table with the following sample records; data1-------------dt2----data3------data4--------data5------data6 Brewing Plant-----2------10000------11/3/2012----1136-------person1@yahoo.com Brewing Plant-----2------10000------11/3/2012----1136-------person1@yahoo.com Car Plant---------1------5000-------11/3/2012----568--------person1@yahoo.com Brewing Plant-----1------5000-------11/3/2012----568--------person2@yahoo.com Car Plant---------4------20000------11/3/2012----2272-------person2@yahoo.com Brewing Plant-----3------15000------11/3/2012----1704-------person3@yahoo.com This is my requirement: I want just one notification email each sent to theses various persons with their information. …

Member Avatar for munik.bell
0
142
Member Avatar for saurabh.mehta.33234

The following piece of code outputs 0.1000000000001 float a=0.1; printf("%lf",a); But if I add a 10 times as long float b=0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1; printf("lf",b); It outputs as 0.999999999999989 But if a=0.1 is stored as 0.1000000000001 then the answer should be greater than 10 due to the 1 in last column.Then why is …

Member Avatar for deceptikon
0
241
Member Avatar for websponge

Hi, I have a simple query here, one of my database fields is boolean, 1 or 0, when I echo out the value I want it to be yes or no, I did this, but it doesnt work, $value = .$row[booleanresult]; if ($value ="1"){ $value = "YES" } else { …

Member Avatar for websponge
0
763
Member Avatar for somename

Hello. I am trying to find out how to write a function to replace a string in a text file. So far i got this: find -> is a word i am looking for replace, rep -> new word, f1 -> my file. And i'm stuck with that piece of …

Member Avatar for deceptikon
0
3K
Member Avatar for MARKAND911

I am facing a problem for running my website. I have developed the website and when i hit F5 to view the results i am presented with this error **Description:** The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission …

Member Avatar for JorgeM
0
350
Member Avatar for arny1

Hi There, I am trying to export an image to Excel file from Asp.Net C# page. My code is working fine, and I can merge let say 6 columns in excel file and put the image on these cells. What I would like to know is how to Center this …

Member Avatar for gilesbradley
0
2K
Member Avatar for AndreRet

I have a function as below in javascript that gets all the values from different inputs/selects. It must then build up a string that will be passed to a textarea. This was working fine last night when I tested. I then tweaked something, not sure what I did and of …

Member Avatar for AndreRet
0
169
Member Avatar for Sevyt

Ok my title is probably very vague and unclear. Kind of hard to sumerise in the title. My form has a bunch of textboxes. The content is supposed to be saved with a button. BUT not all the textboxes will have content in them. So lets say i added content …

Member Avatar for Sevyt
0
119
Member Avatar for ello

The code below simply shows and hides a div (content) when you click on the heading (heading). <script type="text/javascript"> jQuery(document).ready(function() { jQuery(".content").hide(); //toggle the componenet with class msg_body jQuery(".heading").click(function() { jQuery(this).next(".content").slideToggle(0); }); }); </script> Demo - http://www.designgala.com/demos/collapse-expand-jquery.html By default, the content is always hidden - Is there any way to …

Member Avatar for ello
0
136
Member Avatar for kubiak

Hi, I have problem with my connection to the database generate from entity data model of Ado.Net Entity framework. I work in Console Application. My code looks like that: public static void Main(string[] args) { string connectionString = "Data Source=(localdb)\v11.0;Initial Catalog=BarDatabase;Integrated Security=True"; using(SqlConnection con = new SqlConnection(connectionString)) { string queryStatement …

Member Avatar for grarhakim
0
253
Member Avatar for diya45

hi In room table the roomtype and roomtypeid i created columns then the problem is that when i run the form and add data in database then in roomtypeID the show is double or single i want that in roomtypeID they show as 1 or 2 in roomtypeid column which …

Member Avatar for ChrisHunter
0
123
Member Avatar for sunnykeerthi

Hi, My below code is working only if there is a single row. could you please help me in doing it for all the rows retrieved from the database. view plaincopy to clipboardprint? <%@page import="java.util.concurrent.CountDownLatch"%> <%@include file="DBCon.jsp" %> <html> <head><script type="text/javascript"> function invoke(but) { if(but==5) { document.abc.action="Users_2.jsp"; } else if(but==6) …

Member Avatar for radhakrishna.p
0
168
Member Avatar for don.davis.773

so I have written a acript that logs into google calendar and pulls the next weeks events and stores them in variables. I am stuck at how to get these variables and put them into a html page does anyone have any ideas? I am running the script once a …

Member Avatar for Gribouillis
0
205
Member Avatar for venkyb47

I am using Decimal data type to store time like 1.30(1 hour 30 min),0.40(40 minutes) in MySQL. I want to calculate total time. When I use SUM function it was giving result in unexpected way. example: 1.30 + 0.30 = 1.60 -> SUM function gives like this. But I want …

Member Avatar for pritaeas
0
593
Member Avatar for TonyG_cyprus

Can anyone suggest a good sqlite3/php tutorial for beginners? I've been using sqlite, and now wanting to learn sqlite3, am looking for a good tutorial but the only ones I seem to find are either assuming you know version 3 already, or are for command line.

Member Avatar for pritaeas
0
107
Member Avatar for v_janssens

Hi there, I'm a Visual Basic novice and have written a very simple GUI which I want to use to run a c++ program. I'm wondering how I would write the button click event to call the C++ program? I assume there's probably a simple way to do this but …

Member Avatar for jean1234
0
364
Member Avatar for arcticman452

I am trying to get the ItemListener to work on this program. I keep getting an error that says the method getSelectedItem cannont be found and cannot figure out how to fix it. import java.awt.*; import java.awt.event.*; public class Buttons extends Frame implements ActionListener, ItemListener { public Buttons() { //set …

Member Avatar for mKorbel
0
132
Member Avatar for hwoarang69

echo"$u2" seem to be working right. but nothing prints for echo"$p2". i tryed raping $_POST['p'] in isset() function but didnt seem to be working. <?php if(isset($_POST['b'])) { $u2 = $_POST['u']; $p2 = $_POST['p']; echo"$u2"; echo"$p2"; } ?> <div> <form action ='login.php' method = 'POST'> <div> <p> <input type ="text" name='u' …

Member Avatar for hwoarang69
0
90
Member Avatar for Magic681

Hey guys, so I'm trying to make a Paper, scissors, rock program (where you play against the computer). And i got pretty far, to the point where it seemed finished. But then i realized that i need to make the program exit itself after the player wins three times. So …

Member Avatar for Magic681
0
420
Member Avatar for kirill226
Member Avatar for jalpesh_007
0
77
Member Avatar for ariel930

Hello again.I recently have been doing a assignment which asks us to write a function to check whether a tree is perfectly balanced.I know the concept of Perfectly balanced tree but I just cant make out how to write this function.Any help in right direction will be highly welcome.

Member Avatar for yde
0
875
Member Avatar for Ritesh_4

Hello, I would be grateful if someone could help me with building a simple dynamic menu breadcrumb in PHP with mysql, using the MVC concept. My pages are stored in a mysql db, and the table is formatted with the following fields: Autokey, Title, IDMenuParent. The latter takes NULL as …

Member Avatar for Ritesh_4
0
122
Member Avatar for myadav

Hi All I am new to java. I am facing a problem I want to compare a string to a set of strings, For example there is variable string x, If the value String X matches to String A , String B, String C then run the particular code otherwise …

Member Avatar for myadav
0
6K
Member Avatar for lulu79

I have two datatables that generate a datagridview like below: 1) datatable name : grpDT ![119](/attachments/large/3/119.JPG "119") 2) datatable name : grpTot ![211](/attachments/small/3/211.JPG "211") I want to merge both datatable so that I the datagridview will be like this: ![34](/attachments/large/3/34.JPG "34") what is the best way to do this? do …

Member Avatar for lulu79
0
4K
Member Avatar for Aoi.Ragnarok

The program I'm making is a program that will display a word in one language and ask for the translation in another. It will then display if it's right or wrong. However, when I test to see if it works, it will display all of the versions of Incorrect, even …

Member Avatar for woooee
0
154
Member Avatar for solomon_13000

I have a file with the name foo.htm inside a folder abc. I am invoking the below script from another html page known as query.html in the folder abc. $.ajax({ url: '/foo.htm', method: 'GET', complete: function(a,b){ alert('complete-2'); }, success: function(a){ alert('good-2'); }, error: function(a,b){ alert('problem-2'); }, }); However, I am …

Member Avatar for Airshow
0
1K
Member Avatar for SpyrosMet

Hello everyone. I have a problem trying to develop a windows phone app as a university project. Part of it is to use google APIs. So I'm trying to make a test web request.My code is as follows: string api_request = "https://maps.googleapis.com/maps/api/place/textsearch/xml?query=restaurants+in+Sydney&sensor=true&key=AIzaSyDpXZSLtOeGLJcYwKKJs2yAAEdfLST0ZXs"; HttpWebRequest google_request = (HttpWebRequest)WebRequest.Create(api_request); HttpWebResponse google_response_file = (HttpWebResponse)google_response.GetResponse(); …

Member Avatar for SpyrosMet
0
379
Member Avatar for saurabh.mehta.33234

Why this piece of code doesnot display array contents #define TOTAL_ELEMENTS (sizeof(array) / sizeof(array[0])) int array[] = {23,34,12,17,204,99,16}; int main() { int d; for(d=-1;d <= (TOTAL_ELEMENTS-2);d++) printf("%d\n",array[d+1]); return 0; }

Member Avatar for deceptikon
0
128
Member Avatar for eilrac

hi im a 3rd year student computer science can you give a proper title proposal for our thesis..we gave a proposal last week but its rejected he said its it special project or it thesis...he said we could use data mining but its not easy to do a software on …

Member Avatar for L7Sqr
0
137
Member Avatar for GolDRoger00

i read from a file okay for each line i save the respective data into their respective variables i output each variable to see if the data has really been saved.(is has) but when i try using the if condition to check the variable and perform a function it doesn't …

Member Avatar for Ancient Dragon
0
127

The End.