199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
May I know how can I drag a groupbox containing several pictureboxes within a form in run-time? Thanks alot for the help | |
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. … | |
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 … | |
[CODE]if (progressBar1->Value == 2000; { label1->Text = "Hello"; }[/CODE] | |
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 == … | |
Hi To All, How can the Network LAN Connection to be Enabled/Disabled through Vb Code | |
Hi Can Anyone help me in creating custom controls to add or remove textboxes dynamically. Any help is appreciated Thanks Manju | |
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, … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 | |
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): … | |
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 … | |
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"> … | |
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.. ![]() | |
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, … | |
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 … | |
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 … | |
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 ( … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
How to store a set of cooordinates , let us say 300 to array | |
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 … | |
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 … | |
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 … | |
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] | |
[url]http://s56.photobucket.com/albums/g194/flameingulfedpyro/?action=view¤t=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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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*& … | |
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, … | |
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? | |
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. | |
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... | |
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 … |
The End.