199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sam1

hi, I was wondering if someone give you an image e.g. [url]http://www.google.co.uk/images/nav_logo29.png[/url].. how do you get one image and include it in your page without using photoshop etc. Say we have a pack of playing cards and all the cards are in one image how do you select one card …

Member Avatar for jugosoft
0
117
Member Avatar for xibnoe

Iam looking for source code of c4.5 algorithm.. its part of my school project, please if u have it. let me know!!

Member Avatar for shajis001
0
101
Member Avatar for cocoll

hello!. i need help with import in java. i want for example when i click a button in java to open a exe file,so i imported the exe into java,and i make the program everything is okay. so i export my classes into a jar file,so when i click the …

Member Avatar for cocoll
0
96
Member Avatar for reagansmall

Hello - Okay...I have another confusing question (warning...newbie here!). I added some javascript to my main template page that makes my side navigation bar expandable. I had a folder of preexisting pages created from this template that the Dreamwever updated when I saved the main template. I want to make …

Member Avatar for maba001
0
154
Member Avatar for punithapary

Hi, I created some web pages using php.I copied those pages from my system and paste it into FTP afterthat if i run my website it wont show any design which is in my page.If i copied my html pages and paste that into ftp that time it was working.I …

Member Avatar for chrishea
0
117
Member Avatar for Arbus

Hello friends.Can anyone help me in this.Here is the code. [CODE]circle(320,240,100); textmode(BW40); cout<<"\n\n\n\n\n\n\n\n\n\n\t\thello";[/CODE] The problem is hello is displayed without circle.

Member Avatar for JSPMA1988
0
132
Member Avatar for MasterGberry

So I am new to maps, vectors too, but I read a guide on those. And I need to do one thing with the map that I haven't figured out yet. Implement this C# code into C++ [CODE]map.TryGetValue(oldValue, out newValue)[/CODE] In the C# code map is a dictionary, so I …

Member Avatar for MasterGberry
0
147
Member Avatar for piyushseven

Hello, I have a datagrid and I want to delete selected row from that grid. It is working fine upto this. but I want to add some advance functioning with msgbox YES-No buttons. If user select some row and click on delete button, A msgbox with YES/No options appears. If …

Member Avatar for nytro
0
10K
Member Avatar for ddndd

