43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Run.[it]

When Im browsing with either internet explorer or firefox and I recieve an error I get a window popping up asking If I want to debug in visual basic. Im guessing there is a setting in visual studio to turn this off? debugging? Could someone advise, thanks kindly.

Software Development vb.net visual-basic visual-studio
Member Avatar for Run.[it]
0
131
Member Avatar for CBarr

Hi, I am trying to understand why this bit of code is performing the way that it is. I am a novice at C++ and missed this on my test. The teacher will not discuss anything from an exam so that leaves me to try and hash it out myself. …

Software Development c++
Member Avatar for CBarr
0
94
Member Avatar for toomuchfreetime

Hey Seem to be having a problem updating a JLabel updateScore() and don't seem to know why. this is effecting my keeping score. I know it something small but for life of me can't figure it out. Other JLabels have been up dated (see attachment for full programe) [code=java] import …

Software Development java java-swing
Member Avatar for Ezzaral
0
3K
Member Avatar for MasterDucky

Here's this program i write to uppercase proper nouns in a file. It opens three files: 1. is the file to uppercase. 2. is a list of proper nouns to uppercase. 3. is a list for proper nouns preceeding words that excludes proper nouns to be uppercased. I rechecked it …

Software Development c++ ios
Member Avatar for MasterDucky
0
150
Member Avatar for serkan sendur

Right click on your solution, select add new project. Expand other project types from the pop up window. Click Setup and Deployment tab, click Setup project, click ok after naming the project. It will start with opening file system window. Right click on application folder and select add > project …

Software Development
Member Avatar for happygeek
0
704
Member Avatar for skatamatic

I'm having some problems dynamically changing the size of stucts. I know there must be a way to do it...but I guess it must be a bit different than with standard variables. I'll put up some code, maybe I'm just being dumb ;) [code=c++] struct SScore { char m_szFirstName[15]; char …

Software Development c++
Member Avatar for skatamatic
0
115
Member Avatar for jeffige

I was browsing around the web looking for C++ tutorials and I found The Game Institute. I have been thinking about taking their course- C++ Programming for Game Developers - Module I - Introduction to C++ Programming Basics. Has anyone heard any info about this course?

Software Development c++
Member Avatar for lAmoebal
0
121
Member Avatar for Jennifer84

This code should be complete but I cant get it what the problem is. It is a very strange thing that happening. I might need a professional eye to see if the problem could be found :) The problem is this: The mainthing is that I am using a for …

Software Development c++
Member Avatar for Jennifer84
0
120
Member Avatar for DarkDot

Hey I'm using MIPS and created a Fibonacci program and am not sure that its working correctly. When I enter 1 it returns 1 like it should and when I enter 0 it returns 0 like it should. However when I enter a number that takes it into the Fibonacci …

Software Development assembly operating-system
Member Avatar for deco05ie
0
684
Member Avatar for majestic0110

Hi all, just two quick questions to tax your brains with! I am preparing for a job interview and would like to get these two things clear! Firstly, how can one find the upper limit of an array? Second, how can one change that upper limit? Thank you for your …

Software Development
Member Avatar for majestic0110
0
237
Member Avatar for Vega_Knight

Anybody know how to do this?? i really don't have idea with this. please helps. thx in advance.

Software Development pascal
Member Avatar for Jx_Man
0
189
Member Avatar for SPereira

Hi There, I need some help in VB 6. I have a textbox wherein I need to validate the data entered after the TAB key is pressed. Using KeyDown, KeyUp and KeyPress does not get me the KeyAscii of the Tab Key. It works fine with the Enter Key but …

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
552
Member Avatar for eranga262154

Hi all, I want to dispose a JFrame using a click-event. So I simply do this on Netbens. [CODE] private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); } [/CODE] But it not work. Do you have any idea. I just want to dispose all the …

Software Development java
Member Avatar for eranga262154
0
150
Member Avatar for KimJack

