199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Cesiumlifeboat

Hello experienced python programmers! I come here in humble request of your guidance on my latest python endeavor. I'm writing my first program to make heavy use of lists within lists, and i've run into a rather unexpected problem. just for practice, I'm writing a program that simulates a simple …

Member Avatar for woooee
0
128
Member Avatar for mackemforever

I've been set in a lab session at University the task of creating a program which can perform one of a variety of calculations, with it performing the one specified by the user, and with it looping back after every calculation however it is the looping which is causing me …

Member Avatar for chrjs
0
149
Member Avatar for myrto1412

Sorry if the question is naive, I am new at this. I am trying to transform an xml document using xslt, with saxon. When I try to run my code I get this error: SERE0014: Illegal HTML character: decimal 153 After searching for a bit I discovered that the error …

Member Avatar for rduke15
0
490
Member Avatar for aloha91

May I know how can I drag a groupbox containing several pictureboxes within a form in run-time? Thanks alot for the help

Member Avatar for ddanbe
0
78
Member Avatar for azzu khan

i m using two list box one(check style list box) is for food item another(simple list box) is for cost.when i selects any fooditem then a input will occour for entry of food quantity.and after selecting all items and entry of their quantity they will store in ms access databse. …

Member Avatar for AndreRet
0
782
Member Avatar for stephy1

I am retrieving values from database. I initialized a variable outside the loop. I am using while loop to move one record after other to last using ResultSet object.next(). Inside the while I am assigning the record value to the variable initialized outside while. But It shows variable might not …

Member Avatar for VernonDozier
0
176
Member Avatar for emreozpalamutcu
Member Avatar for jonsca
0
109
Member Avatar for raygberg

Hello: I am trying to validate an ASP.NET radiobuttonlist using client-side javascript in a "Custom Validator" control. Here is my javascript validator: [CODE] function ValidatePrem(source, args) { var Array1 = document.getElementsByName('<%= rblPremModes.ClientID %>') var i; for (i = 0; i < 4; i++) { if (Array1[i].checked) { if (Array1[i].value == …

Member Avatar for raygberg
0
229
Member Avatar for maheshsayani
Member Avatar for AndreRet
0
990
Member Avatar for manjunath_praj

Hi Can Anyone help me in creating custom controls to add or remove textboxes dynamically. Any help is appreciated Thanks Manju

Member Avatar for Fortinbra
0
144
Member Avatar for Sarama2030

I'm creating this web application using asp.net in conjunction with vb.net. will i have difficulties in finding a host company around given people prefer the more open source frameworks like mysql instead of sql server and Apache instead of iis. what other constraints could i face in publishing this app, …

Member Avatar for Fortinbra
0
163
Member Avatar for maria_megha

I have a scenario where I show a drop-down-with-few-items in a JSP page, to the user. The length of few options in the drop down is greater than that of the drop down's, hence our requirement is to show the hovered (not selected) option as tooltip for user's convenience. I …

0
89
Member Avatar for madtorahtut

Greetings everyone, I was looking for some help in creating a seemingly simply backup script. I have two servers, laid out in the same format: Server A: the directories contain all the iterations of a certain type of file Server B: the directories contain only the most recent file. The …

Member Avatar for JeoSaurus
0
149
Member Avatar for prajana

hello! I am designing an attendance system and i have a problem regarding marking the attendance. I don't want to use datagrid as i cant mark the attendance there ie i want to use checkboxes to mark the attendance. I'll provide a screenshot of how the form should look like. …

Member Avatar for AndreRet
0
868
Member Avatar for brick79

I have a text file that contains separate lines where this text will always appear, short_message=<some text>. The <some text> part could potentially be different on every line. What I'd like to do is extract the <some text> text and only that text from the file. I don't want the …

Member Avatar for JeoSaurus
0
101
Member Avatar for Syphilis

What's Up? OK, So I'm making a small batch script, That retrieves the IP of a website, And put it into a variable so we can use it later on. The problem is how do I get the IP of the website into a varible? The way I was going …

Member Avatar for JeoSaurus
0
144
Member Avatar for NewOrder

i want to transfer my code to a winform. i know how to create buttons, text,,etc... and how to operate them. The problem is that i made my code in a windows application, and i want to transform it to window form application.. i dont know how to copy and …

Member Avatar for NewOrder
0
164
Member Avatar for veledrom

Hi, I need to develop an interface where scanned barcode information is inserted in MySQL database with using PHP. Is this possible? If so, how it actualy works? It will be done with Wired and Wireless scanners. Does it differ? Regards

Member Avatar for mschroeder
0
2K
Member Avatar for FlamingClaw
Member Avatar for triksterx

I am using the following code to create a set of radiobuttons. The radiobuttons are created fine, but when it comes time to delete them, the buttons and text persist on screen. How do I go about ensuring that the radiobuttons get deleted? [code] import Tkinter class App(): def __init__(self): …

Member Avatar for TrustyTony
0
2K
Member Avatar for AJLX

Hello guys, Hopefully a nice easy one for you. I currently have a form field that I would like to turn green when the correct entry has been entered and red when an incorrect entry has been returned. I'm very close to a solution (I think!) But I just need …

Member Avatar for Airshow
0
332
Member Avatar for ravikiran_kmca

Hi , I have the requirement like this 1) It should be in javascript and html datagrid only 2) In html-datagrid table ...mouseover on cell(coloumn) pop-up should be appear 3) It should be come out from the browser(pop-up) 4) It shoulb be use Javascript only <html> <head> <title>pop-up</title> <style type="text/css"> …

