43,549 Solved Topics
Remove Filter ![]() | |
hi, u are so good at c, i saw some program that i looked for, but i dont look at result, i need a program, for beginner level of c programming (because i am beginner), converting binary to gray, gray to binary i only know while, if, for, a little … Software Development c | |
how to send mp3,avi(large) files via socket...small files with size less than 100kb is possible but how to send large file.. Software Development java socket-programming | |
Hello, I`m just starting to get into the basics of C++ and I have to create a following program - basically the user has to input an integer and a digit of their choice and the program has to check whether the square of that integer contains that specific digit … Software Development c++ | |
I'm new at this so sorry if my vocabulary and stuff is totally off. With the following syntax, my goal is to call the choose_number function, which, when given two arguments (integers), returns one of those two at random. I run it multiple times with a for loop but it … Software Development c++ | |
hello every1 i would appreciate if any1 cud help me with setting an image to label what i want is a label with no text jst an image display on the label... thanks in advance! | |
I have one Access Database and in one of the column I need to store image file, how can I do that? Can anyone help me. I know how to do this is MS SQL Server Database but not about Access Database. Software Development image microsoft-access sql | |
Hello every1, i create a mdiparent form and a form1, all i wanted to do is to close the mdichild form(form1) with a close in the menustrip. Sorry i cant explain this clearly When i want to close the opened childform with menustrip (i create a button close in the … Software Development vb.net | |
Hi, i have these two methods which work as designed, but the original image still shows behind... These methods are to resize an image, one is increase and one is decrease size. Upon [B]smallerByToolStripMenuItem_Click[/B] the image is resized, but the original shows behind it. Upon [B]largerByToolStripMenuItem_Click[/B] the image is also … Software Development | |
How may I filter a bindingsource between 2 numbers? Obviously "column_name BETWEEN Num1 AND Num2" does not work, since between is nor supported. Any ideas? Software Development vb.net | |
I have an issue where two text labels are on the same horizontal line on a form. The label to the left expands to the right and down and is anchored to the bottom left of the form. The label on the right is anchored to the bottom right of … Software Development | |
Dear Experts, I am new to the LinkedList concept and trying out coding a LinkedList problem which require me to do Insert newInteger based on the Index, Remove Index and Change oldInteger to newInteger based on Index. Please kindly advice what i should code in my [code] public void insert(int … Software Development java | |
Hi!!This is Chetana... I m TE IT student. I need some good topics 4 the mini-projects in dbms considering vb as front end and oracle as back end(apart from the library,railway,hotel management etc ). Plz help...:S Software Development oracle visual-basic | |
Good day to all, I'm doing a project about inverse permutations from an array of permutations. It's my first time coding on permutations so I don't have any experience on this. So I came up with a solution to just swap the array and the element number as the inverted … Software Development c++ | |
Hello..I am developing a windows application in vb.net and getting an error of system.nullreference exception. I am trying to insert data in the database, insertion occurs in the first go. But, when i stop the porgram and re-run, i get the exception. Can anybody please help me with this ? … Software Development open-source vb.net | |
Hi all, I am working on a Chart showing the activity per customer for the last 12 months + the current month (I work in a technical support team). Basically, my SQL query is providing me with the right result most of the time. It looks like this: Sep 10 … Software Development dataset user-interface vb.net visual-basic | |
hello every1, i am new to vb.net and was wondering how can i trigger a label_click event on the press of a key. thanx in advance! Software Development vb.net | |
Im using pexpect to output some terminal commands, but im facing the following issue. The code is [CODE]porttype = "Gi" print expectSw.sendline ("sh int counters errors | i %.*/1 ") % porttype expectSw.expect ('.*#') print expectSw.after[/CODE] But when I run the code i get ... [CODE]Traceback (most recent call last): … Software Development python | |
[CODE]import javax.swing.*; import java.awt.event.*; import java.awt.*; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; import java.util.TimerTask; /** * @author Adrian BER (beradrian@yahoo.com) */ public class PopupAnkit extends JPanel implements ActionListener{ private JToggleButton invokePopupButton; private JFrame popupWindow; Statement stmt=null; ResultSet rs=null; // int tempCount=0; public static int count=0; /** * Constructor. … Software Development java java-swing mysql | |
I'm just starting to learn c++ and need to know how would you read the first line from a file and write to a new file? thanks Software Development c++ | |
I hav given the name of file as class name and saved it as .java by creating a folder in c drive.when i try to compile it shows the following exception.pls help me to resolve from this problem C:\Program Files\Java\jdk1.7.0\bin>javac HelloWorldApp.java javac: file not found: HelloWorldApp.java Usage: javac <options> <source … Software Development java | |
Write an expression whose value is the result of converting the str value associated with s to an int value. I tried typing int('s') in python2.7, and I got an error. Software Development python | |
![]() | Alright. So with c# we have SINGULAR class inheritance, correct? But we can have infinite Interfaces. I don't get this because when I inheret like so (I'm doing this right, Right?) [CODE] class Player : Zombie_Game.Variables { } [/CODE] and in my Variables class I have this... [CODE] class Variables … Software Development ![]() |
this is my problem! I have to create a console application that asks for numbers of quarters, dimes, nickesl,and pennies. I have to use the Scanner class that read in the integer values for each coin. Calculate total values in cents. Calculate number of dollars and remaining cents. [CODE]import java.util.Scanner; … Software Development java | |
Hi, I'm trying to set custom fonts, I can do it without problem with this code: [CODE] InputStream is = this.getClass().getResourceAsStream("/src/someFontName.ttf"); Font f=null; try { f = Font.createFont(Font.TRUETYPE_FONT,is).deriveFont(15f); } catch (FontFormatException ex) { Logger.getLogger(PanelLiquidacion.class.getName()).log(Level.SEVERE, null, ex); } catch (IOException ex) { Logger.getLogger(PanelLiquidacion.class.getName()).log(Level.SEVERE, null, ex); } txtPlace=new JTextField();txtPlace.setBounds(185,10,310,20); if(f!=null){ txtPlace.setFont(f); lblPlace.setFont(f); … Software Development java | |
I have an assignment Enhance the CashRegister class so that it keeps track of the total number of items in a sale. Count all recorded purchases and supply a method int getItemCount() that returns the number of items of the current purchase. Remember to reset the count ast the end … Software Development java | |
Hi, I have a program that generates an outputstream with XML-data. With a socket connection, I have to read multiple XML-files from the inputstream. To read only one XML-file from the inputstream is not a problem, the fact that there are more than one and I have to split up … Software Development file-stream java xml | |
Hi guys (again), I have a new issue. I am trying to bubble sort my array of objects to display in alphabetical order. Here's the code: [B] Subscriber class:[/B] [CODE]package assignmentone; import java.util.Scanner; import java.util.StringTokenizer; import java.util.Random; /** * * @author Bill */ public class Subscriber { //Field declarations private … Software Development java | |
[CODE][TEX] I want to make a manu bar that is same as the menu Bar present in Microsoft office 2007. How is it possible? Thanks for the help!:) [/TEX][/CODE] Software Development microsoft-office vb.net | |
I am trying to create my login system but I have got a problem with reconizing the value from a file. getline(fstream) recognizes it and puts it in a char(reg_confirm), but I can't set a different function for a different value. it should go like this: if (value == "0") … | |
Hellow everyone Could somebody show me some code Searching/Finding record on a Database Access. example when i type in textbox1 the last name and first name all the record will be displayed on datagrid and when no record is found it will generate message that the record dont exist. Plss … Software Development visual-basic | |
I'm working on a mass text replacer program because I'm sick of all the 10-day trial ones out there that aren't very good. The entire program is basically finished (All easy stuff), but now I need to code the actual replace/delete stuff, which I'm stuck on because apparently the way … Software Development vb.net | |
Hello Members of DaniWeb, I have run into an issue and need help solving it. I know how to go about adding items to My.Settings and I have already created the Specialized String Collection to My.Settings called List but I am having some trouble getting the items and the subitems … | |
Hi All, I was having trouble with getting my program to display all the necessary conversions. Here is a snippet of the code to help explain what I want to do: [CODE] private class CalcListener implements ActionListener{ public void actionPerformed(ActionEvent e){ String centInput, inchInput, meterInput, yardInput; double cent, inch, meter, … | |
[CODE] Public Structure TMProduct <VBFixedString(25)> Public productline As String <VBFixedString(25)> Public hinban As String <VBFixedString(25)> Public shortcode As String <VBFixedString(25)> Public fusible As String Public nutcount As Integer <VBFixedArray(11)> Public nuts() As Integer <VBFixedString(512), VBFixedArray(11)> Public tips() As String End Structure [/CODE] in VB6 the length of this structure is … Software Development vb.net | |
Ok how would I make a program take one file (thats not a text file) and save with a different name like there is a file with asdf.7z and I want the program to save a copy of it as qwer.7z how? And is there any way to do something … Software Development c++ | |
[CODE] struct S{ int i; double d; S(const S & incoming_S):i(S.i),d(S.d){} }; void test(){ S myS=S( /*temporary variable*/ S(23,3.14) ); } [/CODE] Questions: 1) During initialisation, is the temporary variable S(23,3.14) actually created or can it (and is it actually for typical compilers such as VS2008) optimised away? 2) Same … Software Development c++ | |
hello friends i just start learning Python and i am going through book "how to think like a computer scientist", in forth chapter it start using "GASP" which needs to be installed and book totally ignored the need of a newbies regarding installation. so after some mucking around i did … | |
Hey guys, I have this code wherein I have 4 buttons to determine what set of values to display on my jtable. I've successfully displayed my data. After running the program, clicking a button, data is displayed in the jtable. Problem is, when I minimize/maximize the window, the data disappears. … Software Development java | |
I am having a problem with my C# datagridview. When I add data into it, it doesnt auto update. And nothing I found online works to update the view for the user during runtime. I've used refresh(), update(), invalidate(). Nothing seems to work. Can anyone help me out with this … Software Development vb.net | |
im working on a program written on vb 6. i actually want to implement a gif to work on my program. by implementing, i mean how to make a gif file work on vb 6. thanks!:) Software Development visual-basic | |
Hello, I hope someone can give me some help. I have a datagridview (Unbound), wich calculate several numbers, and I use this following code to save 5 of the columns to a XML file. My problem is that I would like to load this file back to my datagridview, and … | |
i am trying to do this consider a=[[(34,5),(34,6)],[(35,5),(35,6)]] b=[(36,5),(36,6)] i want to put elements of b in a so i do a.append(b) now if i do b.pop() why does it effect a? a ends up being `a=[[(34,5),(34,6)],[(35,5),(35,6)],[(36,5)]]` WHY?? is there a way around it?? i don't think i had this … Software Development python ![]() | |
I am trying to make a simple calculator for my code and I wanted to know, how can I have the user input a number like c++ cin >> number; and then just have my math functions do the rest. I have this so far... [CODE] public static void Main() … | |
Hi, below is my code, but when i send the message thru client socket i receive [COLOR="Red"]Specified argument was out of the range of valid values. Parameter name: size[/COLOR] Can anyone help me ! [CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim serverStream As … Software Development client-server vb.net | |
Why does this return None? [CODE]list1 = ['Herring','used','to','be','abundant','in','the','AtlAntic','Ocean','then','herring','got','overfished'] print list1.sort(key=lambda s : s.count('a'))[/CODE] Software Development python | |
Hello everybody, Let me explain my problem. I have one datatable with all my data and the above function to calculate the eclidian distance. My function returns a DataColumn so I can add this column later to another datatable. The problem is that I´m not being able to populate the … Software Development | |
So I was looking at this problem , and in monodevelop (and Visual Studio). But for somereason I keep getting unreachable code or error in Visual Studio, I retyped and relooked over my code but I cant seem to find what the mistake is that I can run my code. … Software Development c c# c++ visual-studio | |
I am trying to use the fileinput.input() module to read in the lines from a bunch of files in a directory and occasionally receive an IOerror exception. What is the best way to handle this exception so that if 1 of the items in the list i'm feeding fileinput,input() generates … Software Development python | |
Hello. I am trying to validate a customer number using isdigit. If the user accidently enters a character other than an integer, I want it to allow the user to try again. The problem is it only will check the first number and if that is a digit it it … Software Development c++ | |
Hi all, I've been working on a piece of software for a few weeks now and I've got to the point where I'm publishing it and testing it on other computers, namely my colleague's. We're both working on the same network and have similar permissions for our accounts, but for … Software Development publishing vb.net |
The End.