Hello All, I am trying to use an image as a background. I am working with perl through putty .58 and am wondering how to get an image into a specific location in putty that can be used in a perl webpage? Thanks,

Software Development perl
Member Avatar for jephthah
0
285
Member Avatar for asrekdal

Hi, working with the 're' module I am having some difficulty figuring out simple RE. here is the code. p = re.complie('amb') m = p.match("mamba") print m.group() according to the following documents ... [url]http://www.amk.ca/python/howto/regex/regex.html#SECTION000300000000000000000[/url] [url]http://gnosis.cx/publish/programming/regular_expressions.html[/url] there should be a pattern match like... 'amb' but I am getting 'None' back. Can …

Software Development python regex
Member Avatar for asrekdal
0
153
Member Avatar for jobob64

The compiler gives me a error C2955: 'Node' : use of class template requires template argument list. Some one wanna look it over and gimme some tips? [code] //list.h #ifndef LIST_H #define LIST_H #include "node.h" #include <iostream> template <typename T> class List { private: Node * m_head_node; Node * m_current_node; …

Software Development c++ linked-list
Member Avatar for jobob64
0
111
Member Avatar for Jennifer84

I have a vector that contains these elements( std::vector<string> Values(6); ) What I wonder here is how it is possible to remove "dublicates" from Values(6) ? As in this example there is 2 dublicates that are exactly the same. 5,1536 5,1537 5,1538 5,1537 //This is a dublicate 5,1538 //This is …

Software Development c++
Member Avatar for Jennifer84
0
346
Member Avatar for torbecire

I am trying to make a calculator. It requires I use a string Tokenizer. I have done so fine with the numbers but can't figure out how to put the & and / in there. The input is supposed to be as follows These are improper fractions whole & numerator …

Software Development java
Member Avatar for torbecire
0
522
Member Avatar for curt22

Hi everyone, I'm having trouble with this code. It compiles fine, but clicking the menu item I just added the actionlistener to doesn't work. I'm new to java and I can't figure it out. [CODE]/* * NewJFrame.java * * Created on March 10, 2008, 2:47 PM */ package javaapplication5; import …

Software Development java java-swing
Member Avatar for curt22
0
116
Member Avatar for maggz

[code] #pragma once #include <iostream> /* * Author: Makhdoom Shah 4872 * Date of creation:22/2-2008 * Date of revision: * Revesion #: 1 */ using namespace std; //typedef double itemType; // need for another type, change it here template<class T> class dynarray { public: dynarray( int s = 0 ); …

Software Development algorithm c c# c++ legal visual-studio
Member Avatar for Narue
0
290
Member Avatar for kishan4every1

