132,733 Archived Topics
Remove Filter ![]() | |
hi all.. Can any one explain, when i have class Pet, what is the difference of declaring variables like each of following. Pet mypet; Pet mypet = new pet(); Pet* mypet = new Pet(); thanks. Software Development c++ | |
Hi, I'm new to Visual Basic and this forum and I would like to ask if anyone could tell me if there is away of linking option buttons with text boxes. I have to do a mulitple choice program where the questions and answers are stored in an access database. … Software Development visual-basic | |
Hi I wanted to know how can I make sure that table exist in my database. [code] class Record: def __init__(self): self.conn = MySQLdb.connect( host = 'localhost', user = 'root', passwd = 'abcd', db = 'justfun') self.cursor = self.conn.cursor() self.cursor.execute("DROP TABLE IF EXISTS book") self.cursor.execute( """CREATE TABLE book (name char(40), … | |
Hi all, I've use a CStringArray to store some CStrings in my application. Now I want to use another CStringArray on the same application. So I add another CStringArray instance on the class view, VC++ .Net 2003. When I add and compile it don't give any error message. But when … Software Development c++ | |
I have examined and tried several software products for protecting software against illegal copying, reverse engineering etc., but they are all time-consuming and often poor. So I think about making the protection myself, but have no idea how to do that. Does anyone know a tutorial for this or a … Software Development engineering visual-basic | |
[B]Import all XML files from directory to ACCESS[/B] hi , I am new to VB6 and as part of my project,I need to create a module which imports XML files from a directory and stores in a singleDB(I am using ACCESS 2007). All the XML files wil be stored in … Software Development visual-basic xml | |
hi thankyou very much to the person who replied me. you have asked for the combination the combinations are: name: sara name:miky name:ducky code:1345X code:2238Y code:7569Z IF THE USER ENTERS WRONG NAME THE SYSTEM ASKS TO RE-ENTER. THE SYSTEM ONLY ALLOWS THREE CONSECTIVE ATTEMPTS.AFTER CORRECT NAME ENTERED THE SYSTEM ASKS … Software Development java | |
I have managed to read a file name and two strings. Now I need to search the file for a lines that maches string1 and replace them with string2. And I have no idea how to do that. Can anyone help me please. Software Development assembly | |
I have this problem with my ( .rc) file i do not know why [code] #include "digitron_h.h" MENU_ID MENU BEGIN POPUP "&File" { MENUITEM "E&xit", EXIT_ID } POPUP "&Help" { MENUITEM "H&elp About", HELP_ID } END ID_DIALOGEX DIALOG 0, 0, 98, 52 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION CAPTION "calc" … Software Development c | |
I am currently going to school for a CS degree and I was wondering what people would recommend doing to keep my programming skills up to date. I can only take about 2 classes a term and some of programming classes are really spread out making it hard to remember … | |
I have a program that needs to replace all occurrences of the words "Giants" with "New York Giants". So the following line: The Giants won a big game today, it was the first playoff win for the Giants in 7 years Would convert to The New York Giants won a … Software Development c++ | |
Hi, thx to jax_man that i converted my code to vb.net but the problem now is that the program don't seem to work. The button when i clicked on don't work. sorry i'm new to programming. Software Development vb.net | |
i just want to know how to write a circular linked list destructor. anybody help? Software Development c c# c++ linked-list | |
Hi all; I have to create a Binary Tree(not a Binary Search Tree) whose node values are produced randomly... If I had to create a Binary Search Tree , I could determine where the current node has to be inserted but in a Binary Tree I can't determine where the … Software Development c++ | |
Can someone explain the nesting in C#? You have a namespace. Inside the namespace, you have a class. Then, inside this class, you have the main function. Why is it set up this way. Are all classes supposed to be ouside this namespace? When would you onclude a class inside … | |
I have been able to create a C# program from scratch. When I do so, I automatically get a list of References like this: [IMG]http://i67.photobucket.com/albums/h292/Athono/csharp.png[/IMG] When I open a project developed by a co-worker, I get a list of References that looks like this: [IMG]http://i67.photobucket.com/albums/h292/Athono/01-1-1.png[/IMG] This is very different and … | |
Alright I am new to assembly but I cannot figure out the simplist thing even though I have looked for hours. I want to make a very simple program that finds the default drive and prints it. So that would be 19h and interuppt 21, that gets the current default … Software Development assembly | |
I need to write a program that will take in a sentence and then outputs the # of words in the sentence, as well as the each letter with it's occurrence in alphabetical order. Example: Hello World. Would output: 2 words 1 d 1 e 1 h 3 l 2 … Software Development c++ | |
hello , i want to add new record ino database ,but getting some problem pl help me front end :- VB.net2003 back end :- SQL Server 2000 my efforts : Imports System.Data.SqlClient Imports System.Data Dim conn As SqlConnection = _ New SqlConnection("server=;database=tempdb;uid=;pwd=") Dim ds As New DataSet Dim da As … | |
Lets say we have frmOne and frmTwo. frmOne loads up and when in the main menu the user clicks something frmTwo opens. frmTwo has a bunch of check boxes, ok and cancel buttons. User checks/unchecks the check boxes and clicks ok. frmOne now needs to know what check boxes were … Software Development vb.net | |
Hi everybody. First of all thanks for taking the time to read this. I'm having a problem with initializing the buttons and adding them to JPanel. The problem is with everything else I have I'm trying to add the buttons in initButtons(); to the JPanel but I can't seem to … Software Development java | |
is it possible to run a source file that is not part of a solution/project? it appears that this is not possible in Sharpdevelop. Also, why is it I cannot compile and run a file that is not part of a solution ? many thanks | |
does anyone know how to fix the problem here;(it says 'Public void input(int)' that line has a problem? /** * Write a description of class randommizer here. * * @author (your name) * @version (a version number or a date) */ public class temperature { private int input; /** * … Software Development java | |
sry to those whose tried to help before and would thank anyone who knows how to move the different shapes of my project to gether at the same time, so it looks lik balloons flying? could anyone help? /** * draw a balloon on to a canvas * * @author … Software Development java | |
This sounds absurd to some developers here cause you'll say just create jar file and distributre to usr but sometimes there is not possiblity of having runtime environment in windows computers.So if we can bundle the enviroment and the setup together then packing into exe and then distribute like most … Software Development java | |
hi everybody im working on this little application for myself... when its done i want it to take screen shots of the entire screen at a given time. like every hour for example. right now im still stuck on the fist part. how to you take a full screen screen … Software Development visual-basic | |
I am writing a C program to search for some keyword in a text file The following is the product, but how can I change the char *string[] = { "apple", "orange", "banana", }; to become input from file? (That means there will be one file storing keyword and the … Software Development apple c file-system | |
Hi! I am quite new at programing. I want to write a program that reads a textfile and then prints the content on the screen 25 rows at the time. I have read quite much about ifstream and ofstream. I wrote this program to count the lines in a file. … Software Development c++ | |
Hello, i need help on how to search for a sentence inside a txt file after opening it and then applying a condition if that sentence was found. im a beginner so i don't know how. basically i have written a program that uses system("command>file.txt") to start a command line … Software Development c++ file-system | |
What would be a good book for C++ starters? I'm just new to this particular language, not to programming itself. Any idea of what to start with to make almost an expert (part of it is a joke :). At this point only the depth of knowledge and time, time … Software Development c++ | |
Hi freinds I want to send an email using [COLOR="Red"]VB.NET2005[/COLOR]. Can any one help me in it any :icon_redface: code?????? | |
I want to write all the output to the output file and don't want to print on the console output...the file (in which the output has been written) should be opened after i run the program. which function to use for opening a file to see output( at run time)?? … Software Development c++ | |
I am trying to write a short RPG like program to teach myself C++. I would only like the program to allow the user to by items (sword, shield, etc.) from a store and add them to their list of items. I'd also like for these items to be objects … Software Development c++ | |
c program to move the contents of one file to another Software Development c file-system | |
Hi every one : I need help with this C++ coding: Write a program that defines and uses a class called Student. A student class should contain the following private data: Student Number Full name An array of 7 marks for courses in the semester Your class should have a … Software Development c++ | |
here is the snippet data = ''2007-12-31 Name (mike) Age (34).....' gregorian = time.strftime(data.split(" ")[0]) print gregorian this gives me "2007-12-31" i need to convert the gregorian date in the variable to julian date. i tried this but it gives me the current date julian = time.strftime('%j', time.localtime()) Software Development python | |
i just reacently had a thread, and it helped for the question i asked and i was looking through other thread and was wondering, where do you guys learn all of this about vb? i was taking a class(was because it ended yesterday) and it was a quarter class, im … Software Development vb.net | |
how to validate email field and website field. Means, in email [B]@[/B] and [B].[/B] is compulsory and in website [B]www[/B] and [B].[/B] is compulsory, something like this Software Development email visual-basic | |
hi everybody! im in a basketball team n my coach asked me to make a scoreboard program for the huge screen we have (he knows im the only one from the team that does some programming) im using Visual Basic 2008. i pretty much know how to do everything except … Software Development visual-basic | |
Alright so I have a class of Food items that contains the information for food, the information gets stored into a Customer Class that hold the information for the order of the customer. Ok so thats just an introduction for details. Each food item contains a status variable that tells … Software Development | |
Hello, I have installed ActivePerl 5.8. I want to add the module NET:Ping. I thought by putting the module in the lib directory or bin directory it would be called by my Perl program, but I get an error stating that the module cannot be found. Where in the directory … Software Development perl | |
Hi, I need help in coding a splash screen in VB.NET, it contains two traingles the first one varies the color green from 255 to 0, and the other varies the color blue 0 to 255, I tried different ideas but it didn't work, I'v been stuck with this for … Software Development vb.net | |
Hi everyone, i need to write a code with mips assembly that works on a string given by a user (command line input). The code is supposed to search another given string in that string. There is a problem in my mind, in mips is there any instruction that search … Software Development assembly | |
Hi, Here is the ( .rc) file .And i know that the pushbutton is not correct . [code] MENU_ID MENU BEGIN POPUP "&File" { MENUITEM "E&xit", EXIT_ID } POPUP "&Help" { MENUITEM "H&elp About", HELP_ID } BEGIN PUSHBUTTON "1",ID_1,30,30,10,10 END END [/code] so i want to make a pushbutton in … Software Development c | |
I have been working on a program. When I have stumbled across a problem I post it here and get the problem solved. I appreciate all the help I have received. Now I am needing to find a decent reporting add on. Something decent but won't make me place another … Software Development vb.net | |
I have the following code which removes duplicates from an array: [code] #include <iostream> #include <algorithm> #include <vector> #include <iterator> using namespace std; char main() { char myarray[10] = {'a', 'b', 'b', 'b', 'b', 'c'}; int myarraylength = 5; string holdprogram; vector< char > myvector(myarray, myarray + (myarraylength + 1)); … | |
Hello, I need to install Microsoft MapPoint component in Borland C++ Builder 6. I'm trying to use ActiveX control. But standard procedure Project->ImportTypeLibrary doesn't work. There are errors during compilation of library. Does anyone know what I do wrong? Tomek | |
I'm missing some key basic concepts here that I thought I understood with functions, pass by value, pass by reference. I tried deleting most of my parameters, to no avail, I took out my multiple returns, and fooled around with pass by reference.....I keep getting an address for my min_payment … Software Development c++ |
The End.