199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Maulth

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 …

Member Avatar for Maulth
0
177
Member Avatar for marti3a3

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 …

Member Avatar for marti3a3
0
85
Member Avatar for InfernalDrake

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

Member Avatar for InfernalDrake
0
79
Member Avatar for aditya_amb

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 …

Member Avatar for aditya_amb
0
193
Member Avatar for khaled_nagaty

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

Member Avatar for fishsqzr
0
128
Member Avatar for aastephen

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

Member Avatar for n1337
0
120
Member Avatar for toolbox03
Member Avatar for jephthah
0
99
Member Avatar for Mackjan

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 …

Member Avatar for Mackjan
0
110
Member Avatar for bhavna_816

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 …

Member Avatar for gunso4050
0
152
Member Avatar for Xyhm

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

Member Avatar for Duoas
0
112
Member Avatar for bhargsy

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 …

Member Avatar for bhargsy
0
87
Member Avatar for Jennifer84

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 …

Member Avatar for Duoas
0
150
Member Avatar for geisteskrankhei

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 …

Member Avatar for Ezzaral
0
181
Member Avatar for Samjonz
Member Avatar for majestic0110
0
104
Member Avatar for andy_aphale

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.

Member Avatar for Salem
0
144
Member Avatar for bagi

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

Member Avatar for puneetkay
0
95
Member Avatar for puneetkay

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 …

Member Avatar for puneetkay
0
98
Member Avatar for Onixtender

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 …

Member Avatar for Onixtender
0
182
Member Avatar for bhuwanrc

[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*> …

Member Avatar for Salem
0
79
Member Avatar for himanjim

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

Member Avatar for jasimp
0
114
Member Avatar for mbarriault

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 …

Member Avatar for mbarriault
0
83
Member Avatar for Barman007

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 …

Member Avatar for Ezzaral
0
186
Member Avatar for tefflox

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

Member Avatar for nav33n
0
94
Member Avatar for tefflox

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/">'; …

Member Avatar for nav33n
0
154
Member Avatar for Inny

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 …

Member Avatar for Inny
0
234
Member Avatar for 2xldesign

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 …

Member Avatar for 2xldesign
0
274
Member Avatar for swappy

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 …

Member Avatar for sierrainfo
0
100
Member Avatar for fj822

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 …

Member Avatar for fj822
0
146
Member Avatar for harcaype

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 …

Member Avatar for harcaype
0
108
Member Avatar for manutd4life

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 …

Member Avatar for jsosnowski
0
106
Member Avatar for shotjase

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 …

Member Avatar for Cybulski
0
114
Member Avatar for jmroach

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 …

Member Avatar for jmroach
0
153
Member Avatar for Thew

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

Member Avatar for Thew
0
93
Member Avatar for nagaa
Member Avatar for Ancient Dragon
0
136
Member Avatar for warjas816

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 …

Member Avatar for warjas816
0
121
Member Avatar for avtar.sohi

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 …

Member Avatar for avtar.sohi
0
132
Member Avatar for Cosa

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 …

Member Avatar for Nick Evan
0
148
Member Avatar for Suhacini

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

Member Avatar for Suhacini
0
71
Member Avatar for sagz

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 …

Member Avatar for sagz
0
174
Member Avatar for dougy83
Member Avatar for xyster

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 …

Member Avatar for xyster
0
101
Member Avatar for Demonoid2008

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 …

Member Avatar for kermitaner
0
108
Member Avatar for Olsi009

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

Member Avatar for Micheus
0
182
Member Avatar for GPXtC02

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 …

Member Avatar for GPXtC02
0
129
Member Avatar for trient

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

Member Avatar for nav33n
0
114
Member Avatar for mrcniceguy

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!!!!!!!!

Member Avatar for nav33n
0
265
Member Avatar for Suhacini

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 …

Member Avatar for rgviza
0
119
Member Avatar for Barman007

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 …

Member Avatar for Barman007
0
93
Member Avatar for pcr

Can anyone please send code for search form which contains clearing controls,validating and contains same criteria when you click search again button.

Member Avatar for Jx_Man
0
102
Member Avatar for yenyen

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 …

0
259

The End.