199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hwoarang69

I have a 2d array and I want to check if its in increasing order. here is a example of 2d array increasing order: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, here …

Member Avatar for JamesCherrill
0
247
Member Avatar for André_2

Hello to all I have a problem When i create an excel file with some dropdownlists in my vb.net page the dropdownlist in the excel file doesnt ignore balnks even with the ignore blank property set to true best regards

Member Avatar for krishnap2w2
0
611
Member Avatar for navachaitanya

hi everyone i am new this site i am creating new sms application for desktop using way2sms account please anyone help me to write the code

Member Avatar for John-Ghana
0
665
Member Avatar for harinath_2007

I would like to play a video using c/c++ program.. what libraries should i include?? can anyone tell the code....

Member Avatar for 良红
0
9K
Member Avatar for Maideen

Hi I do not know how to sum the one of the column in #table temp table It is my SP SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [dbo].[usp_Customer_Due_Until_Now] @Code nvarchar(30) AS BEGIN SET NOCOUNT ON; select code as Code, Name as Name, sum(Nett) SINETT into #tableSI …

Member Avatar for ExpertMind
0
2K
Member Avatar for ravi142

Hello, I would create Login page. which - separate Php for random username password generator - this is just a dummy login with random username and password generator. No database required. - e.g like http://www.surgaliga.com/ **Need:** Is they any script that random suggest detail of login and password after given …

Member Avatar for heatherIDD
0
286
Member Avatar for mattster

Hi All, I am working with a Magento (v1.8.1) site, which until a week or so ago, was working perfectly. I am using the SM_AMAZ theme, and have no plugins which could interfeare with performance. Everything will be fine, then something in the admin panel will get changed, and the …

Member Avatar for imti321
0
388
Member Avatar for hankmeyer

I am Using a form to insert data into a table i have created, I receive no errors but for some reason, it states it worked, although it does not insert any data, Here is what I'm using: this is the form page: [CODE]<head> <link rel="stylesheet" href="../uploads/css/style.css" type="text/css" /> </head> …

Member Avatar for shafakhat91
0
9K
Member Avatar for Riteman

I need my application to start with administrator privilege. When I do it in app.manifest: '<requestedExecutionLevel level="asInvoker" uiAccess="false" />' to '<requestedExecutionLevel level="RequireAdministrator" uiAccess="false" />' I can start my application with administrator privilege. But it starts every time the application starts. I need to start the application with administrator privilege only …

Member Avatar for Riteman
0
154
Member Avatar for dayanadolce

//i have made a function. but i can't call the function generateOrderedArray() as it says there is a Fatal error. help me! this //is my coding <form action="" method="post" enctype="multipart/form-data"> <html> <table> <tr> <td> <input name="location" type="radio" value="Jasin">Jasin <input name="location" type="radio" value="Merlimau">Merlimau</div></td> </tr> <tr> <td> <input type="submit" name="submit" value="Search" class="butoonfunction" …

Member Avatar for dayanadolce
0
366
Member Avatar for hwoarang69

How can I create a TextureRegion into button in libgdx-android(java)? I found a simailar solution here: http://stackoverflow.com/questions/21488311/libgdx-how-to-create-a-button problem is that it is using BitmapFont and I am not. I upload a image using TextureRegion and now I want to turn this image into button. any ideas?

Member Avatar for hwoarang69
0
184
Member Avatar for lloyd.farrell.7

Hi Everyone, I have the following php calulation $tplaunch = $tplaunch - $tpsold; This calculates as you would expect. I am helping to build a website that offers the first 25 members to purchase a product at a reduced cost. tplaunch is the number of user who will get the …

Member Avatar for lloyd.farrell.7
0
270
Member Avatar for bobgodwin

I need to sort items from multiple columns. I use this to get the id from the columns and format the data: $.fn.serial = function() { var array = []; var $elem = $(this); $elem.each(function(i) { var id = this.id; $(move_selector, this).each(function(e) { array.push( 'id[]=' + this.id ); }); }); …

Member Avatar for bobgodwin
0
452
Member Avatar for itsthewendigo1111

I want this to keep track of each players turn including the AI. Not the numer of rolls but for each turn till the game ends. For example your turn ends when a 1 is rolled on either dice or both. import sys from random import randint def game(): playercount …

Member Avatar for davidnelson4911
0
326
Member Avatar for jeffersonalomia

I’m creating an e-learning system on vb.net/2010.This system gives quizzes on students. I know how to save/retrieve data on mysql server using xampp but i need to display the score of all the students on the website and this website needs to be live. Now my problems are 1)How to …