Member Avatar for charlybones
0
296
Member Avatar for spgun

I guys, I want to upload files to a MySQL database in PHP.... The connection is OK... but there is a problem with the document column.. If anyone can help me , please give me a working solution..

Member Avatar for diafol
0
139
Member Avatar for Jaseem Ahmed

i m here to ask u a importnt question... is there any way to scroll down or up the text boxes on frames... i mean to say, i have one form, and a frame, and so many text boxes on frame, that all can not b shown at a time, …

Member Avatar for AndreRet
0
219
Member Avatar for lkrvk

hi guys, i am a newbie to javascript. i was working with a form which has two combo box linked to display text. First box contains names of cars, second box contains luxury type options(ac or nonac), the last one is a input box which is only readable and displays …

Member Avatar for lkrvk
0
80
Member Avatar for dourvas

Hallo, I have made a login system using sessions. It have been working fine for 3 months. The last week some problems are occuring. First let me write the code i use. There is a mysql database which contains all the data necessary. There is also a form which the …

0
113
Member Avatar for Rookie09

Sup guys, I got another "little" thing here , i am trying to create a preprocessor macros for SQL language , so when the compiler run into things like SQL key words : for example : COLUMN(title) TYPE(string), COLUMN(author) TYPE(string), COLUMN(copies) TYPE(int), it automatically will generate appropriate C++ code ( …

Member Avatar for Mpampirina
0
205
Member Avatar for vishal18

Dear friends, Thanks in advance..... I'm working on project which includes multiple frames. whenever I need to open other frame with first one get closed , I have used new instance of new class(frame) and I just make setVisible(false) for previous frame. Now after some use , there is problem …

Member Avatar for vishal18
0
97
Member Avatar for ansari.wajid

Hi Experts, I have a windows service running every minute and has many database operations to perform. It runs perfectly for many days, sometimes it suddenly stops and throws this exception. Later when we start to debug it, the exceptions goes off, but if we don't debug, the exception continues …

Member Avatar for ansari.wajid
0
218
Member Avatar for lara_

i dunno whether this question has been ask before but i've try to search but didn't found. so i ask it here... very simple... if i declare [B]int Z; cin >> Z;[/b] if I enter integer, it works fine but i enter character it's looping. :sad: how to prevent it …

Member Avatar for Hymppis
0
347
Member Avatar for printman55

The mysql database I set up used date format for the field. Consequently dates have to be entered as 0000-00-00. So when I retrieve the field name news_date from the database it will print as 2011-02-02. I would like to display it as February 2, 2011. Can someone help me …

Member Avatar for paulrajj
0
138
Member Avatar for singhabsk

Good morning all, here i have some probs. in logic if possible just solved it i have a text file contains following data..... sec TID SID ATTRIBUTE 69013 1-3039 1 REGISTER 69013 1-3039 1 100 69013 1-3039 1 401 69013 1-3039 2 REGISTER 69013 1-3039 2 100 69013 2-3039 1 …

0
96
Member Avatar for ktsangop

Hi everyone! Just wanted to ask before i begin messing around. Is it possible for two processes to access the parallel port simultaneously? So that if i short circuit Input pins to output pins of the parallel port one process will provide input to another one? I am using Windows …

Member Avatar for ktsangop
0
211
Member Avatar for ramesh125
Member Avatar for tape enterprise

well I have a search feature on my site and it works great if the query returns results but if it doesn't it falls apart what do I do to make it say "no search results found" when the query comes up as empty My code is this to handle …

Member Avatar for pritaeas
0
116
Member Avatar for pacheco

Hi all, I have a combo box which i wish to display all the Usernames from the table Users, but with the UsergroupID of 1. However my codes currently displays ALL Username records. How can i modify it to only fetch Usernames records with the UsergroupID of 1? Codes as …

Member Avatar for Ketsuekiame
0
132
Member Avatar for ComicStix

Hello everyone! So I have to do this project for computer science class. We have to make a class that generates 50 odd numbers in order starting at 1 and stores them in an array of 50 int elements. Then we have to arrange the numbers we get so that …

Member Avatar for adarshcu
0
314
Member Avatar for JacobBruce

Does anyone know which of these are quicker? [CODE]procedure SetMousePos(Point: TPoint); begin Mouse.CursorPos := Point; end; function GetMousePos: TPoint; begin Result := Mouse.CursorPos; end;[/CODE] [CODE]procedure SetMousePos(Point: TPoint); begin SetCursorPos(Point.X, Point.Y); end; function GetMousePos: TPoint; begin GetCursorPos(Result); end;[/CODE]

Member Avatar for pritaeas
0
317
Member Avatar for skald89

[url]http://s56.photobucket.com/albums/g194/flameingulfedpyro/?action=view&current=slideshow.jpg[/url] In the picture I have a picture div and a text div. The picture and text are related to one another. I want it that when you click the right or left arrow the pic and text change together. I dont really care how they change, slide, fade, or …

Member Avatar for pritaeas
0
165
Member Avatar for ello

Hey guys just a quick question, my AJAX is working in FF and Opera just fine, As in it repeats the function whenever the button is clicked, but in IE the first click works, but then it doesn't repeat... I've been searching around form some fixes, and found quite a …

Member Avatar for McLaren
0
175
Member Avatar for itisnot_me

ok so i know how to do this within theory but not how to code this one. i have within my page a {blah:6}. i know that if i want to call a static string i would do this [CODE] $replaced_content = str_replace("{blah}", $page_name, $page_content); [/CODE] but the problem is …

Member Avatar for nicksontinko
0
115
Member Avatar for gakusya

Xampp is telling me that apache and php are up and running properly, but viewing html pages with <?php ?> tags in the apache doc root folder is not doing anything with the php code, i can see the php code when viewing source via firefox. I've experimented with every …

Member Avatar for nicksontinko
0
577
Member Avatar for printman55

In my hosting account I have set up a database named george. There is one table named "news". There are three fields "id" (primary key), "date", and "text". I am keeping this simple for illustration. What is the best/easiest/fastest way to import the data or records to the table via …

Member Avatar for smantscheff
0
282
Member Avatar for deb081900

Hi I am using C# 2008 with Access 2007. I am using MDI on MDI a added a menu now that Menu have a Login MenuItem which is enable and other menu items are disabled at form load. Now I am try to implement this if login is successful then …

Member Avatar for chetanbasuray
0
110
Member Avatar for TinhornAdeniyi

i am trying to move the node in the first item from the list and add it to the back of the list 1->2->3 becames 2->3->1 instead i get 3 1 2 [CODE] #include <iostream> using namespace std; struct nodeType { int info; nodeType *link; }; void createList(nodeType*& first, nodeType*& …

Member Avatar for TinhornAdeniyi
0
201
Member Avatar for bartm669

Hi all i need a piece of code that will find a value in an array and change it. [CODE] private int[][] level = new int[][]{ {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, …

Member Avatar for bartm669
0
136
Member Avatar for stephy1

I got Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at this line.[CODE]File f1= new File(args[0]);[/CODE] I guess i have to give a command line argument. How to give a file as command line argument. Or is this someother one?

Member Avatar for masijade
0
724
Member Avatar for AngelicOne

Do I just need to make a field for account type in my user account table? In a technical way, if(account type = admin) then the account would log as admin; otherwise, a user with less privileges.

Member Avatar for AngelicOne
0
140
Member Avatar for gsingh2011

Does anyone know if its possible to type in a number and get the resulting ASCII characters in a batch file? I think in Unix based machines you type the command then \042 or whatever number you want, but I don't know if you can do it in batch files...

Member Avatar for SimonEyes
0
4K
Member Avatar for kocmohabt33

First of all, I'm new to Daniweb and I would like to thank in advance to all those who take their precious time to help me. I appreciate it greatly. Hopefully, I'll get good enough to contribute and help others in the Daniweb developing community, as well. The problem I'm …

Member Avatar for kocmohabt33
0
142

The End.