199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for saadsaidi

Hello all, A friend of mine developed a program using vb 6 using an "MS Access" database. he used ODBC to connect the users to database over network. The problem is he needs to connect 20+ computers to this program, and all computers are equipped with winxp sp2, that as …

Member Avatar for vb5prgrmr
0
201
Member Avatar for kenetpascua

I want to create a menu like this Menu List Type - 1 for Bubble Sort 2 for Insertion Sort 3 Selection Sort 4 Stack 5 Queues heres the code of bubble sort [CODE]#include <iostream.h> #include <stdlib.h> const int MAXSIZE = 10; void bubbleSort(int arr[], int size); void swap(int& x, …

Member Avatar for kenetpascua
0
102
Member Avatar for NHONORE

I d like to have a sample of program written in c++ tht manages student notes transcripts) thanks

Member Avatar for Ancient Dragon
0
59
Member Avatar for tfmontague

I have a class function - which I am trying to pass array values - however the function returns the values even when I don't use the reference &. WHY? COULD SOMEONE EXPLAIN THIS? [CODE] Block example; // create an instance of the class 'Block' int Array1[3] = {0,0,0}; // …

Member Avatar for alvinwong
0
87
Member Avatar for dima shawahneh

hello every one im trying to send Email using ASP.NET with C# but when recieved it is marked as spam this is a problem... i searched alot and almost i put every thing to avoid marking my emails as spam..but all didn't work this is the piece of code i …

Member Avatar for dima shawahneh
0
930
Member Avatar for kanuri1

hi frnd this is raghuram i had got a problem when iam working with a form ,,,,in a textbox it will automatically increment a serial number and it will be stored in sqlaerver2005 database at evey time when form is loaded..... pls give me reply as early as possible.....

Member Avatar for sknake
0
105
Member Avatar for Pankaj18

Hi, I want to validate multiple Email ids separated with comma(,) with single TextBox as CC. please help me. Thanks Pankaj

Member Avatar for sknake
0
251
Member Avatar for Kligham

Hi, I was wondering how you can attach everything from a html source, so all the spaces, all the tabs, newlines are gone and everything is glued togheter? I tried with implode, but that doesn't do anything because I can't get rid of the spaces, tabs, newlines etc. Is there …

Member Avatar for Kligham
0
88
Member Avatar for tinkeydo

The first part inside the "If" statement works perfectly. The only part I am having trouble with is the "else" statement. I was trying to get it to generate an "x" amount of passwords and get those passwords to be at a length defined by the user. The problem is …

Member Avatar for alvinwong
0
95
Member Avatar for cwarn23

Are there any tutorials on defining a variable so that it can be used for any type. Example the following: [CODE]int main() { var myvariable; myvariable="this is a test"; myvariable=3.141592; myvariable=myvariable*myvariable; return 0; }[/CODE] But I don't know how to make it possible to make the above code possible. It …

Member Avatar for cwarn23
0
134
Member Avatar for bijayswain

I want to put this code into separate window so that the results are displayed in a custom window not in a command prompt [CODE]#include <iostream> #include <string> using namespace std; void main() { system("title Find Mac From IP"); system("cls && Color DF"); cout<<"--------------------------------------------------------------------------------\n"; cout<<" This Utility is designed to …

Member Avatar for alvinwong
0
110
Member Avatar for ITwoman

Hi please help me How can create login password window for delphi application? Thanks

Member Avatar for Mikav6
0
85
Member Avatar for sree22_happy
Member Avatar for peter_budo
0
178
Member Avatar for kadilacgh

Hi am working on a project and am using sql server 2005 express as my database server, the problem is i can;t connect to the sql server from any machine on my local network (windows). Below is my connection string [CODE]con.ConnectionString = "Data Source=webserver1\SQLEXPRESS;AttachDbFilename='C:\POSM_DB.mdf';Integrated Security=True;Connect Timeout=30;User Instance=True;" [/CODE] It works …

Member Avatar for sknake
0
188
Member Avatar for phpDave

Im new to php. Im trying to display data via url. (example) [url]www.mySite.com/usercomment?user_id=1[/url]. I would like to let users retreive data by having to type in specific url. Not pageing through data. Any comments, suggestions would be appreciated

Member Avatar for diafol
0
109
Member Avatar for BestJewSinceJC

Hey guys, simple question that I don't see anything on in the String.h library and I can't remember from my C class 3 years ago. I have the following declaration: char something[100] = "whatever"; And later in the program I call strncpy. After calling strncpy, at some later point I …

Member Avatar for WaltP
0
94
Member Avatar for joharasad

Hi i m new user in vb.net so i want plz u people help mee, i just want to conect my project to sql server database.

Member Avatar for sknake
0
166
Member Avatar for CBLACK10