Member Avatar for kks21199
0
338
Member Avatar for smurfy

Hello Geeks; In the eve of new year i have some fresh topics for you. I heard that web is full of real life oop design samples and comprehensive object oriented design guides. Which sites would you offer or which tutorial sequence should i follow ??? PS. Of course other …

Member Avatar for JamesCherrill
0
234
Member Avatar for bonzo2008

Hi I have manage to install vb5 and trheed32.ocx Trying to install vb6 okej. when I go to components and mark sheridan then it comes up that threed32.ocx is not a valid ocx. Confused how can vb5 run with threed32 and vb6 **NOT** Any help it will help me lot. …

Member Avatar for bonzo2008
0
152
Member Avatar for lithium112

var query = (from dt1 in dta.AsEnumerable() join dt2 in dtb.AsEnumerable() on dt1.Field<string>("column1") equals dt2.Field<string>("column1") into outer from Dt2 in outer.DefaultIfEmpty() group new { Dt2 } by new { SearchKey = dt1.Field<string>("SearchKey") } into g select new { Status = g.Select(r => r.Dt2) == null ? string.Empty : g.Select(r => …

Member Avatar for lithium112
0
2K
Member Avatar for AntonyRayan

This is my output tabe: name SUM(billing.quantity) SUM(billing.total) SUM(billing.discount) SUM(billing.price) pen 4 40 8 32 pencil 3 15 2 13 rubber 1 2 1 1 Using : SELECT productmaster.name, SUM(billing.quantity), SUM(billing.total), SUM(billing.discount), SUM(billing.price) FROM billing AS billing LEFT JOIN productmaster AS productmaster ON (productmaster.id = billing.pid) GROUP BY billing.pid ORDER …

Member Avatar for AntonyRayan
0
180
Member Avatar for mark103

Hi guys I need a bit of your help. I've created the variables that I want to store a list of arrays outside the for loop. I have got a problem with the code that I currently using. When I try this: import xbmc import xbmcgui import xbmcaddon class ProgramControls(object): …

Member Avatar for mark103
0
658
Member Avatar for Stacy_1

I am trying to remove all the columns after the column name "LAYER" My input text files have a more than 10 columns which are tab delimited Designator MAX PN Footprint Center-X(mm) Center-Y(mm) Layer Fitted Orentation Design level So i want to delete all the columns and the contents after …

Member Avatar for Traevel
0
228
Member Avatar for mwashu

please assist. i can not connect to my sql server (172.16.15.119). i always get this message"Fatal error: Call to undefined function sqlsrv_connect() in C:\Program Files (x86)\EasyPHP-12.1\www\malunde\connect.php on line 5" and the code that i used is: <?php $serverName = "172.16.15.119"; //serverName\instanceName $connectionInfo = array( "Database"=>"TPA-CS_UAT", "UID"=>"sa", "PWD"=>"tpa123"); $conn = sqlsrv_connect( …

Member Avatar for broj1
0
179
Member Avatar for exoruel

Good day everyone! I have the codes for such a problem where, to create a program that counts how many times the second string appears on the first string. Here it is: #include <iostream> #include <conio.h> using namespace std; int main () { char first [100], second; int count; cout …

Member Avatar for exoruel
0
370
Member Avatar for AntonyRayan

This is my billing table in my sql: id pid quantity total discount price customer 1 1 2 20.00 5.00 15 a 2 1 2 20.00 3.00 17.00 a 3 2 3 15.00 2.00 13.00 b 4 3 1 2.00 1.00 1.00 a This is my product master table id …

Member Avatar for AntonyRayan
0
234
Member Avatar for chavsh

Hi, My issue with xml is, I have an xml like <a> <b> <c> <d1 att2="t1">test 1</d1> <d1>test 2</d1> <d1>test 3</d1> <d1 att2="t1">test 4</d1> </c> </b> </a> I need to conver this xml to, <a> <b> <c> <d1 att2="t1">test 1</d1> <d1 att2="t1">test 4</d1> </c> </b> </a> <a> <b> <c> <d1>test …

Member Avatar for xml_looser
0
150
Member Avatar for Nagarajan_1

I have xml like this <mainProcedure> <proceduralStep> <proceduralStep> <proceduralStep> <proceduralStep> </proceduralStep> </proceduralStep> </proceduralStep> <proceduralStep> <proceduralStep> </proceduralStep> </proceduralStep> </proceduralStep> </mainProcedure> the child node name for mainProcedure node is all same and no attributes and text. i need to find out which proceduralStep node is clicked and its position.

Member Avatar for xml_looser
0
239
Member Avatar for Osagie_1

Good day everyone. I am trying to simulate (with php), an xml-like structure for json as follows: { "Articles": [ { "Article": { "ID": 111, "title": Origin of man", "author": "Man and Woman", "pubDate": "21st Feb, 2014", "summary": "Both Idiots" } }, { "Article": { "ID": 222, "title": "Origin of …

Member Avatar for diafol
0
271
Member Avatar for lloyd.farrell.7

Hi Everyone, I have the following script and I would like to rename the uploaded file to web-image(ext) The file is being uploaded to the correct location on the server and the database is being updated correctly, But I am unable to figure out how to rename the uploaded file …

Member Avatar for diafol
0
1K
Member Avatar for lloyd.farrell.7

Hi Everyone, I have the follow RewriteRule in my htaccess file that works as it should RewriteRule ^(.*)$ /product.php?pid=$1 [QSA,L] If I wanted to add another product page would I just need to add RewriteRule ^(.*)$ /productpage.php?ppge=$1 [QSA,L] for the Rule to work correctly? Thanks in advance

Member Avatar for lloyd.farrell.7
0
155
Member Avatar for rhada79

Need Assistance Please. My code is not adding the size and the toppins: import javax.swing.*; import javax.swing.border.*; import java.awt.*; import java.awt.event.*; import java.util.EventObject; public class PizzaCalculator extends JFrame implements ActionListener { JPanel westPanel = new JPanel(); JPanel eastPanel = new JPanel(); JPanel centerPanel = new JPanel(); JPanel northPanel = new …

Member Avatar for rhada79
0
3K
Member Avatar for Steven_10

Hello I am studying for the 1Z0-803 (Oracle Certified Associate, Java SE 7 Programmer) exam and I have the hardest time with following the flow of nested loops. On practice tests I do ok on more complex concepts like polymorphism but I miss over half of question with nested loops. …

Member Avatar for JamesCherrill
0
278
Member Avatar for bchinfosieeuw

How can I make a textile in a FLTK executable in main(), so when opening the program, and put text in it? The standard way via ofstream does not work now. The code I want to elaborate on is on this website: http://www.fltk.org/strfiles/267/fltk_input.cpp Now when I add ofstream myfile; myfile.open …

Member Avatar for bchinfosieeuw
0
176
Member Avatar for jalpesh_007

Hello, I am working on project of developing video stagenograhy. i have referred following link. http://www.dreamincode.net/forums/topic/269189-video-steganography/ also read a lots of material on it and found total 10 encoding and decoding algorithm. please send/suggest me good material for video steganography. Just let me know how can encode/decode my message using …

Member Avatar for rubberman
0
157
Member Avatar for somayyah
Member Avatar for yaya1234

Hey, I allowed to use only one getter and setter per class. My variables initialization in the calss in need them is correct (I used the Debagger) But then I can not access the private variables ... Here is part of the program.. #ifndef _H_SIMULATION #define _H_SIMULATION #include <iostream> using …

Member Avatar for rubberman
0
189
Member Avatar for divinity02

hi all just a question. if you are making a if statement in a game and the compile is not reading the condition in the if statement and it jumping out and reading the rest of the codes what is the cause of that. I am trying to build my …

Member Avatar for rubberman
0
169
Member Avatar for davy_yg

input_image.php <?php $result = mysql_query("SELECT * FROM image_upload ORDER BY image_id ASC"); $data = mysql_fetch_array($result); $banner = $data['image_bn']; ?> <p><img src="../../images/<?php $banner; ?>"></p> <?php echo $_SESSION[$banner]; ?> line 13: Notice: Undefined index: adm_banner.jpg in C:\xampp\htdocs\portal\administrator2\admin\input_image.php on line 76 How to fix the error?

Member Avatar for imti321
0
189
Member Avatar for sana.f.qureshi_1

Hey all, so i am working on database queries. Add and delete are working fine. I am having trouble with Edit Query. This is what i am getting: Incorrect syntax near 'Name'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace …

Member Avatar for sana.f.qureshi_1
0
497
Member Avatar for Benniit

Good day, gurus of this well-known site. I am using vb.net 2013 Ultimate and SQL 2012 and can someone show/link me how to save and retrieve a word document from SQL database? Thanks

Member Avatar for Reverend Jim
0
6K
Member Avatar for beerwinespirits

Hi, i am trying to make an order form that people select their candy they like and how much they want as well as their address and phone number for the website owner to go through and complete the order, i am having trouble getting the php mail function to …

Member Avatar for imti321
0
215
Member Avatar for divinity02

hi Iam doing a payroll system for a compny where I have to implement a program to calculate workers pay. for commission paid workers, hourly paid workers and fixed monthly paid worker. i have done the codes but something is wrong somewhere between the codes. cant tell if it is …

Member Avatar for JamesCherrill
0
278
Member Avatar for nitos

` how do i change from msql to msqli the below statement, am learning this mysql but keep getting Deprecated error. And where can one get an easy tutorial on how to make the changes. thanx $displayImages = ""; if($_GET['cat'] == "juice") $sqlSelProd = mysql_query("select * from tblproduct where prod_cat …

Member Avatar for imti321
0
161
Member Avatar for Raymart

I'm new to mysql and I need a ralationship tutorial.. like for example I made a table called MovieList with 1 column name TitleMovie and now I want to create another table called acc1_MyWatchlist and inside of it was also a TitleMovie..my question is I want insert a value in …

Member Avatar for Traevel
0
199
Member Avatar for OMER AHMED

i am making a security program which only administrator can run. now i place one checkbox in registration form that if the user is administrator then he will check that box and program will not ask for " run as administrator" now i need code for checkbox something like if …

Member Avatar for OMER AHMED
0
116
Member Avatar for kazkuzzer007

excuse me, I'm trying to create a function to copy the array, but the function does not work, please help. thanks before <?php function CopyState($from, $to){ for($i=0; $i<9; $i++){ $to[$i] = $from[$i]; } } $a=array(1,2,3,4,5,6,7,8); CopyState($a,$b); echo $b[2]; ?>

Member Avatar for kazkuzzer007
0
104
Member Avatar for jonardy

This project deals with EOF-based loops, using the while construct where we do not know the exact number of times a loop will iterate (perform the associated block of code). We will continue to build on our knowledge of if/else constructs. Use the variables given below to solve the problem. …

Member Avatar for JamesCherrill
0
216
Member Avatar for varshaholla

Hey,I wanted to know how to read a .txt file and the output should be in .xml format. I have the input file as input1.txt ![0376d295e822f9bd4db190cdd215e996](/attachments/large/4/0376d295e822f9bd4db190cdd215e996.png "0376d295e822f9bd4db190cdd215e996") My code: from lxml import etree import csv root = etree.Element('data') #f = open('input1.txt','rb') rdr = csv.reader(open("input1.txt",newline='\n')) header = next(rdr) for row in …

Member Avatar for Gribouillis
0
345
Member Avatar for saly.alsayed.7

1) When the program is executed, it asks the user to enter a password 2) When the user enters password, its characters should not appear and * must appear for each character. 3) The program compares this password with hardcoded constant password (e.g. pass DB ‘Abc123’). 4) If the entered …

Member Avatar for saly.alsayed.7
0
275
Member Avatar for ademmeda

Hi, I am preparing IP ranges for countries to use in my script (.htaccess file) from the data provided by RIRs (Apnic, Afrinic, Arin, Lacnic, Ripencc). I have a couple of questions about how to read and understand the data they provide. For example, Apnic's public records for IP allocations/assignments …

Member Avatar for ademmeda
0
152
Member Avatar for jalpesh_007

hello, I am working on a project of Mediaplayer using C#. I have taken MediaPlayer class, for my mediaplayer to play and stop it. Now i want to create play list programmatically. how to do so? Mean how can i generate .wpl file(Multiple with different genre), load it in mediaplayer …

0
147

The End.