199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bcm
Member Avatar for waynespangler
0
72
Member Avatar for Sebouh

Hi guys. I have a program which needs to store some user profile data. I want to use a database to do this, but i've never worked with databases. I was wondering if anyone can help me with it. My program is written in the java programming language, and i …

Member Avatar for pty
0
118
Member Avatar for dan90

hi :) any comments appreciated about my site [url]http://extendedprocedure.com/[/url]

Member Avatar for pty
0
62
Member Avatar for sara_84

[code=c++] #include <iostream> #include <string> #include <algorithm> #include <vector> #include <set> #include <map> using namespace std; class transition // an entry in 'alpha' transition_table { public: transition(string from_state, char input_symbol, string to_state) {from=from_state; input=input_symbol; to=to_state;} static bool smaller(transition a, transition b) { if(a.from<b.from) return true; else if(a.from>b.from) return false; else …

Member Avatar for hkdani
0
184
Member Avatar for sneekula

I want to make a small Molecular Weight calculator. If the user for instance enters the molecular formula for dichloro-benzoic acid as "C6H3Cl2COOH", I would like to split it into a list like ['C6', 'H3', 'Cl2', 'C', 'O', 'O', 'H'] so I can then combine all the carbons, chlorines, oxygens …

Member Avatar for sneekula
0
118
Member Avatar for tootypegs

Hi, basically i was wondering if there was anyway of directly accessing and writing to a harddrive? for example i have a specific sector on my harddrive which i would like to directly insert some code? does anyone know of any C++ functions or commands to do this? thanks

Member Avatar for Ancient Dragon
0
120
Member Avatar for assgar

Hi I need help. I know what I want to accomplish, but I do not know how to do it. The events are recurring every month, but not recurring at the same time or on the same day of the week. WHAT I NEED HELP ACCOMPLISHING: How to do I …

0
81
Member Avatar for deadskunk

Hello, I am trying to create a form in C# that will get its buttons configured from a xml file. Here is a sample of my xml file: <?xml version="1.0" ?> - <LauncherConfig> - <GeneralOptions> <Name>FORM_NAME</Name> <BackgrounColor>Gray</BackgrounColor> <PercentOpaque>50</PercentOpaque> <StayOnTop>True</StayOnTop> <Orientation>Horizontal</Orientation> </GeneralOptions> - <Group1> <GroupName_Lable>GPS/Mapping</GroupName_Lable> <Horizontal_Number_Rows>1</Horizontal_Number_Rows> <Verticle_Number_Columns>1</Verticle_Number_Columns> - <Button1> <ButtonLabel>OZI</ButtonLabel> <UnselectedButtonTextColor>FFFFFF</UnselectedButtonTextColor> …

Member Avatar for Ramy Mahrous
0
170
Member Avatar for maori

Hi Guys i'am trying to learn text file manipulation and i've got a problem with one particuler subject and unsure of how to acchive what i need the text file contains lines in this format Name0 1 2 3456 7 8 9 10 "discription" Name1 1 2 3458 7 8 …

Member Avatar for Ancient Dragon
0
154
Member Avatar for redZERO

Hi, I would like to know a resource or simple solution for this, I have a mySQL database with lots of links. I need said solution to visit each link and download the HTML file for it. Like an indexer which is told where to index.

Member Avatar for digital-ether
0
127
Member Avatar for Ole Raptor

Hello, I am having an issue trying to add a checkbox field to my DataGrid. I have the following Code but it does not display my checkbox. Any help is greatly appreciated. [CODE=VB.NET] Dim myconnection1 As New SqlConnection(myconn) Dim dtcCheck As New DataColumn("Select") dtcCheck.DataType = System.Type.GetType("System.Boolean") dtcCheck.DefaultValue = False Dim …

Member Avatar for ptaylor965
0
142
Member Avatar for lilprincess

I own a website and I would like to start a forum on it. So am thinking to use phpbb for it, but I don't have any knowledge of PHP. Is PHP knowledge neccessary to use phpbb?

Member Avatar for vssp
0
149
Member Avatar for raghu.8

hi i want to populate country's name in 1st dropdownlist and their states should be placed in the 2nd dropdownlist, if we select any state it should place the name of the capital in the textbox besides that and so on..... If possible send me code thank you in advance …

Member Avatar for waterfall
0
221
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?

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"); } …

Member Avatar for ~s.o.s~
0
149
Member Avatar for assgar

Hi I need help. I know what I want to accomplish, but I do not know how to do it. WHAT I NEED HELP ACCOMPLISHING: How to do I insert data into a table for a date range of two or more months, where every second or third week should …

0
68
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 …

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 …

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

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 …

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 …

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 …

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

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 …

Member Avatar for toko
0
103
Member Avatar for caldercay

First, the sample code: <%-- ================ some.jsp =============== --%> <%-- bunch of code [...] --%> <tr> <td><bean:message key="prompt.desc" /></td> <td><html:textarea property="desc" /></td> </tr> <tr> <td> <bean:message key="prompt.notes" /> <tiles:insert page="checkSpellTile.jsp" flush="false"></tiles:insert> </td> </tr> <tr> <td><html:textarea property="notes" /></td> </tr> <%-- ================ end some.jsp =============== --%> <%-- ================ checkSpellTile.jsp =============== --%> <%-- …

Member Avatar for caldercay
0
131
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 …

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 …

Member Avatar for hkdani
0
157
Member Avatar for pprabhakar

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

Member Avatar for Salem
0
231
Member Avatar for yangchen60
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]

Member Avatar for invisal
0
182
Member Avatar for maslak
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 …

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

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]

Member Avatar for Ancient Dragon
0
68
Member Avatar for amishosh

Hi! I have this really difficult homework assignment. I don't want answers, just perhaps a point in the right direction...I gave this a lot of thought and still nothing :( I need to find what's called a "sink" in a matrix of all 1s or 0s. A "sink" is when …

Member Avatar for invisal
0
97
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?

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 …

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 ?

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

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 …

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 …

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

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 …

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?

Member Avatar for Salem
0
242
Member Avatar for aditi19mitra

hi guys, i'm doin a prjct in which i've used oracle9i @ backend n jsp @frontend.can u tell me how do i retrieve the data back from the database to the jsp.i've successfully inserted d values but i'm clueless as to how to get it back in the proper order.:sad:

Member Avatar for arunaponnuraj
0
142
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 …

Member Avatar for corneliu9d
0
173
Member Avatar for dev07

hi members, In our project we are designing a advance search field using drop down list. using this we can enter a multiple search option for a single search.If we want to remove certain options afetr entered that for search how can we write PHP script for that.can somebidy give …

Member Avatar for nav33n
0
65
Member Avatar for elferra

Hi, Im having trouble while trying to show full text of the different options included in a select when its width is limited. The idea is to show the full text of the option (there are quite a lot of options that just differ in their last 2 letters, and …

Member Avatar for MidiMagic
0
81
Member Avatar for tefflox

Hello, my site sees a lot of visits to the first page after the "cover", but very few beyond that page. I want to randomize the first inward link, and keep track, so if the reader decides to click "next", it won't load the same page. How do I do …

Member Avatar for nav33n
0
105
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 …

Member Avatar for AaronASterling
0
137

The End.