199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jacksantho

Hi, On executing CROSS APPLY Clause using UDF: create function Reg(@pc int,@pp varchar(15)) Returns Table As Return select cr from crt where piod=@pc and cr=@pp Go select distinct a.cr from cdet AS a CROSS APPLY Reg(a.cr,a.piod) AS a where a.piod='208'** Am getting this following errors: Incorrect Syntax near '-'. Thanks.

Member Avatar for BitBlt
0
312
Member Avatar for blake81

I need a little bit of help with my coding below. Whenever I try to run the second application it gives me momPalindrometrue dadPalindrometrue sisterPalindromefalse racecarPalindrometrue JavaPalindromefalse A man a plan a canal PanamaPalindromefalse Hurray for HollywoodPalindromefalse Mr Owl ate my metal wormPalindromefalse Was it a car or a cat …

Member Avatar for NormR1
0
299
Member Avatar for kww228

I am trying to make a program that will do addition and subtraction on positive integers of any length represented in characters using ASCII operations. The code I have work for the addition but the subtraction brakes around line 35. Thank you for the help. Code is listed below include …

0
84
Member Avatar for jarograv

I have used snippets of code from various sources to compile the following code: import java.awt.*; import java.awt.image.BufferedImage; import java.io.*; import javax.imageio.ImageIO; import javax.swing.JFrame; import java.util.Calendar; public class ShowImage extends Panel { static Calendar cal = Calendar.getInstance(); //gets system time BufferedImage image; private static final String holidaysimages[] = { //declares …

Member Avatar for NormR1
0
297
Member Avatar for Masque

I have a confusion of how to put that max and min in main method so it would run. PS: there might be mistakes ***The goal is to create a method that enter any numbers by user and it suppose to show the Max and Min.*** **PLEASE HELP~! what is …

Member Avatar for Masque
0
487
Member Avatar for needforkevin

hello! i have written a program to read in a text file and then ask the user to process the file with a different sorting method. so far i have been able to get my program to read in the file but my bubble sort seems to not be sorting …

Member Avatar for needforkevin
0
244
Member Avatar for Mariel Pineda

# Heading Here # Please help me. When I get the value of price and stock whatever number value I input will turn into 0.00 while the stock turns empty.Btw I can get the other fields the code and the title values my only problem are the stock and pice. …

Member Avatar for tutorials4web
0
116
Member Avatar for ak47carbon

i make a website in php ,in whichi give topic on topic user give comment , problem is that when user give comment ,after giving comment when we refresh the page , the browser ask a question resend and cancel in dialogue box sir plz tell me how can i …

Member Avatar for Biiim
0
204
Member Avatar for sasho648

I've made some functions which can insert file inside a file but only with a small text files and they're very slowly. I will thank you if someone know a better way. Here are my functions: 1st struct Tree { char Symbol; Tree* next; } ; Tree* GetTreeHandler(unsigned long num) …

Member Avatar for sasho648
0
249
Member Avatar for khanthegamer

**Okay i have a problem that i am not able to sort out for couple of days now. I dont know why the code is not doing what it supposed to do. Basically I have written this code for a vending machine. Things i want in a vending machine ------------------------------------ …

Member Avatar for khanthegamer
0
160
Member Avatar for mrcniceguy

basically i am checking if i am in the same url as the page and i want to refresh the page only once,but whenever i try it keep refreshing infinitively place='/development/petersburg'; var pathname=window.location.pathname; if((pathname==place)){ window.location.reload();//reload the page } help!! how can i limit this page to refresh only once if …

Member Avatar for mrcniceguy
0
2K
Member Avatar for Ribamar23

Hi all I want to begin developing apps to android and IOS (mainly android) after trying the mobile by conduit platform to create a app, I want to go further in developing apps.... and not be attached to a web service like the one provided by conduit. I downloaded and …

Member Avatar for peter_budo
0
195
Member Avatar for CGorelik

Hello, my name is Carol. I'm currently taking an introductory course in C++ and we just learned about functions. I was wondering about the standard accepted format for placing function definitions. For instance, in the following program, should I have defined the power function before the int main function instead …

Member Avatar for deceptikon
0
299
Member Avatar for Tygawr

I need to be able to read and write huge files that nearly weighs 20+GB and I need to do it fast. Any suggestions or tips? Thanks.

Member Avatar for BobS0327
0
235
Member Avatar for codingcon

Hi all my name is codingcon and i just joined daniweb :), i am new to the the javascript language and only have the basics down. Ihave this idea that i want to make and i just dont know how to do this one thing. basically i wanna know how …

Member Avatar for antonioazevedo
0
130
Member Avatar for xuweisen

hi, I have a problem with my javascript function.. this the code <?php include("include/connection.php"); if(isset($_GET['id'])){ if(isset($_COOKIE["users_resolution"])){ $resWidth = $_COOKIE["users_resolution"]-17; }else{ echo "<script language='javascript'>"; echo "writeCookie();"; echo "function writeCookie()"; echo "{"; echo "var today = new Date();"; echo "var the_date = new Date('December 31, 2023');"; echo "var the_cookie_date = the_date.toGMTString();"; echo …

Member Avatar for stbuchok
0
198
Member Avatar for apals

Hello , i am working on a section of a project, that parses Logs from Postgres Database Server. The application is developed in C sharp Framework 4.0. A log is produced and displayed on a DataGridView with the following columns resultCode Statement Starttime Duration XT001 select * from PizzaMade 01-02-2012 …

Member Avatar for Mitja Bonca
0
219
Member Avatar for cryonize

Can anybody tell me what's wrong with my selection sort of linked lists? It's meant to sort the whole node, not the data. #include <iostream> #include <iomanip> using namespace std; typedef struct node { int DATA; node *NEXT; }; node *HEAD = NULL; void Create(int data); void Display(); void Sort(); …

Member Avatar for Nick Evan
0
592
Member Avatar for mitchfizz05

Hi all. I tend to like making applications that integrate with the Internet. And I like to a service to host my website. I'm currently using 000webhost (www.000webhost.com). Can someone tell me a better service? Cause My service is SLOW as! Thanks :)

Member Avatar for mitchfizz05
0
113
Member Avatar for jhdobbins

included is my entire program... i know exactly what the problem i am having with this is, i just cant figure out the logic to fix it... ive tried about 10 different things so far. I have it so you can input which position you start at... then go around …

Member Avatar for Nick Evan
0
474
Member Avatar for slashqb

Operating System Used:Ubuntu 11.04 Compiler Used: GCC Program related files:[Git Hub Link][1] I'm trying a implement program which will do a job, same as that of CPP (The C preprocessor) when I compile a .c file. In this particular code Copy_file_to_buf function not copying the whole file into the buffer. …

Member Avatar for slashqb
0
174
Member Avatar for caba992

****i want to display thread1 thread2 thread1 thread2 in java but i am not that good at thread i understand that i have to create three class main class, thread1 and thread2 class and i know i have to use wait() or notify() method ..i anyone help just give to …

Member Avatar for NormR1
0
131
Member Avatar for Checkerboz

Hey, so I am wondering what would be the easiest way to check if a double "looks" a certain way. Like this: Let's say I have some input and I want to check if the input has the same format that I want it to be. Here's what I want …

Member Avatar for NormR1
0
215
Member Avatar for mitchfizz05

Hi all. I want to make a facebook bot that will answer questions that get sent to me. I need to know how to make my application send and receive messages. Thanks.

Member Avatar for mitchfizz05
0
170
Member Avatar for DreaIVI

Hi, I recently decided to have another go at learning some programming, and decided to make some sort of 2d gameboard useable for stuff like Chess and Othello. I ran into a problem that I ran into last time I tried learning programming as well, and it has to do …

Member Avatar for NormR1
0
204
Member Avatar for Poonam Jadav

Hello sir/mam `Inline Code Example Here` i am a student and working on php and javascript but i have a very little knowledge of javascript i am stcuk in my project i want to calculate total of two variables which are defined in two different javascript function here is my …

Member Avatar for Biiim
0
106
Member Avatar for jonnyboy12

Hello. I have a unique situation. I have so many text box's in my form that i wound up making a text box array. Now each text box i make i have to give it a mouse clicked event and mouse moved event. I cannot write these event functions for …

Member Avatar for Milton Neal
0
115
Member Avatar for zachattack05

I've been reading about various methods of how to do this, but I wanted to ask if something will work or not and was hoping someone could be kind enough to test this out for me. I do not have an email client (Outlook etc...) and just use Gmail. If …

Member Avatar for Mitja Bonca
0
152
Member Avatar for JDoggieIII

Hello, I am attempting to sandbox a silverlight application that will display several windows both within a browser, and out of a browser. I'm new to silverlight, so this is giving me some trouble. Creating this sort of application using .Net for a windows application is straightforward, but I'm not …

Member Avatar for JDoggieIII
0
129
Member Avatar for kytro360

Hi, Does anyone know how to create a delay in C#? I dont like to use Thread.Sleep because it makes the GUI unresponsive. Do you know of any good alternatives?

Member Avatar for Mitja Bonca
0
296
Member Avatar for Amar Rawat

How can we validate Textbox Date of Birth . in asp.net which take input more than 18 years.

Member Avatar for hericles
0
92
Member Avatar for chirag_mittal

Hello, I was having some trouble related to a code. I wanted to pass a 2-D array as argument to a function,but I'm getting an error saying 'Expression Syntax in function Main'. I am trying to do it like this :-> void input(int **a[][10],int b,int c) { int i,j; printf("\nEnter …

Member Avatar for chirag_mittal
0
436
Member Avatar for 3tplus

Hi, How can i create a link in my PHP code (index.php) that when a user click on that link it will: 1. call doSomething() function within index.php 2. then call Myhtml.html Thanks for your help

Member Avatar for Biiim
0
413
Member Avatar for ebanbury

Hi I am a bit stuck on how to close a security issue. Basically if someone is looking at their profile and wants to edit it the URL will show the id of the user. Currently anyone can just change that number and have access to viewing and changing another …

Member Avatar for Biiim
0
4K
Member Avatar for Madriganoh

REFERENCED WITH confic.php for connecting the database. $link = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); if(!$link) { die('Failed to connect to server: ' . mysql_error()); } //Select database $db = mysql_select_db(DB_DATABASE); if(!$db) { die("Unable to select database"); } //Function to sanitize values received from the form. Prevents SQL injection function clean($str) { $str …

Member Avatar for pritaeas
0
235
Member Avatar for stereoworld

Ahoy, I'm having a bit of trouble executing a stored procedure using PHP's SQLSRV package thing. It's pretty much just a simple select query, with the parameters being passed through a php (it's from a property search). SqlSrv is a tough nut to crack as docuemtnation is either non existent, …

Member Avatar for stereoworld
0
5K
Member Avatar for CCBB

Assignment #2 Write two classes Class RestaurantMenu that has the following members class RestaurantMenu { double price[10]; string Menu[10]; int numMeals; public: RestaurantMenu(); void AddToMenu(string s, double d); void DeleteFromMenu(string s); void ShowMenu(); double FindMeal(string s); }; The Constructor: will fill the price array with zeros and fill the Menu …

Member Avatar for CCBB
0
136
Member Avatar for Ahmed Sarwat

Hi, Kindly I hope that I can find help regarding reusing of scanf. If the user should enter only integers not floats and the scanf is within a for loop. how can I force the program to continue normally when EOF happens as a result of wrong input? Example: int …

Member Avatar for WaltP
0
207
Member Avatar for paulzef

So I'm just learning python still, and I've got this assignment to make a maze program (no graphics or any of that, just a text based one) and I'm trying to get it working, but the function I've written to find the legal moves keeps throwing errors. The most recent …

Member Avatar for TrustyTony
0
197
Member Avatar for Revathy Sesha

hi i have installed iis in my laptop that is running a windows 7 prof os and i have been trying to run asp pages and i am not able to do it.. i get the error message saying "the requested url not found on this server"..what can i do …

Member Avatar for maxsamuel
0
932
Member Avatar for infinitus

Hello there guys, im having little problem and help would be appreciated :) I have few tags <name> <capacity> <lectureslot> <tutorialslot> and so on, and i want to read each tag separatly into separate field(label), or listbox. Here is part of my XML <?xml version="1.0" encoding="utf-8"?> <timetable> <module code="3SFE504"> <name>Algorithms …

