132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for trudge

I know there have been several posts concerning Python and CGI / HTML, but I can't get my little script to even print a web page. [code] #!/usr/bin/python print "Content-Type: text/html\n\n" print import sys sys.stderr = sys.stdout import cgitb; cgitb.enable(display=0, logdir=".") print """ <html> <body> <div align="center"><font style="font-family:verdana; font-size:18px">Hello from …

Software Development html-css python web-server
Member Avatar for trudge
0
149
Member Avatar for apchidara

hi every one: today my supervisor asked me to choose a version of vb to start developing my project . honestly speaking I am so lost which version to choose" vb" or" vb.net 2005". honestly my oop programing is not good at all and I have one and half month …

Software Development database-design oop vb.net
Member Avatar for bka_k@Yahoo.com
0
172
Member Avatar for zmariow

Hi all, Is Crystal Reports worth learning? What are its advantages over creating my reports manually (using tables and a charting library...)??? Thanks :)

Software Development
Member Avatar for Ramy Mahrous
0
80
Member Avatar for ssharish2005

Just wondering, if anyone has got a library or good link to parse a config file. If not is there any effcient way of hanlding config file, where the config is just normal text file. Its not XML file or anything. ssharish

Software Development c file-system xml
Member Avatar for ssharish2005
0
96
Member Avatar for shlmsnger

HI guys I need a shell script,from which i can read 1st line of every file present in the current directory. thanks in advance

Software Development shell-scripting
Member Avatar for masijade
0
80
Member Avatar for kobi

Hola, i need to create an object which will be recognaized in all my fuction/methods where i should create this object? Thanks ahead

Software Development
Member Avatar for kobi
0
91
Member Avatar for getz

Hi, I am new to vb.net and mysql. I am using Ms Visual Studio.NET 2003. After scan 2D barcode, it will retrieve information from mysql and display the info in Symbol Pocket Pc. The problem is I dont know how to connect the 2D barcode with MySQL in vb.net and …

Software Development vb.net visual-studio
Member Avatar for getz
0
113
Member Avatar for RinoStoof

Hi there I am trying to open an existing spreadsheet from VB.net 2005. I used the code as given else where on your site: Dim xlsApp As Excel.Application Dim xlsWB As Excel.Workbook Dim xlsSheet As Excel.Worksheet Dim xlsCell As Excel.Range Dim xlsDatei As String xlsApp = New Excel.Application xlsApp.Visible = …

Software Development open-source vb.net
Member Avatar for YHUBZ
0
1K
Member Avatar for Kevin008

I am just starting out at JAVA and trying to write a program that counts all characters in a string, counts all characters minus trailing and leading blanks and also counts all non-blank characters. Here is what I have so far. I am stuck on the non-blank character counts. Can …

Software Development java
Member Avatar for masijade
0
186
Member Avatar for waqar40

i have developed a server which broad casts message to n clients at regular interval of time but issue with the server is when LAN got disconnected Server crashes and message sending stoped. I want such a solution that Server must not crash regardless of the status of LAN Please …

Software Development c++
Member Avatar for waqar40
0
75
Member Avatar for bluebird

[code] String query="SELECT *FROM addresses"+ "WHERE lastname='"+ fields.last.getText()+"'"; [/code] What is wrong with the above SQL statement? I got the error message as "Syntax error in FROM clause"

Software Development java
Member Avatar for bluebird
0
74
Member Avatar for jobs

test = [random.randint(1,10) for i in range(20)] Can someone what does the random.randint(1,10) fron to for loop does, and the square brackets around it means, make it a list?

Software Development python
Member Avatar for vegaseat
0
363
Member Avatar for danasegarane

Hi all, I want to redirect the console output in real time to a textbox. And if any standard error arrives or Process completed than i have to give one msgbox stating that process completed.Is there any method avalible.Presently I have this code.But it is not working properly [code=vb] Private …

Software Development vb.net
Member Avatar for whenwephil
0
177
Member Avatar for yingyuan

