199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for weeraa

This is my SP code SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE PROCEDURE SP_Get_Age @name varchar(20) AS BEGIN SET NOCOUNT ON; SELECT Age FROM PersonDetails WHERE Name1 = @name; END GO This is my C# code private void callSP(string name1)//name1 comes properly in button click event { using …

Member Avatar for Reverend Jim
0
158
Member Avatar for geraldike

Good day pals. please i need a VBA code that could make ms excel automaticly tell the maximum point of a curve in a chart. Secondly, another code that would make it automaticly tell the Y-value of the point of interception i.e when two series or range of values are …

Member Avatar for ddanbe
0
177
Member Avatar for mjsmitten

I build a code to eventually get a random item per category. Functions are working. I am just curious if the WHILE and IF are accurate. I am not sure if the first two unset() is good or do I need to drop those? And more important WHY the random …

Member Avatar for diafol
0
143
Member Avatar for divyakrishnan

Hi, I want to upload a file from one machine to another server ie application is in server A and path of the uploaded file is in server B. How can I implement this without using curl, ftp and ssh. The code which I have used is shown below. But …

Member Avatar for pritaeas
0
628
Member Avatar for ManthanB

i am having a tiff file of LZW compression and i wanted to convert the same into CCITT T.6. Is it possible? if sol please give me some advice or sample code about the same. Thanks and regards

Member Avatar for deceptikon
0
4K
Member Avatar for Rasool Ahmed

Hello guys, I would like to know how client browser send data to server whithout refreshing the page (just like chat in facebook)? I have searched in google but I found alot of tutorials but non of them told me what is the basic idea about web server client synchronization? …

Member Avatar for pritaeas
0
230
Member Avatar for kiLLer.zoh_1

$accname =$_POST['uaccountname']; $aid =$_POST['aid']; if($_SERVER['REQUEST_METHOD'] == 'POST' && $_POST['submit'] =='update account') { $qry = "UPDATE accounts SET acc_name = $accname WHERE acc_id =$aid"; mysql_query($qry) or die(mysql_error()); } it gives folling error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for …

Member Avatar for diafol
0
317
Member Avatar for taogomano.wau

if there is a warning ***case bypasses initialization of a local variable*** in a C + + program, what is the solution to solve it? please help

Member Avatar for RonalBertogi
0
295
Member Avatar for mr.unknown