Member Avatar for thines01
0
214
Member Avatar for davebrown2242

Man, my *rookie* status os showing on this one... For the life of me, I cannot determine why my graphics panel section is not working to correctly display my Pie Chart.... I have the output broken down, and the variables exist... It runs looking for Annuities.csv in the C:\temp folder... …

Member Avatar for davebrown2242
0
258
Member Avatar for HasNor

Hi guys, Here I got a problem that my session expired is not secure I think.. I use this code, but user can click button back and go to previous page. Means session not destroy.. May I know why its happen. Within 15 min it will be logout but user …

Member Avatar for HasNor
0
171
Member Avatar for cwdaniels

Alright. So I'm fairly new to C#. What i've down thus far is create the beginnings of my program: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; namespace WindowsFormsApplication1 { public partial class BirdNumber : Form { public BirdNumber() { …

Member Avatar for hericles
0
174
Member Avatar for akaicewolf

Alright so I am trying to insert nodes into a linked list but also I want them to be sorted right away I think I got most of it except I am struggling when it comes to inserting it to the middle of the table temp -> price = price; …

Member Avatar for akaicewolf
0
128
Member Avatar for Dexxta27

I have a program that's supposed to interact with a databse but I keep getting a NullPOinterException. I know it means that something is set to null. But how to change them from null is my main problem import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.SQLException; /* * To change …

Member Avatar for Dexxta27
0
124
Member Avatar for pattilupwned

Hey all, I'm a beginner programmer and need help here. I can't figure out how to translate a word that begins with a consonant. I have all the code to translate a word that begins with a vowel, and those words translate correctly, but I cannot get the words with …

Member Avatar for pattilupwned
0
2K
Member Avatar for ZMike

If I hard code something into the conatins it works just fine valstring = "[contains(title,'Test')]"; However if I try and use contains against the xpath title and then use what was entered into a text box I haven't figured out how to do that. I'm sure it's something very simple …

Member Avatar for ZMike
0
136
Member Avatar for TheWind147

Hello, I am in the process of creating a program that accepts random numbers, put them in an array and sort them using different types of sorting algorithms. I then passed the array as an argument to the "BubbleSort" function, however, when I try to call the array in the …

Member Avatar for TheWind147
0
190
Member Avatar for POOPdeek

Hey guys. I am somewhat new to the C++ language and was wanting to make a basic text editor. For this i was going to use Nodes and linked list to accomplish this. the main thing i need help with at this moment is creating a command prompt for the …

Member Avatar for Ancient Dragon
0
326

The End.