64,152 Solved Topics

Remove Filter
Member Avatar for
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 …

Member Avatar for vijayan121
0
2K
Member Avatar for greeny_1984

hi, iam using the following javascript a page opener.location.reload( true ); but every time the page reloads iam a getting alert message. How can i reload a page with out a alert message

Member Avatar for greeny_1984
0
135
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:

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 …

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 …

Member Avatar for edouard89
0
124
Member Avatar for palavi

hi all,can anybody point out wats wrong in my database design, guide me right database ,i ve 4 tables i type all its attributes its for hospital database patient table pid, pfname, plname, pcontactno, page, pplace ,pdocname, pprob ,ptype(this is for out patient,inpatient), pbill. doctor table docid ,docname, docplace ,doccontactno …

Member Avatar for palavi
0
105
Member Avatar for Designer_101

Hey I host a website for a sports team, theres a nominations page where each member, when logged in, can cast a vote to whoever in the team they want to be captain for a tournament. The Problem is when someone votes i store the id, name and there vote …

Member Avatar for Designer_101
0
244
Member Avatar for palavi

hi, i ve hospitaldb created in MYSQl, i have connectivity problem like[CODE] String connectionURL = "jdbc:mysql://eall:3306/hospitaldb"; // declare a connection by using Connection interface Connection connection = null; // declare object of Statement interface that uses for executing sql statements. PreparedStatement pstatement = null; // Load JBBC driver "com.mysql.jdbc.Driver" Class.forName("com.mysql.jdbc.hospitaldb").newInstance();[/CODE] …

Member Avatar for palavi
0
141
Member Avatar for anitha joe

Hey all, I have 2 .aspx pages. I want to have a connection between these 2 pages through a button click event..From one of the ASP.Net books I came to know about this link buttons,whose main job is to connect 2 web pages..Well that worked fine.. Now my question is, …

Member Avatar for anitha joe
0
433
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 …

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

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

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 …

Member Avatar for reaven
0
194
Member Avatar for andrewgxx

Overview I have a form that the user fills in. A event to my C# codebehind page fires on the save button click. The btnSave_Click method load up the 3 LINQ Entities with the correct values. I call the LINQ method "InsertProject" to insert the data into the SQL tables. …

Member Avatar for andrewgxx
0
105
Member Avatar for sweet cLassy

i have trouble installing PHP load module by using apache version 2.0. i'm using windows. pls help before i go insane.

Member Avatar for mar12sky
0
179
Member Avatar for trevata

Hi ! I need a javascript code which sends variable to PHP. I have a drop down menu (<select>) in the select there are diffrent cities and i have an array of neighborhoods and when one city is selected, a part of that array shows up, e.g. from 13 to …

Member Avatar for trevata
0
149
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 …

Member Avatar for Elmo_loves_you
0
205
Member Avatar for ruhi

Hi, I have three dropdownlist: country, state and city. Based on the selection of country the data of state will be filtered and similarly depending on the selection of state , the items of the city will be filtered. That is working fine. Now there is one gridview which contains …

0
80
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......

Member Avatar for murderotica
0
103
Member Avatar for Kusno

Dear all, I have a problem. I want to subtract two dates use JavaScript. First date source is from SQL database, I format it use ASP.Net code to "yyyy-MM-dd" without time and save it into TxtDate. The second date is from current date. I want subtract those two dates without …

Member Avatar for ~s.o.s~
0
157
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 …

Member Avatar for Stefano Mtangoo
0
116
Member Avatar for esy928
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 …

Member Avatar for Ramy Mahrous
0
168
Member Avatar for udaydesai

I have a Folder in that i have sub folders like excel_files, excel_files_backup , images etc and files like excel2.php , get_mail.php etc . In excel_files folder having excel files and excel_files_backup is an empty folder . iam uploading excel files in excel_files folder to database after inserting iam unlinking …

Member Avatar for udaydesai
0
190
Member Avatar for rickya100

Hi, I am learning about how to write OOP PHP code but I keep coming across lines such as [code=php] $this -> $sender = $sender [/code] I'd really appreciate it if anyone here could clue me in on this as I can't get any info on the web about it. …

Member Avatar for R0bb0b
0
1K
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 …

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 …

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 …

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

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 …

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

Member Avatar for ceyesuma
0
101
Member Avatar for rameshk_tvm

Hi, I have created a web page with javascript, its successfully working in firefox but not in internet explorer version 6 and 7. I am not good in scripting and I have done this page with the help of my friend. I have uploaded the zip file. It contain two …

Member Avatar for rameshk_tvm
0
141
Member Avatar for kohuke

Hi, Well to start od i decided to learn how to create jsp pages and finally finish my project. So i used the netbeans tutorial for making jsp pages. The sample worked fine, but when i wanted ti retrieve information from my own database it do not work like it …

Member Avatar for kohuke
0
140
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.;)

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 …

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

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

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 …

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 …

0
65
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.....

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

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 …

Member Avatar for iamthwee
0
120
Member Avatar for bheeks

Hi all I am currently sitting with a problem where I have created dynami controls in a seperate "htmlDesigner" calls I have created. Once I return the html to the calling page, I insert the Dynamically created HTML controls within the Page_Init section, which sets the controls onto the controlling …

Member Avatar for bheeks
0
108
Member Avatar for Thirusha

Hi I am trying to remove a session attribute from my app, currently i use the jstl tag remove to remove the attribute, this works in firefox when the browser is refreshed, but not in IE, so i then decided to use the session.removeAttribute method in a servlet that gets …

Member Avatar for Thirusha
0
69
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 …

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 …

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

Member Avatar for Stefano Mtangoo
0
157
Member Avatar for Stefano Mtangoo

Hello dears, I have problem with setting up a PHP bible ( [url]http://phpbible.org/[/url] ) to use in my page. Any help please! I really appreciate single jot to this problem, Steve

Member Avatar for Stefano Mtangoo
0
82
Member Avatar for shijunair

Hi everyone, I am facing a problem in my project .I am sure you'll will find a way out.I am working on a project leave management .now i am really confused as to how to go ahead.I am working with jsp and ms-access .Here the scenario is i have two …

Member Avatar for peter_budo
0
155
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++. …

Member Avatar for murderotica
0
108

The End.