43,549 Solved Topics
Remove Filter ![]() | |
In Microsoft Word, I have a VBA textbox ("TBox") and some verbiage in a bookmark field ("BMark"). I want to link the bookmark field to the textbox's ControlSource such that the verbiage appears in the textbox (as the textbox Value). I've failed with multiple different entries into: 1) the Properties … Software Development visual-basic | |
G'day, First of all a very big thank you to both Jeff and Vegaseat for their great help...but sadly :icon_sad: it's not what I needed. Being a novice at Tkinter I did not realize what Tkinter was and was not capable of and I therefore blame myself :icon_redface: for any … | |
Hi, I installed Dev C++ on my PC ...its the first time I am using it. Can somebody tell me how I can link and compile a .cpp and it's corresponding .h file to produce the required .exe ? I want to know how to build on Dev C++ basically. … Software Development c++ | |
Hello, i need to make program which can do squaring, so x^n. I can do it with pow(x,n): [code]#include <iostream> #include <cmath> using namespace std; int main() { double x, c; int n; cout << "Alap = "; cin >> x; cout << "Kitevo = "; cin >> n; if … Software Development c++ | |
Hi everyone. I just started learning Java and did a few application to familiarize myself with it. I wrote an application to output a 2D array table but i can't seem to do it in an applet. Can anyone guide me along here? Problem is when i tried to output … Software Development java java-swing | |
Hey, this isn't an, "I have an error" post! It's more like I'm taking a basic java course in High School and want to include an image as a background in a project in swing. I found some code online that seems to do this quite well, but I need … Software Development gui java java-swing user-interface | |
[code=c++] void playAgain() { char again; cout << "Do you want to play again (y/n)?: "; cin >> again; if (again == 'y') chooseOption(); else if (again == 'n') cout << endl << "Thanks for playing Connect Four, the game of the clever people!"; else cout << "Invalid Choice" << … Software Development c++ | |
I need some help on this program that i have. i can't seem to get it to work. any comment on the program would be appreciated. Thx in advance. I have uploaded my program in case u need to take a look. [CODE]Dim first As Double Dim second As Double … Software Development visual-basic | |
Hi, it's me again and i have new question: This is my code: [CODE]# -*- coding: cp1250 -*- import string as _string import time as _time import wx from math import* class Canvas: def __init__(self,parent): self.okno=parent self.okno.SetBackgroundColour("#FCFCFE") self.radic = wx.FlexGridSizer(2,2,0,0) self.canvas = wx.ScrolledWindow(self.okno, -1) self.canvas.EnableScrolling(True, True) self.P_WIDTH = 1000 self.P_HEIGHT … Software Development python | |
Hi there, I need to make a piece of code in C that 1. opens a specified file, 2. Reads the data in the file and separates it as shown below, 3. Converts the strings into integers and then perfoms some manipulation on them, 4. returns the new values to … Software Development c++ | |
Hello, I found the code for bubble sort in C++. With the code below th[U][/U][URL="http://www.webmaster-talk.com/#"][/URL]e output will be: 23 8 7 6 6 5 2 2 1 Is it possible that sorts the numbers so the output will show all changes. In example: 9,6,5,23,2,6,2,7,1,8 9,6,23,5,2,6,2,7,1,8 .... .... .... 23,9,8,7,6,6,5,2,2,1 Thanking … Software Development c++ | |
I have a homework question in STL. The question asks to write an implementation of STL algorithm replace_copy_if(). My question is NOT regarding how do I code this, but more importantly what exactly does it mean? In other words, is it the same as just creating a function and not … | |
Hi all, I am new to Java, I have written a small Java program; as far as my knowledge the program seems to be alright. When I compile the program, it compiles without any complain. However, when I try to run it, from OS command prompt, I get the following … Software Development java | |
Hello everyone, this is my first post. As can be quite rightly guessed, I am new to C++ and struggling with some coursework. My task is to produce a program that prints out 5000 random numbers between 1-5, also printing out the frequency of each given number. I have searched … Software Development c++ ![]() | |
I wanted to do an image viewer for a photo catalog project. Here is the code: [php] import Image, ImageTk from Tkinter import * filename = "C:/Pictures/2006/2006.07.04/E clarus 1 crop.jpg" class MyFrame(Frame): def __init__(self, master): Frame.__init__(self, master) im = Image.open(filename) # <--- chokes! im.resize(250,150) self.image = Label(self, image=ImageTk.PhotoImage(im)) self.image.grid() self.grid() … | |
hey guys, im sure this is a really easy thing to do but, im currently trying to make a form that basically you enter numbers into three text boxes and it pumps and the sum in a label. I've got this working fine except for decimal places. using code" label.text … Software Development vb.net | |
Hi, I am writing a program that needs to search particular strings in a text file. The strings are typed in a text box by the user and then when the text file is opened, using fileDialog, the program searches that file using the string in the text box. I … Software Development c++ | |
I want my c# program to connect to my Access database so that i can update, insert and select from my database using c# 2003, can someone show me the steps of connecting to it. I know the part where you right click 1. Data connections and click add connection, … Software Development | |
i have to do this assigment by the next monday...;) i need to develop a test bank so i have to generate : 1-100 arrays of size 10 with randomly distinct numbers from (0-9) 2-100 arrays of size 50 with randomly distinct numbers from (0-49) 3-100 arrays of size 100 … Software Development c++ | |
I have a problem: Here is my program: [CODE] #include <iostream> #include <iomanip> #include <fstream> #include <string> #include <conio> using namespace std; int main() { char choice; string name; int hours; double charges, total; cout << "\t\tInternet Service Provider\n"; cout << "\t\tSubscription Packages\n\n"; cout << "A: For $9.95 per month, … Software Development c++ | |
I am writing code for a homework assignment. I have to write a function, and in the function prompt the user to enter either rock, paper, or scissors. I did it successfully declaring a char (choice) globably, but I was told this wasnt a good idea, even though it worked. … Software Development c++ | |
Ok I am writing a Rock Paper Scissors game for my c++ class. I have done most of it, but now I am stuck. I need to keep an overall score for the computer wins, user wins, and ties for as long as the user wants to keep playing. After … Software Development c++ | |
Java program with a menu of 6 items. -each of the 6 items has a check box -when the food is selected it appears to the right saying that so n so was selected. -then i just need a welcome screen before that to introduce the program -then the user … Software Development java | |
I have directory which is used to temporary store images while working with them. Once all process are done and images are not need it anymore I would like to delete them. I tried following code but it didn't work. Where is problem? [code] Runtime comPrompt = Runtime.getRuntime(); String[] execStr … Software Development java | |
[B]Team:[/B] [B]I have a date which comes in the format of mm/dd/yy.[/B] [B]Example: 08/01/00[/B] [B]Now, I have my regular expression to check for this in this[/B] [B]format.[/B] Example: $result = $start_date =~ /(\d\d)\/(\d\d)\/(\d\d)/; So, when I enter a date in the format of 08/01/00, the result is success, or a … Software Development perl | |
Hello. I made an command-line application. Now I want tomake an gui version but I don't know which GUI I should choose. I want the executable to have requirements for libaries while running (so I don't think about using GTK). I tried QT but I don't know if I can … | |
hey, its me again, i was thinking of asking you this questions since.... I study C++ by myself without any tutor apart from the help i get here... although i understand everything i read... and i solve most of the exercises easily .. except few... i don't know.. is this … | |
I am trying to figure out a way to write a program that takes the "digital product" of a number (has to be positive). Like if I had 123456789, it would take 1*2*3*4*5*6*7*8*9 which is 362880. It would then take 3*6*2*8*8 (leaves out zeros) which is 2304. Then 2*3*4 which … Software Development java | |
I am having trouble with inheritance. I am wanting to use fullName.h as the base class and call the functions print and setName into student.h. The problem is that I am getting errors that I can not figure out. The errors are: [I]student.h(22) : error C2352: 'fullName::print' : illegal call … Software Development c++ | |
So, it would be nice to be able to insert scrollbars into my program (with Tkinter). Right now I'm using labels to display all my long blocks of text, and people flip through pages to get throught it all. I thought I'd try to add a scrollbar, but it doesn't … | |
Hi to all... In a MFC application, I need to change the background color of a drop down list - combo box control. IDC_MYCOMBO is the resource id and m_myCombo is the name of the control. I need to change the backcolor programmatically. Is there a way to achieve that? … Software Development c | |
I'm very new to VB this is my first attempt at a project. basically i want a simple program that will display a famous singers surname in a text box, then ask the user to input the singers first name in another box. The system must then check the answer … Software Development visual-basic | |
I just wanna use PyScripter.and I found when I run a test with wxpython.it's dummped.(I have installed the wxpython packge)How was that?:'( Software Development python | |
When I run this code (Visual Studio 2005), I get the following compiler errors and can't fix this no matter what I do: c:\documents and settings\dthomas006\my documents\visual studio 2005\projects\pa3-q1\pa3-q1\stacktype.h(10) : error C2143: syntax error : missing ';' before '<' c:\documents and settings\dthomas006\my documents\visual studio 2005\projects\pa3-q1\pa3-q1\stacktype.h(24) : see reference to class … Software Development c++ linked-list visual-studio | |
Hey, Please i need help with prime numbers... i have been cracking my brain for the problem since two days ago..... I used this test code but there is a problem with it [code] for( number=3; number<=1000; count++){//to test number 3 to 1000 if(number%2 != 0){//to skip even numbers for(int … Software Development c++ | |
dear friends i set path for jdk1.6.0 and that is working.now i have instole j2me but my j2me code is not working,on run import file cannot find by compailer .so plz tell me is there any need of seting path and if it is than how i can set that. Software Development java | |
I'm just getting started with classes and objects, and having a little trouble. I just filled out some of the basic parts of the program, because I figured I'd have trouble with the class/object implementation. I get the error "error C2228: left of '.determineSalary' must have class/struct/union type" in regards … Software Development c++ | |
How to check in windows Vista if DirectX 10 is installed? Sorry for wrong topic, you can MOVE it if you want. Software Development c windows-vista | |
I am fairly new to Java and am having some difficulty with implementing an arraylist. I have some classes that contain variables and i have a new class that contains my arraylist. I would like to know how i would get the variables from the other classes into the arraylist … Software Development java | |
How to get access to picture information, such as Width, Heigth, Manufacturer, Cameramodel, Exposuretime, Picture made on, Date created, Date changed and so on. (just like in Windows Explorer) Software Development visual-basic | |
How can I add a sleep(1000) to this code? I've tried but I can't get it to work. (This program is supposed to be an infinite loop) [code] [COLOR=#800080]public [/COLOR][COLOR=#800080]class[/COLOR][COLOR=#000000] ExtendedThread [/COLOR][COLOR=#800080]extends[/COLOR][COLOR=#000000] Thread {[/COLOR] [COLOR=#800080]public[/COLOR][COLOR=#000000] ExtendedThread(String name) [/COLOR][COLOR=#800080]throws[/COLOR][COLOR=#000000] InterruptedException {[/COLOR] [COLOR=#800080]super[/COLOR][COLOR=#000000](name);[/COLOR] [COLOR=#000000]}[/COLOR] [COLOR=#800080]public [/COLOR][COLOR=#800080]void[/COLOR][COLOR=#000000] run() { [/COLOR] [COLOR=#800080]for[/COLOR][COLOR=#000000] ([/COLOR][COLOR=#800080]int[/COLOR][COLOR=#000000] i … Software Development java | |
Hi, I have a parallel array of size 10 with several different size numbers in them. Within my program I put a series of cout statments for the different array indexes so that was known, and here they are: [code]cout << classes[0] << " " << boxes[0] << endl; . … Software Development c++ | |
Hello there, I think I have a weird problem with a program I'm writing, specifically, a function to create a file. I made the following program just to test the important part of the problem, which is that it won't create the file. Here's the code. [code] #include <fstream.h> #include … Software Development c++ | |
well the problem is i want to write the person's name from preson class to instructor class using inhertiance, i have come up with the following code but gives error .. can someone tell me what am i missing or what can be done. its like sharing from person class … Software Development c++ | |
Hey guys, I was hoping you could help me with a little problem I'm having. I'd like to create a priority queue from the STL of Node objects. Node is a class I've written myself. From what I understand, the STL uses the < (less than) operator (well, it uses … Software Development c++ queue visual-studio | |
i need help i dont know what to do, heres the psudocode and java code Function (BinaryNumber is String) returns Integer Var DecimalNumber is Integer initialized as 0 Var Power is Integer initialized as 0 Var BinaryDigit is Integer For (I (start value is length of BinaryNumber) to (end value … Software Development java | |
Hello, I am kind of new to programming in VB (and programming in general). I am trying to program a (what I assume to be simple) action of having a form when clicked open up a Excel Document. I need the path of the file it reads from to be … Software Development visual-basic | |
I tried to write a program that uses if loops to check if a char variable had certain value: [code=c++] /* FreeFull Software */ #include <iostream> using namespace std; float dark_rays; float light_rays; float ball; float universe; float matter; char menu; char darkmenu; char lightmenu; int main() { cout << … Software Development c++ | |
Hi, I am writing a function to unzip a zipped file. But I'm getting this error, "Cast from string "C:\temp\FileName.zip" to type 'Integer' is not valid." Below is my coding, I got this error in the bold line. May I know what does the casting error mean here? Why do … Software Development vb.net |
The End.