132,726 Archived Topics
Remove Filter ![]() | |
Hello everybody. I am struggling with this issue, which is probably something simple. How do you change the font style and font size while a VB application is running? I want to to be able to choose a different font and size based on choices from the ToolStripComboBoxe(s). Any help … Software Development vb.net | |
Hello I am trying to compare 2 files using awk. They have the same seperators, same columns, same rows. I need to go through both and see at which line they differ, adn then save those differences to another file. I have tried many methods but none seem to work. … Software Development shell-scripting | |
Hello Everybody, Iam not able to figure out why iam getting the following error: [COLOR="Red"]Error 1:[/COLOR]Only assignment, call, increment, decrement, and new object expressions can be used as a statement [COLOR="Red"]Error 2:[/COLOR] Invalid Expression term '=' [COLOR="Red"]Error 3:[/COLOR] ; expected Iam only trying to append "1" to string m_strTime. [CODE]public … Software Development | |
Hi there, i'm trying to make a program which translates a word from one language to another, using files (one file for each language) i'm using fgets, to read a line from the file and then comparing it to what the user entered, and strcomp() to see if the words … Software Development c++ | |
Hi everyone, I'm dealing with a problem I can't figure out how to solve, and I'd love to hear some suggestions. [NOTE: I realise I'm asking several questions; however, answers need to take into account all of the issues, so I cannot split this into several questions] Here's the deal: … Software Development | |
Hi, I am developing small chatting application... when i try to run the application, it throws the IO Exception while creating sockets.. How to resolve resolve the this one..? please help me.. i attached the code for your view... Software Development java | |
Hello, I have been trying to setup mysql API with C. I followed tutorials but I don't think I am installing the API correctly. Could someone tell me the package to download, and what to do with it. Thank you very much. | |
i was putting the finishing touches on my project and there are some errors that came up here is my code: [CODE] else if (action == 3){ system("cls"); cout << "Russia has an entrenched, albeit underfunded, system of socialized medicine. Basic medical care is available" << endl; cout << "to … Software Development advertising c++ | |
Declare a 2-D array that will contain up to 20 rows and 15 columns. The template for this lab that has been posted on ANGEL contains code to prompt the user to enter the number of rows and columns he/she would like to use, confirms the user’s entry is valid, … Software Development c++ | |
Hi! I'd like to know if there's a way to save a webpage address, as HTML (like the browser displays it) and store it under a folder. What I want to do for my website is to create some sort of cache image of the index page, available for me … Software Development html-css shell-scripting | |
[code=java] import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.text.*; import java.text.DecimalFormat; public class Grades extends JFrame { //construct components JLabel title = new JLabel("Grades"); JTextPane textPane = new JTextPane(); int numberOfGrades = 0; double total = 0; DecimalFormat twoDigits = new DecimalFormat ("##0.00"); //initialize data in arrays int[] grades = … Software Development java java-swing | |
Can someone please HELP??? [CODE] public class Person { private String name; private String address; private String phoneNumber; private String email; public Person(){ } public Person(String name, String address, String phoneNumber,String email) { this.name =name; this.address=address; this.phoneNumber=phoneNumber; this.email=email; } public String toString() { return "Person "+ this.getName(); } public String … Software Development java | |
I have one error in my code Error 1 fatal error C1075: end of file found before the left brace '{' at line 50 The program is suppose to ask the user for a filename, read and display the file. Then show 24 lines per screen. I thought I checked … Software Development c++ file-system ios | |
I recently updated to windows 7 and since then I have been having this problem. Any help appreciated. Software Development | |
so this is the part of my code that has an error: [CODE]int Mainmenu(){ system("cls"); int action; char action1; cout << "Welcome to my Quarter Project." << endl; cout << "What would you like to learn more about?" << endl; cout << "1. Medecine in the United States." << endl; … Software Development c++ | |
For my program I am working with simple graphics and need to display a straight row of squares from left to right decreasing in size. I also have to program this recursively so that it makes the squares following the first one by itself. My problem right now is that … | |
I have a file name fun.c contain the fuction to add two number (addnum(a,b)).Now I create another file name callfunc.c.Here I want to call the function (addnum(a,b)) from the file fun.c. How can I do that?. Software Development c | |
I've learned to write bytes from a file by reading the entire file into a character array and then writing them out to another file using fwrite. Of course, my teacher told me this is both wasteful and a file might not fit into memory, so I should use another … Software Development c file-system | |
I'm going crazy. I've been trying to a linked list of a struct (which stores some strings and a character) however I've had no luck. It's just not working and I've been working on this for hours on end. Note: StorePtr is a pointer to the Store struct (which stores … Software Development c linked-list | |
Programming Assignment Employee Payroll Report Write a program that generates an Employee Payroll Report. The input for the program consists of a collection of data containing the last name, hourly pay rate, and the number of hours worked, for a set of employees. The output of the program is a … Software Development c++ | |
I have tried to fill an array with randoms numbers between zero and nine. The code I have used so far is this. int a[40], b[40]; for (int i=0; i<39; i++) { a[i]=(0 rand() % 9); b[i]=(0 rand() % 9); } Why will this not work? Software Development c++ | |
Hi guys, I have recently decided to start doing some work using PyQt, I've been told its pretty good, however I hit a bit of a block when I installed Python 2.6 and PyQt4 only to find that every time I try to run any code that uses any PyQt … Software Development python | |
I'm writing a program to read data and store it to file. However I am a bit confused by the EOF statement, and how to get my program to stop reading when there is no more data to read. My code looks like this [code]while((c=fgetc(fin2))!=EOF) { if(c=='#'){ while((c=fgetc(fin2))!='\n'){ }} else{ … Software Development c | |
ok so I'm very new to python and I know java pretty well... Here is the source code I have come up with for the beginnings of a md5 brute forcing program: [CODE]#For testing purposes only passwords that have one letter/number will be cracked import os import md5 def bruteForce(): … | |
hello. I believe my InputStream is is null. Is there a way to get it to work? [code]InputStream is=pr.getClass().getResourceAsStream(path);[/code] [code] /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package schoolAppView.utils; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; /** … Software Development java | |
I have a class, and create 4 instances of this class as per below: [code=PYTHON]class AuctionList: def __init__(self): self.Clear_Auction_List() # Data auctionList = [] #Functions .... [/code] [code=PYTHON]currentAuctionList = AuctionList() previousCurrentAuctionList = AuctionList() finishedAuctionList = AuctionList() successfulAuctionList = AuctionList()[/code] The class has a list variable and a few functions to … Software Development python | |
hello. Could someone tell me what I need to change to get the initial contcext for my JDesktopApp? [code] public JDBCSchoolofdbDAO() { try { Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup( ModelUtils.getResource("JavaCompEnv")); dataSource = (DataSource) envCtx.lookup( ModelUtils.getResource("DataSource")); } catch (NamingException x) { ModelUtils.log(x); throw new InternalError(x.getMessage()); } … Software Development java | |
[CODE]Public Class Form1 Private Sub btnCompute_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnCompute.Click Dim pizza, fries, drinks As Double ' inputs by customer pizza = CDbl(txtPizza.Text) fries = CDbl(txtFries.Text) drinks = CDbl(txtDrinks.Text) displayBill(pizza, fries, drinks) End Sub Sub displayBill(ByVal num1 As Double, ByVal num2 As Double, ByVal num3 … Software Development vb.net | |
I see that this problem has been posted a few times before but I cannot manage to find the bug in my program. When it runs, it does not return the values in ascending order. For example, upon entering two test values, I get 0 and 1519848. Any hints would … Software Development c++ | |
Hi, I'm writing a multi-threaded script with wxPython as a GUI toolkit. About 50% of the time, I can run my script flawlessly. The other 50% of the time, I get [U]huge[/U] errors regarding wxPython that I cannot seem to decipher; however, I think it could possibly be a problem … Software Development gui linked-list python ubuntu | |
There are many inbuilt functions for drawing lines in turbo c..is there any similar functions in ncursers library.....please tell me some equilvalent functions for setfillstyle() in the ncurses library. Thank u Software Development c | |
I am brand new at Visual Basic 2008 (and programming in general) and am taking an online IT course. I do not understand Visual Basic and do not know how to determine what code to write in a given situation. How do you determine what code to write? Software Development vb.net visual-basic | |
hey every one, I am a bit of a n00b here too, so than ks for baring with me. I am trying to creat a program that conjugates a verb from present tense to past tense. to do so, I need to conert a string to a character type for … Software Development c++ | |
Can someone tell me how to print out each array and its value? we are given a random array of 1000 doubles. If a value in the array is above or below 90% the average, we are to print the "flagged" values. So far, I just have it printing one … Software Development java | |
Hey, I need to do a program that displays a menu with 5 options that works with search and sorting of arrays of unordered decimal numbers: 1)Read file 2)Linear Search 3)Binary Search 4)Bubble Sort 5)Selection Sort each option has to display the result. with the option 1 has to ask … Software Development c++ | |
Hi. I would like to use conky to display EPG on me desktop. I found a cool website: [URL="http://nazham.com/2009/07/26/how-to-enhance-your-linux-desktop-with-conky/"]http://nazham.com/2009/07/26/how-to-enhance-your-linux-desktop-with-conky/[/URL] and the owner, Mahzan Musa was very kind to provide his code. THANK YOU Unfortunately his html epg source is completely different from mine and the code was not so easy … Software Development python | |
I am trying to make a program that calculates the amount of money saved with compound interest. It needs to output the amount of money saved for each year it accrues. This is what i have so far , using a for loop: [CODE]int main () { double p; double … Software Development c++ | |
hello friends can anyone please help me with a C version of a brute force cracker in which i can compare with a selected string and identify for a match.. the c version is in the link bellow [url]http://www.daniweb.com/forums/thread121991.html[/url] cheers | |
Hello, I'm programming this patcher for my upcoming 2D Game, called Argyus Online. When I compile the patcher it works on my computer but when I execute it to my moms laptop, it give me some error. I can't translate it to english but I think its something with the … Software Development c++ | |
Hello, I created a fully working progress bar for my 2D Game patcher. I have a question, Is it possible to have an Image painted on the progress bar? I know its possible in VB but I wanna try it in C++. I could find any results using Google. Thanks! Software Development c++ | |
Hi, I was wondering is anyone could tell me how or give me pointers on how to convert the base of a number to another base. For example 2010 base 3 to base 4. I am stumped and I would appreciate any help I could get. Software Development java | |
Are there any functions built in C to display the current time and date, and if there is could someone display its syntax Thanks..... Software Development c | |
so when i have my if statement, if someone goes to put in say: 1 for the answer, and 1 wasnt a choice, when i put it in again it closes the program, heres an example [CODE] int action; cout << "press 2, 3, or 4." << endl; cin >> … Software Development c++ | |
Hi, I am working on a small program that converts English to Morse code and back into English. The input is read from a file specified by the user no matter which way the conversion is going. I figured out the english to morse conversion pretty easily, by just reading … Software Development c file-system | |
Define a base class person that will contain universal information, including name, address, birth date, gender and identification (student, worker etc). Derive from this class the following classes: Student Worker Student_worker Write a program that asks user to input information (student, worker etc) and creates a list of persons. Give … Software Development c++ | |
Hi, I'm trying to capture an audio stream from Axis IP camera. The audio data encoded as g.711 should be captured from the camera. I'm using the following http request: [code] Stream roughStream = null; string URLaudio = "http://5.123.220.228/axis-cgi/audio/receive.cgi?httptype=singlepart"; request = (HttpWebRequest)HttpWebRequest.Create(URLaudio); request.Credentials = new NetworkCredential("admin", "password"); request.Method = "GET"; … Software Development api audio windows-api | |
Hi, i'm trying to learn some assembly, ive got a assignment from school to control a lcd screen. I've got some sample code that i mostly understand but i can't figure out what the SBI command does. Using atmega32, with avr studio 4 [CODE]sbi PortD, LCD_E[/CODE] At this point PortD … Software Development assembly hardware-swap | |
I have a vb.net project which i have inserted pictures and video. I inserted a video clip using the Windows Media Player control and it does work. The issue i have is that i can't move the program to another computer because the pathname for the video will be wrong. … | |
Friends I m working with RowFilter, its working good with String Data, and like statements, specially its Autometed functuallity with string data is good, just like in follwing code (it is written in Textbox "txtSearch"s TextChanged Event) [CODE] Private Sub txtSearch_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtSearch.TextChanged … Software Development vb.net |
The End.