132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Stefano Mtangoo

I want to make simple MSN/YAHOO Chat. I have some knowledge on sockets but I don't know what more I need to know. So My Question Is, what is pre-requisites before I jump into the Project. NOTE: The project is for learning Python/wxPython Thanks :D

Software Development python
Member Avatar for Stefano Mtangoo
0
110
Member Avatar for Annex31b

Hi! How can I call the matching constructor [CODE=csharp] foreach (Animal d in AnimalBufferList) { this.Add( ....call matching copyconstructor.... (d) ); } . . . [/CODE] [CODE=csharp] abstract class Animal { public Animal (Animal d) { } . } } class Pig: Animal { public Pig(Pig d): base(d) { } …

Software Development
Member Avatar for sknake
0
163
Member Avatar for walter clark

I have two recommendations for those already familiar with command line C++: [LIST] [*]Here's a trick: put your cursor on a blank place in your code and hit Ctrl-Space. That will call up IntelliSense for all commands that work for the type of program you selected when you ran the …

Software Development c++
Member Avatar for Stefano Mtangoo
0
226
Member Avatar for samli88

How would u determine the end of a word using pointers?

Software Development c
Member Avatar for tux4life
0
272
Member Avatar for GeekByChoiCe

Im trying to inject my vb.net dll into the notepad process to hook one of its functions. Now it seems i face two problems.... GetProcAddress returns 0 (it also does if i call that function via c++ dll) Its might be Vista? anyway next problem is that i want to …

Software Development vb.net
0
484
Member Avatar for arunkumars

hi, i have problem wit displaying the time in my windows forms. this is wat i have given [code] lblTime.Text = Datetime.Now.ToShortTimeString(); [/code] the problem wit this is once i open the application the time is shown, but it is not updating as it is in the system time. so …

Software Development
Member Avatar for S2009
0
134
Member Avatar for jdm

I'm working on a program that lets the user watch random videos and view random images. I have it to work, but I want to be able to check to see if the image is there and if so view it and if not then pick another image. Here is …

Software Development c++
Member Avatar for jdm
0
88
Member Avatar for iPKu

Hello! I'm having an problem.. while compiling one of the sources. ERROR = Error 5 error LNK2019: unresolved external symbol "int __stdcall WSPConnect(unsigned int,struct sockaddr const *,int,struct _WSABUF *,struct _WSABUF *,struct _QualityOfService *,struct _QualityOfService *,int *)" (?WSPConnect@@YGHIPBUsockaddr@@HPAU_WSABUF@@1PAU_QualityOfService@@2PAH@Z) referenced in function _WSPStartup@76 spi.obj ifslsp Thank You for your help. [CODE=c]int WSPAPI …

Software Development c
Member Avatar for bbinesh
0
401
Member Avatar for GDICommander

Hello, everyone! It's been a long time using C++ and I have a link problem. This is the code... [CODE] #include <iostream> #include "libc++/pcslib.h" int main() { std::cout << "About to load the server and all the clients." << std::endl; Pcs serverProcess("server"); Pcs clientProcess("client"); serverProcess.Join(); clientProcess.Join(); std::cout << "After joining …

Software Development c++ client-server
Member Avatar for GDICommander
0
116
Member Avatar for laghaterohan

i have calendar placed on my form i have one textbox n a button("Show date") When the user enters date in the textbox say 29/07/2008 and click on the show date button the calendar should show / reflect that date.. how to achieve this...i knw...it ll b simple but am …

Software Development
Member Avatar for laghaterohan
0
172
Member Avatar for BlkR

Hi guys, After figuring out the update data to listview in another post, I have this problem with my textbox I have a textbox that allows the user to enter a certain number, when that textbox has lostfocus(as i have currently set) it will check the database and retrieve the …

Software Development listview vb.net
Member Avatar for BlkR
0
91
Member Avatar for buyap

I m a beginner. Using open source, I have compiled a freeware Eng-Hindi dictionary in C# with a 40K word data input source as a Text file. Is there someway to modify / hide the said Text file from front end user. Thanks.

Software Development open-source
Member Avatar for sknake
0
137
Member Avatar for Renegard

Hi guys! I am trying to make an object oriented program for matrix addition, but I am stuck right at the beginning. I would like to have an 2D array as a class variable and another two class variables would define the arrays x and y coordinates. Something like this: …

Software Development c++
Member Avatar for Nick Evan
0
147
Member Avatar for spalax

Hi all, i'm trying to get a specific line in a text from a text file. In fact i want to read just the eight first line from my text file. It's only return the four first line. why? here is my code but, there is Format problem. [CODE]import java.io.*; …

Software Development file-system java
Member Avatar for sneaker
0
289
Member Avatar for waqarafridi

Can some body tell me how to take SHA-1 of a given string in C. I am using ubuntu 9.04 with kernel 2.6.30.

Software Development c ubuntu
Member Avatar for Dream2code
0
342
Member Avatar for ITechno

Hi buddies...!!! M an MCA(2nd Yr) Student.....And in a need of Some Project Topics in C++,which can be completed within a span of two months and the topics should be related to the following subjects..... Networking,DBMS,DAA(Design Analysis of Algorithms) or TCS(Theorotical Compiler Construction) Please help me as fast as possible......

Software Development c++
Member Avatar for ITechno
0
117
Member Avatar for choybutchoy

hi, Im just wondering on how I could get a columns and a record count I mean the whole thing in a database aside from executing this statement [icode] "select count(*) from myDatabase" [/icode]...is there another statement that i can use instead of this one coz it doesnt retrieve any …

Software Development java
Member Avatar for choybutchoy
0
144
Member Avatar for abby2589

this is my codes in banking system please bear with my codes..im just new in doing classes *can you help me with this error..tnx!! [CODE]#include<stdio.h> #include<iostream.h> #include<stdlib.h> #include<conio.h> #include <time.h> class Account { public: void Account::existing(void) { cout<<"Account #: "; cin>>user; cout<<"Pin # : "; cin>>pin; for(i=0;i<3;i++) { if(!strcmp("dlsl",user)&&("3645",pin)) { …

Software Development c++
Member Avatar for thelamb
0
129
Member Avatar for elidotnet

I was published this problem over 10 forums and no one know what the solution for that. i try to make some application that deal with billboards and advertising. When i want to make order for some billboard i need to fillup the billboard number (wich his number is string …

Software Development advertising
Member Avatar for elidotnet
0
196
Member Avatar for Mortez Maya

Hi everybody. Do you know what's equal for code "app.patht" in c#.net 2008 ? I tried "Application.ExecutablePath" and "Application.StartupPath" but they didn't work. I think they have their own name spaces that I havent added them.

Software Development c#
Member Avatar for Mortez Maya
0
761
Member Avatar for ITTOBE

I'm trying to write a code that will calculate three products and provide a receipt. Right now the button will display a '0' instead of the 'Total Cost' that I want it to display. And nothing comes up in the (list) box that the receipt is suppose to be displayed …

Software Development visual-basic
Member Avatar for jhai_salvador
0
209
Member Avatar for malou_baby08

hello, can u pls help me sir about my problem in the level order travelsal?... i did trace my code and i found no wrong. but when i compile it, there's something wrong in it and i dont know where... thank u very much! [code] int count = 1; public …

Software Development java queue
Member Avatar for malou_baby08
0
69
Member Avatar for rwagnes

I am using mfc and I have a *.rc file containing a number of dialogs. I have modified one of the dialogs to include a tab control (dragged from the dialog editor in design mode). When the file is opened in textpad, that dialog now looks like this: -------------------------------------------------------------------------------------------------------- [CODE]IDD_ABOUTBOX …

Software Development c++
Member Avatar for Salem
0
409
Member Avatar for TubbyT

hey guys im trying to work this out for a school assignment, i cant get the destroy function to work whith the button i created, heres mycode see if you can look at it and tell me whas wrong import Tkinter as tk root = tk.Tk() root.title('background image') def qwerty(): …

Software Development gui python tkinter
Member Avatar for Murtan
0
134
Member Avatar for xiikryssiix

after a lot of fussing, my code finally compiles properly. but once again, its not calculating the things i want. PROBLEM: doesnt calculate "scores entered by user" doesnt calculate "highest max score" doesnt calculate "lowest min score" as far as the scores entered by user... i was hoping this.. if …

Software Development c++ linked-list
0
89
Member Avatar for hajjo

hello, what is java spring? i read its a framework. but what compiler do i use to work with it? and from where i can download java spring? i tried this page [url]http://www.roseindia.net/spring/springdownload.shtml[/url] but their explanation, i dont find the things they put.

Software Development java spring-framework
Member Avatar for BestJewSinceJC
0
118
Member Avatar for onindita

hi, i m very new here and also in programming world. i tried to make a program that prints happy and unhappy numbers. but that prints only unhappy numbers and then it goes back to while loop where j remain 0. how can i fix the problem? plz someone help …

Software Development java
Member Avatar for BestJewSinceJC
0
143
Member Avatar for milhero

Hi Professionals, I am working on a mass emailing program. I can send mass email successfully. My question is how do i add attachments? i have a label(lblAttachment), a textbox(txtAttachment) and a button(btnBrowse) on the attachment row. Here are my codes for the form:- Please advise. Thank you in advance. …

Software Development email vb.net
Member Avatar for milhero
0
123
Member Avatar for medopunsher

HI , i need help with a c++ code that downloads a single file from a DIRECT link and save it somewhere on the computer i am working under windows and i have searched google but i didnt find anything simple just tons of codes that i cant understand i …

Software Development c++
Member Avatar for Ancient Dragon
0
225
Member Avatar for xiikryssiix

ok. im pretty much done with this small program my teacher asked us to write. my problem is: it wont give me how many scores there are above average. it keeps giving me 0. i dont get it. maybe im overlooking something? i think something is wrong in my [color=#33FF33]// …

Software Development c++ linked-list
0
65
Member Avatar for sravan953

Hey guys! I want to make a Python script and I want to upload it online via Webs' free file hosting service. Basically, what I want to do is, when any user visits my website, the app stored on the server should immediately fire up and do some function(I haven't …

Software Development python
Member Avatar for sravan953
0
243
Member Avatar for freddiecool

Hi im working on an encyclopedia. The problem im having is the following: in next print car_num, len (car_list) NameError: global name 'car_list' is not defined [B]Line 62[/B] I might also add that before i moved car_list into a separate script/module, everything worked fine. The idea is basically to have …

Software Development python tkinter
Member Avatar for freddiecool
0
578
Member Avatar for slatk3y

Hello, I am having problems with templates. I wrote a templated version of vector. My vector is working. Here is the header file for it: [code=C++] // m_vector_g.h template<typename T> class m_vector { private: // Some code here... public: // Some code here... }; [/code] I want to make another …

Software Development c++
Member Avatar for slatk3y
0
101
Member Avatar for gsingh2011

So I've been trying this for a long time and I've given up. I can't code it myself and no examples are helping. I want to log on to a website and return some text from it. The returning text part won't be hard, the logging in is the problem. …

Software Development python
Member Avatar for zachabesh
0
1K
Member Avatar for shou2009

Hello everybody, I need your help for my C project..... The details of the program is given below :---- 1) [B] The input of the program will be another C program, and that is from a file.....( Please note this carefully)[/B] 2) [B] You have to check the syntax of …

Software Development c c# c++
Member Avatar for Nick Evan
0
298
Member Avatar for Josh_Hcq

I'm working on a project in which i have to use J2ME. I've tried a few tutorials but they seem only to be especially oriented to specific problems, and in my programming experience i've learned that's always better to globally know your environment. If anyone knows an e-book (or book) …

Software Development java
Member Avatar for peter_budo
0
105
Member Avatar for bgk111

Well, I just had another issue resolved and have come to another one that baffles me, and as I can find little to no documentation on the pgdb module, I thought I'd sound you guys out again. I am attempting to insert values into a table in postgresql, and while …

Software Development postgresql python
Member Avatar for bgk111
0
144
Member Avatar for lolwtf

Hey all, I have a listbox, textbox, and search button on my form. I am populating my listbox with data from a sql database. I need to be able to seach my listbox and filter it. Here is what I have so far: [code] Sub RefreshListBox() Dim DSDept As New …

Software Development dataset vb.net
Member Avatar for lolwtf
0
98
Member Avatar for timbuck2

Hey, I've been researching ways to code in C++ and manipulate excel files (i.e. read and write data). Right now I've written macros in VBA that output a .csv file that is read by my C++ program. It all works, but I'm still wondering if I can just write all …

Software Development c++ pdf
Member Avatar for timbuck2
0
218
Member Avatar for shea279

I created a dialogbox, with controls, by using the DialogBox() function and a resource file with the controls in it (IDD_DIALOG1). But I'm having an extremely hard time finding a function which will add a menu, also in the resource file, to a dialog created in such a way (IDR_MENU1). …

Software Development c++
Member Avatar for shea279
0
89
Member Avatar for dontgetit

Hey, So i am completely new to python. I am taking a course at school by distance and i am unable to get the help/explanation to complete...or really start, my assignment. I am supposed to make a working chequebook calculator. It will store cheques (the cheque number, the amount and …

Software Development data-science python
Member Avatar for zachabesh
0
145
Member Avatar for teddyg18

when you run an ifstream in c++ and go into a textfile what is the data in the file converted to? this is my code [code] #include <iostream.h> #include <fstream.h> #include "TGraph.h" #include <time.h> #include "TDatime.h" void deeznutz() { char inputFilename[] = "data.txt"; ifstream inFile; int x; inFile.open("data.txt", ios::in); if …

Software Development c++ ios
Member Avatar for teddyg18
0
160
Member Avatar for Shaun1987

Hi, I am very new to Java and am using Breezy Swing. I basically need to create an array of JButtons (26 in total) and display them on a form (9 on the top row, 9 in the middle and 8 on the bottom) and I have no idea of …

Software Development display java java-swing
Member Avatar for anand008
0
1K
Member Avatar for tedhead2

I have been using VB.NET for a while now, and I can make a ton of things. But for some reason, I can't connect to SQL. I use SQL 2008 express, and Visual Basic 2008 express(will soon get Visual studio :)) So, I go to add a database, I enter …

Software Development sql vb.net visual-basic visual-studio
Member Avatar for tedhead2
0
128
Member Avatar for agent154

I'm trying to figure out why the regexp "[A-Za-z0-9\-]+\.jpg|jpeg|gif|png" only seems to find "gif" when I run it on the source of an html file.. For example: I have the following code [code=c#] string URL = "http://www.google.ca"; string re = @"[A-Za-z0-9\-]+\.jpg|jpeg|gif|png"; WebClient wc = new WebClient(); Stream data = wc.OpenRead(URL); …

Software Development file-stream regex
Member Avatar for agent154
0
131
Member Avatar for Matchuel

Good Day, I am using an Ms Access Database to design a StockTracker applicaton. The application is used to check the stocks of users. Firstly I need to sign on as an administrator and then be able to add users and their stocks to the database. I have created the …

Member Avatar for Matchuel
0
129
Member Avatar for knowledgelover

hi there, how can I change string to xml and vise verse in java, in addition how can I add values to xml according to element name , I can imagine something like "setValue(elementName, the value) ; as we are using in java, any suggestions any help , please! thanks …

Software Development java xml
Member Avatar for knowledgelover
0
139
Member Avatar for yasaswyg

Im stuck with my project. I have no idea how to begin this project. I need to write a function that shuffles say for example a deck of cards. which is represented by an array of 52 elements. Every element in the array is a structure for one card like …

Software Development c
Member Avatar for Hiroshe
0
181
Member Avatar for DaBunBun

I'm working on a little code snippet and my c++ seems a bit rusty. How do i go about getting the length of an array? My eclipse is giving me weird values when it should be segfaulting, so I'm trying to figure out whats wrong. Thanks in advance. edit: forgot …

Software Development c++
Member Avatar for tux4life
0
163
Member Avatar for hughesadam_87

Hey all, I'm new to C and trying to pick up good habits before I get too routed in my ways. Essentially, I have a code which runs a mathematical test on an array, and depending on the percent error, it decides to continue iterating or stop. Essentially, I have …

Software Development c
Member Avatar for Hiroshe
0
88

The End.