i have write the bank system used C++ , but got the error , who can help me solve the error. i use 3 file in this program: 1. bank.cpp 2. manager.h 3. bank.tcp (this file live it blank, save it as "bank.tcp" , this file is store the amount. …

Software Development c++ finance first-post
Member Avatar for daniweb2013
0
433
Member Avatar for hisoka

just want to ask anybody for the best website tutorial for absolute beginner in visual c#.... i am new to visual c# and i am not that good in programming that's why i want to overcome my weakness... thanks...

Software Development
Member Avatar for kobi
0
149
Member Avatar for mitzoff

I am new to programming in C and I'm trying to write a random number generator with a Gaussian distribution with user-defined mean and variance. I've looked at the code given in "Numerical Recipes in C" but I don't understand it very well. If anyone could point me in the …

Software Development c
Member Avatar for iamthwee
0
159
Member Avatar for bryantpurdin

I've got a JTree that's a file browser. At startup, the selection path is set to the user's home directory. This tree is in a JScrollpane. What I'd like to do is to set the vertical scroll bar position to have this cell (the user's home dir.) on top of …

Software Development java
Member Avatar for bryantpurdin
0
97
Member Avatar for jtechie

Hi, I am a J2EE developer. I need to learn the Weblogic application server and I am currently in delhi. Can anyone in delhi volunteer me to teach for which i am ready to pay. Also if possible can anyone direct me to the right links and the right reference …

Software Development java
Member Avatar for jwenting
0
72
Member Avatar for bryantpurdin

I could use some help. I've got a JTree, it's a file browser. I'm trying to programatically select a cell in the tree. I'm making the following calls: [code] File home = new File(System.getProperty(HOME_DIR)); setTree(home, newFile); TreePath path = this.pathFromFile(home); tree.setSelectionPath(path); [/code] But, that doesn't seem to highlight the cell. …

Software Development java
Member Avatar for bryantpurdin
0
227
Member Avatar for Duki

How do you allow a user to change the image displayed in the picture box? It's part of an extra credit assignment, but I don't remember reading anything in the book about it. :(

Software Development image vb.net
Member Avatar for williamrojas78
0
112
Member Avatar for kahad

Hello! I'm trying to type a thing in MIPS code. It takes two integers n and m. Both must be between 1 and 10 inclusive. It tests the numbers and complains until the numbers meet the requirements. It then computes 1^m + 2^m + …. + n^m. For example. should …

Software Development assembly
Member Avatar for kahad
0
156
Member Avatar for tgifgemini

Hello everybody, my program have been working and today I'm getting run time error 1004 - invalid number of arguments on this line of code: [code]mystr = "Comments:" & "'" & xlApp.Clean(Trim(rsin![Comments]))[/code] Also, I am getting a "Runtime error 1004 - unable to set the RowHeight Property of the range …

Software Development visual-basic
Member Avatar for tgifgemini
0
525
Member Avatar for prasadpohnerkar

Hi guys ,i really need a good project idea in VB.NET.....I am doin my final year engg in computer science..........i havn't started my project yet.I am intrested in Vb.Net projects....ASP.NET will also do.... its urgent !!!

Software Development asp asp.net vb.net
Member Avatar for bka_k@Yahoo.com
0
169
Member Avatar for jarv
Member Avatar for jarv
0
6K
Member Avatar for Duki

I'm considering writing a program for my economics class that will allow me to use the multiple variations of the elasticity equation. How can I compile my code to an app that I can place on my desktop and simply double click to make it run? I don't want to …

Software Development c++
Member Avatar for Duki
0
85
Member Avatar for zaslamlko79

The Delphi7 Application has two EXE. One main EXE and other Secondry EXE. Main Exe loads this Secondry Exe when it runs(executed) as I have checked it in the EVENT LOG. I want to debug this secondry exe. At present I am able to debug only main exe. The functionalities …

Software Development delphi pascal
Member Avatar for ExplainThat
0
289
Member Avatar for jaepi

Hello there, I have here a problem with the compilation of my program. The compiler tells me that my typedefs are redefined, but I defined it only once. Ok, heres the score, I have here a header file (let's name this as file X) that contains all the typedefs that …

Software Development c++
Member Avatar for GreenDay2001
0
212
Member Avatar for arrogant

hi, please help using keil compiler for 80c51.. how to writ assembly program and compile iot in keil... please help.... :sad:

Software Development assembly
Member Avatar for sneha sirohi
0
120
Member Avatar for maverick786

I am having trouble formatting my output of decimal to binary conversions in the format of XXXX XXXX and XX for hexadecimal using numbers 0 to 300. Does anyone have any ideas? Thanks in advance. Here is a copy of my output. DECIMAL BINARY HEXADECIMAL 0 0 0 1 1 …

Software Development c++
Member Avatar for Salem
0
95
Member Avatar for ocean001

hi all, i am using visual studio 2005 C++ to developing a pocket pc dialog. But this error occur when i try to compile. Error 1 error LNK2001: unresolved external symbol "public: void __cdecl CTryDlg::OnBnClickedBackBtn(void)" (?OnBnClickedBackBtn@CTryDlg@@QAAXXZ) AddTryDlg.obj can anyone tell me what is the possible solution?

Software Development c++ visual-studio
Member Avatar for ocean001
0
174
Member Avatar for vbcielle

i have a search program that when searched i will make a receipt, a reciept form will be displayed, the 1st item searched will be displayed on text1(0).text and the quantity also will be displayed in text5(0).text my problem is how to subtract the stock items minus the quantity text5(0).text(its …

Software Development visual-basic
0
132
Member Avatar for boja123

Hi all, I have given this program to convert it to MIPS code in SPIM and print anapshot of the registers and the results . and then assemble the MIPS instructions to machine code writing the out put in HEX format thank you for help //this program compile with C++ …

Software Development assembly c c# c++
Member Avatar for boja123
0
111
Member Avatar for apchidara

hi every one: I have binded some data which I have connected through DATA BASE wizard of OLeDB in a comboBOX AND now i want to add queries to select distict values . i have entered the query [COLOR="Green"]select DISTINCT[name of my field] from table_name[/COLOR] but I get the following …

Software Development vb.net
Member Avatar for YHUBZ
0
103
Member Avatar for preetham.saroja

[COLOR=#0000ff]can somebody tell m, what's the error in below code-where all the columns with sex="male" should be displayed with color choclate in datagrid...plz -------------------------------------- Protected[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]Sub[/COLOR][COLOR=#000000] datagrid1_itemdatabound([/COLOR][COLOR=#0000ff]ByVal[/COLOR][COLOR=#000000] sender [/COLOR][COLOR=#0000ff]As[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]Object[/COLOR][COLOR=#000000], [/COLOR][COLOR=#0000ff]ByVal[/COLOR][COLOR=#000000] e [/COLOR][COLOR=#0000ff]As[/COLOR][COLOR=#000000] System.Web.UI.WebControls.DataGridItemEventArgs) [/COLOR][COLOR=#0000ff]Handles[/COLOR][COLOR=#000000] datagrid1.ItemDataBound[/COLOR] [COLOR=#0000ff]If[/COLOR] (e.Item.ItemType = ListItemType.Item) [COLOR=#0000ff]Or[/COLOR] (e.Item.ItemType = ListItemType.AlternatingItem) [COLOR=#0000ff]Then [/COLOR][COLOR=#0000ff]Dim[/COLOR] str [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]String [/COLOR][COLOR=#0000ff]If[/COLOR] …

Software Development vb.net
Member Avatar for YHUBZ
0
200
Member Avatar for zite.1

can someone tell me how to find dummy tutorials on how to compile and run C programs using a text editor and the Command Line Window.

Software Development c
Member Avatar for Narue
0
112
Member Avatar for jarv

1>.\speedgame.cpp(10) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body please help!

Software Development c++
Member Avatar for WaltP
0
105
Member Avatar for bhmails

Hi all, I'm new at c. How do I make the system pause until any key is pressed in linux like getche does in borland? thanks

Software Development c
Member Avatar for TkTkorrovi
0
304
Member Avatar for complete

[B]Methods before Members or Members before Methods?[/B] In a header file, which do you define/declare first. Do you list all your variables before the methods (also known as functions), or do you do it the other way around? I always thought that you put the variables first. That was the …

Software Development c++
Member Avatar for Narue
0
96
Member Avatar for EnderX

I am trying to program a work-related report system. The reports are generated in php, and I have been requested to have the results sent via email to the individual who needs to review them. (That is, one person generates the reports to look at via an external program, but …

Software Development perl
Member Avatar for trudge
0
149
Member Avatar for skelly16

Hi Can anyone advise me on a good Korn Shell scripting book for me. Im fairly new to programming, so looking for a good korn shell book. Im considering buying two books as my work will pay for it. Any suggestions?

Software Development shell-scripting
Member Avatar for skelly16
0
124
Member Avatar for katharnakh

I need help on this, im not getting how to go about this... ok, let me explain where im stuck, i have a class, and its structure goes like this(i will show a some kind of replica of original class, so that you guys can easily follow my question), [code=Java] …

Software Development java session
Member Avatar for ~s.o.s~
0
95
Member Avatar for covertx

Hey all! Here's the scenario: [LIST] [*]I've got an array of strings (Dates, but stored in a string[]) [*]For each date in this array, I need to parse it as a universal DateTime EG "yyyy-MM-ddTHH:mm:ss.fff" [/LIST]Because it's a string, I can't perform the parse AND make the format conversion, so …

Software Development
Member Avatar for _r0ckbaer
0
146
Member Avatar for bumassjp

Currently I am running a program that receives data from an outside device and displays it to the console. I need to be able to take the information received and save it to a log file of some sort. I then need to be able to parse each line for …

Software Development java
Member Avatar for lookof2day
0
144
Member Avatar for Utkarsh Kukreti

How do we make a keylogger in c#?

Software Development
Member Avatar for Ramy Mahrous
0
292
Member Avatar for bajanpoet

I have a button that when pressed displays all the customers in the table. Other buttons are used to add or delete a customer record, or upload a batch of numbers. How can I fire the Click event of the View button after the Add or Delete buttons code has …

Software Development vb.net
Member Avatar for bajanpoet
0
142
Member Avatar for darkagn

What is actually meant by the term "web-based development/solutions/applications"? In particular in relation to java? I hear this terminology all the time but I don't really understand what it means... :$

Software Development java
Member Avatar for jwenting
0
93
Member Avatar for calipxo

1.Show that X^62 can be computed with only 8 multiplications. 2.Programs A and B are analyzed and found to have worst-case running times no greater than 150NlgN and N^2, respectively. Answer the following questions, if possible: 1. Which program has the better guarantee on the running time, for large values …

Software Development c data-structure
Member Avatar for TkTkorrovi
0
112
Member Avatar for iCez

Hello guys, just wanna ask help from you again. I just reviewed my notes and tried to run the code, I successfully debugged it but when I ran the code it says [I]java.lang.NoSuchMethodError: main Exception in thread "main" Process completed. [/I] I just don't know what to do. =/ here's …

Software Development apple java
Member Avatar for iCez
0
94
Member Avatar for Robin_Dragon

Hey peeps, i am just another lost programmer here looking for some good old fashion help, pertaining to a histogram program. If there is anyone out there that can follow me as to what i will me explaining i would like it if u'd step in make a suggestion or …

Software Development algorithm c++
Member Avatar for Robin_Dragon
0
160
Member Avatar for chef.boyardy

Please help!! I am creating this midlet (non vital coding excluded) but I feel like a noob! here is the code: [code] import javax.microedition.midlet.*; import javax.microedition.lcdui.*; import java.lang.*; public class MainMenu extends MIDlet implements CommandListener { public Display mDisplay; private List mlstMainMenu; private Calculator mobjCalculator; private Command mcmdOK; public MainMenu() …

Software Development java
Member Avatar for chef.boyardy
0
108

The End.