199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 | |
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 … | |
Can anyone give me some examples on how to apply stacks and trees.. | |
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? | |
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... | |
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! | |
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 … | |
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 … | |
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 … | |
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() # … | |
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 … | |
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(); … | |
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 … | |
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 … | |
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 … | |
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. | |
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.. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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] … | |
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 … | |
Hi friends... Can any one give me some tips or logic for dynamically defining a structure in C... Thanx for ur help..... | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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: … | |
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 … | |
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! | |
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 … ![]() | |
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 … | |
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), … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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. |
The End.