43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Stefano Mtangoo

Hello developers, I have been playing around with C++ and wxWidgets for a little time now and I think it is time to make a little useful program I am planning to make a CD ripper and Encoder (re-inverting the wheel purposely for learning) and I plan to use CDRip.dll …

Software Development audio c++
Member Avatar for Stefano Mtangoo
0
135
Member Avatar for goody11

I was making a function to save info and it doesn't work. It's actually made up of 2 functions. I've eliminated my problems down to the second function and can't figure out what to do. Here is the function: [code=cplusplus] void DoFileSave(HWND hwnd) { OPENFILENAME ofn; char szFileName[MAX_PATH] = ""; …

Software Development c++
Member Avatar for goody11
0
289
Member Avatar for squall1986

Hi, for a class, I'm trying to implement a separate-chaining hash table stored in a vector that contains pointers to vectors where the keys will be stored. This is basically what I have: [CODE=c++] typedef vector<string> KeyChain; vector<KeyChain *> Table;[/CODE] The problem I'm having is when I want to access …

Software Development c++
Member Avatar for squall1986
1
137
Member Avatar for deven_a76

Hello friends, I am new to C# and try to learn the basics. I am getting error [B][I]"error CS0052: Inconsistent accessibility: field the 'Model.Notifier' is less accessible than field 'Model.notifyViews'"[/I][/B] Could you please let me know the error I am getting... [code] using System; using System.Data; class Model { delegate …

Software Development
Member Avatar for deven_a76
0
116
Member Avatar for kangarooblood

what's wrong with this code, when i try to make the pyramid, it's always the same height of the pyramid. and somehow onumber always has the value of 20, WHY??!! Here is the code and I'll also include a picture of how it looks. [CODE=c++] #include <iostream> #include <iomanip> using …

Software Development c++
Member Avatar for Nick Evan
0
117
Member Avatar for pixelerator

Hello my name is intekhab khab persuing BCA final i have some problem in Visual basic coding as i dont know any thing about Visual basic i know c/c++ php Ajax but i dont familiar with visual basic 6.0.Sir gave me assignment and two days of only please help me …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
155
Member Avatar for emarshah

Hello all, Thanks in advance for any type of help, i want to create a text file from already created textfile, which will have all the "\t" characters replaced with "\n" e.g abc.txt ammar hassan shah naqvi new.txt ammar hassan shah naqvi here is the code i m using, but …

Software Development file-system
Member Avatar for Ramy Mahrous
0
183
Member Avatar for babbu

here is my code Dim oledbcom As New OleDb.OleDbCommand oledbcom.CommandText = ("INSERT INTO Customer Company, Address, Telephone values ?,?,?") oledbcom.Connection = oledbcon Dim oledbparam As OleDb.OleDbParameter = _ oledbcom.Parameters.Add("@Company", OleDb.OleDbType.VarChar, 30) oledbparam.Value = txtCompName.Text.Trim() oledbparam = oledbcom.Parameters.Add("@Address", OleDb.OleDbType.VarChar, 80) oledbparam.Value = txtAddress.Text.Trim oledbparam = oledbcom.Parameters.Add("@Telephone", OleDb.OleDbType.VarChar, 15) oledbparam.Value = txtContact.Text.Trim …

Software Development vb.net
Member Avatar for Teme64
0
98
Member Avatar for kangarooblood

Since the very first time I programmed c++ I've been trying to make a program that looks like this [CODE=c++] #include <iostream> using namespace std; int main() { char name; cout << "please type in your name >> "; cin >> name; if(name == 'kevin'){ cout << "hello bitch" << …

Software Development c++
Member Avatar for Sky Diploma
0
131
Member Avatar for GeekByChoiCe

Hello I am coding an FTP program, the downloading/uploading happens in a seperate thread. The problem is now how to pause/resume the download (even on servers that don't support file resume), an easy/working way is to pause/resume the working thread with thread.suspend but it tells me that this function is …

Software Development vb.net
Member Avatar for GeekByChoiCe
0
900
Member Avatar for llemes4011

Hi. When I add a JComponent to my JFrame, it isn't the size of the remaining space in the frame. I want it to work in a way so that when i add a JComponent, it (and it's contents) stretches to fill the remaining space in the screen... Is there …

Software Development java
Member Avatar for llemes4011
0
144
Member Avatar for GDICommander

Hello everyone! I'm developping a chat application in a client/server context and every client has a shared directory. I want the server to know the directory structure of each shared directory of every client. I'm asking myself if there's an existing class in the Java API that can keep a …

Software Development api client-server java
Member Avatar for ~s.o.s~
0
209
Member Avatar for sharao

hi frnds i installed apache 2.0.59 + svn-win32-1.4.0 when iam importing upto 5 mb it's accepting when i upload my java project nearly 12 mb its showing the following error [B][U]Invalid change ordering: new node revision ID without delete [/U][/B] also tried with apache 2.2.11 + svn-win32 1.5.4 even though …

Software Development apache java
Member Avatar for sharao
0
134
Member Avatar for lotrsimp12345

i am supposed to make 2 functions called find and they are supposed to find a character or string if they are similar when i do this progam gives me weird error: "use of search ambigious" "first declared as class search here. //main [code] #include <iostream> #include <cstdlib> using namespace …

Software Development c++
Member Avatar for smart_pc
0
226
Member Avatar for daviddoria

i.e. [code] class A { int x = 5; }; [/code] I saw a mailing list post from October 08 where a guy asked if this was going to be added. gcc 4.4 was released April 09, so I would assume it would have been added by then? I haven't …

Software Development c++
Member Avatar for Ancient Dragon
0
163
Member Avatar for funfullson

I am sorry if it is simple or repetitive but I have problem with this. I make a play : I have python 2.6 or 3.0 a program in my c partition its name is test.py I want to compile it and it have to works in linux and windows. …

Software Development python
Member Avatar for shadwickman
0
113
Member Avatar for wanne

Sorry.. I am new to this forum. I tried to find solution from older threads but couldn't. Here I am starting a new thread. My doubt is that suppose i want to do one looping process to assign values, how I have to do. For example: Having one list like …

Software Development python
Member Avatar for woooee
0
97
Member Avatar for mansi sharma

I want to get image from the file..I m able to do it....But mine code do not close the file,after getting the image,I want to close the file.Cz after getting the image,I want to delete that file.....on Deleteing error is dere file is user by another process... Public Sub GetImagesContent(ByVal …

Software Development file-system image vb.net
Member Avatar for mansi sharma
0
831
Member Avatar for john_beginner

hello every one... i'm very new to c# in the following program (Console application prg.) i want to get "int" value of "eno","ph_no" in place of string type but i don't know how to convert string type to "int" type if i use like eno=(int)console.readLine(); then it will give error …

Software Development c c# c++
Member Avatar for ddanbe
0
170
Member Avatar for breakid

it copy the file with 0 kb. can anyone please help me. I am working in this over a week no progress. server class [CODE] package javaapplication29; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.sql.ResultSet; import java.sql.SQLException; import java.util.logging.Level; import java.util.logging.Logger; import java.net.ServerSocket; import java.net.Socket; public class Server …

Software Development client-server java
Member Avatar for ede
0
158
Member Avatar for andreivanea

Hello. I am writing a program that uses a List<T> object to retain a list of int[] objects. [CODE=C#] private int[] numbers = new int[9]; private List<int[]> theList = new List<int[]>(); [/CODE] It's basicaly a backtracking algorithm that constructs the [I]numbers[/I] object, which contains a permutatio of the numbers 1..9, …

Software Development algorithm
Member Avatar for Poab9200
0
6K
Member Avatar for purijatin

class A { void show() { System.out.println("show"); } } class B extends A { void disp() { System.out.println("disp"); } } class Prac2 { public static void main(String args[]) { A ob = new B(); ob.disp(); } } /*this thing shows an error */ now my question is :i thought we …

Software Development java
Member Avatar for purijatin
0
117
Member Avatar for revski

Hi i have another question this time about mathmatical calculations in delphi. i have 3 labels on the form. Label1 is formatted like this 200/50, i need to use both parts of this caption in the calculation, the calculation needs to be 200 * .50 the 2nd Number in the …

Software Development delphi pascal
Member Avatar for FlamingClaw
0
162
Member Avatar for scsachira

I'm designing chat application these days.. I tried several samples which i found from the web.. I designed Server and Client.. When i run client in my machine, server get it nicely.. but when server in my machine and client in other machine, server doesn't detect client.. I tried 5+ …

Member Avatar for scsachira
0
128
Member Avatar for painless

i m not getting the desired out put .....according to the program ,it will have to give the movement of the circle in the direction of the diagonal. [code=java] import javax.swing.*; import java.awt.*; public class DrawCircle{ int x=70; int y=70; public static void main(String[] args){ DrawCircle dc = new DrawCircle(); …

Software Development java java-swing
Member Avatar for kvprajapati
0
110
Member Avatar for kimbula...

Hi all, I need a favor on SQL this time There are 4 tables as follows Employee(EmpID,EmpName,...........) Designation(Des_ID,Designation....) EmpProfInfo(EmpID,Des_ID,..........) Training(TrainingTypeID,EmpID,TrainingType,.......) When an employee allocated to a training their details will be inserted in to the Training Table I want to write a sql query so that I can select EmpID,EmpName,Designation …

Software Development sql vb.net
Member Avatar for samir_ibrahim
0
123
Member Avatar for Piya27

Hi All, I am working on a windows application in vb.net. (School Management Project). My problem is that, when I am adding the Personal Details of a student,(which include enrolmentno(primary key in the database),name,class,section,etc), when I click the save button what I want is that the enrolmentno should appear on …

Software Development vb.net windows-server
Member Avatar for Teme64
0
165
Member Avatar for VernonDozier

I'm pulling my hair out on this one. It's been a while since I've specified a path for an ofstream. I just want a simple file called "abc.txt" in the C: folder and I want to write "abc" to it. Anyone see anything wrong? Thanks. [code] #include <fstream> using namespace …

Software Development c++
Member Avatar for VernonDozier
0
117
Member Avatar for tomtetlaw

When I run this code: [code=python] import wx ID_FILE_QUIT = 101 class MainFrame(wx.Frame): def __init__(self, title): wx.Frame.__init__(self, None, wx.ID_ANY, title=title) self.menuBar = wx.MenuBar() self.fileMenu = wx.Menu() self.fileMenu.Append(1, '&Quit\tCtrl+Q') self.Bind(wx.EVT_MENU, self.Close(), id=ID_FILE_QUIT) self.menuBar.Append(self.fileMenu, '&File') self.SetMenuBar(self.menuBar) self.Show() app = wx.App() frame = MainFrame('Ya Mum') app.MainLoop() [/code] I get some error about expecting …

Software Development python
Member Avatar for lllllIllIlllI
0
131
Member Avatar for Quan Chi2

Hello. I hope not to annoy you with such a question. I'd like to read cell data from specific columns within a spreadsheet. I'm trying to read data within the following format (from the .xls file I'm analyzing). [code] Wavelength (nm),Absorbance (AU),Std.Dev. 190,-0.333324432373047,0.187723662173536 191,-0.184257030487061,0.169325912513228 192,0.0989446640014648,0.243154257457939 193,-0.196856021881104,0.322099862671817 194,0.0530929565429688,0.250335468281439 195,0.146337985992432,0.301110817821903 196,0.0579915046691895,0.359937145256163 197,-0.309549331665039,0.293385120791022 …

Software Development c++
Member Avatar for Quan Chi2
0
162
Member Avatar for travis67

Hi again. I need to make tooltip work on mouse click, so when I click on the button for an example, a popup info should appear.

Software Development
Member Avatar for travis67
0
220
Member Avatar for Your_mum

Right, so I looked at some python tutorials about interfacing with internet, but every time a use a code such as: [code] import urllib pagetext = urllib.urlopen("http://www.python.org.html").read() print pagetext [/code] It just comes up with a load of error messages. how can i sort this

Software Development python
Member Avatar for vegaseat
0
129
Member Avatar for mario20055

HI Team, First of all, I'm new to C++, so my knowlege is like 2% and I would like to thank you for any help provided. Well I'm working on a project that looks like this: -- I'm creating an executalble (EXE) that will monitor and create a file into …

Software Development c c# c++ file-system ios
Member Avatar for mario20055
0
2K
Member Avatar for thilinam

Please tell me how to create a multi diminsional array using pointer(dynamic array, set size at run time).

Software Development c c# c++
Member Avatar for Ancient Dragon
0
162
Member Avatar for emint

helo, can any one help to read one class from another class. i em knew with java actually. i got class a which has got sub class b static class. now i em trying to access class a from another class c using button. when in class c user click …

Software Development java
Member Avatar for emint
0
161
Member Avatar for mrayoub

hi, well this is my first post on this great forum, hope to be a good boy :) i m writing a programm that adds numbers from 0 to any numer entered by the user . for Example : - if the user enter 4, the sum will be 10 …

Software Development c
Member Avatar for ajay.krish123
0
167
Member Avatar for muhandis

I'm having some of trouble understanding exactly how an MFC GUI works. What is the resource file for and exactly how does it relate to the classes you create (e.g. the subclass of CDialog)? Specifically, I want to add some bitmap buttons (CBitmapButton) to my dialog, so I followed the …

Software Development c++ gui
Member Avatar for muhandis
0
230
Member Avatar for iantoya

Is making a program altering a registry of an OS? Thanks for the answers

Software Development visual-basic
Member Avatar for iantoya
0
147
Member Avatar for fernando82

Hi everyone! I have a problem related with dates.... i have some textbox where i put dates to send to a database... i have conditioned the input just for numbers and / (backslash), but how do i check that no one inserts a format that's not dd/mm/yyyy... if i put …

Software Development visual-basic
Member Avatar for kehar
0
159
Member Avatar for serkan sendur

let say my setup project deploys three executables and i create a new version of my software. in the next installation i want to detect which components are deployed with previous installation. what is the best way to do that?

Software Development
Member Avatar for kvprajapati
0
98
Member Avatar for murid

if I want to send an animated GIF format picture, how do I save the picture in destination folder? I already using "System.Drawing.Imaging.ImageFormat.gif", but the GIF picture no longer animated, it become like JPEG format. another help please...

Software Development vb.net
Member Avatar for Teme64
0
189
Member Avatar for tyserman5674

Hi Everyone, I need help with using isdigit in C. What I am trying to do is verify that the user input is numeric. In my program, as is, I get the error: line (21) : error C2061: syntax error : identifier 'isdigit'. If I remove the "if" from in …

Software Development c
Member Avatar for tyserman5674
0
145
Member Avatar for joed13k1941

Anyone know how to accomplish this task on visual studio with C++? Write a program that reads a series of numbers (doubles) from the user, then prints the mean and the range. Notes: • You do not know ahead of time how many numbers will be in the list. • …

Software Development c++ visual-studio
Member Avatar for collegetextbook
0
304
Member Avatar for Whilliam

Hello.. im having a problem with my code.. when i save a file, then choose another variable and load the file, then try to display it, all that it display are garbage values.. i know the problem is either in function save_file or function load_file.. can anyone please help me.. …

Software Development c file-system
Member Avatar for csurfer
0
218
Member Avatar for Tamir09

Im trying to format my xslt form to a table that I have: Horsepower-Electric Values Revolutions Number of Disks blank num 1 num 2 num 3 rev1 hpe1 hpe2 hpe3 rev2 hpe4 hpe5 hpe6 rev3 hpe7 hpe8 hpe9 And so far, Ive gotten the xslt form to come out somewhat …

Software Development xml
Member Avatar for Tamir09
0
334
Member Avatar for serkan sendur
Member Avatar for Hiroshe

I'm trying to write my own function from scratch to add large numbers. This function takes the input of an unsigned long long array, with each number being 10 didgets long (the reason for the long long signed is becouse I might expand it) and adds it to the output …

Software Development c
Member Avatar for Hiroshe
0
202
Member Avatar for turbomen

May I ask you a question on Delphi? The following is my question: Write a program that asks for two numbers from the user. Add these numbers together and store them. Then output to the screen the equation with the correct answer. Eg please enter a number 28 please enter …

Software Development delphi pascal
Member Avatar for turbomen
0
177
Member Avatar for MrNoob

hello i coding a program that need to sum array according to its num like for example num[0] will only do that and num[1] sum[1]=num[0] +num[1]; sum[2]=num[0] +num[1] +num[2]; etc i got one idea first i will fill the num array with numbers then i go through after that with …

Software Development c
Member Avatar for MrNoob
0
89
Member Avatar for serkan sendur

do you know how to work with activesync using c#? i want to know if any device is connected to cradle. thanks

Software Development api
Member Avatar for serkan sendur
0
86

The End.