please explain this code to me ` main() { int u,i; for (u=1;u<=5;u++) { for (i=1;i<=u;i++) cout<<i<<"\t"; cout<<endl; } } OUTPUT: 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 explain that how two loops are controlling this output someone explain it step by …

Member Avatar for sanjulovers
0
185
Member Avatar for angelivanov

I have been trying to implement a parallel Depth First Search in Java for undirected graph. The approach I decided to implement uses one global stack which is shared by all the threads and n local stacks where n is the number of threads. Each thread stores the nodes of …

Member Avatar for JamesCherrill
0
1K
Member Avatar for davidjennings

Hi all - am trying to add a background image to the imput area for file upload for the input fields I have used the below css any solutions will be great. Thanks in adavance D #content .input-wide { width: 288px; height: 22px; margin: 0; padding: 6px 5px 6px 27px; …

Member Avatar for davidjennings
0
223
Member Avatar for davidjennings

Hi all I am trying to resolve an issue when I select an expanding div, the first div selection pushes the second div element to the right. is there css fix or other to get this not to push div element to the right Thanks in advance D <!DOCTYPE html …

Member Avatar for davidjennings
0
362
Member Avatar for vishal.du123

for class countryclassinfolink: `$(".classcard").fadeOut("slow");` is working `$(".classdetails").fadein("slow");`is not working <html> <head> <style> .section { background: none repeat scroll 0 0 #FFFFFF; border-radius: 10px 10px 0 0; margin: 0 0 30px; width: 725px; padding: 0 0 20px; position: relative; z-index: 100; } .section.seminars .theta_wrap { border-bottom: 1px solid #A6CBD9; float: left; …

Member Avatar for JorgeM
0
158
Member Avatar for daniel1977

Im having a problem with the following exercise. I have the whole program working, however, the transaction time is not passing to the customer. The only element that this affects is the time that the customer leaves. Anny assistance would be greatly appreciated. Best, Dani Below are the 5 files …

Member Avatar for dexblack_1
0
624
Member Avatar for london-G

Hello, I have a table called product and whenever the value of the field stock = 0 I want to send a notification email to a specific email address. I would like your help guys on how I can implement that and if this is possible. I considered using PHP …

Member Avatar for pritaeas
0
359
Member Avatar for aVar++

Would anyone be able to help me set up xampp properly? Or is it secure enough as default? Thanks - Mat

Member Avatar for Octet
0
157
Member Avatar for xrjf

Saw this thread today: http://www.daniweb.com/software-development/csharp/threads/448676/derivative-integrals You may download the (free) source code from here http://xrjunque.nom.es/precis/swdownload.aspx Need to say it's all vb.net, but you can easily have a .dll (all the 'machinery' is inside a folder: just complile as a .Net's .dll). Then, to derivate say 'cos(x)': dim strToDerivate as string …

Member Avatar for Ancient Dragon
0
175
Member Avatar for krystosan

I have a source code that opens a csv file and sets up a header to value association. The source code is given below: def ParseCsvFile(source): """Parse the csv file. Args: source: file to be parsed. Returns: the list of dictionary entities; each dictionary contains attribute to value mapping or …

Member Avatar for chriswelborn
0
556
Member Avatar for Leodumbi

Ho Gents Is there any one who could help me on getting this sorted out? I want to save a unique indetification record considering this criteria: FULLDATE/PROCESS#. I.E: 03[COLOR="Red"]05[/COLOR]2012/1 03[COLOR="red"]05[/COLOR]2012/2 03[COLOR="red"]05[/COLOR]2012/3 ... 03[COLOR="Green"]06[/COLOR]2012/1 03[COLOR="green"]06[/COLOR]2012/1 For each date, I want it to start from one allover again. I have currently have …

Member Avatar for luvprogram
0
225
Member Avatar for vinnitro

class test { public static void main(String []vinnitro) { int n=5; for(int i=1;i<=n;i++) { if(i<=n/2+1) { for(int j=1;j<=i;j++) { System.out.print("*"); } } else { for(int k=n/2+2;k>=i-1;k--) { System.out.print("*"); } } System.out.println(); } } } It works as i expected but it is still very difficult to understand for me even …

Member Avatar for vinnitro
0
150
Member Avatar for krystosan

I want to know if there is anyway I can make an email alert with a balloon popup in the system tray, so far starting with I have made a system tray icon using pyqt that seemed to be simple enough, but I am not finding any starting point for …

Member Avatar for chriswelborn
0
179
Member Avatar for GhostWolf

I'm trying to learn, and have run into a little difficulty. Trying to add a class to my program, passing a structure as the parameter to the class, and get "The best overload method match...has some invalid arguments" error message - and I just plain don't understand it! // in …

Member Avatar for tinstaafl
0
377
Member Avatar for iraklakis

Don't know why my code crashes when j=317. I thought was the matrix dimensions, so tried some numbers. Nothing particular happened. Every help would be very usefull. #include <stdio.h> #include <math.h> int main(){ int T,i,j,t,c,r[T],Jmax,Z,k; float v[10],R[10],EBNo[10],trapserv[10],a[10],w[10],Pblock[10]; float L[j+1][j],B[T+1][j+1],b[T+1][1000],P[T+1][j+1],q[j+1],qnorm[j+1]; float sigma,mtimi,mtimic,CV; float Nmax,g,W,EIother,C,Nown,No,totofcell,sumq; float Gamma,bita,QA,LA,BA; float x; //Data input// ` …

Member Avatar for iraklakis
0
235
Member Avatar for erogol

I have two structures as; struct collapsed { char **seq; int num; }; // set of collapsed examples struct data { collapsed *x; int num; int numblocks; int *blocksizes; float *regmult; float *learnmult; }; And I have one statically defined 'data X;' need to be transmitted into device memory from …

Member Avatar for Moschops
0
3K
Member Avatar for Ancient Dragon

I have the code below in VS 2012. It dynamically allocates a DataGridView and an Update button, then it binds the grid to MS Access database table. That all works well. When I click the Update button btnUpdate_Click() is called, which calls the DataAdapter's Update() method. That produces the syntax …

Member Avatar for Ancient Dragon
0
953
Member Avatar for london-G

