43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for tortoiseman

Hey everybody, I'm a little stuck on this simple program I'm trying to run. Right now it takes in a list of words and makes a single string out of them, but what I really want to do is make each word into its own new string, or maybe create …

Software Development c++
Member Avatar for tortoiseman
0
91
Member Avatar for dmanw100

Are there any standard C++ libraries that support multithreading other than windows.h?

Software Development c++ multithreading
Member Avatar for kux
0
154
Member Avatar for lllllIllIlllI

Hi I have made a program that uses a GUI for most of its functions but as soon as i change it to an exe using py2exe all the buttons turn all square and everythin looks like it came from windows 98 rather than XP. Is there any way to …

Software Development gui python
Member Avatar for lllllIllIlllI
0
903
Member Avatar for guest11

hi all, I am facing small problem in access database . I am using MS-Access database in our application and i secure it by setting password to my database. But now i want to acces that database through coding in my vb application but it is generating error. So can …

Software Development microsoft-access visual-basic
Member Avatar for guest11
0
83
Member Avatar for iamdaniel123

Is it possible to open a hyperlink and display the data in a label or text box? I have a table in Access where the data type of a record is a hyperlink. I would like to open that hyperlink and display the data in a label or text box. …

Software Development visual-basic
Member Avatar for iamdaniel123
0
368
Member Avatar for dinilkarun

Hi, I am using a dialog box where user selects a .txt file from the local drive. The selected file along with the folder path is displayed in a textbox on the form. The user can now edit the textbox. On click on 'Proceed' button, I am saving that path. …

Software Development file-system python
Member Avatar for dinilkarun
0
141
Member Avatar for Evan M

I'm creating a multiplayer game using winsock, but I've been having several problems with winsock. I've been searching for an alternative to it, but I haven't found anything. If anyone could point me to something I could use in place of winsock (a free something), I would greatly appreciate it.

Software Development c++
Member Avatar for dmanw100
0
586
Member Avatar for llemes4011

ok, so, we have to make a program that displays the date 100 days from today, the day you were born, and the date 10,000 days after your birth date. I've done all that, but i want to take it a step further, i want the user to be able …

Software Development java
Member Avatar for llemes4011
0
145
Member Avatar for dmanw100

I recently completed a small console app that accepts input from the user and places it in a floating point array, which was implemented through a for loop. I have not spent much time studying error handling and was wondering if anyone could refer me to a useful error-handling tutorial. …

Software Development app-store c++ operating-system
Member Avatar for dmanw100
0
102
Member Avatar for ehsan_op

hello All, I am trying to write a multi threaded program in C++ , but it suddenly exits and i can not understand what happens , it actually do not get any error message or exceptions error , just get out of the program. need your help, thanks . [code=c++] …

Software Development c++ multithreading
Member Avatar for ehsan_op
0
146
Member Avatar for iamnoangel26

I wanted to add a loading screen to my program. My code is [code] Private Sub Timer1_Timer() Dim x As Integer x = 1 If Me.ProgressBar1 >= 10 Or x >= 10 Then Unload Me MDIForm1.Show Timer1.Enabled = False Else x = x + 1 x = Me.ProgressBar1 End If …

Software Development visual-basic
Member Avatar for Jx_Man
0
124
Member Avatar for Dekudude

Hi there! Let me start by saying this-- I have no experience with regular expressions. Simply put, I want a function that turns an array [eg: func(array)] into... an array, but add ONE space on both values. Meaning: [code=Python] array = ['red','blue'] #returns ['red','blue'] array = func(array) # returns [' …

Software Development python regex
Member Avatar for Dekudude
0
132
Member Avatar for floros

Hello there, I'm trying to compile a project in Visual Studio 2005 and the compiler finds errors in the file fstream.h. Some of them are: c:\program files\microsoft visual studio\vc98\include\fstream.h(88) : error C2872: 'streambuf' : ambiguous symbol c:\program files\microsoft visual studio\vc98\include\fstream.h(89) : error C2872: 'streampos' : ambiguous symbol c:\program files\microsoft visual …

Software Development c++ visual-studio
Member Avatar for VernonDozier
0
190
Member Avatar for J3STER