Hi, i found this Function to convert any integer into its BINARY VALUE... I could not make it through.. Can someone Help me out.... I need a good explanation on how it works... Here is the code. [code=c] char *binString(int value) { static char bin[17]; int index; for(index=0;index<16;index++) { if(value …

Software Development c
Member Avatar for jephthah
0
105
Member Avatar for kittycat07us

I have a random question, but how would you link a string into a char? To explain the program, it reads from a standard input character by character. Then it rewrites the it to make the output characters from uppercase to all lowercase.. if you would like to see what …

Software Development c++
Member Avatar for kittycat07us
0
109
Member Avatar for pavya133

there is problem in java program. I want to send object of a particular class as a parameter to a method in other class dynamically. e.g Suppose there is method named 'insert' in a class 'Daobase' and parameter to this method is object of any class that is i want …

Software Development java
Member Avatar for masijade
0
158
Member Avatar for Lensva

me and my amateur code again :$ This time if works somewhat fine, but gives a error table. any ideas mates? [code] #include <iostream> using namespace std; long fib_sk(int); int fib_mas(int); //=========================== int main() { int iSk; cout<< "element count- "; cin>> iSk; if (iSk<0) { cout<< "need positive value …

Software Development c++
Member Avatar for Lensva
0
93
Member Avatar for Jennifer84

If my startform is Form1 and I will open Form2 from Form1 and press a button with this code on Form2. Form2 will close. Is it possible to write something here so the whole application will close wich meens both Form2 and Form1. [code] this->Close(); [/code]

Software Development c++
Member Avatar for Jennifer84
0
100
Member Avatar for t_yalthis

hi everybody, I need arrays which has boolean type of data in them.. is it possible to do it in vb6? I searched the web but couldn't find any related information.. thanx..

Software Development visual-basic
Member Avatar for Mbt925
0
122
Member Avatar for Lensva

new guy in this sphere, dont bash too much :S [code] #include <iostream> using namespace std; int main() { int x,y; cin>> x; cin>> y; if (x==0) cout<< "x = 0"; else cout<< "x isnt 0"; return 0; } [/code] this piece works ok but if i add 1 more …

Software Development c++
Member Avatar for Lensva
0
107
Member Avatar for SubProf

Hello, I have a combobox on my form that I need to be populated with data from a table in MS Access. I am new to coding in Visual c# and would appreciate any help I can get with this. Thanks in advance, SubProf

Software Development display visual-basic
Member Avatar for SubProf
0
89
Member Avatar for fluidtype

Hello there! I was asked to replace the bitmaps in an existing software. The software was compiled using Visual C++ 8. Do you guys have any idea how to go about this? Cheers!

Software Development c++
Member Avatar for fluidtype
0
123
Member Avatar for cseale03

Hey everyone! I have been working on this project for about a week now. It reads in a text file and outputs how many times the top five characters are used, what the percentages are for the top five compared to the rest of the ASCII characters, and shows the …

Software Development c++ visual-studio
Member Avatar for cseale03
0
107
Member Avatar for Rand al'Thor

I want to make some functions that I expect I will use again and again, but I don't want to copy and paste them everytime I make a program that will use them. My thought was to make a .h file with a namespace. Would that work? Or would I …

Software Development c++
Member Avatar for Rand al'Thor
0
168
Member Avatar for Jennifer84

How is it possible in C++ .NET to open a file on the computer. Lets say that I am trying to open this file. Is this possible to do. In this case, Wordpad will open. Thanks [code] "C:\\WordPadFile.rtf" [/code]

Software Development c++
Member Avatar for Jennifer84
0
92
Member Avatar for hawisme000

im making an installation form in VB -i already made the installer/setup for my project using another installer maker im having a prob on the syntax, i just googled this and try it but have a error Dim TaskID As Long TaskID = Shell(App.Path \ CAIsetup.exe, vbNormalFocus) my only guess …

Software Development visual-basic
Member Avatar for cometburn
0
148
Member Avatar for Jennifer84

I have a program that consists of 2 Forms in C++.NET. When I open Form1 that is my "StartForm", this Form comes up in the TaskBar as all applications and Folders etc on the computer. So when I open Form2 from Form1. Both these Forms will appear in the TaskBar. …

Software Development c++
Member Avatar for Jennifer84
0
114
Member Avatar for jeffige

Following along a tutorial I entered code for a person to enter the age of five students. Then, the program is supposed to divide the five ages and display the result. It allows me to enter the ages, but as soon as I hit enter after inputting the fifth age, …

Software Development c++
Member Avatar for highspeedhook
0
175
Member Avatar for Pilate

Hello python world, this is my first post I type print "hello world" into IDLE, hit return but it returns nothing also the pull down menus were HUGE. After reading and attempting to fix them they are nothing but --- now. actually not even as clear as --- 1 more …

Software Development python visual-basic
Member Avatar for sneekula
0
188
Member Avatar for Jennifer84

I have a .txt file that contains a lot of text. I will read the whole text file and output a new textfile with one change that is this: The txt file that I will read could for example look like this: [I]Value1 Value2 Value3[] Value4 Value5[][/I] What I am …

Software Development c++
Member Avatar for Jennifer84
0
99
Member Avatar for hawisme000

hi every1, another prob cnt solve even after googling how can i load a notepad file or txt file on VB, what i mean is loading the notepad.exe with the file inside example i click the cmdLoad then it will open the file (on notepad) the file i want to …

Software Development file-system visual-basic
Member Avatar for hawisme000
0
244
Member Avatar for curt1203

I have an assignment to do and i have a good portion of it already complete...The only thing i need is to validate that the number can only have one decimal point and the output of the number that has been validated is multiplied by two.....See the assignment question i …

Software Development c++
Member Avatar for curt1203
0
115
Member Avatar for Joatmon

Hi, after searching this forum adequately (I think) I have decided to post this thread asking for an easy to understand resource that describes how to do multithreading on C++ in windows. The current ones I am finding out there on the web either 1. Simply don't work or 2. …

Software Development c++ multithreading
Member Avatar for Ancient Dragon
0
110
Member Avatar for jesseb07

hey, been working on a program and I had a need for a password line (btw I am using linux w/ gcc compiler). while I was making it I checked the net and found there's no getch() for linux, so I frankensteined one from several sources and got it to …

Software Development c++
Member Avatar for jesseb07
0
2K
Member Avatar for The Midnighter

Hey there folks. I am trying to write a program that will take in a paragraph file, and compare it against a "Dictionary" text file, which is being inserted into a Binary Search Tree. Here's what I've got so far: [code]#include <iostream> #include <string> #include <fstream> #include <iomanip> #include <cctype> …

Software Development c++
Member Avatar for chaosatom333
0
105
Member Avatar for Crushyerbones

I'm trying to do something similar to this: [code] int output_type=1 if (output_type==1) char real_out[7]="binary"; else if (output_type==2) char real_out=[6]"octal"; else if (output_type==3) char real_out[8]="decimal"; else { char[20]real_out="This REALLY shouldn't have happened.\n";} } [/code] I know the coding is kinda messy but I basically want the variable "real_out" to contain …

Software Development c python
Member Avatar for Crushyerbones
0
113
Member Avatar for Shveetis

I am trying to write a code for sending a mail in JAVA.. And I am getting the error [code] javax.mail.MessagingException: Could not connect to SMTP host: mail.yahoo.com, port: 25; [/code] What can my mistake possibly be..?? Please help me find my mistake..

Software Development java
Member Avatar for Shveetis
0
268
Member Avatar for adnanius

hello I'm new to c++ and I'm writing a program for a college project. I'm getting an error I don't understand, if someone can help me with it I'll be thankful Oh, and by the way, the functions names are in French, hope this wont be a problem. Here is …

Software Development c++
Member Avatar for adnanius
0
705
Member Avatar for jeffige

I have been following a C tutorial and using DevC++. When I write this code: [CODE]#include <iostream> using namespace std; int main () { cout << "Hello World!"; return 0; }[/CODE] and try to compile and run, I get this file popping up... [*] cstddef // Copyright (C) 1997, 1998, …

Software Development c++ file-system
Member Avatar for jeffige
0
345
Member Avatar for jeffige

Is there any way to get rid of the "Press any key to continue" in the Dos window.:-/ I am using DevC++ ver. 4.9.8 It gets alittle annoying after awhile. And yes, I am new to programming.

Software Development c++
Member Avatar for jeffige
0
206
Member Avatar for os.hacker64

I realize that kprint takes a pointer as a parameter. I don't understand how it loops through each character when you do something like kprint("HELLO WORLD"); Can you really just increment *s to get to the next char like: s++; char c = *s;

Software Development c
Member Avatar for Ancient Dragon
0
95
Member Avatar for Tsuruya-san

Hello, I'm new to this site and programming in general, so bear with me :$ . I've been downloading source code like crazy to reference, however I have yet to find a single project file for large projects (such as, for example, Half Life 2) that SHOULD compile correctly. Surprisingly …

Software Development c++
Member Avatar for Tsuruya-san
0
114
Member Avatar for Sawamura

i want to search data from access database and display it in datagrid. please help me.. thanks in advanced....:)

Software Development visual-basic
Member Avatar for Jx_Man
2
153

The End.