199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for G-Do

Hi guys, I'm trying to learn the principles of artificial intelligence. I just finished coding up a belief net and a corresponding EM algorithm that learns the CPTs for latent nodes using training data (if you're unfamiliar with the lingo, you're probably going :eek: right now). While the program (written …

Member Avatar for Gael Varoquaux
0
332
Member Avatar for joshisumitnet

Dear Friends, The problem I am facing a that how to Hide and Unhide Div tags in IE7 and IE8? My code is [CODE]<div> <a href='javascript:void(0)' onclick='DisplayAddComment();'> <img src="../images/AddComment.jpg" border="0"/> </a> </div>[/CODE] and javaScript Function is [CODE]var m=1; function DisplayAddComment() { if(m==1) { document.getElementById("dvAddComments").style.visibility="visible"; document.getElementById("dvAddComments").style.display="table"; m=0; } else { document.getElementById("dvAddComments").style.visibility="hidden"; …

Member Avatar for Taywin
0
1K
Member Avatar for chintan_1671

Can any one help me to convert this delphi code to C#. class function TShrinkConfig.MyVersion: WORD; var ini: TIniFile; begin ini := TIniFile.Create(gsIniFile); Result := ini.ReadInteger( SHRINK_INI_SETUP_SECTION, SHRINK_INI_MYVERSION, SHRINK_INI_VERSION_1); ini.Free; end; if (not ini.ValueExists(SHRINK_INI_VERSIONS_SECTION, IntToStr(version))) then .... I searched online that TiniFile corresponds to FileStream in C#. But i am …

Member Avatar for chintan_1671
0
259
Member Avatar for malayasthana

i want to itterate through the vector and want to check if entered string is present in the string vector or not.. so please help me to know how can i do it i have done just as we do to itterate through vector<string>: vector<string>::iterator it; cout << "myvector contains:"; …

Member Avatar for Fbody
0
146
Member Avatar for Anuradha Mandal

I want to make an user defined STACK.But I have some problems with this following code. Please find what is worng. [CODE] #include <iostream> #include <conio.h> using namespace std; #define MAX 10 class stack { private: int arr[MAX]; int top; public: stack() { top=-1; } int m; void input() { …

Member Avatar for Taywin
0
95
Member Avatar for IDC_Sharp

[COLOR="Red"][B]Quastion number 1:[/B][/COLOR] look i made a program with listView and i want that when i quit the program it will save the items that i put in the listView and when i will open the program again it will display the items. i tried it with 'Setting' in the …

Member Avatar for IDC_Sharp
0
101
Member Avatar for judithSampathwa

Hi, I need some guidence or some tutorials which will teach me how to do , i am not sure is this the correct forum i am in. i need a way to upload any kind of file from the fileUpload control to MySQL server how can i do this, …

Member Avatar for judithSampathwa
0
979
Member Avatar for pikpik

Hi, As part of porting a (mostly C++) library[1] to a "new" operating system[2], I'm trying to link the library's semaphore class to the platform's semaphore implementation. The problem is that the library assumes that the semaphore implementation will be a modern POSIX one[3] but the operating system's semaphores are …

0
170
Member Avatar for Sorcher

How can i count files in a folder but only the files starting with 15_ before the file name?

Member Avatar for diafol
0
60
Member Avatar for vinitmittal2008

Please give Free download links of Latest and Best C/C++ Compilers for Windows...

Member Avatar for Ancient Dragon
0
162
Member Avatar for manaila

Hi, I want to get started in Web Development. I want to be able to design dynamic web services. I have realised that there are so many languages used in web development. So I am asking for an advice of which languages I have to choose in the design of …

Member Avatar for manaila
0
311
Member Avatar for myrk

Hello, Can anyone suggest a GUI library that meets the following criteria? * Cross-Platform * Doesn't control the main loop * Not 100% object-oriented; similar to Xlib :) * Not many pointers please (like FLTK that every object is a pointer) * Free to use for closed source and open …

Member Avatar for Stefano Mtangoo
0
709
Member Avatar for arctushar

[CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <!-- Microsoft Indic Language Input Tool embed code --> <form method="post"> <input name="abc" type="text"></input><br/> <input type="submit"/> </form> <?php echo $_post['abc']; ?> </body> </html> [/CODE] I have written this page …

Member Avatar for arctushar
0
16K
Member Avatar for vedel

I have a asm boot on a floppy disc and i want to show a c++ kernel (cuz c++ are easy). but how can i link it? I heared somethig about : extern _main call _main for asm. Can anyone help me? :'(

Member Avatar for vedel
0
227
Member Avatar for powerteens001

Hi everyone...I'm very much new to java scripting..My problem is...I have a situation where I have to check wether the text entered into a text box contains "_" (underscore) or not..I have to use this in javascript of my asp.net page. can anyone help me with some code..??

Member Avatar for Taywin
0
225
Member Avatar for Aventurine

Hi, I am a PHP developer I never learned much JS but there is no way to accomplish this function using only PHP without a refresh. I am trying to adapt a script that did the basics. [CODE] <script language="JavaScript"> function som() { var First, Last, Full; First = document.Credit.First.value; …

Member Avatar for Airshow
0
1K
Member Avatar for satya2mysql

[code=sql]DELIMITER $$ DROP PROCEDURE IF EXISTS `hrprocess_temp`.`sp_alltabinsert1` $$ CREATE DEFINER=`invensis`@`%` PROCEDURE `sp_alltabinsert1`(empid varchar(10),fname varchar(45),lname varchar(45), fathername varchar(30),dob varchar(20),gender varchar(6),maritalstatus varchar(9),spousename varchar(15),children varchar(8), commadd varchar(250),permadd varchar(250),mobileno varchar(15),landlineno varchar(15),email varchar(40), languages varchar(25),nationality varchar(25),bloodgroup varchar(5),drivingno varchar(20),panno varchar(15), passportno varchar(15),imagepath varchar(100),resumepath varchar(1000),skill varchar(250),deptname varchar(30), Course varchar(20),Specialize varchar(35),institute varchar(25),PassYear varchar(10), Organization varchar(25),Designation varchar(25),FromDt varchar(15),ToDt varchar(15),ReasonsChange …

Member Avatar for peter_budo
0
174
Member Avatar for mtvaran

basically this is a search function.(i have to search the data from database) [CODE]<form method="post" action="search.php" name="submitted" value ="true" /> <label>TYPE: <select name="field"> <option value = "sid">StudentID</option> <option value = "sname">StudentName</option> </select> </label> <label>WORD: <input type="text" name="searchword" /> </label> <input type="submit" /> </form> <?php if (isset($_POST['submitted'])){ $con = mysql_connect("localhost","root",""); mysql_select_db("uni", …

Member Avatar for monica singh
0
215
Member Avatar for sundip
Member Avatar for Awah Mohamed

please help me it usually gives me error ( it says cant enter the values ) [CODE] <?php $host = "localhost"; $con = mysql_connect("localhost","awah","password") or die ("error to connect to the server"); // contact the table and enter the form mysql_select_db("kigalifinders_clanteam_admin", $con); $query = mysql_query("INSERT INTO contacts(from, subject, message) value('$_POST[email]','$_POST[subject]','$_POST[messgae]')"); …

Member Avatar for sudeepjd
0
113
Member Avatar for lilsmurf

I'm working on a program and when I try to run it, I am receiving an error stating "The connection name 'ConnectionString' was not found in the applications configuration or the connection string is empty." Here is my code: [CODE] <%@ Page Language="VB" AutoEventWireup="false" CodeFile="CustomerDisplay.aspx.vb" Inherits="CustomerDisplay" %> <!DOCTYPE html PUBLIC …

Member Avatar for kouroshnik
0
105
Member Avatar for mtvaran

Hi guys, i have a big problem on these creation. basically if i enter the No of Question then it has to be created No of cells for entering marks. Eg: No of question = 4 then [B]quesNO[/B]-------[B]Marks[/B] 1------------------cell 2------------------cell 3------------------cell 4------------------cell if anyone of you could help me with …

Member Avatar for monica singh
0
1K
Member Avatar for benhowdle89

I'm trying to write some php that will allow a user to edit an order they previously placed. But in the same way they made the order if that makes sense. So this is my jQuery code to send values to a php page: [CODE]$('#submit').live('click',function(){ var postData = {}; postData['data[order_id]'] …

Member Avatar for NettSite
0
132
Member Avatar for Jesi523

I need some help. I have a detailsview and it has several different fields in it. The fields I am having a problem with it the dropdownlist. I have two dropdownlist, one that is dependent on the other. That works fine. But now when I try to insert the selected …

Member Avatar for kouroshnik
0
135
Member Avatar for wangome

HAE guys am in a big problem my boss wants me to create a comment page on my website and ave problems with declaring variables. you can view my website from [url]www.meliaproject.org[/url] and go to contact page and see the error am getting please someone sort me out with this …

Member Avatar for monica singh
0
135
Member Avatar for yashbhav

Hi guys, I am using following code for sending out confirmation email after successful transaction to the user. But, I users are not getting any confirmation emails. Can somebody help me out here. May be I am doing wrong in "$to" function as $sender_email is at previous form, So how …

Member Avatar for monica singh
0
185
Member Avatar for recawo

I am using Visual C# When i open file from my database then an image is loaded in my program,and image source is given below [B][COLOR="Red"]map.Source = new BitmapImage(new Uri(filePath)); [/COLOR][/B]/// filepath is address of image from datebase and when replace it by another image. The new image is loaded …

Member Avatar for kouroshnik
0
242
Member Avatar for crenfrow

This is probably very simple but i'm not seeing how to do it. My GUI for a project reads objects from a flat file (substitution for database) and puts each object as an item in a jComboBox. Then if the user wants to delete one of the objects, he selects …

Member Avatar for hanvyj
0
1K
Member Avatar for 080346

i have written the following code, my 1st combo box getting the write data but when i have problem in the getting the data in 2nd combo box when i select from the 1st one....kindly help me....advance thnx for answering String obj =(String)jComboBox1.getSelectedItem(); res=stat.executeQuery("Select flight from main where Route="+obj); String …

Member Avatar for hanvyj
0
75
Member Avatar for georgy9002

Hello Guys I am having problems with an assignment. I need to create a class to make a rectangle. Then I have to - Declare an object of the class (rect1) using the default constructor. Now prompt the user for a Width, Height and Character. Store the results in temporary …

Member Avatar for mtbs1826
0
172
Member Avatar for arvin2006

Hi everyone. I am developing a vb app which uses reg free com. How can I get the IDs of the DLL file to insert it into the manifest file I am creating also with vb. Is this possible?

Member Avatar for AndreRet
0
2K
Member Avatar for im abcd

[CODE]# include <stdio.h> # include <iostream> using namespace std; int main() { int a,b,c; while (true) { cout<< " enter ur first digit"<< endl; cin>> a; cout<< "enter ur second digit" << endl; cin >> b; cout << " ur ans is "<< (a-b) <<endl; continue ; break;} scanf ("%d%",&c); …

Member Avatar for elsiekins
0
201
Member Avatar for 080346

I have created two select list (Combo box). BankName and BranchName. BankName is using LOV with query to display bankname. This is working fine. Now when i select Bank name i want to display selected branches of that bank in Branchname combo.How to display values in second combo basis on …

Member Avatar for hanvyj
0
290
Member Avatar for akilank

Hi all. I have an mutableArray which displays a list of files in a tableView. I have stored those files in a directory. I am using [CODE]NSfileManager[/CODE] class and [CODE]attributesOfItemAtPath[/CODE] method to retrieve some properties of the files like fileSize, fileType.. In the second stage I am trying to have …

Member Avatar for akilank
0
97
Member Avatar for divyakprabh

Hi, I have two applications which uses the same class that gives cpu information using sigar api. Both the applications are deployed in a same JBoss instance. When i try to start the application, first application gets deployed with no errors while for second application i get an error saying …

Member Avatar for divyakprabh
0
130
Member Avatar for the_mia_team

ok I have my register.php file obviously i blanked out my username and pass the first code is my register.php code and ill add my login.php code as well but it doesnt work it always says wrong pass or username no matter what my register.php works perfectly fine I just …

Member Avatar for vibhaJ
0
232
Member Avatar for saadi06

Hello, Can any one tell me that how to show the name of the user using session. PLease help me by giving a code example and can anyone tell me i am using sessions and it is giving me this error " Warning: session_start() [function.session-start]: Cannot send session cache limiter …

Member Avatar for saadi06
0
281
Member Avatar for notmasteryet

hi guys, trying to figure out how to put X when seat is taken plz help [//Airplane Seat Assigning system. [CODE]#include<iostream> using namespace std; int main() { char seat [7][4]={}; //initalize 7 rows and 4 columns char arr[4]={'a','b','c','d'}; int i,j; int row, colnum; char col; for(i=1;i<=7;i++) { for(j=1;j<=4;j++) { //cout<<seat[i+1][j+1]; …

Member Avatar for low_coder
0
268
Member Avatar for severman

hi all i was wonder if its possible to join 3 tables, so i could see the result from the 3 tables. for example lets say that i have INVOICE(invoice_id, client_id,item_id) CLIENTS(id, client_name) ITEM(item_id, item_name) i want 1 table that shows: invoice_id, client_name,item_name is this possible? 10x!

Member Avatar for mrahil2008
0
161
Member Avatar for garu525

I wrote this string palindrome program that reads input from a text file. All the syntax are correct but I have an error I couldn't understand. Any help is appreciated, thanks!!! First, this is the error message: [B]Error 1 error LNK2001: unresolved external symbol "char * newToCheck" (?newToCheck@@3PADA)[/B] And this... …

Member Avatar for garu525
0
180
Member Avatar for geryin

[CODE]#include <cmath> #include <iostream> using namespace std; void prime(int num) { int numPrime=true; for(int c=2;c<num;c++) { if (num % c == 0) { numPrime=false; break; } } if (numPrime == true) cout << "TRUE" << endl; else cout << "FALSE" << endl; } int main () { int n; int …

Member Avatar for WaltP
0
182
Member Avatar for celiz45

can anyone please suggest few algorithms to predict protein structure - topic may come under datamining in bioinformatics

Member Avatar for swinefish
0
66
Member Avatar for rajbdilip

I have a link at a page. It has a email form that sends an email to my address. I want to thank sender. I'm redirecting to another page that thanks the user. But i want a thank notification to be displayed in the same page with close option. Please …

Member Avatar for rajbdilip
0
107
Member Avatar for sickpuppy18

hello i'm new in php development and i want to create an update scrupt for my codes, and i've been way over my head in doing this one.Here is my code for the search result i need some pinters to how i can create an update script for this.thanks <html> …

Member Avatar for sickpuppy18
0
101
Member Avatar for printmatic

Ok so I wrote this with some help of a friend and it compiles fine and everything, however when I try and run it I get this error message. "Static Error: No constructor in Day matches this invocation Arguments: () Candidate signatures: Day(int)" I am not sure what this means …

Member Avatar for apines
0
750
Member Avatar for yaya

question about pointer and array. can we add a 2-D array (**A) with a 1-D array (*B)? both of the array is define as a pointer in the program. where array A is A[i][j] and B is B[i] new in C programming and pointer is difficult.... :-|

Member Avatar for somnath Basak
0
161
Member Avatar for Eric Cute

Can anyone pls suggest if there exist a java IDE that has drag and drop functionality in creating GUI's?? Much like the VB.NEt IDE's. Thanks (",)

Member Avatar for RushabhShah1110
0
176
Member Avatar for rolyestemonio

I have something to know guys, is it possible to combine all the data in one fields and it will display separately? Example: I have 3 fields (id, description, link) and i store this in the ff. with a separator "|": [B]description fields[/B] This is a description1 | This is …

Member Avatar for vibhaJ
0
106
Member Avatar for eladreznik

issue has to do with the number of rows which I represent The first row in the dB is 0, so to prevent confusions I added 1 to the index so row 0 will be represented as row 1. The issue is that when I scroll down I “gain” a …

Member Avatar for eladreznik
0
91
Member Avatar for canterorist

hi! i have problem with my form. I cannot connect with home.aspx when i submit it, there is nothing happen. Can anyone tell me whY? HERE'S MY CODE: file name: Registration.aspx [CODE] <form id="form1" runat="server" method="post" action="home.aspx"> <div> <table style="height: 141px"> <tr> <td><label>Name:</label></td> <td> <asp:TextBox ID="txtname" runat="server"></asp:TextBox></td> <td class="style1"> <asp:RequiredFieldValidator …

Member Avatar for vuyiswamb
0
95

The End.