hi .. im trying to terminate a process so in python i used os.system("taskkill /IM notepad.exe/T" and os.popen("taskkill /IM notepad.exe /f") neither have worked since the process does close but start up again !! on SOME computers it did work, the process was terminated but on others it did not …

Member Avatar for Gribouillis
0
16K
Member Avatar for ziggystarman

Hi Just written a small C++ program to try the Public & Private Key Algorithm process, the program seems to function properly as intended in that it decrypts a message sent from Bob using Alice's Public key. [CODE]#include <iostream> using namespace std; /*********************************************************** XOR Process for both encryption/decryption processing ***********************************************************/ …

Member Avatar for ziggystarman
0
4K
Member Avatar for simon_wagstaff

I'm writing, essentially, a stack calculator where I can change an expression from normal(infix) notation to prefix and postfix and vice versa, and to be able to evaluate a postfix, prefix, or infix expression and return a value. I have been trying to use a switch statement to determine whether …

Member Avatar for jmdrubi
0
250
Member Avatar for bg1976

Hi there I have a .net (3.5) user location dropdown menu (System.Web.UI.WebControls.DropDownList) called ddlLocation, that when the user selects a location menu item that item is saved in a database table, so that the next time the user accesses the page the selection is pulled from the db table. The …

Member Avatar for bg1976
0
182
Member Avatar for rushhour2

Hi all, I am having a little problem with my relay buffer which uses flow design patterns. The problem is that when the consumer should output the value of the Element, it is printing out "The item is: null". My code is a little bit long, but hopefully you can …

Member Avatar for quuba
0
147
Member Avatar for tchild

Hello I am working on this program and I cannot seem to get it working. I am trying to get an input of a line using cin.getline() but i am unable to get that line and assign it into an array of characters. Everything compiles correctly but the alphabet[50]'s output …

Member Avatar for ravenous
0
137
Member Avatar for kvass

Hey guys! So I was wondering -- what's the syntax for updating a JTable that is being displayed on the screen? I know how to allow cells to be edited, but what if I want to like add in entirely new rows while it's being displayed? I tried repaint() and …

Member Avatar for Ezzaral
0
136
Member Avatar for azgold472

This is what im trying to do. A pdf is uploaded to my uploads directory. Named abc activity.pdf or abc page2.pdf the pdf could be from different clients. so I want to pull the ABC or a certain amount of char out of the name to populate the destination `#Property#` …

Member Avatar for arrgh
0
144
Member Avatar for tensai

hi, i am trying to copy all the data from two columns from two different tables to another table. the problem is when i use insert statement for the second time it does not copy the data from the two columns. i was able to insert two columns from loanTable2 …

Member Avatar for tensai
0
204
Member Avatar for rajeshap

Hello, I am Using VB 6.0 . Please Help me to get the codes to Create Backup and Restore in SQL server 7.0. I request Some one to help me at the earliest. Rajesh

Member Avatar for AndreRet
0
241
Member Avatar for xagutxu

Hello: I am trying to create an audio processor, and I have a program that creates some threads (in Windows). The "main" program creates the audio processor thread, and then creates the audio reader thread. I would like to know how the audio reader can tell the processor that the …

Member Avatar for Narue
0
248
Member Avatar for Imratzio

Hi all, I have finished my php for dummis book and have few errors that I could not fix. I show u my first example. [CODE]<?php /* Program: showpets.php Description: Displays all the pets in a category. Category is passed in a variable from a form. The Information for each …

Member Avatar for Imratzio
0
139
Member Avatar for aplh_ucsc

Can u guys help me to find errors of this programme! [CODE] #include<iostream> #include<conio> #include<string> using namespace std; string employeeName; int employeeNumber; double employeeSalary; char employeeType; class Employee{ private: string employeeName; int employeeNumber; double employeeSalary; string employeeType; public: void promotion(){ calc_salary('pr'); } void demotion(){ calc_salary('de'); } void calc_salary(char ch){ float …

Member Avatar for Narue
0
105
Member Avatar for DarkLightning7

I cant seem to find the problem with this program I am building as a learning exercise. I am getting errors referenced to extremely simple pieces of code. In the output the first thing that should be printed is the random double number that the program selects then it should …

Member Avatar for DarkLightning7
0
275
Member Avatar for mahmoud209

I’m working on a piece of software using vb.net that should allow the user to open sketch up files '.skp' and perform some measure on it. Any ideas how to get vb.net to open SKP files?

Member Avatar for mahmoud209
0
103
Member Avatar for Petrica7

How do I detect that a drive is internal or connected to a USB port? For example I now the letter of a partition from that drive. If I use GetDriveType on one connected to USB it says that it is fixed not removable. I found some code with witch …

Member Avatar for Petrica7
0
883
Member Avatar for manish250

hello everyone I want to implement the data grid control in my jsp page.I hv searchd a lot in google but still yet i m not clear.can anybody give me some idea or suggestion how to implement it

Member Avatar for manish250
0
364
Member Avatar for Danny1994

Hello programmers out there :) Im currently having problems with allowing the "-" in my TextBox. [B](Im using Visual Studio 2010)[/B] Im kinda new to programming, thats why this code looks messy. [CODE]void Form1::textBox9_KeyPress(System::Object^ sender, System::Windows::Forms::KeyPressEventArgs^ e) { if(!Char::IsDigit(e->KeyChar) && (e->KeyChar != 0x08) && (e->KeyChar != 0x6D)) e->Handled = true; …

Member Avatar for Danny1994
0
330
Member Avatar for lmytilin

[CODE]#include <stdio.h> #DEFINE suntetagmenes 3 double eswterikoginomeno(double dianusmata[][suntetagmenes]) { int j; double eswteriko=0; for (j=0;j<suntetagmenes;j++) { eswteriko+=dianusmata[0][j]*dianusmata[1][j]; } return(eswteriko); } double e3wterikoginomeno(double dianusmata[][suntetagmenes], int i) { double e3wteriko; if (i==0) { e3wteriko=dianusmata[0][1]*dianusmata[1][2]-dianusmata[0][2]*dianusmata[1][1]; } else if (i==1) { e3wteriko=dianusmata[0][2]*dianusmata[1][0]-dianusmata[0][0]*dianusmata[1][2]; } else { e3wteriko=dianusmata[0][0]*dianusmata[1][1]-dianusmata[0][1]*dianusmata[1][0]; } return(e3wteriko); } int main() { char x='m'; …

Member Avatar for lmytilin
0
139
Member Avatar for trickx

hi!..i really need some help.. i need to print a pyramid pattern shown below in c++ language using a nested for loop... 1 1 2 1 1 2 4 2 1 1 2 4 8 4 2 1 1 2 4 8 16 8 4 2 1 1 2 4 …

Member Avatar for subtracktor
0
134
Member Avatar for CHOCHOCHO

The Peterman Publishing Company has decided that no published book should cost more than 10 cents per page. Create a [I]BookException[/I] class whose constructor requires three arguments: a [I]string Book[/I] title, a [I]double[/I] price and an [I]int[/I] number of pages. Create an error message that is passed to the [I]Exception[/I] …

Member Avatar for Singlem
0
651
Member Avatar for Xcelled194

Hi, for a program, I need to map the location of all the back pixels in an image into some kind of structure. The program later uses the structure to select a random pixel location. It then removes the location, to prevent it being used again. The problem is, there …

Member Avatar for Xcelled194
0
77
Member Avatar for Urelsor

Hello guys, First of all I'm not really good with Java. To be honest I'd rather call my Java skills bad. But here comes my problem. I want to download a CSV file from a specific URL and save it at the TEMP directory. Then i want to read this …

Member Avatar for Urelsor
0
203
Member Avatar for mrcniceguy

i have table users in my database))the host of my website is in US and i am currently leaving in Russia. so when i display date/time in web page it shows time as if i am in US also my clients in different countries they are experiencing the same problem.\ …

Member Avatar for mrcniceguy
0
81
Member Avatar for ammayi67

thanks for allowing me join your forum i have an output of linux command "who" which provides following details..... CURRENT USER/ACCT INFO 17:31:36 up 4:49, 4 users, load average: 0.03, 0.04, 0.00 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root :0 - 12:59 ?xdm? 4:54 0.02s /bin/sh /usr/bi root …

Member Avatar for JeoSaurus
0
2K
Member Avatar for Hardcoded

Having looked at several tutorials I can't help but think data binding seems unnecessarily complicated... Let's say I want a label to show whether a user is logged in or not. The obvious way to me is in the login code put something like: lb_LoggedIn.Content = User + " Logged …

Member Avatar for Hardcoded
0
182
Member Avatar for gian10890

SOBA11009_1_1.xml SOBA11009_1_2.xml SOBA11009_1_3.xml SOBA11009_1_4.xml SOBA11009_1_5.xml SOBA11009_2_1.xml SOBA11009_2_1.xml SOBA11009_2_2.xml SOBA11009_2_3.xml SOBA11009_3_1.xml SOBA11009_3_2.xml SOBA11009_3_3.xml 978-0-387-98595-4 Is it possible that I want to create a batch file that overwrites the SOBA1109 with 978-0-387-98595-4? output: 978-0-387-98595-4_1_1.xml 978-0-387-98595-4_1_2.xml 978-0-387-98595-4_1_3.xml 978-0-387-98595-4_1_4.xml 978-0-387-98595-4_1_5.xml 978-0-387-98595-4_2_1.xml 978-0-387-98595-4_2_1.xml 978-0-387-98595-4_2_2.xml 978-0-387-98595-4_2_3.xml 978-0-387-98595-4_3_1.xml 978-0-387-98595-4_3_2.xml 978-0-387-98595-4_3_3.xml

Member Avatar for JeoSaurus
0
178
Member Avatar for empror9

hello, i want to write a simple university programme please first see my code [CODE]#include<iostream> #include<string> #include<vector> using namespace std; class subject { string code; public: void create_code(); void list_of_code(); }; class student { string name; public: void create_student(); void list_student(); }; int main() { int size_of_student,size_of_subject; student student_attributes; subject …

Member Avatar for empror9
0
112
Member Avatar for daniwaber

Hi, After I packaged the project and deployed it on another computer without VB6 installed on it, Every thing works properly except the Reports. when I try to call the Report it gives error "Application-defined or Object defined error" and Report does not open. If you install VB6 this problem …

Member Avatar for AndreRet
0
2K
Member Avatar for muralibobby2015

hello.. i have to write htaccess for mysite. actually we have two domains. '.com and .in' . for example i opened '.com' site it will actomatically access files from '.in' domain. there is no files in .com site. how to write .htaccess for this. thanks.

Member Avatar for muralibobby2015
0
142
Member Avatar for sangfroid

Hi I am trying to write a function in which I customize my select statement. But it is not working as i desire... It is as [CODE] declare @column_name nvarchar(10) set @column_name = 'original' select @column_name from data [/CODE] Here original is the name of one of the columns. I …

Member Avatar for harie.in
0
138
Member Avatar for Jayson83

Below is my code to call the records or save/update to the database which works fine [code] Private MasterConnection As New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=Info.mdb;Persist Security Info=False;") Private daMaster As OleDb.OleDbDataAdapter Private dsMaster As DataSet Private dtMaster As New Data.DataTable [/code] I have been trying to add First Previous Next Last …

Member Avatar for Jayson83
0
71
Member Avatar for gouriarun

Hi, I have to send a notification to my clients using a email template. For eg if i have updated some data a notification should be send to them that some updates have done. So how can i do that? Please help me out its very urgent.

Member Avatar for jugosoft
0
109
Member Avatar for markdean.expres

Hi everyone, can I customize my datareport? How? I'd like to add static information such the name of the company, address, contact and so on... No one can help me here (class) because I am the only one who uses VB 2008. All of them are using 6.0.

Member Avatar for markdean.expres
0
167
Member Avatar for Vanquish39

Hey guys, I'm a newbie to mysql and wanted to know how can I connect 2 tables together with a many-to-many relationship. This is what I have. [CODE] create table pharmacy ( pharmacy_id int not null primary key auto_increment, businessName varchar(25) not null, location varchar(25) not null ); [/CODE] [CODE] …

Member Avatar for drjohn
0
171
Member Avatar for MarounMaroun

Hello guys, I have this function: [CODE=c] void swap(char **a, char **b) { char *tmp=*a; *a=*b; *b=tmp; } int main() { char *str1="aaa"; char *str2="bbb"; swap((char **)&str1, (char**)&str2); return 0; } [/code] The program runs and really swaps the two strings. I don't understand why we send (char**)&str1 and (char**)&str2 …

Member Avatar for Narue
0
141
Member Avatar for localp

There is textbox, and 2 buttons in a web page. when the user clicks one of the button, the character 'A', should get printed on the textbox. and when the user clicks on the other button, 'B', should get printed on the textbox in the format 'AB'. I was looking …

Member Avatar for localp
0
329
Member Avatar for eskimo456

Hi there Sorry wasn't to sure where this was supposed to go. I am interested in the lower level of computing and was wandering how to build a language, or program such as visual studio? I have gathered it goes from the higher language and gets compiled into assembly/machine code …

Member Avatar for MosaicFuneral
0
196
Member Avatar for reco21

Hello, I'm wondering how to add predefined text to many input fields on click of an image. so I have 4 images and I click one and 4 fields are filled with predefined text. If I click another the text is changed with some other predefined text. Thanks

Member Avatar for reco21
0
140
Member Avatar for Moderns

Hello, I have folder on remote FTP server that is updated with more than XML file with different names in asynchronous (not scheduled time), I want to make a PHP application that fetch any new XML file arrives at the FTP automatically, so how can I make the PHP application …

Member Avatar for pritaeas
0
1K
Member Avatar for undertaker705

Hi, When I compile my class, I find a serious error C2558 no copy constructor available or copy constructor is declared 'explicit' My copy constructor is not private and not explicit ! I don't have any idea about this error Help me please. My class is : Cnoeud.h #include "Csequence.h" …

Member Avatar for subtracktor
0
279
Member Avatar for faisyshah

hello every body this is my second problem , please solve my problem i am designing a site in which customer can input credit card no, card expiry date etc. you can say a complete ecommerce site.i only know about merchant id. therefore we must contact with banks etc provide …

Member Avatar for ayni
0
124

The End.