199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for krishjain99

I am using vb6 to do my project. When i define an initialize a variable i get the compile time error as "Expected:End of statement". The code is : Dim i as integer=1

Member Avatar for QVeen72
0
232
Member Avatar for hirenpatel53

Hi all I am Using following Line Of <a href="HostInactivityTest.aspx?HostID={$iHost}&amp;HostNames={$HostName}" Target="_blank" style="font-size:8pt;font-family:Verdana;color:orange;font-weight:bold,text-align:left;"> Problem with this code is it opens new window with IE that is fine for me but newly open window shows URl,MenuBar,BookMarkBar that i dont want show in that child window so Anyone hase idea about this Please …

Member Avatar for scudzilla
0
243
Member Avatar for toldav

I need help to fix this two errors in the code. Line: 29 The static method isSolvable() from the type LinearEquation should be accessed in a static way. Line: 39,40: The static method getX() from the type LinearEquation should be accessed in a static way. Thank you. // This is …

Member Avatar for radhakrishna.p
0
369
Member Avatar for thetwig

I bought a template online and i'm trying to develop a website and I'm stuck on the contact form. I can't seem to get it to submit. When I click submit it just remains static, but i'd like to get it to run the action- that is go to the …

Member Avatar for thetwig
0
330
Member Avatar for TonyG_cyprus

I have to resurrect the article that I marked solved this am, 'cause it ain't! My code is: <?php if(isset($_POST['chest'])){ $pin=$_COOKIE['registered']; $game=$_POST['item']; foreach($game as $rep){ $link=sqlite_open('data/'.$pin.'.sqlite ',0666,$sqliteerror); sqlite_query($link,"INSERT INTO holding (item) VALUES('$rep')"); sqlite_query($link,"UPDATE players SET points = points+10"); header('location:entrance.php'); } } include('php/head.php'); ?> <div class="game"> <p><u>Chest</u></p> <p> The chest has …

Member Avatar for TonyG_cyprus
0
221
Member Avatar for Mr.pc.online

I'm Developing A very Basi App For Generating Bill On A retail shop I'm Using Access(mdb) As Data Base The Table with Name "Invoice"(Holds grand Total And Deposited Against That Invoice) On which I wants to perform task has fields As Follow: InvoiceId , CustomerId , CustomerName , InvoiceTotal , …

Member Avatar for RvSon
0
186
Member Avatar for Samerases