Hi All, new to this, and i havnt done much python programming, i have written a program to write data to a text file. each time i use the program, it appends the data to the file and leaves two lines between the sets of data however, i want to …

Software Development file-system gui python tkinter
Member Avatar for J3STER
0
106
Member Avatar for cam875

Could someone give me a detailed explanation or give me a resource that explains something like how if I created my own custom 3D model that had 8 vertices would that be the same as saying 8 polygons because I always here talk about things like game developing companies throw …

Software Development c++
Member Avatar for cam875
0
89
Member Avatar for scrypt3r

I recently searched google for a code snippet for creating a ftp uploader and i found this code-> [code]Dim ftp As New Chilkat.Ftp2() Dim success As Boolean ' Any string unlocks the component for the 1st 30-days. success = ftp.UnlockComponent("Anything for 30-day trial") If (success <> true) Then MsgBox(ftp.LastErrorText) Exit …

Software Development vb.net xml
Member Avatar for scrypt3r
0
202
Member Avatar for Alex Edwards

Is there any real different between using an union between two types and a reinterpret_cast between two types, for example-- [code=c++] #include <iostream> int main(){ union{ unsigned short *a; float *b; }; float value = 0.6f; b = &value; std::cout << *a << std::endl; unsigned short *s; float *f; f …

Software Development c++
Member Avatar for vijayan121
0
2K
Member Avatar for sonicmas

I'm new in c++ programming. I have to do a program to save data from classes (Student, Teacher and Statistics). What may i use to save that values? (File, sql...) and how to use. If some one show me a litle program....:icon_smile:

Software Development c++
Member Avatar for sonicmas
0
166
Member Avatar for OutOfReach

Hello guys. I am having trouble with QTabWidget: I can't add multiple widgets with addTab nor insertTab. even when I try something like: [code=python] self.widget1 = QListWidget() self.widget2 = QPushButton("Foo") self.widget3 = QLabel("Bar") self.tabs = QTabWidget() layout = QVBoxLayout() layout.addWidget(self.widget1) layout.addWidget(self.widget2) layout.addWidget(self.widget3) self.tabs.addTab(layout, "Foobar")[/code] It will raise an error that …

Software Development python
Member Avatar for OutOfReach
0
1K
Member Avatar for edouard89

Hello once again everyone, my previous [URL="http://www.daniweb.com/forums/thread141733.html"]problem [/URL] appears to be resolved right now thanks for everyone who has helped. I have to make the following derived class [quote] Your LField class is derived from your Field class and represents a line field. Upon instantiation, an LField object receives between …

Software Development c++
Member Avatar for edouard89
0
124
Member Avatar for errorman

[code=language] #include <iostream> using namespace std ;char (name)[20]; int helps; void (checkOutVillage) (void); int main(void){ { std==cout << "Please Enter Your Name!" << std==endl; cin >> name; std==cout << "You Are On A Great Quest" << name; << std==endl; std==cout << "There Is A Small Village In Trouble. Should We …

Software Development c++
Member Avatar for VernonDozier
0
371
Member Avatar for edouard89

Hello everyone I have to create a class that has the following: [quote] Your Field class is the base class from which you will derive all other Field classes. Your Field class has the following public member functions, all of which are virtual: * void display() - does nothing here, …

Software Development c++
Member Avatar for edouard89
0
296
Member Avatar for errorman

I made a script and it keeps saying error C2144 and fatal error C1004 [CODE] #include <iostream> using namespace std ;char name[20]; int helps void checkOutVillage (void); int main(void); { std::cout <<"Please Enter Your Name!" <<std::end1; cin >> name; std::cout << "You Are On A Great Quest" << name std::end1; …

Software Development c++
Member Avatar for ArkM
0
91
Member Avatar for reaven

I have an application that i want to run a batch file from it all i get is the flashing CMD windows but is not running. at one time I get it to run but dont know what happen start modyfying other things and stop working. what i really want …

Software Development file-system
Member Avatar for reaven
0
194
Member Avatar for Elmo_loves_you

Hi I have a stored procedure that returns the unique ID for a particular Name/string passed in. On my windows form I have a ListBox control filled with a list of names (returned from another stored procedure) I want to be able to let the user click the list box …

