132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ethanbuckley

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++
Member Avatar for jonsca
0
122
Member Avatar for ethanbuckley

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++
Member Avatar for jonsca
0
162
Member Avatar for saadahkh

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++
Member Avatar for WaltP
0
516
Member Avatar for blueman:-0

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
Member Avatar for blueman:-0
0
86
Member Avatar for blueman:-0

how i can take data from USB to java ?

Software Development java
Member Avatar for blueman:-0
0
79
Member Avatar for MaddTechwf

I'm trying to figure how to pull the computers workgroup name using VB.NET. Any help would be great.

Software Development vb.net
Member Avatar for Unhnd_Exception
0
734
Member Avatar for thecstudent

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
Member Avatar for thecstudent
0
309
Member Avatar for ChPravin

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 …

Software Development asp.net perl xml
Member Avatar for ChPravin
0
2K
Member Avatar for bibiki

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
Member Avatar for bibiki
0
4K
Member Avatar for MasterGberry

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++
Member Avatar for MasterGberry
0
251
Member Avatar for MaddTechwf

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
Member Avatar for MaddTechwf
0
130
Member Avatar for moroccanplaya

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
Member Avatar for Narue
0
285
Member Avatar for alonewolf23

[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++
Member Avatar for alonewolf23
0
152
Member Avatar for gth759k

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
Member Avatar for ravenous
0
244
Member Avatar for Fungus1487

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
Member Avatar for Momerath
0
242
Member Avatar for BleepyE

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
Member Avatar for Fungus1487
0
650
Member Avatar for johans22

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++
Member Avatar for johans22
0
101
Member Avatar for hariharans87

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 …

Software Development api delphi pascal
Member Avatar for pritaeas
0
180
Member Avatar for johnt68

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
Member Avatar for Mitja Bonca
0
142
Member Avatar for rabihayass

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 …

Software Development c++ opengl
Member Avatar for daviddoria
0
182
Member Avatar for drake10k

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
Member Avatar for kvprajapati
0
434
Member Avatar for sidrules1984

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
Member Avatar for Narue
0
111
Member Avatar for kaharas

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
Member Avatar for kaharas
0
217
Member Avatar for tendaimare

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
Member Avatar for tendaimare
0
94
Member Avatar for manish250

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
Member Avatar for manish250
0
245
Member Avatar for johnt68

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
Member Avatar for johnt68
0
109
Member Avatar for mindbend

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
Member Avatar for mindbend
0
2K
Member Avatar for novice20

[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 …

Software Development python session
Member Avatar for novice20
0
767
Member Avatar for maniza

hi, i have to build a software for my final year project. still cant think of a topic. but i thought of doing a weather tracker system. just wanted to get some advise for a topic or is this topic good..is there a better way for doing it. what should …

Software Development
Member Avatar for maniza
0
67
Member Avatar for gutchi

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
Member Avatar for k_manimuthu
0
226
Member Avatar for rssk

how to store the output of a telnet session on a local machine, so that it can be used further for calculations??

Software Development python session
Member Avatar for rssk
0
1K
Member Avatar for foren

[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 = …

Software Development os-x python
Member Avatar for olaji
0
95
Member Avatar for sanjanac++

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++
Member Avatar for ravenous
0
95
Member Avatar for galva

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
Member Avatar for Democles
0
143
Member Avatar for javanew

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
Member Avatar for Democles
0
111
Member Avatar for Drakarus

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++
Member Avatar for nathanseye
0
102
Member Avatar for afaque01

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
Member Avatar for afaque01
0
115
Member Avatar for thelostboy

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++
Member Avatar for TSims11
0
160
Member Avatar for ethanbuckley

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 …

Software Development c c# c++ listview
Member Avatar for TSims11
0
388
Member Avatar for libathos

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
Member Avatar for Ancient Dragon
0
291
Member Avatar for jasonx

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
Member Avatar for kvprajapati
0
159
Member Avatar for ABSOR

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
Member Avatar for kvprajapati
0
2K
Member Avatar for ImanOcean

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
Member Avatar for ImanOcean
0
101
Member Avatar for tomtetlaw

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++
Member Avatar for tomtetlaw
0
172
Member Avatar for BChicago

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
Member Avatar for Ancient Dragon
0
537
Member Avatar for MasterGberry

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 …

Software Development c# c++
Member Avatar for MasterGberry
0
258
Member Avatar for Johnsupertramp

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
Member Avatar for Akill10
0
1K
Member Avatar for NickPatton

#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 …

Software Development c unix
Member Avatar for NickPatton
0
233
Member Avatar for realoneomer

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
Member Avatar for realoneomer
0
1K
Member Avatar for frank33

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
Member Avatar for jlego
0
206

The End.