132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ceyesuma

Is the a prescribed architecture for making individual components and then putting them together to make a complex component containing its individual components?

Software Development java
Member Avatar for Great_qiang
0
134
Member Avatar for radhachowdary

hi all i was installed jdk1.5 and oracle 10g. i got a runtime error like this. i want to compile and run the same program in command prompt and eclipse also . import java.sql.*; public class Oapp2 { public static void main(String args[]) { try{ Class.forName("oracle:jdbc:driver:OracleDriver"); Connection con=DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:xe","scott","tiger"); System.out.println("connected"); } …

Software Development java oracle
Member Avatar for ~s.o.s~
0
149
Member Avatar for hawisme000

ummm, i got a for that is connected to a database, and have an add, edit, delete cmd buttons. if example i have "MyName" already on a certain field of a table on a database, then on my form i wanna add "MyName" also, what i want is there will …

Software Development visual-basic
Member Avatar for hawisme000
0
134
Member Avatar for kilogul

Im having some problems to write a shell script which will give a certain type of file in the current directory. I.e if i want to delete a certain type of extensions like .psd or jpeg, i m having some problem in logic to make a shell script. The script …

Software Development shell-scripting
Member Avatar for eggi
0
112
Member Avatar for kartik07

I have been asked to buid a VB code which is flexible.Wen i take project from one place to another,i need not change path in all forms.If i change in one place,then it gets reflected in all other forms. ex:In com1,I hav path=e:\proj\a1.MDB which I use in al the forms; …

Software Development visual-basic
Member Avatar for kartik07
0
149
Member Avatar for BalaKrish

Hi All, I have to handle text files of larger sizes ranges from 10GB and more which are exported from some application softwares. The text files contains the required information scattered throughout the file. I need to gather all those information in a particular format to do further analysis. Say …

Software Development c++ file-system
Member Avatar for BalaKrish
0
109
Member Avatar for EnderW4785

Hello, I just recently started trying to write code that would automate a "reporting" function by writing to a microsoft word document. At this point, all I'm trying to do is open a new document, write some text, insert a picture, write some more text, save the file as a …

Software Development c++ microsoft
Member Avatar for lch
0
396
Member Avatar for complete

What value type is Global in Visual Basic? If I have something defined like this: [CODE]Global ErrorStatus& [/CODE] And I have know what data type this is. I have heard that the compiler sets the data type based on how it is used. Well, suppose I have this problem where …

Software Development visual-basic
Member Avatar for hkdani
0
148
Member Avatar for tgifgemini

[B][/B] [B]Ladies and gentlemen, first I want to wish each and every one of you a wonderful and prosperous new year.[/B] This is not really a problem. I am looking for an efficient and quick way to copy table content from one database to identical tables in another identical database. …

Software Development visual-basic
Member Avatar for hkdani
0
1K
Member Avatar for zeroground

i want to enter x1,x2 and y1,y2 and it displays the slope of the line...but there are some errors ,can anyone figure it out ? [code]#include<stdio.h> #include<conio.h> /* 2 point form*/ float findslope(float , float,float , float); float m,n; void main() { float a1,b1,a2,b2,; double result cout << "\n Enter …

Software Development c++
Member Avatar for toko
0
103
Member Avatar for zoner7

[CODE=C++] #include <iostream.h> int main() { enum Days { Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Â_Saturday }; Days DayOff; int x; cout << "What day would you like off (0-6)? "; cin >> x; DayOff = Days(x); if (DayOff == Sunday || DayOff == Saturday) cout << "\nYou're already off …

Software Development c++
Member Avatar for Lerner
0
89
Member Avatar for kehar

Hi, I have completed my project in all respect but I would like to include all table and report of Access and Crystal Report respectively in my VB 6 project SETUP FILE. So. pl help me to include such file while creating SETUP file. If there is no way than …

Software Development file-system visual-basic
Member Avatar for hkdani
0
157
Member Avatar for pprabhakar

i want to compilation flags, how many are there give me some flag names?

Software Development c
Member Avatar for Salem
0
231
Member Avatar for yangchen60
Member Avatar for Duoas
0
337
Member Avatar for zeroground

[code]#include<stdio> #include<iostream> #include<conio> /* 2 point form*/ float x1,x2,y1,y2; cout << "\n Enter values in order x1,x2,y1,y2: "; cin>>x1>>x2>>y1>>y2; float slope; slope=(y2-y1)/(x2-x1); float c=y1-slope*x1; cout<<"\nThe equation of the line is : y="<<slope<<" x + "<<c<<endl; [/code]

Software Development c++
Member Avatar for invisal
0
182
Member Avatar for maslak

I am a novice. I want to replace a content with a variable How do I do that ? Thanks

Software Development python
Member Avatar for sneekula
0
136
Member Avatar for laspal

Hi I am new to python. So i am having problem while coding. Here the code import sys class Person: def __init__(self): self.list = [] def AddContact(self): fname = raw_input("First Name:> ") lname = raw_input("Last Name:> ") street = raw_input("Street:> ") self.list = [ fname, lname, street] def ListAll(self): print …

Software Development python
Member Avatar for sneekula
0
102
Member Avatar for HB25

Hi I am working on a payroll program which have 3 forms. First form has three text box (First name, Surname, Total Hour) and one command button Calculate. After the user put the info he/she will click calculate button and this will show the second form which display the (firstname, …

Software Development visual-basic
Member Avatar for hkdani
0
646
Member Avatar for abu moh

hi iam study data structure by c++ and begin to doing the project , iam using microsoft visual stdio 6.0 ,found (18) error in the project ,can anyone help me to finish the project :'( ... the project found in the link !!?? :$ [URL="http://usasamm.googlepages.com/k.rar"]click here[/URL]

Software Development c++ data-structure
Member Avatar for Ancient Dragon
0
68
Member Avatar for enes

when ı compıle and run mey code vısual c++ says no labels were loaded . then when debug my program wıth break poınts ı cannot do ıt because debuggıng needs labels to be loaded.how can ı solve thıs problem?

Software Development c++
Member Avatar for dubeyprateek
0
108
Member Avatar for drkprgrmer

i have this small program that im using to test some things. i have a visual c++ at school but its like 5 years old or whatever and i got visuall c++ 2008 expess at home and i need to know how to get this program to get the vector …

Software Development c++
Member Avatar for drkprgrmer
0
102
Member Avatar for prasath

hi, will someone point me the reasons why a call to [B]malloc [/B]fails even if we have enough memory ?

Software Development c
Member Avatar for dubeyprateek
0
3K
Member Avatar for Cecilia_notes

I have a very interesting question here. DataGridView1 is for data input and display, I set its editmode to onkeystroke. When the current cell is NOT in edit mode, click mouse right button will bring up a contextmenustrip. If the menu shows up and you don't choose any menu item, …

Software Development vb.net
Member Avatar for Cecilia_notes
0
119
Member Avatar for TheBeast32

Hi again, i'm making a macro building pogram. I have got mouse movement down, but now i have no idea how to do mouse clicks or keyboard input. Please help! I'm also using dev-c++ 4.9.9.2. Here's my complete code for the program. [code=c++] POINT MousePoint; int X = 0; int …

Software Development c++ ios
Member Avatar for iamthwee
0
190
Member Avatar for phalaris_trip

Just trying to get my head around linked lists and I'm trying to all the standard container functions.. For a singly-linked list are these algorithms correct? [code=cplusplus] void pop_front(const T& t) { // Deallocate memory pointed to by head node<T>* tempNode = head; delete head; // Get new head head …

Software Development c++ linked-list
Member Avatar for Ancient Dragon
0
83
Member Avatar for Quakes

Hello there, I'm very new to C++ and I'm mainly using it for graphics using the opengl libraries. Anyway, I'm having trouble with some initialisation. I am writing a file reader class that will read a file containing vertex and face data for a series of polygons. Data.h [CODE]#ifndef _DATA_H_ …

Software Development c++ file-stream opengl
Member Avatar for Quakes
0
131
Member Avatar for jireh

the problem is this: Example I have five data in the datagrid(of course the data comes from the database.) and I want row of the datagrid to be highligted when the the data was found after searching it... If I have five rows and the data was found in the …

Software Development
Member Avatar for williamrojas78
0
130
Member Avatar for jobs

I have a CProgramA that need to call CProgramB just before CProgramA terminates. How can this be achieved?

Software Development c
Member Avatar for Salem
0
242
Member Avatar for corneliu9d

Hello! I'm newly registered, but I have taken a look here before. More precisely, [URL="http://www.daniweb.com/forums/thread73544.html"]here[/URL], a thread which helped me a lot, as I were a total beginner in working with MIDI. My problem is that, though I don't get any errors, I don't hear any sound. The funny thing …

Software Development c
Member Avatar for corneliu9d
0
173
Member Avatar for AaronASterling

Hi, I am new to VB. I am trying to parse an html file. I would like not to use a [code=VB.NET] WebBrowser [/code] control because it seems like overkill. The [code=VB.NET] HtmlDocument [/code] class appears not to work outside of a [code=VB.NET] WebBrowser [/code] control. If there is not …

Software Development api html-css vb.net
Member Avatar for AaronASterling
0
137
Member Avatar for prahalad

What are the basic questions to be asked about C# for an interview?

Software Development c c# c++
Member Avatar for msenthilrajan
0
167
Member Avatar for meanjean

Hello, I am new to coding in VB. I need to write a program which inputs several files. Since, I have more than 200 files - I would like the program to automatically open, process the file (I have this part written) and close each file and then complete the …

Software Development visual-basic
Member Avatar for SCBWV
0
43
Member Avatar for MCMdizajn

Hi, I am using MIcrosoft access 2000, and before 6-7 months I created database "Invoices". To be sure that no one can see code I used in my database, I have set password in Microsoft Visual Basic (under menu Tools>Invoices Properties>Protection). Since I nedded to make some changes in code, …

Software Development microsoft-access visual-basic
Member Avatar for SCBWV
0
143
Member Avatar for jimmy.rocks1

hi i implementing an algorithm where i broadcast packets in a network and i m doin it only c++. could any one help me in giving the code......

Software Development algorithm c++
Member Avatar for Ancient Dragon
0
87
Member Avatar for mildewyautumn

Hi.....need hel from u guys...would like to ask on the error with the coding below...the total dura_hour did not shown in the textbox...can anyone point out the mistake or the missing coding? Me.OracleSelectCommand2.CommandText = "SELECT sum(DURA_HOUR) FROM DOWNTIME" Me.OracleSelectCommand2.Connection = Me.OracleConnection2 OracleConnection2.Open() OracleSelectCommand2.ExecuteNonQuery() OracleDataAdapter2.Fill(DataSet141) txtRelia.DataBind() OracleConnection2.Close() thx in advance

Software Development dataset vb.net
Member Avatar for mildewyautumn
0
118
Member Avatar for Zeking

Hey there, I have been working with some functions from windows API and now I need to find similar set of functions for Linux. Actually I need functions for Linux that will pretty much do the same or similar thing. I have been searching on google trying "Linux API" , …

Software Development api c++ google-api windows-api
Member Avatar for Duoas
0
210
Member Avatar for wijitha

hi all...... Can you explain me how to get local timestamp in C++. regards wijitha.

Software Development c++
Member Avatar for Ancient Dragon
0
907
Member Avatar for bigbadowl

Hi All I'm a C++ noob so please don't be too harsh. I have written a tiny server using sockets. It forks children off for each connection. Trouble is I need have each child report back to the parent. I have been trying to set up a shared file using …

Software Development c++
Member Avatar for bigbadowl
0
206
Member Avatar for kakilang

below is the source code that i type, but it can't play the wav sound [PHP]#include <windows.h> #include <mmsystem.h> int main() { PlaySound("chimes.wav",NULL,SND_FILENAME|SND_LOOP|SND_ASYNC); return o; }[/PHP] when i compile this source code the compiler prompt link error can anyone help to show the problem i using windows xp and dec …

Software Development c++ windows-xp
Member Avatar for Salem
0
1K
Member Avatar for anumalayil

Hi i m a new usr just loggd in..can anyone help in developing a code 4 msking a telephone directory using class?

Software Development c++
Member Avatar for Narue
0
100
Member Avatar for AbberLine

For this question I would like to reffer to my previous thread: about my game project for school: [URL="http://www.daniweb.com/forums/thread102003.html"]http://www.daniweb.com/forums/thread102003.html[/URL]. I would like to execute a function every few miliseconds. Say every 5 miliseconds. [QUOTE=invisal;495957] This part should call every 5 miliseconds. [code=cplusplus] bool Render() { // Render all the 20 …

Software Development c
Member Avatar for AbberLine
0
1K
Member Avatar for Brik

OK - I'm new to all of this. I need to create multiple files from a list. For example Myfile1.php becomes myfile2.php, myfile3.php, myfile4.php When my list is 2 3 4 I also need to do a global find replace. I have found enough examples of doing that online I …

Software Development shell-scripting
Member Avatar for Brik
0
82
Member Avatar for AbberLine

Hi This question gives me a weird feeling, actually I'm not really sure if this is relevant. Anyway, here we go: I'm (still) busy coding my first game in C. The goal is simple: the player is a fisherman and needs to catch all the fish in the water. If …

Software Development c
Member Avatar for AbberLine
0
387
Member Avatar for ceyesuma

I have a desktop aplication with internalframes (inner classes) in a class KeyBrowser.java(the desktopPane). I built a form FourComponentJPanel.form(java)?? the keyBrowser.java allows me to click a JMenuItem to create createDataBaseWindow(). I wanted to have the liberty to have another class that hold the JPanel FourComponentJPanel.java(templet if you will) In the …

Software Development java java-swing web-browser window-manager
0
66
Member Avatar for zeroground

this code consider 0,1 as prime numbers and when i remove "!" sign from 0 and 1 it says an error [code]#include <iostream> #include <conio.h> using namespace std; int main(){ int x, y; while (true) { cout << "Please Enter a positive number\n"; cin >> x; if(0 != x || …

Software Development c++
Member Avatar for Narue
0
68
Member Avatar for rizoshar

well i have 2 weeks reading and testing some C++ but unfortunately i fell into a wall. I succeed making an array with random length and random elements (yeah i did it)and i want to help me making those elements sorted. eg quicksort I read "algorithms in C++ " written …

Software Development c++
Member Avatar for Narue
0
140
Member Avatar for laseredd

I have created a small program in Python that asks you if you have done something, and then logs the date, question(s) and answer(s) to a file. I thought of writing a program like this while walking to the toilet and twenty minutes later I had finished the program. I …

Software Development file-system gui python
Member Avatar for laseredd
0
133
Member Avatar for ecostas

Hi. I'm starting to use clientdatasets after years with Zeos DBO and I'm facing some difficulties. I created a TSQLConnection, a TSqlDataset as a ctTable, a TDatasetProvider and a TClientdataset. I populated the clientdataset and tried an ApplyUpdates(0) to insert the records. But I'm getting a "cannot modify a read-only …

Software Development dataset delphi mysql pascal
Member Avatar for ecostas
0
182
Member Avatar for zeroground

i want someone to describe this code to me...what " #include<iomanip.h>" and "#include<stdlib.h>" do ? and how to change the color of the background ? thanks :) [code]#include<iostream.h> #include<conio.h> #include<iomanip.h> #include<stdlib.h> int main() { int number; int response=1; do { system("color a5"); cout<<"Please enter any integer and I will tell …

Software Development c++
Member Avatar for Jishnu
0
184
Member Avatar for carobee

hi, i wanted some help in File handling in C. consider i have one File like a.txt a.txt [Marks] Physics = 60 Chemistry = 80 ;Prac(25) Maths = 98 [Grade] Neatness = B Attention = A ;A+(9.5) Now suppose i have to insert new values in this file for the …

Software Development c file-system
Member Avatar for ssharish2005
0
140

The End.