199,114 Archived Topics
Remove Filter ![]() | |
| |
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 … | |
hi :) any comments appreciated about my site [url]http://extendedprocedure.com/[/url] | |
[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 … | |
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 … | |
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 | |
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 … | |
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> … | |
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 … | |
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. | |
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 … | |
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? | |
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 … | |
Is the a prescribed architecture for making individual components and then putting them together to make a complex component containing its individual components? | |
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"); } … | |
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 … | |
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 … | |
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 … | |
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; … | |
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 … | |
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 … | |
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 … | |
[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. … | |
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 … | |
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 =============== --%> <%-- … | |
[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 … | |
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 … | |
i want to compilation flags, how many are there give me some flag names? | |
[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] | |
I am a novice. I want to replace a content with a variable How do I do that ? Thanks | |
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 … | |
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, … | |
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] | |
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 … | |
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? | |
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 … | |
hi, will someone point me the reasons why a call to [B]malloc [/B]fails even if we have enough memory ? | |
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, … | |
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 … ![]() | |
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 … | |
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_ … | |
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 … | |
I have a CProgramA that need to call CProgramB just before CProgramA terminates. How can this be achieved? | |
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: | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.