199,114 Archived Topics
Remove Filter ![]() | |
Hi everyone. Basically i'm very new to python and i'm trying to learn it at a fairly fast pace. One of the books i am using is comparing for and while loops, showing how while loops are more flexible than for loops but more complicated. Anyway to the point.. In … | |
Hi, I am doing an inventory program for auto parts. I wonder if anyone here have done an inventory program in C#. If you have could you please give me the project? It doesn't have to be inventory program it is also okay if it is another program but uses … | |
I have a hp mini linux, ubuntu 08.04. Of course I couldn't resist temptation for the 10.04, that I upgraded following ubuntu geek forums. I got lost in limbo somewhere when I couldn't figure what i was to follow! It is a netbook and I have 10.04 but, have an … | |
If I had 5 text boxes on a form, TextBox1...TextBox5, is there a method to do something like this? [code] Dim strFld As String For intFor = 1 to 5 strFld = "TextBox" & intFor Me(strFld).Text = intFor Next [/code] It doesn't like the line of Me(strFld) but I figure … | |
i want to display a selected record from my database to the data report in VB6. i used the foll. code, where cuno is the value of a textbox. i m passing the value of cuno through a module. SELECT * FROM Bill WHERE ID=cuno but when i run it, … | |
I'm trying to create a messenger-like program, which user will enter an IP adress and connect to another user and send messages with a send button, and receive and view messages at a textbox. But my problem: "The target machine actively refused". I'm trying to connect myself for testing using … | |
i enter 3 identical records in an sql database table. Normally this should not have happened and the dbms is to check for identical records. Now when i try to delete or update any record, an error message is displayed and the record is neither deleted nor updated. any help … | |
Hi all, I now have a very serious problem. I have a table that have to show in different datagridviews which are generated dynamically. The table looks like this C_id formula systemid mass user time 1 c6h6 1 23 s 00:99 2 c3h4 2 22 g 09:08 3 c7h8 1 … | |
![]() | Hello y'all. Here's the thing I'm not the brightest guy when it comes to vb.net but I'll do somethings. My question/problem is that I want to have a little zone in my program that has a kind of list , e.g. a panel with 100x50 with a scroll and inside … ![]() |
Hi all! I need some help. What I need is, to make a listbox, and fill it from a mysql database, which contains users from my website. The idea was, to select two or more users from that listbox, and after hitting a submit button, I would see the comments … | |
Hi Guys! Am revising for my upcoming exam. I was trying a question in the past papers. It read: [INDENT]A power-tool hire company requires an object-relational (e.g. Oracle) database to record details of their tools and rentals. Customer details, including their name, address and telephone number, must be recorded for … | |
Hey everybody, My company decided to improve the management of some data contained in csv files by loading their content in a mysql database. I heard that this is part of the process called ETL. Is that right? If that's so, which tool can I use in order to do … | |
I am coding 2 dynamic arrays. basically ive done the first part which requires the user to enter rows and columns, i also implemented the functions to print and fill the created arrays. now the next task is to create a SINGLE dimensional array with enough size to fit the … | |
Hi, I am developing an app with a Tab control (5 tab pages). On one of the tab pages I need a method to run upon clicking on the tab or entering the tab page. I have tried the following this.tabPage2.Click += new System.EventHandler(this.tabPage2_Click); also have tried: this.tabPage2.Enter += new … | |
hi, We are showing Video with slides(images) in silverlight .Our images come from amazon server now we want to cache these images before starting Video. our code is given below: private void LoadImage(string ImageURL) { WebClient downloader = new WebClient(); downloader.OpenReadCompleted += new OpenReadCompletedEventHandler(downloader_OpenReadCompleted); string fileName = ImageURL; downloader.OpenReadAsync(new Uri(fileName, … | |
Guys I hope you can help me as this is driving me mad. I have written an installer. This installer installs a service. If I release an upgrade to my app, the installer is meant to overwrite the existing files. What I have done is check to see if the … | |
Why is it that in this statement "c = '\t'" is not "c == '\t'" (an additional equal sign). I read an explanation that it is because \t is a visual representation of the tab character. Isn't \n and ' ' also visual representations of a newline and space character … | |
I am trying to post to this page and get the result: [url]https://writerep.house.gov/writerep/welcome.shtml[/url] I tried this: [code=python] import urllib import urllib2 sURL = 'https://writerep.house.gov/writerep/welcome.shtml' dInfo = { "state" : 'WAWashington', "zipcode" : '98103', "zipext" : '' } sSendData = urllib.urlencode( dInfo ) resp = urllib2.urlopen( sURL, sSendData ) [/code] I … | |
i hv written 2 programs. "process.py" and "Reg_write_read.py". I have created the exe of both,"Reg_write_read.py" program writes a value in registry through which the process.exe(which is located in C:/) executes on computer restart. But when i Restart my computer. the "process.exe.log" error log generates that says : "Traceback (most recent … | |
Hi. my name is srikar.......and my query is How to differentiate system databases and user created databases in sql server 2005?????????????? | |
I'm creating a program in C# using WPF that will generate a PDF of a sale sign for a retail store (just practice). Since it is a sale sign, I need the user to enter a date to represent the end of the sale. I'm using the datepicker control to … | |
Hello friends. I want to know what happen if any or all thread is in waiting condition and no notify() is called on thats thread. Please help me to solve this. Thanks in advance | |
I was wondering if there was a contains word to use with a mysql query, my current query is : //$query="SELECT * FROM $table WHERE date = '$selecteddate' AND Style = '$selectedstyle' AND Platform = '$selectedplatform'"; but the $selectedplatform isn't always the only thing in the Platform column, I just … | |
All arguments aside from using $html->tag() instead of <tag> ... I'm a trying to create a table to display photos I'm pulling from the database and something is amiss. When I was testing this I changed $num_cols to 2 and it ended the row and started a new one after … | |
[B]in my vb project i have a number of data reports each using a different papersize. each time, b4 opening the report, the paper size has to be set in the printer dialogue box and then the report shows correctly. otherwise the messages like "report width larger than paper width" … | |
Hello I would like to develop GPS software for my mobile phone... it has a built in GPS, just i cant get software which is either free of charge or exactly what i need.. i know i have to use java.... but exactly where do i start with this? all … | |
| |
i use vb with Access. I have 2 tables table1 & table2 i create a data report showing the data from table1. [B]My aim is to display the data from table2 on the same report in its next page(s). [/B]any kind of help, suggestions will be highly appreciated. with regards … | |
![]() | Hey guys im having an issue with a text file going past the end of file when its reading the lines even if there is text inside it... [CODE]<% // Gets the request var strQuery = Request("Show") + ""; var fso = Server.CreateObject("Scripting.FileSystemObject"); var errorMsg = false; var strError = … ![]() |
[B]-- Table structure for table `attractions`[/B] [CODE]CREATE TABLE IF NOT EXISTS `attractions` ( `attID` int(11) NOT NULL AUTO_INCREMENT, `attName` varchar(255) NOT NULL, `adultPrice` double(5,2) NOT NULL, `childPrice` double(5,2) NOT NULL, `referenceID` varchar(255) NOT NULL, PRIMARY KEY (`attID`) ) ENGINE=InnoDB;[/CODE] [B]-- Table structure for table `packages`[/B] [CODE]CREATE TABLE IF NOT EXISTS … | |
hello.... it could be interesting.......my frnd asked a question to me...on if else condition. for suppose... [ICODE] <?php if(Condition) { echo "hello"; } else { echo "world"; } [/ICODE] it is the question. she asked me how to write condition for print hello world. | |
This is my first experience with Python's Tkinter GUI. I want to write a program where the result of an interim calculation is displayed on a label. Later in the program I want to use this result in another calculation by simply clicking on the label. This is what I … | |
Hi All, I am new to Java, and I can not figure out why my code will not stop to get input from the user for the second employeeName at the end of my while loop. Everything else seems to work as it should. After the first calculate is completed … | |
So maybe this is a pretty basic question, then again I am new to python so please bear with me... I have some code, and I have a tkInter checkbox. I figured out how to get the on/off value of the check box but I dont really understand why I … | |
How do I stop this from looping over and over? [code] import java.text.DecimalFormat; import java.util.Scanner; public class Loan1 { public static void main(String[] args) { Scanner input = new Scanner(System.in); double interest; double payment; double amount; double term; DecimalFormat decimalPlaces=new DecimalFormat("0.00"); while (true) { //keep looping until we see stop … | |
Hey guys, Im new to php and i have been given a question which i dont understand: --Create a PHP page that will display the content of each of the fields of the customer table of the warehouse database. Save the file as task3.php.The following code will be helpful (you … | |
Hello, i think the title describes exactly what my problem is. Please if anyone knows something post. | |
I have created a very simple Tic Tac Toe game using NetBeans 6.8. Swing is used in order to create the grid. I can build and run the game with no problem. What I now want to do, is have this uploaded onto a website (along with other applications I … | |
Hi all, I have a been developing an Online auction website using PHP and Mysql for the last few weeks. I have implemented everything including the 'bidding', 'buy it now' options of the auction etc. I don't know much about AJAX to be honest, but I think it is the … | |
Yep, I'm a newbie and totally out of my depth! Playing around with the idea of a dungeon crawl but when I populate my traps into the 2d array, rand duplicates and overwrites its previous locations (for example 99 traps randomly generated into a 10 x 10 does not fill … | |
Hi i have an array [CODE]static int virtual_addr[10]= {8196,34893,38583,22883,61843,43532,333,8448,2334,9492};[/CODE] that i am trying to pass to a function [CODE]int determinePage(int virtual_addr){ int page_num; int page_size = 4096; page_num = floor(virtual_addr/page_size); return page_num; }[/CODE] however I am getting errors.Any help would be appreciated | |
hey guys. any help would be greatly appreciated. im getting a few errors and im not sure why. HEADER FILE: [ICODE]// HEADER FILE floatlist // // INCLUSE STANDARD I/O HEADER #include <iostream> using namespace std; template <class T> class floatlist { // DECLARE PRIVATE DATA private: // // DECLARE A … | |
i have an error when executing this ExecuteReader: CommandText property has not been initialized | |
Hello! I'd like to ask a question, and I guess the simplest way to explain what I want is to simply show you the [URL="http://lace.forthesky.org/wardrobe/angelicpretty/op"]page[/URL]. See the sort by list? I simply want to sort the entries by year, which I did succeed with, in a way. The problem is … | |
I have a DataGridView which I AllowUserToAddRows behavior enabled. I want to be able to force that only one row be added at time, then if the user clicks the save button the row is inserted into the database, and then another row may be added if the insert was … | |
Hi I want to add the table names from a database in sql server to a combobox with vb.net windows programming. Its a customer accounts database where for instance I add a new Account holder which creates a new Table and when I want to view a specific account holder … | |
HERE IS SIMPLE XOR PROGRAM WHEN I TRY TO COMPARE TWO SAME STRINGS ENCRYPTED WITH SAME KEY THEN IT SAYS COMPARISON IS WRONG HERE IS CODE [CODE]#include<conio.h> #include<iostream.h> #include<windows.h> #include<string.h> using namespace std; int main() { char st[100]; char key[100]; cout<<"ENter string ::"; cin>>st; cout<<"\n"; cout<<"Enter key::"; cin>>key; cout<<"\n"; int … | |
Hello all! I just joined this forum in need of major help. I got this program to write as one of my final grades in a class im taking. I was wondering if anyone could help me (if you wanna do it... that would be awesome, i got 3 other … | |
I am having the strangest problem. Here is my code: <c:set var="updAlloc" value="" /> [CODE]<if test="${1==0}" > If Statement: ${1==0} <c:set var="updAlloc" value="disabled" /> </if> Update Alloc equals ${updAlloc}[/CODE] This is the output: [CODE]If Statement: false Update Alloc equals disabled[/CODE] Originally, I was testing a different variable, but realized that … | |
int c; c = getchar(); while ((c = getchar()) != EOF) putchar(c); c = getchar(); I know EOF means end of file. Basically, I believe this functions is instructed to keep inputing text from the keyboard until EOF becomes the subsequent input. However, I am not sure what EOF is … |
The End.