64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for waldchr

Hi I am relatively new to c++ but have written a program that would benefit from a little background music. I need it to be mp3 format. I am using dev c++ on windows XP. can anyone help?

Member Avatar for waldchr
0
211
Member Avatar for &rea

Hello, I have been using C++ for not so long and today I have find a problem that I know it is not difficult but I haven't done it before so I have no idea. I have a matrix(System::Drawing::Drawing2D::Matrix^ L) and I want to apply this property OffsetX. since now …

Member Avatar for &rea
0
55
Member Avatar for arupa
Member Avatar for Jx_Man
0
83
Member Avatar for bokac
Member Avatar for bokac
0
99
Member Avatar for Jens

Hello everyone I am building on a little project in .net, but I have ran into some problems on database - level. I am creating a view with data from a couple of tables. It all revolves around my main table (let's call it 'main' for now). In 'Main' there …

Member Avatar for arupa
0
150
Member Avatar for safealloys
Member Avatar for arupa
0
146
Member Avatar for chanthung

M writing a program to display the date ie. 15 days later after a given (present/todays)date. Wel its actually like this. As soon as i write todays date, in the next text box, the date shd be automatically displayed adding 15 days to the present date which is already displayed. …

Member Avatar for chanthung
-1
1K
Member Avatar for NervousWreck

I am just starting to learn C++ with the Waite group primer. I wrote a program loosely based on the books instructions to display any entered ASCII character and its numeric value and the same for the next character in the table. Heres the bug: The second character works fine, …

Member Avatar for mitrmkar
0
104
Member Avatar for edrrit

Hello everyone, as will be seen from the following massage I am new to C#. I have dataGrid that reads data from mine database. Also, I can update database from dataGrid, but I want to update it in more ways. So, I have the following code just to see something, …

Member Avatar for edrrit
0
95
Member Avatar for mustafaneguib

hey guys how are you all? i am recieving the following error in all my pages except my homepage on internet explorer. [code]Line: 49 Char: 1 Error: 'null' is null or not an object Code: 0 URL : http://www.worldofpakistan.net/register.phpLine: 49 Char: 1 Error: 'null' is null or not an object …

Member Avatar for mustafaneguib
0
161
Member Avatar for tirso

hi to all Does any body could help me how to blink the text of my button or even blick the background color. Thanks in advance

Member Avatar for tirso
0
719
Member Avatar for raul15791

Hi, I'm trying to write a perl program for a simple phone book. Means when the user enter a name, the phone book will search and display the name and the phone number of that person. Below is my code: [CODE=syntax] #!/usr/bin/perl; #playplay.pl use warnings; use strict; my %phonebook = …

Member Avatar for KevinADC
0
192
Member Avatar for CoolGamer48

Ok, I'm writing a simple program with VC++ and DirectX. It's basically a working framework for 3D games, but all I need it to do right now is load a mesh and display it, and it is killing me. I've done this successfully before, I don't know why its not …

Member Avatar for MattEvans
0
453
Member Avatar for grazcy

i'm doing a game function which able to save and load game function, i want to do it in a simple way cause only a few information need to collect. :cry: Here is the save method i use which able to write things into the .txt file which work correctly …

Member Avatar for DaKasper
0
198
Member Avatar for nerden

Hi, I’m writing a programme in VB.NET [B]2008 [/B]which uses an access database; I am trying to create a query which uses the value from a textbox say txtStudentNo, to query a DataGridView say grdInfo to only show the student with the entered student number. The problem I am having …

Member Avatar for nerden
0
187
Member Avatar for 365resell

Hi i must be stuppid by missing something but im trying to insert a a code into my php script page: [CODE]<!-- Start Code --> <iframe src="http://www.365netmarketing.co.uk/adds/banner.php?action=b&t=true&ref=20&w=468&h=60&grp=13" width="468" height="60" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" allowtransparency="true" background-color="transparent"></iframe> <!-- End Code -->[/CODE] this is a banner call code and works great …

Member Avatar for 365resell
0
3K
Member Avatar for mustafaneguib

hey guys, the browser gives the following error when i open my webpage. [code]Line: 49 Char: 1 Error: 'null' is null or not an object Code: 0 URL : http://www.worldofpakistan.net/register.php[/code] the code of the page is as follows: [code=php] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" …

Member Avatar for nav33n
0
122
Member Avatar for chmendell

Very new to C#. I'm a workhorse but one step at a time. I'm trying to make simple program. "What is out the door cost of an item that has sales tax?" You should enter the program and then type the amount of the purchase. Then the purchase amount is …

Member Avatar for Ramy Mahrous
0
95
Member Avatar for ff4930

Hello everyone, I am new to maps and I have a simple question. I have a map that stores a string as key and the data I want a map<int, int> so my syntax is map<string, map<int, int> test; What would be the syntax to insert say "hello" and say …

Member Avatar for Narue
0
121
Member Avatar for esy928

Hello! its me again, I need a liitle help. Our teacher gave us a homework where we need to create a program that will determine the larger of the two inputed number, plus we have to determine if the input is an integer or not. Ive already coded the program, …

Member Avatar for esy928
0
135
Member Avatar for Aleczz

Hello Im coding mp3 encode / ripping tool and because i have licence to realbasic im gonna make user interface with it Technical part im gonna make with akrip.dll and i have develope it more by my own way now. The meaning is use threads for ripping and encode in …

Member Avatar for Aleczz
0
157
Member Avatar for maydhyam

I have a concern about my program....the files that I want uploaded vary n size....would that affect the upload? I did not set anything anywhere to enforce the file size to be uploaded, and only really small files are able to upload...

Member Avatar for maydhyam
0
398
Member Avatar for mark192

Hi, I need help with sending an email through gmail from a program. I substituted email adresses and passwords with generic names, this program works up to the last line where it fails to send the email. Any ideas as to why this may be? This is using [code] imports …

Member Avatar for conan82ac
0
84
Member Avatar for ShraddhaM

i have created one database in which there is one table **Supplier**, its **primary key is SCode**. i have one more table **Quotation**, in which i have created **SCode as Foreign Key**.nw i want to allow user **to select SCode from Combobox in Quotation table.** Format. hw 2 add databinding …

Member Avatar for ShraddhaM
0
372
Member Avatar for Agni

Hi, When i search for a pattern in a file how do i get the line and line#? basically i want to replicate the 'grep' command functionality. Now i can easily say whether the pattern exists or not using re.search funtion but i'm not able to print that particular line …

Member Avatar for Agni
0
125
Member Avatar for heels

Hi, Is it possible to use images for a button instead of the normal button? I am not trying to link it to another page over here but, getting it to trigger some event like a normal button. Thanks alot. Regards, heels

Member Avatar for heels
0
77
Member Avatar for percent20

I have been trying to access a public array inside a class, but it is freaking out on me. Should this be able to work? [code=php] $TestArra = array('Hello', ' ', 'World'); class Test { function Test() { $this->Display(); } function Display() { foreach($TestArray as $value) { echo $value; } …

Member Avatar for R0bb0b
0
562
Member Avatar for 7arouf

hi there. i created an xml, xsl, and html files and i need to create a drop down list that will allow me to quesry database my xsl files is [QUOTE] <?xml version="1.0" ?> - <Kwantlen> - <Schedule> <Semester>Summer</Semester> <Department>CISY</Department> <CourseName>Emerging Technologies</CourseName> <Prerequisite>CISY1218</Prerequisite> <CRN>2583</CRN> <Days>Monday</Days> <StartTime>16:00</StartTime> <EndTime>19:00</EndTime> <RoomNumber>G1045</RoomNumber> <Instructor>Sen</Instructor> <FinalDate>August …

Member Avatar for 7arouf
0
167
Member Avatar for agartrell

Hey, I have a hash table for primitive values that uses a template to store the key Type and value Type, everything compiles fine as far as that's concerned, but i have a wrapper class that associates floats with ints (array indices) and that's all good except for one syntactic …

Member Avatar for agartrell
0
94
Member Avatar for firthusa

I have two tables, one is called "options" and the other is called "option_values". The first one contains entries such as: "size, color, shape" while the other has a "option_id" field linking it back to the "options" table and with entries like: "small, medium, red, green, square, etc..." depending on …

Member Avatar for firthusa
0
127
Member Avatar for ninjaimp

Hi I am trying to populate a listview with all the hours of the day in 30 minute intervals. I can doing very basically from 0 to 24 with the following code: [CODE] Private Sub CreateTimeStep() For i = 0 To 25 Step 0.5 lstDays.Items.Add(i) Next End Sub [/CODE] but …

Member Avatar for ninjaimp
0
87
Member Avatar for Muttley

[code=cplusplus] class Base{ char* s1; public: ... ~Base(){ delete s1} } class Derived:public Base{ char* s2; public: ... //the constructor of the derived class will call the constructor of the //base class, so derived will contain s2 and s1 too. ~Derived(){ //HERE } void main(){ ... Base x[5]; ... }; …

Member Avatar for Narue
0
125
Member Avatar for sciwizeh

hello, i'm making a small calculator program, and i want the display to look like this: [URL="http://www.freewebs.com/sciwizehgames/images/want.jpg"]want.jpg[/URL] but i'm getting this: [URL="http://www.freewebs.com/sciwizehgames/images/Getting.jpg"]getting.jpg[/URL] this is the code i am currently using for the task: [CODE]public void actionPerformed(ActionEvent e){ String currText = viewer.getText(); String text = enter.getText(); int len = currText.length(); enter.setText(""); …

Member Avatar for sciwizeh
0
723
Member Avatar for new_2_java

Can someone tell me what jar file do I need inorder to use the above class?

0
122
Member Avatar for darklich13

I'm having trouble getting my InputMismatch working on my program. Do I need some kind of throw for this exception? The program compiles fine, but it dosen't pick up the exception. Can someone please help. [code] public class EndingListener implements ActionListener { public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("Convert")){ try{ …

Member Avatar for darklich13
0
206
Member Avatar for &rea

Hello, I have got a problem declaring a matrix. I have got a picture (bitmap) and I take the whole image with a rectangle so I can "paste" it in a matrix. My problem is that the constructor says that I need an array of Point (Point[]) but I don't …

0
62
Member Avatar for SteveDB

Hi all. I am seeking to learn how to link my drag/drop GUI's to the code I wrote for a program from some 9 years ago. I.e., I have Borland, and MS's Visual Studio 6. I used both-- at different times-- to create a program, and was able to use …

Member Avatar for Necrolis
0
691
Member Avatar for dr_kac

Hello everybody! As I thought I became more comfortable with data structure I've got the problem I can't solve. It looks so: I have that kind of text file: ABCD vvvv 1e-12 ABCD hhhh 1e-6 ABCD ggggg 1e-3 ASDE ffffff 1e-57 ASDE dddd 0.001 etc. I would like to read …

Member Avatar for paddy3118
0
191
Member Avatar for Aamit

Here is my file text file data Tree Bush Apple Mango Animal Dog Animal2 Cat [code] #include <stdio.h> #include<conio.h> #include<string> #include<iostream> #include<fstream> using namespace std; int main() { FILE * pFile; char mystring [100]; char mystring2[100]; char ch; int i=0,j=0; pFile = fopen ("c:\\List.txt" , "r"); if (pFile == NULL) …

Member Avatar for mitrmkar
0
110
Member Avatar for arunagar

We have 2 JSPs A.jsp ==> Main screen JSP tabs.jsp ==> The jsp, which has the header and have several tabs JSP 'A' "includes" JSP 'tabs' Now I want that when page 'A.jsp' loads, it should make some check and set a Flag. This Flag should pass to JSP 'tab.jsp', …

Member Avatar for arunagar
0
130
Member Avatar for darkis

hello there, i was hoping someone could help me figure out why my program isn't compiling. Its a polynomial math program i put together...and with my function "MathPoly" //'d out it compiles just fine....It continually tells me that variables are undeclared and the compiler is crapping out on line 51 …

Member Avatar for stephen84s
0
177
Member Avatar for reyev

Hi everybody! I need to split my path, let's say' "C:\path1\path2\path3\path4" into separate strings... Not sure how to do that, I've tried os.path.split / splitdrive etc. but it always give me just 2 arguments I need to get "C:\path1" from this path string for example, which would be the root …

Member Avatar for reyev
0
139
Member Avatar for Alex Edwards

The problem resides below - I'm trying to make a directive command that disable one constructor definition, or the other, based on the parameter of T. When I uncomment the block around the if statement, I get this error-- [ICODE]... missing binary operator before token "(" [/ICODE] --but when I …

Member Avatar for Alex Edwards
0
230
Member Avatar for dlayante

hey guys...please help me with this project, I just need to create a Basic DLL Proxy (Proxy INTEROP DLL) create DLL in C# and use it in Visual Basic 6.0 Please give me codes and step by step instructions in making it... Thank you...You're a big help!!!!

0
244
Member Avatar for tirso

Hi to every body, I want to make an application that having a lot of buttons, such as payment, view info, deliquent, reports, edit etc. In vba I already created by creating each button to call an individual form, like payment I made (frmpayment), for view info(frmview), for deliquent (frmdeliquent). …

Member Avatar for tirso
0
118
Member Avatar for Alex Edwards

Does anyone have an website they would recommend to me for learning Regex? I have tried using the Sun's tutorial on Regex as well as the Pattern and Matcher classes that use Regex but I am not quite understanding it. I'd like to use it to return the String values …

Member Avatar for sciwizeh
0
128
Member Avatar for thehype2049

Here is my question Write a command line program titled joinTextFiles.cpp that concatenates the contents of several files into one file. For example, the following command line [B]joinTextFiles chapter1.txt chapter2.txt chapter3.txt book.txt[/B] will create a long file titled book.txt that contains the contents of the files chapter1.txt, chapter2.txt, and chapter3.txt. …

Member Avatar for thehype2049
0
95
Member Avatar for Superfat

I know about using ran() to create a random number between x and y, however i am creating a banking program and i am wondering how to randomly generate a 17 digit pin, then store the pin in an outside file, then have the program check the file for the …

Member Avatar for tesuji
0
171
Member Avatar for acediamond

I am a first year IT student cramming my last assignments in before the monday afternoon deadline. I am battling with a problem that looks like this: I have to create a program using the case statements to choose a winner from rock, paper, scissors and count the wins,losses,ties to …

Member Avatar for VernonDozier
0
268
Member Avatar for ruchika beddy

hey,Frnds I Have tried the Fill. Code,But the Foll. Code returns the no. of charcters of the File,But i want the File Size on Disk in KB. Can u Plz help me out. Imports System Imports System.IO Dim filelength As Long = 0 Dim objfile As New FileInfo("D:\Documents and Settings\Administrator\Desktop\URLs[1].txt") …

Member Avatar for Jx_Man
0
631

The End.