43,549 Solved Topics
Remove Filter ![]() | |
[B][COLOR="Red"]IS ANYONE INTERESTED IN THIS APP???[/COLOR][/B] I am looking for guys 1 or 2 to write some open source application in python. We will decide what app. we want to write. 1.App in GUI (wx) 2.The app will have its dedicated website. 3. The app in multi platform And other … Software Development gui open-source python | |
Hi folks....I have two separate copies of this program to show how my thought process worked in initial creation and how it has changed since I was helped by you folks in my airline reservation program. It does not work but I DID try to apply what I have learned … Software Development java | |
hi im sorry if this isnt in the right forum but i cant seem to find any threads in this. i cant seem to create a datetime object in vb.net with datetime string that's in this format "hh:mm:ss tt MM/dd/yy". The error im getting says its not a recognisable string … Software Development vb.net | |
I am not able to get GDB to start in -tui mode. My OS is Win XP, here is what i do START->RUN->cmd([B]gdb -tui[/B]) gdb:TUI mode is not supported [B]gdb[/B] GNU gdb [U]6.8[/U] .... .... ....... This GDB was configured as "i686-pc-mingw32." I know that GDB supports tui mode from … Software Development c++ | |
hi,.,.. i knwo its sound too fasicinating (about title)... and u might b thinking i would be a some kind of rocket programmer or hve gr8 skill over various programming languages ,,.... :icon_question: but unfortunately i dont fall in any these category ,.. actually i'm a student of computer science … Software Development c++ operating-system | |
i wrote a program that calculates how many coins that a vending machine splits out and such, and it does work but i can't figure how it works. at the time, i was sure of the logic, but now i can't understand how this is possible. [CODE] change = (amountPaid … Software Development java | |
Hi, My front end has a Tshape(Cirle) Over a Panel and I am trying to move the circle on the panel and get the X and Y values and send these values through comport for serial communication. However I am able to retrieve the values but the shape is flickering … | |
Hi guys, I have a very simple form with 2 textboxes only and a listview to display added record. Upon form load i wanted to sest focus to textbox1, but it shows this error: Run-time error 5:Invalid Procedure call or argument My form load code [CODE]Private Sub Form_Load() bModelMaster = … Software Development listview visual-basic | |
[CODE]public static String strCap(String str){ //capitalizes the first letter of the string String newStr1 = str.replace(str.charAt(0), Character.toUpperCase(str.charAt(0))); int position = str.indexOf(". "); // looks for a period followed by a space while(position != -1){ newStr1 = newStr1.replace(newStr1.charAt(position + 2), Character.toUpperCase(newStr1.charAt(position + 2))); position = str.indexOf(". ", position+1); } return newStr1; … Software Development java | |
I have this struct for an item in a to-do list [code=c] struct Task { char description[TASK_DESC_SIZE]; /* description of the task */ int priority; /* task priority */ }; [/code] i'm just not sure how to alter the description while making a task using this [code=c] TYPE createTask (int … Software Development c | |
I am trying to pull coordinates for a form location out of a database and insert them into the Location property: [code] childForm.Location = new Point(/* coordinates go here */); [/code] I have tried doing a direct replacement with the DataSet (which didn't work): [code] childForm.Location = new Point((string)row["location"]); [/code] … Software Development dataset | |
Hi, I am relatively new to c++ and DW so this may sound a little stiff. I recently learned about classes and I was wondering if there is a way to take user input and set that input to a private variable. I know it would require accessors methods, but … Software Development c++ | |
Okay. I have a program I am writing similar to the lottery, my input file provides 10 combinations and my rand() produces 5 random numbers which I want to compare them against using binary and linear search. I know how to compare them 1 number at a time, but don't … Software Development c++ open-source | |
Hi i am a total beginner and studying for a FD degree in C++. My assignment states Assignment Details a telephone company requires a program to calculate call charges for their customers. The regular charge rate for long distance phone calls is £1.50 for the first 3 minutes (or part … | |
hi..is it possible to run SQL query periodically in vb.net? my system should update database B if there is an anamolly happen in database A i just wanna run UPDATE query periodically every 5-10 minutes plz help me | |
Not so new anymore more with Java but as it gets more advanced (for me that at least) the tricks evade me. I would like to output sorted values into my GUI but two things are not happening. 1. Cannot get values to print in GUI but prints on screen … Software Development gui java java-swing | |
Hello, First of all: I'm more used to java, but at university we need to code something in python. I'm having serious problems filling a python-list with values. [CODE] for i in range(self.num_of_players) : self.player_hands[i]=["Testcard"] [/CODE] I want to fill the i-th player_hands-list with a String! Yes i declared a … Software Development python | |
In class my teacher ran a program similar to this one. When I attempt to run this from home I get a message saying "No main classes found". I know there should be a main in the program but he ran a similar program without it. Just trying to get … Software Development java | |
hi, im creating an ASP.NET page using C# and want it to send messages to certain people. i looked at some websites, like clickatell.com and intellisoftware.com but they don't met the requirements. clickatell block my country, and intellisoftware don't cover all the networks. so is there some other web services … Software Development asp.net | |
hello people... simple doubt [CODE] class test { public static long testApp(long number) { return number; } }[/CODE] when i pass "45638" it returns perfectly but when i pass "23837472"; it's returning not in the range. what's the issue as long has very big value/range.. and how do i pass … Software Development java | |
I have read a file to an array successfully. However, when I attempt to pass the array to the function calcAvg(calculate average) and return the average, I get a zero. //Function prototype double calcAvg(double [], int); //Function call calcAvg(score,SIZE); I set a variable called score_length (in main) to get the … Software Development c++ | |
We know that 0.1 + 0.1 + 0.1 - 0.3 = 0.0 But in python 0.1 + 0.1 + 0.1 - 0.3 = 5.5511151231257827e-017 Is there any way I can get 0.0...?? Software Development mathematics python | |
gedit uses UTF encoding. Therefore, if we store binary data in the file (like through DataOutputStream's writeInt() or writeByte(), etc.), gedit would rightly complain, but if we write something through the writeUTF() function, then gedit should be able to open it as the data is written is UTF which it … Software Development java | |
Using a BufferedInputStream is useful because it cuts down on read system calls. But the same effect can be produced, say in reading a file, if we use FileInputStream's read method that takes a byte array as input. A lot of bytes are read in a single call. Am I … Software Development java | |
Guys I wrote a program that creates 23 random numbers(birthdays) and the counts how many duplicates are there. How come [B][U]sometimes[/U][/B] when I run this it returns "None"? Here is the code: [CODE]import random #Checks for duplicates. def has_duplicates(userstring): userlist = list(userstring) list_len = len(userlist) len_no_duplicates = len(set(userlist)) if list_len … Software Development python | |
Hello, I am having an issue with a data filled combo box. I can not put my finger on why it is giving me the "run-time error 424 object required" error. The code is simple and the data is there. [code] Dim sSql As String Set rsMfg = New ADODB.Recordset … Software Development open-source vb.net | |
I'm having a whole lot of difficulty attempting to add data to a multi-column ListView Here's the code for the ListView [CODE]ListView Height="263" Margin="12,29,12,0" Name="Tasks_ListView" VerticalAlignment="Top" ItemsSource="{Binding Source=}"> <ListView.View> <GridView> <GridViewColumn Width="91" DisplayMemberBinding="{Binding CourseName}" Header="Class Name" /> <GridViewColumn Width="275" Header="Assignment Name" DisplayMemberBinding="{Binding AssignmentName}"/> <GridViewColumn Width="110" Header="Due Date" DisplayMemberBinding="{Binding Path=Due_Date}"/> <GridViewColumn … Software Development asp.net listview visual-studio | |
I want to send some packets they are in hex format 01 00 00 00 AA 00 00 00 01 because how winsock works i first need to convert it to ascii right? how could i do that every time i try it looses the NULLS - 00 help would … Software Development visual-basic | |
Hi i thought of an idea, making a program that me and my friends could use as an instant messaging thing. Like the user types what they want to say and they send it, then that goes to a server that i would create and the server would send it … Software Development vb.net | |
HI I am working on a project to animate user-defined algos. I am still at the very beginning but I am practicing code in swing and here is an Array class that the user can use in his user defined algo: [CODE] import java.awt.*; import javax.swing.*; public class Array1 extends … Software Development gui java java-swing | |
Hi I'm asked to write two functions to find the factorial one using recursion and the other using loops. the range of numbers which if have to output their factorials is 1 to 500(N) after some time the computer won't be able to find the factorial .I have to output … Software Development c++ | |
i have a problem here. [CODE][/CODE] #include<stdio.h> int main (){ int counter; int x; int y; int product; counter=1; x=1; y=1; product=1; while (counter<=5){ printf("%d>%d\n",x,y); x=x+1; y=y+2; counter=counter+1; product=product*y; } printf("Product>%d",product); return 0; } well,the product should be 945.but what have printf out is 10395?what is the provlem inside the … Software Development c | |
here is the things so far i got. [CODE][/CODE] #include <stdio.h> int CF(int C); int FC(int F); int main(){ printf("Fahrenheit equivalents of Celsius temperature\n"); printf("Celsius \t Fahrenheit \n"); for (x=0;x<=100;x++); printf("Celsius equivalents of Fahrenheit temperature\n"); printf("Fahrenheit \t Celsius \n"); for (x=32;x<=212;x++); Pls,somebody help me.T.T Software Development c | |
first we read something from the text files ( INT type only ), then i want read till "\n" stop and inceasement a value, examples, [CODE] int Attendance[10][10]; ExistingFile = fopen("Attendance.txt", "w"); if(!ExistingFile) { printf("\t\t This File Cannot Be Open Successfully!!\n"); printf("\t\t Please Check It!!\n"); exit(-1); } else { fprintf(ExistingFile, … Software Development c | |
I am developing a application using VB 6.0. My requirement is if the user log off the application using File->Exit the below action should perform Action1 : The login status should get updated with 0 in the back end table called "Create_Login" so that next time if the user login … Software Development open-source visual-basic | |
I'm just trying to make a cash till and something is wrong because when i try to execute it it just freezes. I think something is wrong with my loop, also i don't know how to refresh my sale total when i click clear order. It clears it but when … Software Development visual-basic | |
Hi, I have am interesting problem that I cannot think of a solution for. I have an VB.NET application. This Application is permanently resident in memory and minimized to the tray area because we use it very often. The problem comes in when we VPN into a client's site. These … Software Development client-server sql vb.net | |
Hi, Im doing a project in my class where i have to make code. i have to make a spread sheet that will control the sales that are taking place. The cash till has to add up the total cost of the items being bought, take in the input of … Software Development visual-basic | |
Hello, I am working on a combo box, Visual Basic 6.5 on Microsoft Word 2003. When I put in the text for the combo box, it loads fine. I save, close the document. When I re-open the file, everything in the drop box is gone. What am I doing wrong? Software Development visual-basic | |
This is my first post and I am just starting with arrays, but I am still stuck on how this function is suppose to work. I had to make two void functions and two-value returning functions. Main should call the getTestScores and get three test scores, then it should call … Software Development c++ | |
I'm creating my second application. I'm not very good at coding. If i make dump mistake please bare with me. I can't get this Progress bar to work, I tried few steps. I'm writing this application to copying the Host file to a folder in desktop for troubleshooting purpose at … Software Development microsoft-office vb.net | |
Hello, I'm new here, so please be gentle. I have posted my code at the following page: [url]http://www.bpaste.net/show/11397/[/url] In short, I need to read in my file, block by block, but have the re.finditer regular expression report the offsets relative to the beginning of the overall file, rather than relative … Software Development python | |
![]() | Basically I've looked everywhere for help with this problem and been unable to find any so i thought i'd ask here. I have a text file full of numbers which i wish to manipulate. the actual text file has about 200 rows and 10 columns, but in this example i'll … Software Development file-system python |
Hi every one, please could you help me in my project!! I'm trying to design a words game that's give you the first two letters from the word and you insert the rest to make a word (for now I'm just using "co" as example and I have just one … Software Development database-design dataset open-source vb.net visual-studio | |
Hi again everyone. I am trying to change around this program I wrote to meet some new requirements, but getting stuck on how to do it. *Write a program that reads a file consisting of students' test scores in the range of 0-200. The students scores should be stored into … Software Development java | |
Ive made this quick program to strip the "youtube - " prefix off my mp3 collection, so i started modifying a script i had made before to replace file names with a <filename><incrementing number> type name. It has gone well so far, with the only problem being it will strip … Software Development python | |
Hey; I'm practicing with template classes. When I declare a user-typed destructor for this template class, the program freezes and needs to be closed explicitly. Obviously, in the destructor, I am trying to release the memory allocated to hold the coordinates[3] array. What is the problem with declaring a user-typed … Software Development c++ | |
[CODE] #include <iostream> using namespace std; class vector1 { float vector[]; int y; public : vector1(int x) { y=x; cout<<"enter the elements of the array"; for(int i=0; i<=y; i++) { cin>>vector[y]; } cout<<"elements of vectors are"; cout<<"{"; for(int i=0; i<y; i++) { cout<<"\n"<<vector[i]; } cout<<"}"; } void modify(int z) { … Software Development c++ | |
FileInputStream inherits from InputStream which has a mark() method which does nothing. FileInputStream itself doesn't define any mark() method. Even then, if I wrap a FileInputStream object inside a BufferedInputStream object and call markSupported() on it, it returns true. In the docs, it says that the mark() method of any … Software Development java | |
I'm trying to create a random float generator. The float must be 2 decimal places and between the values 0.50 and 999.99. I tried casting rand() to a float below, which didn't work. I'd still like to know the reason this didn't work. [CODE] saleAmount = ((float)rand() % 99950.00 + … Software Development c++ |
The End.