199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for oldSoftDev

When I was using Python I created a program using basic knowledge of object orientation to compare between different cars. now when i switch to java I come up with a plan to compare lines I have created a point class and get the lines as well but now i …

Member Avatar for oldSoftDev
0
195
Member Avatar for Abhishek_Boga

Hi, im not getting of how to vies the data in the database when user select the cndidate id from combobox and the data should be shown in the datagridview. let me know the source code of the problem.. Regards, Abhishek

Member Avatar for skc23
0
3K
Member Avatar for kishore84

Hello friends i have been facing problem in reading from a file consisting of both float values and strings.In need to read them and print them out. The input in the text file i have been using is 0 5.1 3.5 1.4 0.2 setosa 1 4.9 3.0 1.4 0.2 setosa …

Member Avatar for nucleon
0
272
Member Avatar for JONZ
Member Avatar for death_oclock
0
317
Member Avatar for TheBeast32

Hi, I was wondering if there was an alternative to the ShellExecute function of the Windows API; one that is universal on every OS. Is there one?

Member Avatar for death_oclock
0
84
Member Avatar for Skorpion

I want to make a program that takes input 10 random numbers from user and arrange it in ascending order. Give me help for startup plz...

Member Avatar for TheBeast32
0
152
Member Avatar for scru

I know Python introspection feature are powerful, what I can't seem to figure out is how to get the name of the current class. Example: class Foo: def bar(self): print(classname) Then my output should be `Foo`. Bonus points if I can get which module it resides in too. Thanks!

Member Avatar for Ene Uran
0
135
Member Avatar for mahela007

