199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Naveed_786
Member Avatar for AndreRet
0
260
Member Avatar for Skillzilog

im having a problem on double execution, this is a part of audit trail on my system, the DELETE FUNCTION is working, but it aint updating, im getting an error - it says that "Syntax Error on update statement" on i tried to manually query it on my access and …

Member Avatar for AndreRet
0
128
Member Avatar for jon44

Hey everybody, I'm new to PHP, and am having a seemingly simple problem, (Probably a stupid error on my part, atleast I really hope so) I hope you can help me deal with this, and to say thanks for any efforts, I will build 1,000's of backlinks for you, for …

Member Avatar for pritaeas
0
497
Member Avatar for RaghadAsfar

Hi, I need to know if we can use the if satament with methods and how? and what is the illegal start of expression?

Member Avatar for javaAddict
0
79
Member Avatar for trance girl

Hi, I have a question regarding Jquery :). I'm just a beginner and I don't know much that's why I need your help. I have a main menu that is drop down menu with images. But that other list must be separated. Why? Cause I'm working with Kentico CMS (ASP.NET) …

Member Avatar for trance girl
0
122
Member Avatar for minamo99

Hello everyone, I am a beginning programmer using XSLT. I work at a company wich has a database witch generates catalogs, exporting XSL and XML to FOP.(wich converts to PDF). the program runs on apache and is build in delphi. That being said, I was wondering if it is possible …

Member Avatar for minamo99
0
1K
Member Avatar for rajbdilip

