199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for vandalised

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 …

Member Avatar for HiHe
0
108
Member Avatar for Exaktor

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 …

Member Avatar for finito
0
135
Member Avatar for newbrobo

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 …

Member Avatar for finito
0
137
Member Avatar for PEFCa

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 …

Member Avatar for kvprajapati
0
154
Member Avatar for juniorj

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, …

Member Avatar for vb5prgrmr
0
2K
Member Avatar for delizihin

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 …

Member Avatar for kvprajapati
0
275
Member Avatar for Bashir ahmad

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 …

Member Avatar for vb5prgrmr
0
110
Member Avatar for srikanth2321

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 …

Member Avatar for srikanth2321
0
113
Member Avatar for Big-D2xL

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 …

Member Avatar for Big-D2xL
0
92
Member Avatar for koxy911

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 …

Member Avatar for koxy911
0
147
Member Avatar for ntagrafix

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 …

0
62
Member Avatar for Kei

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 …

Member Avatar for marck_don
0
487
Member Avatar for notuserfriendly

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 …

Member Avatar for notuserfriendly
0
383
Member Avatar for aether1

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 …

Member Avatar for kvprajapati
0
96
Member Avatar for skumar.snl

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, …

0
128
Member Avatar for MattBerry

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 …

Member Avatar for kvprajapati
0
216
Member Avatar for rickymak

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 …

Member Avatar for tux4life
0
114
Member Avatar for netvigator

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 …

Member Avatar for Tech B
0
1K
Member Avatar for captain.don

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 …

Member Avatar for Tech B
0
196
Member Avatar for srikar38

Hi. my name is srikar.......and my query is How to differentiate system databases and user created databases in sql server 2005??????????????

Member Avatar for kvprajapati
0
142
Member Avatar for mtusk

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 …

Member Avatar for kvprajapati
0
1K
Member Avatar for pankajagar2002

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

Member Avatar for moutanna
0
92
Member Avatar for paragouldgamer

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 …

Member Avatar for shekar.bdn
0
86
Member Avatar for CFROG

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 …

Member Avatar for CFROG
0
104
Member Avatar for Bashir ahmad

[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" …

Member Avatar for Bashir ahmad
0
3K
Member Avatar for phoenix911

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 …

Member Avatar for jwenting
0
123
Member Avatar for centrinostyle
Member Avatar for Bashir ahmad

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 …

Member Avatar for Bashir ahmad
0
80
Member Avatar for ghost_from_sa

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 = …

Member Avatar for ghost_from_sa
0
123
Member Avatar for tyson.crouch

[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 …

Member Avatar for tyson.crouch
0
122
Member Avatar for muralibobby2015

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.

Member Avatar for mrnutty
0
86
Member Avatar for Ene Uran

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 …

Member Avatar for vegaseat
0
3K
Member Avatar for Fadorn

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 …

Member Avatar for Fadorn
0
105
Member Avatar for afireinside

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 …

Member Avatar for vegaseat
0
266
Member Avatar for evak77

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 …

Member Avatar for wildplace
0
103
Member Avatar for Roses89

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 …

Member Avatar for Roses89
0
2K
Member Avatar for Th3nutz
Member Avatar for Chosen13
0
111
Member Avatar for Hodson

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 …

Member Avatar for Hodson
0
269
Member Avatar for nonshatter

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 …

Member Avatar for fxm
0
4K
Member Avatar for Leppie

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 …

Member Avatar for Leppie
0
115
Member Avatar for babydol

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

Member Avatar for WaltP
0
106
Member Avatar for jelinky

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 …

Member Avatar for WaltP
0
158
Member Avatar for jafarkottayil

i have an error when executing this ExecuteReader: CommandText property has not been initialized

Member Avatar for kouroshnik
0
80
Member Avatar for Linlin

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 …

Member Avatar for Linlin
0
726
Member Avatar for Sailor_Jerry

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 …

Member Avatar for kouroshnik
0
686
Member Avatar for TheSaboteur13

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 …

Member Avatar for kouroshnik
0
264
Member Avatar for jamesbondbest

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 …

Member Avatar for WaltP
0
97
Member Avatar for JohnJ_21

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 …

Member Avatar for WaltP
0
145
Member Avatar for ddempsey96

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 …

Member Avatar for ~s.o.s~
0
87
Member Avatar for rickymak

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 …

Member Avatar for Aia
0
192

The End.