199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
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 | |
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? … | |
$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 … ![]() | |
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 | |
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 … | |
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 … | |
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; … | |
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 … | |
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; … | |
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 … | |
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 … | |
Would anyone be able to help me set up xampp properly? Or is it secure enough as default? Thanks - Mat | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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// ` … | |
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 … | |
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 … | |
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 … | |
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! | |
if u have an idea share plz | |
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? | |
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 … ![]() | |
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 … | |
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&source=s_q&hl=en&geocode=&q=Skybee+One+Building,+JL.+Kebon+Sirih+Raya,+Kavling+63,+Central+Jakarta,+DKI+Jakarta,+10340,+Indonesia&aq=&sll=-6.180705,106.831355&sspn=0.028245,0.045447&ie=UTF8&hq=Skybee+One+Building,+JL.+Kebon+Sirih+Raya,+Kavling+63,+Central&hnear=Jakarta+Pusat,+Jakarta+Capital+Region+10340,+Indonesia&ll=-6.183313,106.82726&spn=0.014122,0.022724&t=m&z=14&iwloc=A&cid=16520793013655425908&output=embed"></iframe> </div> Thanks. | |
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. | |
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 … | |
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 … | |
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! … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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. … | |
hi ı have an exam can you give some examples about win32 especially main part of programme thnks | |
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) … | |
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") | |
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 … | |
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 … | |
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(); … | |
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 … | |
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. |
The End.