Hello. I have a form in my website that I want to hide at page load. But after the page load, there remains empty space. The form is inside the table. So, I tried resizing table with following code. But its not working. [CODE] <script type="text/javascript"> function HideForm() { document.getElementById('emf-form').style.visibility='hidden'; …

Member Avatar for rajbdilip
0
142
Member Avatar for bigwhiteegg

here is my question say I have a struct nodetype in the header file named linklist.h there contains a struct constructor in the nodetype named nodetype(int, nodetype*) how to I declare the code in the linklist.cpp? do I do the same for class constructor or something different?

Member Avatar for bigwhiteegg
0
81
Member Avatar for king_koder

I wrote the following function in Python3 for finding the largest product of numbers along the diagonal(top-left to right-bottom). [CODE=python] def GreatestOnDiagonal(data): '''Returns greatest product possible by multiplying 4 numbers in the diagonal ''' grtProduct=1 for item in data: for n in item: product=1 for r in range(0,4): try: d=data.index(item)+r …

Member Avatar for king_koder
0
406
Member Avatar for Setvir

Hi guys and gals! I want to know if I am on the right track. I am working on a simple in-house cms. Here is a templating function I wrote to test an idea. It does work. [LIST=1] [*] The function loads the template file, [*] finds all the template …

Member Avatar for Setvir
0
150
Member Avatar for emko

Hello, I need some help on making a loop for an Windows Form application. This application takes as input a salesperson gross amount, and determines how many of the salespeople earned salaries in each range ($200 - 299, 300 - 399, and so on). I have to use an array …

Member Avatar for emko
0
173
Member Avatar for cr6564

Hello! I am learning how to program on my own in visual basic. I have made a program where the user selects a batch file from a datagridview that is populated with information from the hard drive. I have been able to get the selected item to show up as …

Member Avatar for codeorder
0
653
Member Avatar for Unidennn

Hi, i keep getting a segmentation fault and i cannot figure where the problem is, well the problem is in the while loop but not sure what is wrong with it. Question is enter a line of words with spaces then tokenize them and print in reverse. Here is the …

Member Avatar for Ancient Dragon
0
129
Member Avatar for Krimi

hi im trying to create a small excel addin in VS2008 byt i cant figure out how to write lika a string or an int to a specific cell? for example: i want to write something in cell B1? how do i do that in the C# code? it must …

Member Avatar for SuperSid
0
335
Member Avatar for JoeyWong

Hi all, I want to ask how i insert the selected data (Institution Name) and the input text data (School name) into MYSQL?? Thanks~ my database as below: [CODE=SQL]-- -- Database: `inno_education` -- -- -------------------------------------------------------- -- -- Table structure for table `institution` -- CREATE TABLE IF NOT EXISTS `institution` ( …

Member Avatar for saiprem
0
264
Member Avatar for HoneyBadger

Guys, I am trying to sort a list. But Python does not let me set my new sorted list into a variable. here: [CODE]list1 = ['a', 'z', 'b', 'y'] sorted_list = list1.sort() return sorted_list[/CODE] When I run this on my interpreter, instead of printing my string sorted, it prints "None" …

Member Avatar for ultimatebuster
0
91
Member Avatar for JayGeePee

I found a crawl detection script on the internet that works great. But at the moment I only have Googlebot. I'm trying to add YahoosLurp, and Ask Jeeves, and any other popular web crawler. PHP is definetly my weakness Heres the script [CODE] <?php $useragent = $_SERVER["HTTP_USER_AGENT"]; if (stripos($useragent,"Googlebot")) { …

Member Avatar for mbhanley
0
181
Member Avatar for SabrinaAlex

I tried to do this type of some good random exercise, but I was completely working on it for a month and totally felt unbelievable. I need to see the solution for this type of exercise in order to understand :(. I have hint like 'IF, ELSE, DO' statements, but …

Member Avatar for paoconnell
0
183
Member Avatar for farehan

Hi. I want to ask about this code. I'm trying to upload csv file and import into sql. but this code doesnt working.[CODE]protected void LinkButton1_Click(object sender, EventArgs e) { Response.Redirect("login.aspx"); } protected void Button4_Click(object sender, EventArgs e) { string filePath = FileUpload1.PostedFile.FileName; string filename = Path.GetFileName(filePath); string ext = Path.GetExtension(filename); …

Member Avatar for simongh2
0
127
Member Avatar for noellieb

I need help with writng a php code that reads cookies containing a user's name and the number of times he or she has visited a Web site. Whenever a user visits the site and clicks the submit button, print the value of the cookie count to the page, increment …

Member Avatar for cwarn23
0
1K
Member Avatar for hurkagurk

Hi all! I'm creating a program that opens a small form for each row in a database (each form is an instance of Notebox). The user can create a new Notebox by clicking on a button (noteboxSibling) at the bottom of each existing Notebox. All Noteboxes exist inside Form1 which …

Member Avatar for hurkagurk
0
131
Member Avatar for swornavidhya_m

I have to do an module program which downloads pdf files in the client side. Currently, when users download the file, the url of the downloaded file is viewed by the user. Modification instructed: 1. In the page where the file download is requested, the url of the downloaded file …

Member Avatar for simongh2
0
121
Member Avatar for tunde011

I have been reading php manual and i need to encrypt passwords for users on my site. The thing is i do [CODE] $password =md5($password)[/CODE] and store it in the database what about when they want to signin. they enter their password but it won't be the same as the …

Member Avatar for cwarn23
0
307
Member Avatar for brando|away

im using fasm (flat assembler 1.68), and im trying to output a string with int21h/ah=09h [code] jmp main msg db "hello world$" main: mov dx, msg mov ah, 09 int 21h [/code] this code outputs "hello world", but it outputs some control characters before it ([SOME WEIRD CONTROL CHARACTERS]hello world) …

Member Avatar for davibq
0
3K
Member Avatar for jaejoong

can I do this? [CODE]response.write (label1.text = exist!)[/CODE] if not.. can someone tell me how to do this.. thanks in advance..:)

Member Avatar for simongh2
0
95
Member Avatar for asiaenforcer

I have able to generate several labels and textboxes based on a table in the database during runtime. My problem is that I could not get these values from these textboxes whenever a user changes these values and update them. Thank you for any answer or idea. I am using …

Member Avatar for simongh2
0
218
Member Avatar for Machal

Hi! I have simple web application called App that is secured with Windows Authentication. I have set identity impersonate to true in web.config. There is only one page (Default.aspx) in App directory. When user enters the site ex.: [url]http://localhost/App[/url] the login window pops up. When user clicks Cancel, IIS redirects …

Member Avatar for simongh2
0
681
Member Avatar for MichaelWClark

Here are the 2 procedures in question and the code that I use to call it. I will follow it all up with the error that is being produced. [code] set ANSI_NULLS ON set QUOTED_IDENTIFIER ON GO ALTER Procedure [dbo].[usp_GetPropertyData]( @page int, @page_len int, @sortfield varchar(100), @desc bit ) as …

Member Avatar for shoestring
0
218
Member Avatar for sairakhalid

How can i make addition in my linked lists if the nodes are stroing two values: 1) int element 2) int colomnvalue i have to make the addition on the basis that the nodes having the same colomvalue, thier element should be added. This addition is to be made in …

Member Avatar for Taywin
0
164
Member Avatar for SkyVValker

[B]hello..! required a help i want to store a date in sql server field...i set the field type is datetime..bt i jus want to save only Month and year ...kindly help me in it..! i m working with vb6 i set the date formate [/B] [COLOR="Green"]myDate = Format(cmbMonth1.Value, "MMMM-yy")[/COLOR] [B]bt …

Member Avatar for shoestring
0
206
Member Avatar for cbsinc

This compiles with no problem, but my calcCost function returns jibberish. I’ve tried many different combinations and I know it’s something simple. If I change my calcCost function to void and cout totalCost, it works fine, But I need the return value for another class (Order) that I need to …

Member Avatar for Taywin
0
116
Member Avatar for Shijo Jose

I am trying to create a program to log the medal tally of the cwg. However,I'm still getting wind of using binary files. It seems as if nothing is being read from or written into them. Below is my entire code. It would be of help if somone could direct …

Member Avatar for Taywin
0
201
Member Avatar for AndreiZ3

Hi, I am doing a mobile application. Someone else is passing me the datatable via a webservice so I get in the following: DataTable dt = new DataTable(); // create a datatable dt System.Guid guidCustomer = new Guid(Common.sCustomerID); // pass the guid dt = ws.BoningRoomOrdersCustomerOrderItems(guidCustomer); // send guid to webservice …

Member Avatar for darkagn
0
152
Member Avatar for pjrey