I'm fairly inexperienced so please bear with me. I am using FlourineFX, my goal is to retrieve data from an amf server. I've got a windows form with a button. The code for a button creates an instance of an object: [code] private void btnGo_Click(object sender, EventArgs e) { ArrayList …

Member Avatar for sknake
0
110
Member Avatar for emhmk1

Hi again, i have got a site that calls 5 different tables on the database and they all have a date field, when calling and using the while loop all the $rows[] so to speak are named differently. The problem is, i have this code to change the date layout …

Member Avatar for sanjaypandit
0
99
Member Avatar for johnGIS

Hi guys please help me learn VB 5. Am very new in this . If anyone can forward me some starter tutorials i would be very grateful

Member Avatar for abu taher
0
93
Member Avatar for Instinctlol

Can anyone tell me why it loops my menu() twice after i enter the numbers from Add(). I know it has to do something with cin.ignore() but I don't know where to place it so it doesn't loop my Menu() after. [CODE]#include <iostream> #include <string> #include <fstream> using namespace std; …

Member Avatar for farooq007
0
118
Member Avatar for cwarn23

I have been searching on the web but can't find an answer to this question. How do I make a simple script that will read the functions in a php.net dll file where it can be used in c++. The main reason why I am trying to do this is …

Member Avatar for cwarn23
0
157
Member Avatar for Iz3k34l

I am new to java and trying to figure this out, the error im getting is; week1SR4Frame.java:28: week1SR4Frame is not abstract and does not override abstract method windowDeactivated(java.awt.event.WindowEvent) in java.awt.event.WindowListener public class week1SR4Frame extends JFrame implements WindowListener, ActionListener I am trying to "endButton.addActionListener(this);" i have added the above code also …

Member Avatar for Phaelax
0
148
Member Avatar for johndoe444

Hi, I want to write a log function but I want to implement in the style of fprintf/sprintf style. ie [CODE] fprintf(arg1, template string, template values) write_to_log(template string, some array of ints/double etc to fill the template) [/CODE] I want to implement this variadic function: [CODE] void write_to_log(char template, int …

Member Avatar for Dave Sinkula
0
114
Member Avatar for Kavyashri

I want to create columns in my DataGridView just like that: ______________________________________ |________________Taxes________________| |_______Tax 1_______|______Tax 2______| | 3,50 | 4,50 | | 6,60 | 4,22 | But how do I make column headers with 2 levels, and merge the first row? Thanks.

Member Avatar for Kavyashri
0
5K
Member Avatar for Thumb2

[code=C++] #include <fstream> using namespace std; void a(ifstream b){} void main() { ifstream b("c.txt"); a(b); // error caused when function a() is used } [/code] Why is this producing an error? Thank you, Thumb2

Member Avatar for jonsca
0
146
Member Avatar for ashbladerunner

hello. i am doing a project about implementing the linux route command with php. i have managed to see the IP tables using route but the problem now is implementing route add / route del. i have searched the web and came up with some examples but none of them …

Member Avatar for phpbeginners
0
169
Member Avatar for SergioQ

[B](Admin, sorry but I can't find what I would think the proper forum is. Please feel free to move this)[/B] Hello All, I am an old time developer. By old time I mean have been programming since the early 80's, my forte's are C, Win SDK, and more than dabbled …

Member Avatar for irfansblog
0
167
Member Avatar for restrictment

Is this even possible? Or do I have to make the user download the program before they can use it.

Member Avatar for jonsca
0
122
Member Avatar for johndoe444

I have this code. I want to update the writes immediately to log file before closing the file (because my program might get hang and I have to exit it by ctrl+c so fclose would never be called). The code is: [CODE] 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 …

Member Avatar for nezachem
0
254
Member Avatar for modesto916

Hi guys, I am Brazillian and i don't know how to speak english very well, but, let's to the question: I need a solution to automatically write a sequence of number to a file, for example, to write automatically to a file the number 1 at 254, this is what …

Member Avatar for JeoSaurus
0
119
Member Avatar for BobBrown

I am needing to make a program add and multiple from two different entries and display the total on a different line. I am needing the syntax on how to add and multiply. A web reference page would be good as well. All I have is two classes at this …

Member Avatar for BobBrown
0
70
Member Avatar for MDGM

Hi all, I have a very large amount of files I need to update, so I thought the easiest way would be to do it with php. [B]Below is the current directory structure[/B] [CODE]www.domain.com/branch_finder/country/county/town/[/CODE] I need to replace the existing index page in every "county" level directory inside the branch_finder …

Member Avatar for MDGM
0
363
Member Avatar for Alberto99

Hi, this is my first post to the forum. I am trying to use HTML Mime Mail, a class written by Richard Heyes. I use the new class in this program: [CODE]<?php require_once("/htdocs/htmlMimeMail5/htmlMimeMail5.php"); $mail = new htmlMimemail5(); $mail->setFrom("example@yahoo.com"); $mail->setReturnPath("example@yahoo.com"); $mail->setSubject("Test HTML Mime Mail"); $mail->setText("This is the body of the test …

Member Avatar for Alberto99
0
335
Member Avatar for johndoe444

Hi, The situation I am in is as follows: There are some computers in a network. They are sharing the same file server ie the same home directory. I am not sure how it works but logging from any machine using the same user name takes me to the same …

Member Avatar for JeoSaurus
0
101
Member Avatar for Fire_Michel

i dont know if any one had post any thing aboat this so i appologize for him\her if that happen and i didn't recognized [CODE] System.Drawing.Drawing2D.GraphicsPath ag = new System.Drawing.Drawing2D.GraphicsPath(); ag.AddArc(0, 0, button1.Width, button1.Height, 0, 360); button1.Region = new Region(ag); [/CODE] you can replace addarc with other option so you …

Member Avatar for ddanbe
0
2K
Member Avatar for evilsweeps

Hi, this is my first post on here so forgive me if my question or code is unclear. I'm coding a binary search tree and I'm stuck on the overloaded ==operator. [CODE] //BSTCLASS.CPP template <class ItemType> void BstClass<ItemType>::rFindNode(node<ItemType>* trav,ItemType& item,node<ItemType>* rtTrav, ItemType& rtItem, bool& equal)const { rFindNode(trav->left, trav->left->data, rtTrav->left, rtTrav->left->data, …

Member Avatar for evilsweeps
0
272
Member Avatar for Egypt Pharaoh

I want to create application that create a textBox after 10 second from starting and create a label after 20 seconds from starting

Member Avatar for sknake
0
112
Member Avatar for Hathake

Hi there everyone! I am doing calculator that analysses a math term in a postfix notation. My code seems nice, but I suspect it doesnt calculate at all ! It only writes back imput .. Maybe theres error in string/char conversion for all that I know. But please have a …

Member Avatar for Lerner
0
83
Member Avatar for JasonDoyle
Member Avatar for johndoe444

Hi, In java, we can run a program remotely by doing something like this: [CODE]Runtime.exec("ssh machinename programname")[/CODE] I was wondering whether I can do the same in C using some standard library function call. Also is this possible to get a handle to the remote program's input/output to see its …

Member Avatar for gerard4143
0
95
Member Avatar for qwertymk

I know I'm supposed to use new and delete, but I really need to use realloc, and I'm curious to how it can be done. [code] myclass { ... public: myclass() { cout << "Hi, I'm the constuctor" << endl; }; int main() { myclass *m; m = (myclass*) malloc …

Member Avatar for Narue
0
147
Member Avatar for GoGames1315
Member Avatar for FlamingClaw
0
109
Member Avatar for gods_angel

ok so here are the instructions for this project: Write a KochCurve program that uses DrawingTool and provides a drawKochCurve method for drawing Koch curves. Each drawKochCurve method can take the number of levels and an initial size as its parameters. Sample usage of the method to draw a 6 …

Member Avatar for persianprez
0
120
Member Avatar for martinkorner

Hi, I need to put a time on my website which simply shows the current GMT London time... I tried using[inlinecode]<? echo date("g:ia") ?>[/inlinecode] but for some reason it displays the time exactly one hour ahead of my time. It should be displaying Europe/London time. (I do live in the …

Member Avatar for Danny696
0
209
Member Avatar for NargalaX

Hey everyone, How would I go about creating a simple chat bot? I have finally just recently got an API running for a chat application called Steam, and I can send and receive messages with this program and moderate everything that goes through, too. So, I was hoping on getting …

Member Avatar for Geschickte
0
263
Member Avatar for laNeek

Greetings! I've been messing around with a bit of code for a while now and I've got it compiling etc etc. The only problem is with perfecting the quicksort function (probably trivial, but then I'm not very skilled). From the output file, it seems to 'sort of' sort the string …

Member Avatar for laNeek
0
104
Member Avatar for aleite

[code=java] Hello! I'm learning a little bit how to programme in java and I have a work to do. I have to read a file with a lot of lines where each line has 3 numbers: 2 doubles and 1 int (4.5 3.5 7). I'm trying to do like this …

Member Avatar for gunjannigam
0
110
Member Avatar for Dmennite

Hello all, Not sure if this is the proper forum for this but first: I am using Visual Studio 2008 and MySQL Server Version 5.1.42 and Client Version 5.1.11 programming language C# issue: save button from windows form for record editing using databindings and textboxes... is there a way to …

Member Avatar for Dmennite
0
180
Member Avatar for Stefano Mtangoo

I love to learn the hard way i.e with real world examples. I thought to make MP3 Player, but I changed mind and now I want to make small SQLIte driven app. How do you manipulate SQLite with Java? I'm googling to see if I will catch noobish things :-/

Member Avatar for Ezzaral
0
153

The End.