I have installed python 3 on my kubuntu PC. However as the default version of python on kubuntu is 2.5 Idle uses python 2.5 instead of the newly installed python 3 (i used the "python3.0" package for installing python and "idle" package for IDLE when i was installing using synaptic …

Member Avatar for Ene Uran
0
69
Member Avatar for kavithabhaskar

Hi: I have a problem.. I have 3 text boxes and 12 comboboxes. the idea of the form is that the data entry on form has to be stored in Access.. which happens.. but i to limit the user in choosing only the values available from the combo boxes and …

Member Avatar for Lawr
0
119
Member Avatar for Xtreath

First of all hi to evryone. I tryed to make a exe work on most pc's but it only works on mine. My friends got a error when they try to run it. "The application cannot be started because the configuration of the application is wrong. ( or something like …

Member Avatar for cikara21
0
80
Member Avatar for curiouskitten

I am a beginner python programmer and need some help with this problem. To provide a code that will lowercase all consonants and upper case all vowels. Needs to be a relatively simple code (like 2-3 lines lol) For example i have started this: S=raw_input("Enter Sentence: ") print S.upper() # …

Member Avatar for Ene Uran
0
11K
Member Avatar for mattwaab

hey, i am working on this project, and have made it to the end of the hard coding part. Now i need to work out the bugs / get the thing to compile. I am having some trouble though as i am getting error messages that i dont understand. here …

Member Avatar for StuXYZ
0
96
Member Avatar for wuz

Hi all, I was thinking of using Triggers to take care of my history tables. Two questions remain: 1) Transaction Scope I handle complex Operations in my DataAccessLayer (C#,ASP.NET) with Transaction Scopes. For example: [code]private void InsertFamily(FamilyDTO) { using (TransactionScope scope = new TransactionScope()) { try { InsertFather(); InsertMother(); InsertBrother(); …

Member Avatar for Ramy Mahrous
0
177
Member Avatar for trihaitran

I just reinstalled OS X 10.5 Leopard on my laptop and restored my data/applications from a Time Machine backup. When I use urllib.urlopen() I get the following error: [code] >>> import urllib >>> u=urllib.urlopen(aUrl) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib.py", line 82, in …

Member Avatar for trihaitran
0
134
Member Avatar for RexxX

I was wondering which method I should use to declare a 2D array. First, I was going to declare a 2D array of char arr[15][100]. In each text file, there's a number on the first line, and that displays how many columns are in the text file, so I would …

Member Avatar for Ancient Dragon
0
110
Member Avatar for senthil12345

When i type in the following link manually in firefox as " file://///172.16.2.1/copyediting/ELS/mallet.pdf", pdf file is loaded successfully in the firefox browser. PDF file is located in remote server which is referred by IP 172.16.2.1. I've assigned the Same link in a String in jsp page and tested it through …

Member Avatar for ~s.o.s~
0
179
Member Avatar for progurammaar

Hi i'm planning to create a music player for linux. I actually dont knw if shell script allows you to create one. Please let me know what programming languages do i need to know to develop one.

Member Avatar for progurammaar
0
102
Member Avatar for ahmksssv

Hi frnds.... i am working on file handling.. I need to display text from my file... here i got everything, but the alighnment is totally looks like notepad...i want to display same clarity(styles) which my original file having... plz give me any solutions asap.. Thanks & Regards..

Member Avatar for almostbob
0
138
Member Avatar for srs_grp

Hello, I am using a Jtable in my application.I am entering values in last column of that table.Below the table, i have a Jbutton named as 'Save'.Suppose while clicking on 'Save', the entire row remains selected except the last cell in which I have entered the value.Then if I retrieve …

Member Avatar for stephen84s
0
101
Member Avatar for thehivetyrant

I have currently built a database (based on IMDB) that i can add dictionaries too, list them and exit. [B]I will put the program so far at the bottom of the page, just paste it in and run ti to see what it's like.[/B] I am trying to add a …

Member Avatar for thehivetyrant
0
122
Member Avatar for Seglespaan

Hi, I'm looking to set up an ecommerce site for a client with around 1800 products in it. There will also be around 100 customers that receive different discounts on each of these products. unfortuanately this is not calculated as a percentage but rather each individual customer pays a different …

Member Avatar for freshfitz
0
64
Member Avatar for MarMcD

Hello, I have to create a product class that holds the item number, product name, units in stock, and the unit price. I also have to create a java application that displays the same info. I have been working on this for three days now... I am getting frustrated because …

Member Avatar for javaAddict
0
233
Member Avatar for marcosjp

Hi! I'm using a C program to open PDF files with this code: [code=c] ShellExecute(GetDesktopWindow(), "open", "c:\\someFolder\\myFile.pdf", NULL, NULL, SW_SHOWNORMAL); [/code] Now I need to go furthrer; I need to open the PDF file at a certain page. I've tried [code=c] "c:\\someFolder\\myFile.pdf#page=5"... [/code] ...as is suggested in Adobe's docs, but …

Member Avatar for Prabakar
0
2K
Member Avatar for lion_crazz

Okay, so I am taking an intro class for java programming and my instructions for this program were to write a program that found the first 20 numbers that when divided by 2,3,4,5,6 all left a reminder of one and then when divided by 7, left a reminder of 0. …

Member Avatar for ddanbe
0
124
Member Avatar for zangster421k

I have a project with these requirements: > Create an array based phone directory which can load name and numbers of all the poeple in the phone book (which is an array) and can change numbers of existing entries, add new entries, delete existing entries and save any new changes …

Member Avatar for javaAddict
0
189
Member Avatar for winrawr

So I got past my last problem using new[], but now I seem to have a new one... I created a char***, var. The goal was to build each dimension of the array to be different sizes at different times, based on separate user input... Here is the code: [code=cpp] …

Member Avatar for Sky Diploma
0
302
Member Avatar for Chucksta

How do you make different shaped controls (heart, star, circular etc.) ? I bought a book on custom controls, but they do not say anything on making them with a different shape to the norm :-( This is for a Uni project for developing a visual programming language for Neverwinter …

Member Avatar for Chucksta
0
123
Member Avatar for omdnaik

Hi friends... Can any one give me some tips or logic for dynamically defining a structure in C... Thanx for ur help.....

Member Avatar for ArkM
0
120
Member Avatar for progurammaar

Hi i'm used to working with Visual studio IDE and C#.NET and have just started studying PHP. These are my queries: 1. Is there any IDE like the visual studio for PHP, i mean it was a lot easier dargging and dropping controls in VS. Suggest me one. 2. Is …

Member Avatar for progurammaar
0
111
Member Avatar for Himerz

Well people... I already know that c++ is not what I want to do in the future, but I do have to pass this class. That said, I need help with this array. I understand how they work, but my instructor wants us to use them in a function!!!!! I …

Member Avatar for Himerz
0
108
Member Avatar for gladiator_jai

Ok, here is the issue. I have a xyz.css file which I read using the streamreader. the file has text in the form .Addfont { ...... .GridLayout {...... a.Master Layout {...... Now I need to extract the text between the '.' and '{' In this case it would be Addfont …

Member Avatar for gladiator_jai
0
112
Member Avatar for JRM

On the advise of ~S.O.S~, i checked out code blocks. It's rather intuitve to use. (It has to be, the documentation is very limited.) The debugger works well with it. In fact i used the step function to find a place where i was stuck in a loop. The yellow …

Member Avatar for TheBeast32
0
160
Member Avatar for PinoyDev

Good day.! I am having problem with passing the parameter value. I have a page called index.php. This page has a textbox named "username" when the user login and type his/her user name in the textbox named "username" i want the data of that user to be displayed in the …

Member Avatar for PinoyDev
0
168
Member Avatar for nil

[COLOR=blue][B]Hello all,[/B][/COLOR] [COLOR=blue][B]I want autocomplete textbox facility like google in my application and i searched on the net and i found some articles that shows i've to use ajax(combination of javascript and xml) but they are using .dll file component but i don't want to use any kind of .dll …

Member Avatar for kanuja01
0
152
Member Avatar for pharitha

Could anyone help me splitting a big file into subfiles. The file is something similar to this: 1.SYSTEM = UNIX 2.variable = value 3.>ACTIVATED 1 4.ALL: FILE1 5.ALL:FILE2 6.ALL:FILE3 7.ALL:FILE4 8.>ACTIVATED 1 9. ################* 10.>>CONDITIONS 11.################ 12.MODEL: 13.<one ExeSimpleName> : <one or more Flags> : [Options] I need to split …

Member Avatar for mitchems
0
153
Member Avatar for dmoliver

Hi! I need help with a class project. It is basically an encoder/decoder program, with two parts. Part 1: Take text entered by a user, convert each character to a number, and save the result to a file. Part 2: Read each number from the file, convert it to a …

Member Avatar for BestJewSinceJC
0
158
Member Avatar for designingamy

Hello all! Sorry in advance if this seem like a really dumb question. I have one page where a client posts their personal info. One way I check the post is to use htmlspecialchars and then store it in a session. For example... [code] <?php session_start(); include ("databaseinfo.php"); //Form validation: …

Member Avatar for Will Gresham
0
115
Member Avatar for scru

Several things have led me to writing this post However, late last week I did some poking around in the Windows C API from ctypes (not using pywin32) for a project I was finishing up, and I [I]loved it[/I]! Since then I've been playing around with ctypes and Windows function …

Member Avatar for lllllIllIlllI
0
215
Member Avatar for cesdomsoft

i am cesar and i want to know on how to query records from ms access to the vb.net....any reply will be appreciated! thank you!

Member Avatar for cesdomsoft
0
89
Member Avatar for giguere18

Hi- I am having difficulty working with an array in php and would appreciate any help...thanks in advance! I have queried my database to return all product ids with type 'book' and id base 'brd'. The product id is a string that is formatted as follows: <base><3 or 4 digits><no …

Member Avatar for diafol
0
84
Member Avatar for JAGgededgeOB172

Hi, I'm having issues with a program that concept-wise sounds very simple. The program should read in data from a text file (attached a2.txt), and perform stack and queue operations upon the data. The data consists of long math problems, dealing with order-of-operations. The correct output that should be appearing …

Member Avatar for JAGgededgeOB172
0
216
Member Avatar for StandardsDT

I have a few assignments to get done, but I figured I'll post one to see if I'm the right track. If so then what I did will greatly help me. Here are the requirements [quote]Create a simple Dog class that has the following private fields (age (int), gender(char), name(string), …

Member Avatar for StandardsDT
0
152
Member Avatar for ajkraft21

I have been giving the task of making a box using all asterisks, given an input of say 5. Im supposed to make something that resembles a 5x5 box with nothing in between... I am stuck at a dead-end here and any help would be appreciated! My code so far …

Member Avatar for winrawr
0
131
Member Avatar for shadiadiph

i have got this done so far but it still isn't working properly its really doing my head in it sends the message fine subject file attachment but cuts the html message off halfway down and doesn't send the disclaimer if i change $message which is being passed to $messagemain …

Member Avatar for shadiadiph
0
110
Member Avatar for chinni1

Hi I want to know how to write storedprocedure when search creiteria is Present. Here the query to give the list of "select ID, Salesmennummer , Salesname Commision, Areacode from sales_master Areacode Salesmennummer Salesname Commision 1 1000 Rams 200 2 2000 Johny 1000 I Want to search above list by …

Member Avatar for Ramy Mahrous
0
90
Member Avatar for fellowa

I want to dynamically update and display Label captions using hidden texbox which read from certain SOL DB table column. Am using label1.caption = text1.text Very New to Vb.net 2005

Member Avatar for Minolwen
0
64
Member Avatar for ithelp

Hi C experts, In my code I have got #pragma extern_prefix (push, ""); Some extern function declarations #pragma extern_prefix (pop, ""); So that compiler does not prepend anything to those extern functions , I get an error error #14: extra text after expected end of preprocessing directive Does anyone know …

Member Avatar for death_oclock
0
5K
Member Avatar for asif786

i am coding a program in vb.NET, it will be used for people to vot for their favourite food. I have let the users input the name of favoutie foods into an inputbox and tehn store the name of each favoutie food into an array called foodarray. Then the array …

Member Avatar for rapture
0
104
Member Avatar for CPPRULZ

I just have one question, when you have a class that is defined: [code=C++] class box{ public: int *value; box() { value=new int; *value=0; }; box(box &c) {*value=*c.value;}; }; [/code] If in the main you said class box b(a); it would work as expected. But I don't understand how that …

Member Avatar for death_oclock
0
151
Member Avatar for Digvijaysinh

hii friends, i just want to know how to create if-else statement where we dont allow user to left any textbox blank in our window application , suppose we have 3 textbox then please suggest me how to create if - else statement for this in c#. thanx in advance.

Member Avatar for rapture
0
523

The End.