Software Development
Member Avatar for Elmo_loves_you
0
205
Member Avatar for godlike111

help me make a code please... i need a code when you pick one of the menu then the menu you pick will show up... then when you press anything it will go back to menu again.... can someone show me the code please???.... Thanks......

Software Development c++
Member Avatar for murderotica
0
103
Member Avatar for Stefano Mtangoo

Hello Guys, I have problem with Bindinging Event to menu. Every time I run this on IDLE (F5). I get always Attribute error that self have no attribute OnPrint. What's wrong with the Code???? [CODE] # SMD Inc since 2003.py import wx ID_ABOUT = 100 ID_PRINT = 101 ID_EXIT =102 …

Software Development python
Member Avatar for Stefano Mtangoo
0
116
Member Avatar for esy928

oh no! i double posted the thread! how do i delete one? sorry

Software Development java
Member Avatar for esy928
0
304
Member Avatar for sanbal

In my installer project i added few project outputs. When compiling the code, i am getting the warnings as Warning 11 Two or more objects have the same target location ('[targetdir]\2.4.7.0814\bccrypto-net-1.0.dll') To remove the warning, rightclick the dll and select the properties windows. In that set Exclude property value to …

Software Development
Member Avatar for Ramy Mahrous
0
168
Member Avatar for harry_b

Hi i am trying to write a program in vb.net that will display text sequentially one word at a time in the centre of the screen. I have managed to split file into words but i am just stuck here lacking knowledge how to program the rest. I would appreciate …

Software Development flash vb.net
Member Avatar for harry_b
0
194
Member Avatar for cam875

Ok so I am going to be switching to an ubuntu linux machine soon to do all of my coding and I was wondering if anyone has a reference to the function calls you can use with it because I am used to windows programming so now in my code …

Software Development c++ ubuntu
Member Avatar for cam875
0
131
Member Avatar for ceyesuma

[code] <id column="PERSONID" name="personId"> <generator class="increment"/> </id> [/code] What is this animal? is it setting a primary key? like wise [code] <set cascade="all-delete-orphan" inverse="true" lazy="true" name="trips" table="TRIP"> <key column="PERSONID"/> <one-to-many class="travel.Trip"/> </set> [/code] is this setting up like a file or list or something that uses like attributes? taking the …

Software Development java
Member Avatar for ceyesuma
0
100
Member Avatar for waldchr

Hi I was wondering how to create a window to run my programs in. It talks about it in many posts but I couldn't find anything on how to actually make one. I have no idea where to start so you will need to tell me pretty much everything (e.g. …

Software Development c++
Member Avatar for Duoas
0
90
Member Avatar for gispe

Hi ppl, im back here, but now with an array problem.. this time im doin a simple program to compare the numbers in an array n then say how are they ordered.. user must type those numbers.. [code=plusplus] #include "stdafx.h" #include <iostream> using namespace std; void comparison (int number[]); void …

Software Development c++
Member Avatar for Ancient Dragon
0
131
Member Avatar for ceyesuma

private void buildPersonOptions(){ List<Person> personList= null; } I put this code in and it asked to import the class Person. as far as I know there is a null list(personList) of the type List. so why is the List have this thing? <Person> is what? -Steve

Software Development java
Member Avatar for ceyesuma
0
101
Member Avatar for Kcin

OK, first of all, thank you for coming trying to help. anyways, i need help on making a program that counts how many words you have typed. REstriction: Must use Strings... Please help me, thx in advance.;)

Software Development visual-basic
Member Avatar for dspnhn
0
507
Member Avatar for 2ashwinkulkarni

Hi, I wanted to know if there is a way to read multiple csv files from a folder, process them one by one and write the output to corresponding output files. Also it is necessary that the if the name of the input file is foobar.csv then the name of …

Software Development python
Member Avatar for 2ashwinkulkarni
0
2K
Member Avatar for rapture

Hey all, I know this is probably easy but I'm going cross eyed looking at my code. When I used [code] List<string> SOID; //SOID is the database name for the filepath List<string> filesInDatabase = GetDatabaseFileName(out SOIDs); List<string> filesOnServer = GetServerFileNames(); foreach ( string fileName in filesOnServer ){ string fileWpath = …

