132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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 | |
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++ | |
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 … | |
[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++ | |
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++ | |
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 | |
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 | |
Could anyone point me into the right direction on how to make a C# SQL Datalogin? Software Development sql | |
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 … | |
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 | |
what's the difference in these 2? class list { class node { // blah }; // blah }; ********************************** class node { // blah }; class list { // blah }; Software Development c++ | |
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 | |
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 | |
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 | |
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 | |
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. | |
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 … | |
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 … Software Development client-server socket-programming vb.net visual-basic | |
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++ | |
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 | |
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 | |
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++ | |
[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 | |
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++ | |
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 | |
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! | |
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 | |
i have taken one text field and want coding to print text wrintten in text field on button Software Development vb.net | |
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 | |
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 , … | |
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 | |
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 | |
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 | |
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 | |
how can i compare a subitem from my listview1 to my listview2 subitem, like for ex. subitem(3)?? Software Development vb.net | |
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 | |
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 … | |
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 | |
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 … | |
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++ | |
Please tell me ..what do you mean by following line void(*fnctn)(void(*)(int *,void **),int(*)(void**,int*)); | |
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++ | |
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 … Software Development asp.net file-stream file-system visual-studio | |
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 | |
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 | |
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 | |
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 | |
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 |
The End.