hi, i have a form that i am using inside of my site.. and i just recently updated it... to use captcha... all is well, its just that when i submit it.. it hides the rest of the page, and only shows the form, and says, form sent successfully.. i …

Member Avatar for chrishea
0
176
Member Avatar for manofhouse

This is the Header file [CODE]#ifndef STUDENT_H #define STUDENT_H // class Student definition class Student { public: Student( char *nPtr ); ~Student(); void displayGrades() const; Student addGrade( int ); static int getNumStudents(); private: int *grades; char *name; int numGrades; int idNum; static int numStudents; }; // end class Student #endif …

Member Avatar for thelamb
0
381
Member Avatar for lykathea

I am trying to implement a stack where one can push to the front and to the back of the stack. However, my implementation is very slow. Can anyone help me think of a better method? Thank you! [CODE]public class Pch11_x1 { /** * @param args the command line arguments …

Member Avatar for lykathea
0
117
Member Avatar for terrymold

Hi everyone Does anyone know of a PHP solution, or even a HTML solution, whereby a visitor could select a group of about 10 files (out of a couple of thousand!) and then click a "Download" button to download the selected files onto his/her PC? There is one solution I've …

Member Avatar for Setvir
0
315
Member Avatar for xcarbonx

Hi, I'm having trouble lining up data from a file with their respectable columns in a list box. I am using print zones to space out data evenly, but when i run the program the output is still messy. So I need help lining up columns properly together. As of …

Member Avatar for xcarbonx
0
1K
Member Avatar for muncher10

I can't seem to find out why it doesnt work with average or smallest but largest and sum does work. //constructor public class DataSet { private int sum = 0; private int count = 0; private int Smallest; private int largest; public DataSet() { } public void addValue(int a) { …

Member Avatar for apines
0
157
Member Avatar for Puster

Hello! Yes, I am making a login system that recognize if the moderator is the main moderator or sub moderator. So i made a type row. If type = 2 the moderator is main and if it is 1 the user is a admin. So I made this on the …

Member Avatar for diafol
0
56
Member Avatar for dragon@dragon64

Hi i have created a form, with the submit button, which is working ok, but everytime the form is submitted, the page remains the same. I would like that as soon as the form is submitted, the system take the user to a thankyou page. Can anyone help please this …

Member Avatar for dragon@dragon64
0
119
Member Avatar for marvolo1300

Hi, Im trying code something which will launch an executable file. I have tried system("example") but the only problem is that the file which has been launched has to be closed before the rest of the code is executed. Does anyone have an alternative to this method?

Member Avatar for Stefano Mtangoo
0
211
Member Avatar for Puster

Hello! I have made at site for my company that are going to upload images, and when the image is uploaded a watermark with copyright are being set in the bottom. But I got errors. [QUOTE] Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: Filename cannot be empty in C:\xampp\htdocs\sjohaugbygg\admin\upload.php on line 66 Warning: getimagesize() …

Member Avatar for diafol
0
229
Member Avatar for nats01282

Hello, i was searchin for some fancy flash effects for my website and come accross this website [URL="http://agencynet.com/#/home/"]http://agencynet.com/#/home/[/URL] i am unsure what this website is coded in and would like to know. and also what skills are needed to create a website like this? im not after creating a massive …

Member Avatar for nats01282
0
68
Member Avatar for Buffalo101

I'm using a JTable with a DefaultTableModel. I use the Load Button for populating the JTable. Anyway, the problem I have is with the Delete row button. (defaulttablemodel.removeRow). This is the whole project: [code=java] package proiect1; import javax.swing.table.DefaultTableModel; import javax.swing.table.TableColumn; import java.io.*; import javax.swing.event.*; import javax.swing.table.TableModel; import java.util.ArrayList; import javax.swing.table.AbstractTableModel; …

Member Avatar for Buffalo101
0
442
Member Avatar for Purrenhage

2 week in programming I am learning to program in C++. I started off with 26 error, and now I am down to 1. I just dont understand what it is asking for in the errors. Can somebody help me out? I have tried to look on the internet but …

Member Avatar for manojwali
0
154
Member Avatar for NewOrder

is the initialization happens in this order? The order of variable initiation is the following: 1) Static variable/methods are initialized first. 2) The object. 3) Object variables.

Member Avatar for NewOrder
0
63
Member Avatar for choosenalpha

Hello All, I am getting the infamous Argument ___ isn't numeric in sprintf. I've looked around but I can't seem to fix the issue. It seems to occur if it has a 0. in front of the numeric pattern that causes it. Does anyone have any idea of what I …

Member Avatar for choosenalpha
0
414
Member Avatar for NewOrder

could someone remind me the rules of params. is it... the params method needs to be the last one and you can have only params as the parameter in the method and nothing else?

Member Avatar for Momerath
0
71
Member Avatar for qvyhnl

I had created a Person class with 2 fields ages and name, its member functions are [CODE] Person::Person(string n, int a){ name = n; age = a;} string Person::get_name() const{ return name;} void Person::increment_age(){ age += 1;} void Person::print() const{ cout << name << endl; cout << age << endl;}[/CODE] …

Member Avatar for qvyhnl
0
149

The End.