Software Development
Member Avatar for rapture
0
138
Member Avatar for Stefano Mtangoo

Hello guys, I'm new to python I want to use wxPython for Gui programming The main problem to me is how to start wxpython have good looking but then no documentation regards steve

Software Development gui python
Member Avatar for ZZucker
0
135
Member Avatar for asymmetric

hi! i'm doing a university project in asm using the assembler found in tanenbaum's book "[i]structured computer organization[/i]"([URL="ftp://ftp.cs.vu.nl/pub/evert/"]ftp here[/URL]), which produces code to be run on a [B]8088[/B] emulator (s88) so, what i wanted to ask is: say i want to call a subroutine that needs some variables. the most …

Software Development assembly
Member Avatar for Salem
0
127
Member Avatar for ceyesuma

[code] Query q =session.createQuery("from Person"); [/code] ? so there is a Query q named "from Person") I don't understand how the actual query reads(via SQL). Can someone explain this code: because clearly there is a personList and a personOptions of the type Option[] the size of personList.size() and the 4 …

Software Development java session
0
64
Member Avatar for ajithraj

haii.. [B]do anyone know any garbage collection command for java.... did we have to did that command for all object or will be done collectively?? [/B] thank u.....

Software Development java
Member Avatar for onkar81
0
108
Member Avatar for raul15791

Hi, I'm new in Visual Basic. Here's a few questions: 1. What is the difference between VB and VB.net 2. Any good ebook you guys recommend for VB and VB.net?? (I've learned Perl, C++ and Java) 3. If I want to learn VB.net do i need to learn ASP.net first? …

Software Development asp.net ide perl vb.net visual-basic
Member Avatar for sendoshin
1
2K
Member Avatar for OmniX

vector<string> div; div.pushback("a"); div.pushback("b"); div.pushback("c"); for(int i= 0; i < div.size(); i++) { cout << "Letters: " << div[i] << endl; } cin.get(); Output: Letters: a Letters: a, b Letters: a, b, c I would like the output like this: Letters: a Letters: b Letters: c Thanks for your help …

Software Development c++
Member Avatar for iamthwee
0
120
Member Avatar for jainendra.shah

hi frds, I have created a user control with the Imagebox control, label and a checkedlistbox control. then I want to access checkedlistbox control from my application form. But unable to find any properties or event who manage directly to checkedlistbox control. Plz provide way how to access that control …

Software Development
Member Avatar for AmirBedair
0
3K
Member Avatar for murderotica

Hello there! I'm currently doing some VC++ programming. I'm using MFC programming and DLL which is explicitly linked. I have placed my initialization and the usage of GetProcAdress inside my "buttonClicked" function. When a button is clicked, the function in the DLL should be called. [CODE] void CSample::buttonClicked(){ if(hLib){ pSampleFunc …

Software Development c++
Member Avatar for murderotica
0
155
Member Avatar for Stefano Mtangoo

Hello guys! How are you doing all I again need help:?: Can anyone help me to get SPE IDE run as executable using py2exe? I have tried using code below what I get is exe file but when I run it I get message .....needs higher version of wxpython... error, …

Software Development ide python
Member Avatar for Stefano Mtangoo
0
157
Member Avatar for murderotica

Hello there. I'm a bit new to creating DLL's. I've been learning a bit and I have created my own (finally). Well, my goal is to load my DLL to an application in VC++ and VB. I have successfully loaded my DLL in VB but having some trouble in VC++. …

Software Development c++
Member Avatar for murderotica
0
108
Member Avatar for dinilkarun

Hi, I have two functions. The first function fills the first three fields of the first row of an MS_Access table. I want to fill the remaining fields of the same(1st) row in the second function. Presently the second function fills the remaining fields of the next(2nd) row while the …

Software Development visual-basic
Member Avatar for dinilkarun
0
180
Member Avatar for OmniX

I have variables a, b, c = 1, 2, 3. I would like to make it a string abc. [code] int a = 1; int b = 2; int c = 3; string abc = ""; abc = a + "" + b + "" + c ; count << …

Software Development c++
Member Avatar for OmniX
0
169

The End.