199,114 Archived Topics
Remove Filter ![]() | |
I've posted something along these lines before, but it's a tad bit different this time, hopefully some of you can point me in the right direction. I'm designing a tool that will make adding things to a database easy for people not familiar with SQL, it will basically export a … | |
So I'm trying to create 4 arrays with data input from a .dat file, and for some reason it won't. The file has four columns, and I want four arrays with the info from each column seperate. For some reason, I'm having trouble doing that with the following code (minus … | |
Maybe my question is odd, or maybe already answered, but i didn't knew another way of searching a solution (the title i selected may get an idea of how weird is it) Its quite simple, i'm creating an application that has a command prompt, this is, like ms-dos the C:\>_ … | |
I am not able to display dataset. Can anyone help me out? Here is my code: Imports System.Data Imports System.Data.SqlClient Imports System.Windows.Forms Imports System.Data.OleDb Public Class Form3 Inherits System.Windows.Forms.Form Private WithEvents DataGridView1 As New DataGridView Private Sub Currdbbtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Currdbbtn.Click Dim objConnection As … | |
Hi all, After I open a connection between an Access database and my project I try to drag the database node onto the Windows Form but it always fail I am not able to create an OleDbConnection to the data source. How this problem can be solved? regards Khaled | |
//person class class Person { //private: public: char name[30]; char type[20]; char date[10]; char id[10]; Person(char pname[],char ptype[],char pdate[],char pid[]); void addPerson(); void personDelete(); char personFind(char pid[]); }; //this function find with id and return the name of the person char Person::personFind(char pid[]) { fstream readFile; readFile.open("employee.txt",ios::in); if(readFile.fail()) { cout<<"Cannot … | |
Hi How can I stop a loop, this function sort my list as I wish but I want to stop it when it done the task. I have a list x = [4,4,2] and during 15 attempt I want to sort it like that x = [1,2,3,4], if the function … | |
I have a table which have person's name as Prefix, firstname, lastname, address as three different columns. I want to get all records when fire a query like SELECT * from Persons where name= 'abcd' I want such query which can search in all three columns, it means abcd can … | |
I've developed a program that communicates with another program through anonymous pipes set up by the other program (not written by me). The problem is that my program keeps crashing as soon as I add something more than just receiving the info. For example, if I add a simple "showMessage", … | |
Hello All, I new to this forum and C++. Searched a lot on the web, but could not find help anywhere. I have two directories under each of which, I have multiple .cpp files. Each of the directories have a one .h include file that contains function declrations for all … | |
I have a problem with sorting a vector in a specific order. As seen below I am putting 4 strings into a vector like this. The result of the sorting that I am after is like this: (Highest Value at the top and the Lowest Value at the Bottom) [B]20A … | |
Basically, I have to make a code that requests user input. The program asks them to tell me how many columns/rows the user wants the magic square to have. I need to then generate random numbers for each spot. ex: user inputs 3, out put looks like 3 7 1 … | |
hey any one can help me to refresh ado rotqator with out refreshing the web page | |
hey programmers, i need some help. i want to devlop a program which accept any three number or alphabets or symbols from user and show output as all the possible combinetion of the entered number or alphabet or symbols. pls guys give me complete program code its urgent. | |
Hi all, Once I started learning C#, really much enjoying it. I faced some problem using GUI. I m trying to draw ellipse as many as possible with mouse moving events, but theres problem.... My code here: private void Form1_MouseDown(object sender, MouseEventArgs e) { myRect.Width = 0; myRect.Height = 0; … | |
Hie guys, Im creating a program that will display the details of every state of India when user will click on that states button. I have two forms: Main.cs = MdiParent form for program. India.cs = Where map of India will be displayed including buttons of every state. So what … | |
Hi, I've have a problem of printing data from stack, if it's simple words,then stack works just fine,but if I try to push changed data using function(Written by a very intelligent moderator :) ), I get just the same word n times: Intelect Intelect Intelect .... [code] #include<stdio.h> #include<stdlib.h> #include … | |
[code=cplusplus] void fishing(vector<Fish*> &basket); int printBasket(vector<Fish*> &basket); int main() { vector<Fish*> FishVec; Fish* aFish; int totalweight=0; int i=0; while (totalweight<15000) { fishing(FishVec); aFish=FishVec.at(i); aFish->printMe(); if (aFish->acceptable()) { totalweight+=aFish->getWeight(); cout<<"total weight:"<<totalweight<<endl; cout<<" Has been put in the basket"<<endl; } else { cout<<" Was released"<<endl; } i++; cout<<endl; } } void fishing(vector<Fish*> … | |
[B][I]I've designed a simple applet that works fine on My Windows Xp but when I upload it on my webhost server or run it through any server for e.g. Tomcat It shows the following error in Java Console but no error without server [/I][/B] [B]Java Plug-in 1.6.0_02 Using JRE version … | |
I have a class (for the mathematically inclined, it's a tensor class that allows me to work with tensors of any rank and dimension), and I'm trying to set up assignment in a particular way, but having trouble. The idea comes from the vector class. With that, you can retrieve … | |
Im hoping this is just simple, but I have a main class for my GUI and I do some printing in another class called board, which gets its information from my peg class, which gets its information from my linked list. Is there and easy way to print my pegs … | |
Please tell me what I'm doing wrong. The sql query is in bold. [CODE]<?php //////////////////////////////////////////////////////////////////////////////// // // SECRET PAGE // // Invokes require_authentication() to ensure that the user is authenticated // //////////////////////////////////////////////////////////////////////////////// require("common.php"); require_authentication(); session_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr' xml:lang="en"> <head> … | |
I am able to connect to the database and located the table. I am unable to populate the db. Attached is a in image of the phpmyadmin trucks table structure. Please help. I am excited to be so close to getting it right. [CODE] echo '<blockquote><blockquote><blockquote>'; echo '<form method="post" action="/inventory/">'; … | |
My script resizes images (yes, client side! No, I dont have access to do it server side!) When a topic is posted with alot of images, The script sometimes resizes before all the images load, resulting in images loading after that which are not resized. How can I ensure the … | |
I am working on a 2 page form. I need to have a file upload on the first page. I need to pass the file upload values to the insert page. I am not sure what approach to take. I have tried sessions but had no luck. Here is a … | |
I`m recently got my last year project in a company, it’s a consultant company. I’m not sure how I’m going to start with the project…So I need help from you guys… I`ll start with the companies requirement: 1. He has a team of 7 people how will enter the names … | |
Hello, i am new java beginner and have some problems when i try to add "ListeningPoint" in mye class. I got some error massege like this, but can not fix it: <identifier> expected [javac] myListeningPoint = sipStack.createListeningPoint(port, "udp"); [javac] ^ [javac] 1 error can you please help me ?? Here … | |
Hi. I have been figuring out how to deal with my dilemma. I'm developing a mobile application in C# in Visual Studio 2005. And I have a question regarding the adding of listview items from a form to another listview in another form. I have got my application running but … | |
i make a menu AS SHOWN: PASCAL when press Ctrl + F9. so its pascal ************************* * 1. MEMBERS * 2. BOOKS * 3. EXIT * * * SELECT OPTION: ************************ NEED HELP HERE: write a PROCEDURE to close the menu when 3 is selected sorry 4 this, its too … | |
i am trying to implement a database of books and i am have to use linked lists and possibly dynamic arrays for the first time so i am a bit confused..i just wanted to know if this is how i should b going about my constructors and if theres anything … | |
I am trying to add entries to a dictionary with the following loop: [CODE=python] for p in pressures: q70in.resetKeyword( "expansionRatio", p ) q70in.writeInput( prefix + tempInput ) commands.getstatusoutput( runq70 ) q70out = q70.Q70Output( prefix + outputFile ) results[p] = {} #results[p]['Performance'] = q70out.performance results[p]['Conditions'] = q70out.conditions print q70out print results … | |
![]() | Hello, I'm trying to use some default (static) members for my class. At first I've created class which looks like this (this is just a small code): [CODE] //rozÅ¡Ãrenie materiálu, M (par (ext)) typedef struct ExtendedMaterial { //hmotnosÅ¥ float Substantiality; //krehkosÅ¥ - tuhé látky, viskozita - tekuté látky float Insubstantiality; … ![]() |
Hi All, Any sample program in c for file integrity check.. Regards, Nagaa | |
I wrote the following code, and it seems to be working well up until the end. I do not get any error messages, but the last method has 5 lines that are supposed to print out. Nothing prints. Any ideas? Hints? Clues? Thanks! public class paintJobEstimator { public static void … | |
Hi all, I m converting stored proc from sql server to oracle. first have a look sql stored proc. create procedure xyz.. as begin -- i have created one temp table -- then inserted some data into it by select query over some db table. -- then i have another … | |
Hi, I am having a problem with returning a 2d array back to the main in my program. The program reads in a matrix from a file, then it has to multiply etc, however i cannot get the print function to work since the array that is made in the … | |
Hi, Can anyone tell me how can I move from one page to other page.I want something like wht we have here. Example: Page 1 of 5 : 1|2|3|> | |
Hi all, I have a program that reads a text file and counts the frequency of phrases, for phrases up to ten words long. I solved a problem with printing out phrases that occur more than once, however I have discovered that my program reads punctuation marks and includes them … | |
Hello all, I have been a member here for some time, i must admit this is my first post. I have read the posting rules, lets hope my title is considered "meaningful". i have no code snippet, yet. I have just hit a sudden wall in my heap programming. I … | |
the assignment is: Create a macro named mWriteNumber that writes a signed integer to the console output. Use the WriteInt procedure in the Irvine32 library. The argument passed to the macro can be a byte, word, or doubleword. Use conditional oeprators so that the macro adapts to the different sizes … | |
Hi to all, I have this homework with Pascal. We have a text file that has some text in it (thetext.txt). we want to put all the words of the text and the frequency in another file without repeating the word(file name finalfile.txt). Example: thetext.txt has this text in it: … ![]() | |
New to classes. Getting alot of errors when calling the private member variables (from down in main). Most are telling me either i can't access the private member variable IDs or the other member variables i'm attempting to access (debit, credit, balance) are undefined ('identifier not found'). Also getting 'overloaded … | |
Hi, I've these values: a) < 100 000 = 5 points b) 100 000 - 250 000 = 4 points c) > 250 000 = 3 points [CODE]$a = 140000; $b = 23; if ($a > 250000) { $b = 3; echo $b; } if ( 100000 < $a <= … | |
i created a profile,where after login someones Datas appears. Now i need to put profile comment,that any member can leave a comment to another. So i dont know how To get started especially with how the mysql table could be. Help please!!!!!!!! | |
Hi, Can I change the information of a site depending on ip address. For example: I have different folders for each geographic location, say for USA it should show a different site, for UK it should show a different site, like wise depending on the IP address it should go … | |
Now this is an assignment for me, but ive spent the last two weeks writing this code day and night, I just cant get it out of my head, I have to beat it lol. So anyway, two days ago I won and completed my program exactly the way I … | |
Can anyone please send code for search form which contains clearing controls,validating and contains same criteria when you click search again button. | |
helo there, i need some help on database design for the email/messaging system. tis is one of the module. but i duno how to design the table structure and flow which involved : sender, receiver etc. user A send msg/email to user B & user C, then the User B … |
The End.