<? if(isset($_POST[b1])) { $m= new myclass(); $x=$m -> validlogin($_POST[t1],$_POST[t2]) # if ($x== true) # { $_SESSION[username]=$_POST[t1]; ?> <? include ("menu.php");?> <script type="text/javascript"> window.location = "cpanel.php"; </script> <? } else { echo "invaild login"; } } ?> } } ?>

Member Avatar for LastMitch
0
331
Member Avatar for csss

suggest me a code for transferring file-id present in grid view of one website to another website,when the link button was clicked in that grid view

Member Avatar for LastMitch
0
328
Member Avatar for ebc3142

Hi, I've succesfully created a new project in Python Django, but when I try to run the server using: python manage.py runserver I receive this error: Validating models... Unhandled exception in thread started by <bound method Command.inner_run of <django.contrib.staticfiles.management.commands.runserver.Command object at 0x10166b250>> Traceback (most recent call last): File "/Library/Python/2.6/site-packages/django/core/management/commands/runserver.py", line …

Member Avatar for LastMitch
0
913
Member Avatar for mr0277

I have a control contained in an iframe on a page of my ASP.NET web application. Control changes its vertical size correspondingly to what user selects on it (some elements get in, others get out). So, I have to set the iframe size precisely to get the whole control shown …

Member Avatar for LastMitch
0
199
Member Avatar for solomon_13000

I wrote the following code: package com.chain; public interface Chain { void setNext(Chain chain); void process(int number); } package com.chain; public class ProcessNegative implements Chain{ private Chain chain; public void setNext(Chain chain){ this.chain = chain; } public void process(int number){ if(number < 0){ System.out.println("Negative"); }else{ chain.process(number); } } } package …

Member Avatar for solomon_13000
0
241
Member Avatar for Shodow

how to get the class value? <select name="product" onchange="Price(this)"> <option value="" disabled="disabled" selected="selected">Please select a product</option> <?php foreach ($product as $product) { ?> <option value="<?php echo $product['Product']?>" id="<?php echo $product['Price']?>"><?php echo $product['Product'] . " Qty: " . $product['Quantity']?></option> <?php } ?> </select>

Member Avatar for LastMitch
0
143
Member Avatar for rexmatthew

Basically I got 2 calendar scripts from the same source. I saw a custom script before that merged these two but Everything I tried failed. Please help. Here are the 2 scripts. Script 1: $('#date3').DatePicker({ flat: true, date: ['2008-07-28','2008-07-31'], current: '2008-07-31', calendars: 3, mode: 'range', starts: 1 }); Script 2: …

Member Avatar for rexmatthew
0
243
Member Avatar for abhinav.singh.7712

Hey Guys, I am developing a website similar to google maps in visual studio 2008 using google maps api. I am passing user input as source,destination and have provided three timestamps in form asp radiobutton list. This is my javascrpit code: function calcRouteA() { var start = document.getElementById('DropDownList1').value; var end …

Member Avatar for hometownnerd
0
224
Member Avatar for PF2G

Hi, i'm working on a website where i in the backoffice i can choose what table the frontoffice will see. The objective is create a checkbox in the backoffice and if checked (prod_img="yes") the frontoffice sees the table with big_images (prod_img) if the checkbox is not checked (prod_img="no") the front …

Member Avatar for LastMitch
0
161
Member Avatar for aldm

Hi, I have module that imports data from json file to hash. Json file is pretty big so I don't want loading to take place on every request because it takes some time. It would be best to do this just on server start. I have a class variable in …

Member Avatar for lambing
0
223
Member Avatar for turpentyne

I have a div that resizes on mouseover/mouseoff. Everything works fine except a child div with text that will stay showing if the user mouses off too quickly... Is there a way to prevent this? The div that's getting left on is "#square_caption1" Here's what I've got for jquery: $(".square.one,#link_nest").hover(function(){ …

Member Avatar for LastMitch
0
200
Member Avatar for cgull

Hello good people of Daniweb :) I am developing a site with codeigniter 1.2.2 and the latest version of bootstrap. I am calling a modal window but the X and Close buttons don't close the window. Tried alerting when clicking a button and I do get the alert but the …

Member Avatar for LastMitch
0
5K
Member Avatar for techyworld

Hi i need some help of how to display data dynamically.i just need someone to explain me the concept. actually I am retrieving some data from database but i dont know how many data there will.it can 2,3 10,50,150,...200 and so on. in javascript, i will display 10 par page,when …

Member Avatar for lambing
0
201
Member Avatar for bezzel.zubber

I want to maintain the session into html pages but I have problem of finding a way to pass the session variables into html pages. So this is my login.asp code. <%@Language="JavaScript"%> <html> <body> <% var Conn=Server.CreateObject("ADODB.Connection"); var DSN="DSN=file"; Conn.Open(DSN); var Rst=Server.CreateObject("ADODB.Recordset"); var sql = "SELECT nme,userid,userpwd FROM student WHERE …

Member Avatar for hometownnerd
0
235
Member Avatar for nah094020

alright guys so am havign trouble finding a way to search for seats that are toghether, my pgram consists of a theater with 20 x 10 seats, i have created a seatSelection class and the theater file which has the main. Ok so heres a sample output of how it …

Member Avatar for nah094020
0
781
Member Avatar for james.lu.75491856

f = open(raw_input("File")).read().split() cows = f[0] data = dict(enumerate(f[1:],start=1)) print data nonloopy = [] loopy = [] def isloopy(cownum,data,did=[]): print " ",cownum,did cownum = int(cownum) if cownum in nonloopy: return False elif cownum in loopy: return True if cownum in did: return True if cownum == 0: return False did.append(cownum) …

Member Avatar for woooee
0
591
Member Avatar for korathualex

How to maiantain checkbox state under onclick of javascript...checkbox losing its state under onclick of javascript...Onchange when set works in firefox but not in chrome and IE...Onclick works but checked state gone... Collapse | Copy Code <script type="text/javascript"> function salaryshowhide() { var lfckv = document.getElementById("<%=chksal.ClientID%>").checked; if (lfckv== true) { document.getElementById("<%=txtsal1.ClientID%>").disabled …

Member Avatar for LastMitch
0
239
Member Avatar for nazmule27

**I have a problem in listview to select a specific row. I want to select a row in click event please help.** <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>ListView Showing</title> <link href="CSS/yui/tblstyle.css" rel="stylesheet" type="text/css" /> <script src="js/jquery-1.2.6.min.js" …

Member Avatar for LastMitch
0
117
Member Avatar for Aurax

Hi all.. Please help me how to clear all textbox in form. It really hard to set each of it. Thank you Aura

Member Avatar for Aurax
0
193
Member Avatar for paku_dnj

HI, how can i change column name by query? Exm: UPDATE table_name SET column_name='course_title' WHERE coulumn_name='course_name'; is it?

Member Avatar for paku_dnj
0
119
Member Avatar for mrhankey

hi, i was wondering is someone could give me an example of how i could do this in sql query. basically the application has a product table and when they are inserting they have the option to select monthly payments. put in the start date so say 30/3/2013 what i …

Member Avatar for adam_k
0
266
Member Avatar for Spanky_12

#include <iostream> using namespace std; void get_temps(int choice) { if(choice == 1) { double temps[12]; for(int i = 0; i < 12; i++) { int month_num= i+1; cout << &"Please enter the average temperature for month " [month_num]; cin >> temps[i]; } } if(choice == 2) { double temps[10]; for(int …

Member Avatar for mrnutty
0
245
Member Avatar for siaosituimoloaublood

Ok, after I posted my last result, it came to my attention that I did the wrong assignment. Now I am really in need of help. THis is also a double arry assignment and I need help from anyone asap..please..The instructions are as follow: I am to make modifications to …

Member Avatar for Reverend Jim
0
142
Member Avatar for nacedo

I have done this chunk of code that I want to ''translate'' in assembly language. It calculates the lenght of the longest common subsequence. Can someone help me to translate this in PEP/8 assembly language ? The rest of my program is functionning quite good, but I cant find a …

0
258
Member Avatar for coder91

I've a page that displays various drop down menus, one is process and this controls what is displayed in the second - Activities. There is also a time drop down menu. I now have to have a minimum and maximum time for the activities (maximum and minimum is different for …

Member Avatar for JorgeM
0
233
Member Avatar for Bhavya scripted

Hello everyone.I am a programmer between beginner and intermediate.I have experience in c/c++. So,i wanted to jump into the game programming world.First,i wanted to develop games withour graphics to increase my game logic.The latest games i have made is guessing game.Would you guys suggest some easy gaes to write..say..card games.I …

Member Avatar for cproger
0
306
Member Avatar for zaphoenix

Hi, I have been trying to solve a problem,i need to write code to an existing projectile class to calculate the maximum height reached by a projectile ,i have tried all possible solutions but seem stuck,here is the code below # Canonball in form of a class # projectile.py from …

Member Avatar for zaphoenix
0
2K
Member Avatar for wilen

i'm helping a friend and i'm almost done with the program what i can't figure out is i need to sort the number of votes from lowest to highest my database is just ms access and i'm trying to display the photos of the candidates who got the highest votes …

Member Avatar for wilen
0
188
Member Avatar for archangel1177

I was having a discussion with a co worker just now and we discussed the idea of a message box coming up as part of a search and displaying a JPG picture as part of the results. Is that even possible? If so then how difficult would it be to …

Member Avatar for AndreRet
0
291
Member Avatar for tshukela.george

I've upploade my php codes under the address http://george.freeoda.com, my problem is the calc link located on the http://george.freeoda.com/calc.php, this php files processess successfully on my server locally, what might be the problem? my full php codes are: <?php $n1 = &$_POST['n1']; // textbo1 declaration $n2 = &$_POST['n2']; // textbo2 …

Member Avatar for tshukela.george
0
194
Member Avatar for joshl_1995

Hello Community, I need to shortern a really long string then when it's in my program the string will expand back to it's normal length ready to be used in the program. I don't care what kind of method i need to use. Please help...

Member Avatar for tinstaafl
0
360
Member Avatar for eric.neuls

Okay so i am trying to code out a canvas that has two complex objects(I have MainCanvas , Human, Dog) and I want to make a piece of the complex object move when i drag it, but i dont know if i need to put in another moving method in …

Member Avatar for M4trixSh4d0w
0
149
Member Avatar for cgull

Hello, I am searching the net for hours now trying to find a solution to my problem, found tutorials and forums posts but can't solve my problem. Please help. windows 7, WAMP 2.2 (apache 2.4.2) Trying to set up a virtual host outside of the wamp directory getting the error: …

Member Avatar for cereal
0
578
Member Avatar for sonyj

Unable to cast object of type 'System.EventArgs' to type 'System.Windows.Forms.GiveFeedbackEventArgs'. This is an Error while loading a page . Page loading Contains functions for filling combobox and grid . I can't able to Traise where the error occurs.Please help

Member Avatar for tinstaafl
0
347
Member Avatar for ellosbibu

i had to do a complete text editor,so i made two different code. the fisrt code is a text editor that open docx file, create new documents , exit, paste , copy, delete, select all, save and save with name. the second code is another text editor that change colour …

Member Avatar for JamesCherrill
0
189
Member Avatar for fx.eko

hi .. I use visual basic 6, I opened a new project, when I create a data report using Crystal Report 8.5 which already include the current Visual Basic will add a new report by way of Add -> Crystal report 8.5, the error message "Visual Basic has stopped working …

Member Avatar for AndreRet
0
2K
Member Avatar for gkaran487

hi. The file called test.txt contains names as John Smith Walter H. Kepler Gary Davies and so on.. I need to read only the lastnames from the file so that I can sort it in alphabetical order.For this I read the name as John Smith then go backwards as h,t,i,m,S …

Member Avatar for JamesCherrill
0
179
Member Avatar for aneeqtariq_143

I have two fields in table, (i) section_from & (ii) section_to, both fields has Date datatype, these fields tells us that this law section is enforced From(section_from) this date To(section_to) this date. The problem is, the latest law sections (active law) which are issued by the government has no specific …

Member Avatar for pritaeas
0
205
Member Avatar for lancevo3

Hi All, I have a project I am going to be starting shortly, just recieved the specs. I plan on using python with flask for this project and the question I have (for now) just has to do with the python. My question is, this calculator is going to calculate …

Member Avatar for slate
0
145
Member Avatar for Kniggles

Hi , I am trying to get a photo type base to work and have got stuck , I have 3 files , 1- the html - that takes the input called door.html 2- the connect.php to open the base. 3- the php to insert insert.php. 1= <FORM method=post action=insert.php><P> …

Member Avatar for Kniggles
0
481
Member Avatar for joseph619

i need to use webcamera to take picture to gimp....i need a plugin so plz help me out i dnt know how to connect webamera to gimp...somebody plz come with a code explenation

Member Avatar for joseph619
0
177
Member Avatar for dirtydit27

Hello, I have the following code that using list comprehension to find even numbers in list L. L = [1,2,3,4,5,6,7,8,9,10] K = sum([(i) for i in L if i%2 ==0]) I wanted to know if this was the most efficient way to sum list K?

Member Avatar for dirtydit27
0
242
Member Avatar for GTTravis

Hi Guys, I am attempting to write an application that copies any file from the user's local machine to another server on the same network. The Catch The server that will house the application is separate from the server that will receive the files from the local user's machine. In …

Member Avatar for GTTravis
0
809
Member Avatar for vizz

I have received many enquiries to **develope website using php/mysql or wordpress** which can earn **daily $25-$35 USD**, atleast **minimum $15 USD daily.** How is it possible? For which **AdSense** gives money, **displaying ads or clicks on ads** How to create such **revenue generating website?**

Member Avatar for James_Smith
0
129

The End.