Hello, I don't know if I am posting this in the right section, I have a Java Database application(mysql). I have used netbeans to develop it. I have one table product_tbl which stores the stock level. I want to send an email notification to a specific email when the stock …

Member Avatar for london-G
0
164
Member Avatar for Ram J

I need a C++ program which receives two numbers from input (n, x) and calculates the following equation for entered numbers (n, x). 1 + x/1! + x2/2! + · · · + xn/n!

Member Avatar for sanjulovers
0
206
Member Avatar for pearl doll
Member Avatar for daino

I'm trying to use std::ofstream to create a file but I'm getting an error. I'm using a string variable instead of a string. example below. std::ofstream Myfile("C:\\testfile.html"); // This works fine //but the below doesn't string mystring = "C:\\testfile.html"; std::ofstream Myfile(mystring); //doesn't work. Not sure why. Any clues?

Member Avatar for Moschops
0
491
Member Avatar for UK-1991

Hello All bellow is the code for time in which is not showing up when i login as admin. Php Code: <?php $query = "select * from presence where uid=".$uid." and date='".$date."'"; $recordset = mysql_query($query); while($record = mysql_fetch_array($recordset)) {$count = 1; //echo "<td>Your Time In :==: ",$record["timein"],"</td></tr><br></table>"; echo "<center><table><tr><td>Your Time …

Member Avatar for diafol
0
185
Member Avatar for mjsmitten

Is it possible to make a while loop for a function but in stead of just echo it's result, store it in an array??? values in database for example: one, two, three, four. In a normal way I do: While (havenumbers()) { echo havenumber(); // displays "one" etc. } In …

Member Avatar for paulkd
0
127
Member Avatar for davy_yg

Hallo All, How to add google maps on certain address with php / html script ? How to find the script ? This is what I have so far that I would like to change the address: <div class="row"> <iframe width="100%" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=Skybee+One+Building,+JL.+Kebon+Sirih+Raya,+Kavling+63,+Central+Jakarta,+DKI+Jakarta,+10340,+Indonesia&amp;aq=&amp;sll=-6.180705,106.831355&amp;sspn=0.028245,0.045447&amp;ie=UTF8&amp;hq=Skybee+One+Building,+JL.+Kebon+Sirih+Raya,+Kavling+63,+Central&amp;hnear=Jakarta+Pusat,+Jakarta+Capital+Region+10340,+Indonesia&amp;ll=-6.183313,106.82726&amp;spn=0.014122,0.022724&amp;t=m&amp;z=14&amp;iwloc=A&amp;cid=16520793013655425908&amp;output=embed"></iframe> </div> Thanks.

Member Avatar for davidkroj
0
148
Member Avatar for sanyam.mishra

In my program I need to execute two loops at same time. How can I do that? As windows have multi processing can I too complete two or more processes at same time? Actually I need 3 different timers which will be running simultaneously.

Member Avatar for mike_2000_17
0
577
Member Avatar for Pobunjenik

Hi everyone! So, I hereby hope to show that I've made progress in coding java (largely due to the help of this great community). I want to thank everyone for dealing with me (especially James). :) The goal: The code below is supposed to seed a layout of boats into …

Member Avatar for JamesCherrill
0
2K
Member Avatar for Ritesh_4

Hello, anyone can pls help me with a css issue, where I want to make the height of a div flexible based on the content? I have 2 divs, the first one being a large div which contains menus, and the second div for text content. The first div is …

Member Avatar for Ritesh_4
0
186
Member Avatar for mjsmitten

I have a question about using variables inside a function. The first part of code is not working. It appears that the variable '$myvalue' is not being served to the function although when I echo the $myvalue it has the right text. If I however use normal text, it WORKS! …

Member Avatar for IIM
0
163
Member Avatar for 9tontruck

Hi.. d1 = a1*x1 + b1*x2 + c1*x3 d2 = a2*x1 + b2*x2 + c2*x3 d3 = a3*x1 + b3*x2 + c3*x3 Knowing all of a,b,c,d, I have to find x1, x2, x3. As you might noticed, this is high school math. But, how do I write the code to …

Member Avatar for DavidB
0
414
Member Avatar for eos.paks

Good Day, I would like to ask some Help regarding on my Textfield that will not be allowed SPACES WITH NO CHARACTER, SPACES CHARACTER only be allowed is Characted Spaces Characted. Your Response is Highly Appreciated. Thank You.

Member Avatar for eos.paks
0
2K
Member Avatar for DarrelMan

Making a command line interpreter for my Operating systems class The following line is giving me a problem if (strcmp(argv[0], "ren") == 0) { return RENAME; } For whatever reason it does not return anything. However if I change "ren" to "darrel" it returns the proper value of RENAME and …

Member Avatar for DarrelMan
0
196
Member Avatar for geneh23

Hey everyone, Sorry for the lack of knowlege. I've tried google-ing how to imput and display images on a web page without the image showing up in weird symbols, but I've had no luck. Can anyone help me? My purpose is to simply store an image manually into a mysql …

Member Avatar for cereal
0
720
Member Avatar for Mr.M

Hi DW There is a project that I'm currently doing and now I just thought of saving some data online so now my question is that how can I write code to fisrt of all create a file with a name of a user then inside the file write and …

Member Avatar for Dervish1
0
231
Member Avatar for PDB1982

I'm trying to generate a random number for each field in column "A" of my spreadsheet, and I have been trying to experiment with the following formula: =LARGE(ROW($1:$1000)*NOT(COUNTIF($A$1:A4, ROW($1:$1000))), RANDBETWEEN(1,1000-ROW(A4))) This is giving me the numerical values that I want, but is affecting both Columns "B" and "C" as well. …

Member Avatar for Stuugie
0
198
Member Avatar for lemongardens

hi ı have an exam can you give some examples about win32 especially main part of programme thnks

Member Avatar for Ancient Dragon
0
134
Member Avatar for ses03

how can I store this in a variable named ptotal? ptotal = Double.Parse(Me.txtt1.Text) + Double.Parse(Me.txtt2.Text) + Double.Parse(Me.txtt3.Text) + _ Double.Parse(Me.txtt4.Text) + Double.Parse(Me.txtt5.Text) + Double.Parse(Me.txtt6.Text) + _ Double.Parse(Me.txtt7.Text) + Double.Parse(Me.txtt8.Text) + Double.Parse(Me.txtt9.Text) + _ Double.Parse(Me.txtt10.Text) + Double.Parse(Me.txtt11.Text) + Double.Parse(Me.txtt12.Text) + _ Double.Parse(Me.txtt13.Text) + Double.Parse(Me.txtt14.Text) + Double.Parse(Me.txtt15.Text) + _ Double.Parse(Me.txtt16.Text) + Double.Parse(Me.txtt17.Text) …

Member Avatar for tinstaafl
0
156
Member Avatar for sundog1

Hi Guys... looking for a quick answer on excel Formula.. Anyone know why my text "Please Chase" is not showing up? =IF(ISNUMBER(F2),$F2>TODAY(),"Please Chase")

Member Avatar for Stuugie
0
107
Member Avatar for GregXaiver

Good Morning, My name is Greg and I am trying to teach myself to write code. But I have a question I wrote a program that compares a range of numbers and tells you the grade. The program works and dose what it is supposed to do but I have …

Member Avatar for GregXaiver
0
172
Member Avatar for edward.miller.921

Hey guys, I've been trying to create a simple calculator interface in Python, with a display, a set of buttons which can input the digits 0-9, buttons for addition and subtraction, a button to clear the display, and an equals button. Code so far: from tkinter import * import tkinter.messagebox …

Member Avatar for edward.miller.921
0
860
Member Avatar for php.coder

Hi; how can i show the delete and edit link to the user who has posted the comment just like in facebook only the person who has posted the comment is allowed to edit or delete the comment below is my code <?php //including the database connection file include_once("includes/settings.php"); connect(); …

Member Avatar for klemme
0
328
Member Avatar for riahc3

Hello I want to make a standalone program that (for example) is for a very small supermarket that stores in a database their stock. Now, I dont think it is neccesary to install MySQL Server on a client's computer so how do you "embed" it so to speak into the …

Member Avatar for amateurmosta
0
125
Member Avatar for idlackage

For example, after I press the button to submit this thread, a new page is created for it. How does this work/what would be the right way to describe it? I'm not sure where this should belong to so apologies if it's in the wrong forum.

Member Avatar for ryantroop
0
420

The End.