132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for revjim44

For some reason, the variables I try to pass by value (errorFlag between Main() and ReadDials() and testDigit between ToDigit() and ReadDials()) don't get passed. The variables passed by reference get passed fine. As a work-around I passed a temp variable for each and copied the value from the temp …

Software Development
Member Avatar for Mitja Bonca
0
409
Member Avatar for zupa

hey guys i have 2 timers class in my code one timer tick every 1 min and the other timer tick every second to show elapsed time in timer 1 here is the code [ICODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using …

Software Development
Member Avatar for Mitja Bonca
0
291
Member Avatar for MrDiaz

Hi, suppose I have something like this on my main method. [CODE=Java]public static void main (String[] args){ Table one = new Table(); }[/CODE] How can I print the name of the object table? Its so that I can print something like this Table one: Color is ... Texture is.... etc

Software Development java
Member Avatar for masijade
0
10K
Member Avatar for rcmango

Okay, I was trying to write a program that will take in command line inputs of character or strings, separated by spaces. Ignore spaces, however i am going to want to be able to separate a and b from each other, or c and d from each other. So when …

Software Development c++
Member Avatar for rcmango
0
111
Member Avatar for ankur3000

Hey guys, I am a complete beginner to programming. My only background is basic programming in C. I would like to learn more but I don't know where to start, I thought about learning C++ but then i read somewhere that learning obj-C or Java is a better idea. At …

Software Development apple c++ gui
Member Avatar for mike_2000_17
0
242
Member Avatar for kimmyfufu

[code]#include <iostream> #include <string> #include <iomanip> using namespace std; //Function prototypes declared before main function void InputData(string playerNameAr[], int scoreAr[], int &numPlayersRef); void DisplayPlayerData(const string playerNameAr[], const int scoreAr[], int numPlayers); double CalculateAverageScore(const int scoreAr[], int numPlayers); void DisplayBelowAverage(const string playerNameAr[], const int scoreAr[], int numPlayers, double averageScore); // declaring …

Software Development c++
Member Avatar for jonsca
0
100
Member Avatar for l1nuxuser

hello evrebody; i need some solution to my problem; i wont to have data - base in my progrem based on C++ the user can add and remove from that but i dont know how to save data to local folder in the computer... i find something like this and …

Software Development c++
Member Avatar for jonsca
0
90
Member Avatar for Madmark88

According to entered number (b), please find the “a” numbers corresponds equation b = a3 * a2. My codes. Whats the mistake ? thanks for helping. [CODE]#include"stdio.h" #include"conio.h" #include"math.h" int main(void) { int a,b = 0; printf("Please enter a number"); scanf("%d",&b); for(int a = 0;a<1000;a++) { if(b==(a*a*a)-(a*a)) { printf("%d",a); } …

Software Development c
Member Avatar for Trentacle
0
161
Member Avatar for pmark019

I have a problem with counting the number of input lines and the number of operands. Can someone please tell me what is wrong?... When my input is : System.out.println("\n\nReserved Words: " + ReserveWords); System.out.println("Unique Reserved Words: " + UReserveWords); The number of lines is 11 and I don't know …

Software Development java
Member Avatar for pmark019
0
188
Member Avatar for GAME

Could anyone point me into the right direction on how to make a C# SQL Datalogin?

Software Development sql
Member Avatar for GAME
0
157
Member Avatar for sj5536

i want to convert following file into table formate how do i do this? i wan to convert it pdf file text file :- 2011012735981481 15:27:29 35235139 15:27:29 LARSEN & TOUBRO LTD. 10 D (DEL) LARSEN & TOUBRO 10 (NET) LARSEN & TOUBRO 10 2011012736007203 15:29:32 35263544 15:29:32 OIL AND …

Software Development java pdf
Member Avatar for peter_budo
0
136
Member Avatar for poloblue

Good Afternoon, I'm having problems with a program that I have to do for school. It deals with pointType class and the main program section. The details of what the program should do are the following: Define and implement a class poinType that implements a point (x,y). The class pointType …

Software Development c++ data-science
Member Avatar for poloblue
0
720
Member Avatar for lochnessmonster

what's the difference in these 2? class list { class node { // blah }; // blah }; ********************************** class node { // blah }; class list { // blah };

Software Development c++
Member Avatar for mrnutty
0
61
Member Avatar for aquamarine_kath

I got a runtime error 3705 "Operation is not allowed when the object is open". When I click debug, it highlights the connection object I made in the module. I have a form named frmUser. When I click mnu_User from the mdiForm, I got a runtime error 3705, but when …

Software Development open-source visual-basic
Member Avatar for aquamarine_kath
0
1K
Member Avatar for Mr.BunyRabit

Hey there. How do i search through my Datatable. I know how to do it when there is a Datagridview involved, but i dont have one in this case. I know they say you should do this [CODE]DataRow foundRow = dataSet1.Tables["AnyTable"].Rows.Find(s); [/CODE] Something like that, but i have no idea …

Software Development
Member Avatar for Mitja Bonca
0
262
Member Avatar for RenanLazarotto

Hey! I'm trying to create a app that will add some reg keys. But I need to change the default value. How can I do it? I don't work :@ [CODE]Imports Microsoft.Win32 Public Class Form1 Dim regstr As RegistryKey = Registry.ClassesRoot Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As …

Software Development vb.net
Member Avatar for RenanLazarotto
0
153
Member Avatar for sirlink99

I received this error when I tried uploading my game to a website (yes I found one). Java Plug-in 1.6.0_15 Using JRE version 1.6.0_15-b03 Java HotSpot(TM) Client VM User home directory = C:\Users\Adam ---------------------------------------------------- c: clear console window f: finalize objects on finalization queue g: garbage collect h: display this …

Software Development java open-source queue
Member Avatar for sirlink99
0
148
Member Avatar for ben25x

i have searched everywhere and i cannot find a simple c example for creating a simple click button, where if the user clicks on it, the program prints something to the screen, or something. any help would be very appreciated.

Software Development c gui
Member Avatar for Ancient Dragon
0
2K
Member Avatar for emaduddeen

Hi Everyone, I have a form with multiple tabs that allows the user to insert data into a customer table. The ID is an Identity column. After a row is inserted into the database I would like to retrieve the ID number for that row that was just inserted into …

Software Development sql vb.net
Member Avatar for gr8fasushi
0
6K
Member Avatar for JRADCL9092

Hello, I am trying to create a "stock Price Program" for an assignment that will allow you to type in a stock symbol such as "goog" in the client side and the server side will respond with a price for that stock symbol, this price can either be hard coded …

Member Avatar for JRADCL9092
0
143
Member Avatar for MasterGberry

Ok. So this patch i made has been in beta testing. For some reason my C++ version does not always write the files. but it shows that it patched sucessfully......lists the correct directory where it should be writing the files. They just dont show up. The c# version works though …

Software Development c++
Member Avatar for MasterGberry
0
281
Member Avatar for gunneronaspooky

I'm just trying to come thru with a passing grade at this point because there was no instruction. I can't even get the program that was given to me to work, even though I copied it verbatim from the text. Please help me figure out what the error is so …

Software Development python
Member Avatar for -ordi-
0
140
Member Avatar for onlinessp

Here i have a problem please help me. I had made and console application named "input.csproj".On debug it created "input.exe" and the following line of code i have used. [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace input { class Program { static void Main(string[] args) { string a=Console.ReadLine(); …

Software Development
Member Avatar for james6754
0
242
Member Avatar for aznlitomik3

Hi, I forgot how to do the decimal precision aka magic formula Like after you run the program it give you 4 decimal places but i only want 2 decimal places Hope someone can help!! Thank You!! [CODE] #include <iostream> #include <fstream> #include <string> #include <cstdlib> using namespace std; void …

Software Development c++
Member Avatar for VernonDozier
0
226
Member Avatar for sk8rock_15

[B][COLOR="Red"]how do i add the numbers in label1 and label2 and i want it to appear at label3?[/COLOR][/B]

Software Development visual-basic
Member Avatar for jhai_salvador
0
115
Member Avatar for ntrncx

i am beginner that studying c++ i used to use codeblocks but last months i use netbeans, studio express has bad text editor for beginners:P all this time i am using cygwin(always failed) recently i saw on google that with mingw and msys i can compile release and run my …

Software Development c++
Member Avatar for ntrncx
0
173
Member Avatar for scias23

Has anyone here tried putting a combobox to a bound datagridview? The selected value of the combobox will depend on the value of the corresponding column in the database. I have a datagridview. When the user clicks the edit button, the application fetches the records from the database and binds …

Software Development vb.net
Member Avatar for scias23
0
353
Member Avatar for vegaseat

Does anybody have a tested function in C or C++ that sends text to the printer in a Windows Console Application? I would be very appreciative! It would be nice, if I could specify the font. Yes, I can google!

Software Development c++ google printer
Member Avatar for abdullah0
0
221
Member Avatar for stevetaylor15

hi guys, i'm running a recordset read as below and within that running commands against a 2010 exchange server. i wanted to know what you thnk the fastest method there is of doing this?Is the best mehod to put the connection to the exchange server outside the rdr.read, and then …

Software Development windows-api
Member Avatar for paperless
0
247
Member Avatar for Dheerajpro

i have taken one text field and want coding to print text wrintten in text field on button

Software Development vb.net
Member Avatar for Dheerajpro
0
114
Member Avatar for taylby

Hi I have a base form that subsequent forms are inherited from. It is a form that is designed to have an appropriate look and feel and really doesn't do anything else. The other froms just inherit it as per: [CODE]public partial class frmLoad : frmPeakBase [/CODE] The only other …

Software Development visual-studio
Member Avatar for taylby
0
152
Member Avatar for Rishabh876

I made a c++ program but my teacher rejected it because i had used goto function everywhere. she told me that i can use do while instead. so i started replacing goto with do while. after spending so many hours on my desktop when i tried to run it , …

Software Development c c# c++
Member Avatar for daviddoria
0
168
Member Avatar for sj5536

hi i want read text file and write in such way that each word in the separated by 2Spaces if they are separated by more than 2Spaces keep those 2space as it is and filled remaining space with xxxxxxxx plz suggest to how go to this problem and give some …

Software Development java
Member Avatar for javinpaul
0
126
Member Avatar for DaveTran

I have a 1D array. Each element in the array is arranged to emulate a 3D index: [CODE] for (int x = 0; x < depth; ++x) { for (int y = 0; y < height; ++y) { for (int z = 0; z < width; ++z) { int index …

Software Development
Member Avatar for Momerath
0
140
Member Avatar for Mr.BunyRabit

Hey I have attached my program to the thread. I have an access database called "Database". I have 3 textboxes. "name" "age" and "language" as an example. When the accept button is clicked, i want that information to update to the database. I can only do it with a datagridview, …

Software Development
Member Avatar for Mr.BunyRabit
0
289
Member Avatar for initialise

Hi all, I could really use some help with a multithreaded server/client application that I'm building. I'm first experimenting with basic concepts and then am going to implement the results within a larger application. However, I find myself stuck on a particular issue. Initially, I transfer a file from the …

Software Development java multithreading socket-programming
Member Avatar for initialise
0
175
Member Avatar for Korenai

how can i compare a subitem from my listview1 to my listview2 subitem, like for ex. subitem(3)??

Software Development vb.net
Member Avatar for Korenai
0
101
Member Avatar for kohoko

i want to get a random value from the set of values like{1,2,5} how can i do that is that possible i m not that familiar with using random function so plz xplain a bit how to use it if it can be used in this case

Software Development c
Member Avatar for kohoko
0
199
Member Avatar for Vivek_1986

When i'm trying to create a new SQL Server Database in VB.NET 2005 through Server Explorer i'm getting following error (no matter what authentication i select): [COLOR="Red"]An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the …

Software Development sql vb.net
Member Avatar for reeeeeee
0
179
Member Avatar for RenanLazarotto

I've found this a little hard to find, so I decided to share with you guys. This small code will allow your app to accept arguments. Just copy the whole code into the main sub (I didn't tested elsewhere) and edit the code inside the for to do what you …

Software Development vb.net
Member Avatar for anoopkh
0
1K
Member Avatar for paulablanca

Hi! I am creating an entrance examination and what I want to do is get all the questions which belong to the same Year Level (e.g.first year) from a table and display the first question into a rich text box and when the next button is clicked, the second row …

Software Development display sql vb.net
Member Avatar for paulablanca
0
2K
Member Avatar for SolidSora

I'm trying to write a fraction class and I want a function to reduce the fraction to lowest terms. The problem I'm having is trying to get the fractions to reduce. I need a way to find a common factor in both numbers. All other functions work the way I …

Software Development c++
Member Avatar for vijayan121
0
4K
Member Avatar for ankit.4aug

Please tell me ..what do you mean by following line void(*fnctn)(void(*)(int *,void **),int(*)(void**,int*));

Software Development c c# c++
Member Avatar for vijayan121
0
148
Member Avatar for jnick12

I need help with the //Find letterGrade function. The program works perfect with the if/else statements that are commented out, but I want to convert it to a switch statement. I did it, but it keeps saying that the variable 'grade' is being used without being initialized...Please help. [CODE]#include <iostream> …

Software Development c++
Member Avatar for alaa sam
0
5K
Member Avatar for uchiha203

Hi guys, I just want to ask some help I added a Download Button in every row of my Gridview. Its function is to download the Binary File of the corresponding row. Whenever i run it it gives me the error "Object reference not set to an instance of an …

Member Avatar for uchiha203
0
173
Member Avatar for karlosekevin

i am using floppy as ATM card.. am thinking that using the serial number of the floppy, i can check with the database and confirm it and loging the user.. but i have problem in getting the code for getting the code for getting the serial number of the media.. …

Software Development visual-basic
Member Avatar for sapan gupta
0
116
Member Avatar for airesh

hi again guys, i want to automatically turn on the caps lock when the cursor is focused on a certain textbox.. please help..i am doing a school project and i badly need all you help guys..thanks.

Software Development vb.net
Member Avatar for airesh
0
1K
Member Avatar for joywheels

Hi everyone, I am going through a self-paced class for Python beginners and have ran into a dictionary problem that I can't figure out. I'm creating a set of words from user input. Then send those words to a dictionary that adds a key for when the word is first …

Software Development python
Member Avatar for TrustyTony
0
131
Member Avatar for dre-logics

I have an official version of Visual Studio 2008 Team System. I use Visual Basic 2008 from Visual Studio 2008 Team System. With Visual Basic 2008, I built several Windows application. [B][COLOR="Green"]I want to use Visual Studio 2010 Premium [/COLOR][/B] [COLOR="Red"]Upgrade scenario[/COLOR] I have three Upgrade questions: 1.Can I upgrade …

Software Development vb.net visual-basic visual-studio
0
92
Member Avatar for airesh

hi, i have 2 combo boxes. both values are integers and i want to add the values of the two combo boxes and display the sum to a label..how is it possible? guys, please help thanks much!..:)

Software Development vb.net
Member Avatar for airesh
0
178

The End.