132,726 Archived Topics
Remove Filter ![]() | |
Error 26 error C2061: syntax error : identifier 'Form1' c:\Users\Black Chocobo\Desktop\WaveMachine\managesongs\WaveMachine\WaveMachine\WaveMachine\WaveMachine.cpp 16 [CODE]// Create the main window and run it Application::Run(gcnew Form1.h());[/CODE] Software Development c++ | |
1>c:\users\black chocobo\desktop\wavemachine\managesongs\wavemachine\wavemachine\wavemachine\Form1.h(334) : error C3845: 'WaveMachine::Form1::filePath': only static data members can be initialized inside a ref class or value type [CODE] // the actual music file and its path is kept in the second subItem (of each track) String^ filePath = this->listView1->CheckedItems[0]->SubItems[2]->Text;[/CODE] Any suggestions Software Development c++ | |
Hi every body . iam writing a code that reads a line from input file and searches it in test file. but my getline() function reads only the first line and enters an infinite loop i have read many discussions on the topic but still unable to resolve the issue. … Software Development c++ | |
I have device and have the driver of it ,the device send data to me by serial port how i can receive that data in java . Software Development java | |
I'm trying to figure how to pull the computers workgroup name using VB.NET. Any help would be great. Software Development vb.net ![]() | |
Hello to everyone! or should I say, "Hello World"? I am new to C and new to this forum, and this is my first post. I wrote a simple C program which I called: isitprime.c and generated [B]isitprime.exe[/B]. I can call this program [B]isitprime.exe[/B] from the command line with an … Software Development c | |
Hello All, This is the first time I am using XSLT transform to transform an XML file.However, I am using a large XSLT(~2000 lines) written by someone else for the purpose of transformation.When I try to use XslCompiledTransform I get an error:The variable or parameter 'resourcetitle' is either not defined … | |
hey there, I have the following code: [CODE] import java.io.*; public class Karakters{ public static void main(String[] args) throws IOException{ FileWriter in = new FileWriter("karakters.txt"); PrintWriter outfile = new PrintWriter(in); char x = 'A'; for(int i = 0; i < 300; i++){ System.out.println((i + 1) + " " + (char)(x … Software Development java | |
Note, this is converted from C# with a converter program and some of my own hand coding, there is definitely a possibility that the compiler is right and something of the sort does not exist in C++, or its named diff. I am having an issue with the long !System::Windows....line, … Software Development c++ | |
I'm playing around with VB.NET once again since college and I'm trying to recreate a program that GeekSquad uses called the MRI for a friend. Upon doing so, I have run into a few snags. The must present one is once I publish my application to a particular spot that … Software Development vb.net | |
my program creates a file then copies a file into the file created then i can copy another file into the file created turning it into one bog file i am having troubles when coming to extracting the exact file, can anyone suggest anything on how about to achieving this.? … Software Development c | |
[CODE]#include <cstdio> #include <cstdlib> #include <iostream> using namespace std; int main(int nNumberofArgs, char* pszArgs[]) { char ch, play_or_no_play='y'; while (play_or_no_play == 'y') { cout << "Enter a character: "; cin >> ch; while (ch != 'c') { cout << "Wrong Character, try again: "; cin >> ch; } cout << … Software Development c++ | |
I'm trying to add a way to create scenes for my raytracer without having to recompile it every time. So far i've gotten the irrXML parser up and working. My xml file declares all the scene properties I need and i can get them into my raytracer, but my problem … Software Development c++ file-system xml | |
Hi all. I have a requirement to collect a bitmap image directly from a given AVI file. Does anyone know of any decent .Net only libraries that by any chance can achieve this? I would like to avoid any COM interops if possible but if you have had experience using … Software Development asp.net | |
Hey, im just wondering if there was any easy were to make sure that an entry havent been used twice in a selection of ComboBoxes. Heres the start for what id have to do if there isnt. [CODE]Private Sub ComboBox9_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox9.SelectedIndexChanged If … Software Development vb.net | |
I am sort of new to forums, therefore forgive me for mistakes. I am trying to eliminate a for loop within a function and run the function in multiple threads. Is it possible?. The comment inside the code, explains it. Any reasonsble change that results in a good multi-threading. [CODE]#include … Software Development c++ | |
Hi, I have PIC32MX795F512L. I have used the "USB Host - MCHPUSB - Generic Driver Demo - PIC32 USB Starter Kit II.mcp" Firmware. I am very new to Delphi. So I have copy and paste the code from [URL="http://www.sixca.com/delphi/article/microchip_usb.html"]http://www.sixca.com/delphi/article/microchip_usb.html[/URL] It is working fine. I want to use the UPDATE_LED (change … | |
Hello - The code that I have below works .. but I am sure that there must be a more efficient way of looping through to check for a winner. Any advice much appreciated ... thanks:). [CODE]if ((nandcButton[0,0].Text == "0") && (nandcButton[0,1].Text == "0") && (nandcButton[0,2].Text == "0") || (nandcButton[1,0].Text … Software Development | |
I have to make a simple 3d game. The game scenario consists of a spacecraft that is attacking the home planet by firing rockets from along its length randomly. The game player moves the baton up and down to stop the rockets before they reach the planet. The star field … | |
Hi, I've started building this wpf app in C# and XAML, but halfway through the coding I realized that it should have been a browser application... :( is there any way to convert it now? I've tried creating a new WPF browser app and then import the xaml and cs … Software Development asp.net | |
int a=10,b; b=(a>=5)?b=100:b=200; printf("%d",b) why does the output shows as 200? Plz explain Software Development c | |
Hi, in order to learn something more about hooks, I'm trying to write a simple application: a form containing a webbrowser component, and i'm going to make a local hook oon recv to see the packets received by it. I wrote the program looking at the easyhook tutorial, but when … Software Development | |
i am trying to create a crystal report and run it on the fly so far this is where i am can anyone help or point me in the right direction.Any help will be appreciated [CODE] Private Function SetupReport(ByRef objCrystalReportDocument As CrystalDecisions.CrystalReports.Engine.ReportDocument) As System.Boolean Dim crTableLogOnInfo As CrystalDecisions.Shared.TableLogOnInfo Dim crDatabase … Software Development vb.net | |
hello all i have a string *354*4*string#.what i want is to fetch the string and calculate it's length. plz help Software Development java | |
Hello - I cannot understand why I cannot get a win message box to show for my naughts and crosses game? I'm puzzled because no errors show - so I am guessing that I need to be making a 'win method' or something similar ???:confused: [CODE]Button[,] nandcButton = new Button[3,3]; … Software Development | |
I'm trying to make family tree webapplet, to test it out outside of the site I just used JFrame. I've used GroupLayout to set up things, but I'd like to have a fixed size, now it just takes up the size of the JFrame. NewClass.Java [CODE=java] /* * NewJPanel.java * … Software Development java java-swing | |
[B]hi all using telnetlib, I am issuing a 'top' command on a remote host. Top seems to continue indefinitely. On a terminal, I can use CTRL+c to suspend the process... What can be passed in telnet.write() equivalently to suspend the process , yet retain the output so far... pls help … | |
Hi everyone! Is there a function in Perl which is similar to the following [CODE]getServletContext().getRealPath("/filepathInContext")[/CODE] which is in Java? The getRealPath method returns a String containing the real path for a given virtual path . I can't seem to find one. Any help would be much appreciated. TIA. Software Development perl | |
how to store the output of a telnet session on a local machine, so that it can be used further for calculations?? | |
[CODE]import re, os, sys sys.stdout = open('c:\\Fummy_Tasks\\RECONSTR_ANALYSIS\\04052010\\test1_Strings\\log1.txt', 'a') memdump = open('c:\\Fummy_Tasks\\RECONSTR_ANALYSIS\\04052010\\test1_Strings\\test.txt','rb') count = 1 while 1: memdump_line = memdump.readline() if not memdump_line:break evidence = open('c:\\Fummy_Tasks\\RECONSTR_ANALYSIS\\04052010\\test1_Strings\\word1.txt','rb') for x in range (0,len(memdump_line)-3): while 1: evidence_line = evidence.readline() if not evidence_line:break if memdump_line[x]==evidence_line[0] and memdump_line[x+1]==evidence_line[1] and memdump_line[x+2]==evidence_line[2]: print memdump_line print count count = … | |
I'm using turbo c++ to build a project for school. It is compulsory to use TC++. I tried downloading windows.h but it gives a lot of errors when compiled. Is there any link i can use to do so easily without many problems? Tuesday is the deadline. Please help! Software Development c++ | |
Hello. Can someone help me with this ATM program. The program is working good but I have to show the 10 last transactions Instead the program prints only out 9 lasttransactions, what do I do wrong? import java.util.Scanner; public class Atm { private static int balance = 0; public static … Software Development java | |
i want to make a simple java program,,to input on keyboard Shift+Crtl+D it means that instead of me to type on keyboard ,, i want my java program to type it by just running my program how to do it ,, is it difficult?? please help Software Development java | |
I am making a program that involves adding time. It involves adding a beginning time, duration which would lead to the result of an end time from the sum of beginning time and duration. I will illustrate the problem i am having below: 12:15 start time with a duration of … Software Development c++ | |
Hello! Every 1.. Can Any1 Please tell me How to make A Form in vb.net Transparent without Making Its Contents Transparent..! Actually I mean I make a border less form which i want as Transparent and in that Form i added little animation picture .. and iwant this animation picture … Software Development vb.net | |
Hello all!! First of I just want to say that this is a great site. I am just looking for some advice I have just started studying for my degree in software development. I have been reading a lot of books on software development and they all say the wau … Software Development c++ | |
I have created a music player that is yet to function to its full ( the add button on my main form1 won't bring up the AddNewWaveTrack_form ). These errors vary so any help is much appreciated as I want to learn fast. [CODE]#pragma once #include "AddWaveTrack_form1.h" #include "EditWaveTrack_form1.h" namespace … | |
hi i want to create a program which will be working like a agenta,meaning a user will fill in a form with an action he wants to perform and the time he must do it and my program should pop up a window which will be trigered by his computer's … Software Development c | |
Hello i have a problem in my c# project. I have a windows form that saves values from textboxes into a csv file. I then open the csv file in a datgrid where i'm supposed to search in it and highlight or filter particular rows and that is where i'm … Software Development file-system pascal | |
I have a csv file (comma delimited) that contains an unknown number of columns, and unkown number of rows, and an unknown size of string for each element. Each row has the same number of elements however. I desire to read this data into a multidimensional array or List. Because … Software Development | |
Hi, I have just started C# and I have created a console application that ensures that the option 'Calculate and display (c)' is not executed if the student details and results have not been entered. I am unsure how to validate a non-entry. Software Development | |
I'm trying to use a DLL that is generated from one of my projects. When I try to compile I get alot of linker errors from ONE of the files from the DLL project. What I think is the problem is that I should be linking to the .lib file … Software Development c++ | |
Hi, I'm trying to add a drop down combo box for user selection in the main window of my application. The program reads USERS.txt, loads each line into a const char*[] and (hopefully) adds them to the combo box. The problem is my program displays Chinese characters instead of the … Software Development c++ windows-api | |
Okay, so I understand this C# program I was given to analyze, and now I am being told that I need to convert the entire program into C++, just my luck. So there are several features that at the moment I do not understand how to convert over. If there … | |
Hi, I'm making a Lottery simulator and really need help. These are the specifications (scroll for code): Hi, I would like to make a Java lottery simulator. This one is different than most, however. The program requirements are: 1) The patron enters his/her 6 chosen numbers (from the numbers 1 … Software Development java | |
#This is a homework assignment# I need to calculate how many seconds old I am in C. I'm thinking that I can take my birthday as user input and convert it to a date with strptime. I then would like to take the present date and put both it and … | |
Hi Perl guru's My name is Omer and i am almost new on perl i need help for below mentioned issue. Well, I have two files file A & file B file A have two columns and it looks like ColumnA ColumnB A 01 B 02 C 03 and File … Software Development file-system perl | |
Create A New Project as a Windows Form Application. Create any object, such as a text box, in that application. Look at the Properties of this text box. Its Font is set to a default. With a value that is incorrect. How do I change this default to the correct … Software Development vb.net |
The End.