199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for appunu

[CODE]#include <stdio.h> int main(void) { int a,b,c; printf("Enter the sides of the triangle"); scanf("%d%d%d",&a,&b,&c); if(a+b<c || b+c<a || c+a<b) printf("cant form a triangle"); else if(a==b==c) printf("eq triangle"); else if(a!=b && b!=c && c!=a) printf("sca triangle"); else if(a==b&&b!=c || a!=b&&b==c) printf("Iso triangle"); } [/CODE] am starting to code.. i have coded …

Member Avatar for NP-complete
0
121
Member Avatar for MARKAND911

What will be the connection string for OpenOffice Base (.odb) database? i want to use this connection string in C#. Which namespace needed to be added to use .odb operations?

Member Avatar for PsaltyDS
0
874
Member Avatar for ms_farenheit1

I am in the process of updating and modifying source code for an existing application that runs on Linux systems. As part of my modifications, I will be needing to use the library function unlink() from unistd.h However, the class that I need to modify, has an existing public member …

Member Avatar for ms_farenheit1
0
165
Member Avatar for basma.lm

hi, i work on a windows application and i use crystal report. i use this code to generate report from database: [CODE] private void imprimerB3button_Click(object sender, EventArgs e) { SqlCeConnection con = new SqlCeConnection(); con.ConnectionString = @" Data source= |Datadirectory|\Database1.sdf"; Database1DataSet ds = new Database1DataSet(); SqlCeParameter paramNom = new SqlCeParameter("@nom", …

Member Avatar for basma.lm
0
104
Member Avatar for helios0684

Hey, I need help with setting up an authentication code. I am currently working on a project to build a blog server in python for an intro level python course. We are using the PESTO and POSTGRESQL wsgi and sql clients respectively. I am trying to authenticate against a user …

Member Avatar for helios0684
0
485
Member Avatar for thomasekugm

Here is my assignment rules, i am stuck and cannot find what it is i am doing wrong. If some one could help me i would appreciate it * The main routine must be a 'manager' routine, which means o The function can declare variables o The function can call …

Member Avatar for Aia
0
156
Member Avatar for ritesh2190

myCommand.CommandText = "update Stutable set password as ('" & TextBox2.Text & "')"" where rollno = " & TextBox3.Text please can you tell me what is the error in the above statement iam using vb and access database

Member Avatar for nebyas
0
75
Member Avatar for emmas4impact

Hello everyone my task is to write a [COLOR="Green"]program that reads quizzes from a file 'q.txt', randomly selects a number of questions, and presents them to the user one-by-one, collecting user answers. After user has answered all questions, program gives user the score. [/COLOR] please can someone give me the …

Member Avatar for abhimanipal
0
119
Member Avatar for manalibhadula

I am having a Problem in a form.I have use validator controls.But after that it's submit button start giving Problem.It's not Working now,mean's code behind that is not giving any response

Member Avatar for nebyas
0
81
Member Avatar for chrisMed7

Hello i have an assessment to make a car park in GUI and i have tried some stuff but didnt work I need to make in two classes one with the main method and a JFrame container and the other with the buttons for park controls and others Any help …

Member Avatar for JamesCherrill
0
100
Member Avatar for b89smith

I am trying to download an excel file that is avalible on this site: [url]https://www.arcavision.com/Arcavision/index.jsp[/url] Once you are logged a frame opens where you fill out a form and then click submit. On pressing submit the result of the query shows and gives you the option to download the data. …

Member Avatar for Stefano Mtangoo
0
157
Member Avatar for samsons17

[B]Hi people.. I got a problem which i cannot delete a a subject from my database through a page that i created. I've made a page called edit_subject.php where there is a form which i could then delete/edit any subjects that i want.and this is the code : [/B] [CODE] …

Member Avatar for JRM
0
92
Member Avatar for rinoa04

Hello, Everyone. I want to get opinion in developing software project. I will be studying Oracle and will need to do a project using Oracle. Can anyone give any idea on what project I can do. It doesn't matter what language to be used as long as it used Oracle. …

Member Avatar for waqasali11657
0
172
Member Avatar for bbman

[url]http://msdn.microsoft.com/en-us/library/ms632653(VS.85).aspx[/url] I want to get the size of a window being resized (I will show a tooltip by the mouse). I have the code below: [CODE] protected override void WndProc(ref Message m) { base.WndProc(ref m); if (m.Msg == WM_WINDOWPOSCHANGING) { WindowPos mwp; mwp = (WindowPos)Marshal.PtrToStructure(m.LParam, typeof(WindowPos)); //mwp.flags = mwp.flags | …

Member Avatar for finito
0
390
Member Avatar for ajwei810192

Hi, I am wondering if anyone tried to mix PHP and Javascript innerHTML elements to change certain elements to decrease the number of submits without losing data when passing through forms. For some reason, I kept getting errors in my code and I could only get PHP to submit the …

Member Avatar for JRM
0
198
Member Avatar for Cobber

Hi, I don't know if this is the right forum to post this, if not please move it or just delete it. I installed Phpauction via Fantastico after trying several purchased scripts that just wouldn't work. Everything is working fine except the "View Feedback" links which give the following error …

Member Avatar for pcfix609
0
184
Member Avatar for RossSCann

I have downloaded the trial package and am trying to update an old project developed on VC++ 2002. The old environment will not develop an executable to run on W7. The VC++ 2010 generated an upgrade, compiled, linked and lists just a single error MSB3061 which is labeled "unable to …

Member Avatar for RossSCann
0
100
Member Avatar for Gospp

I want to build a Webservice that on given intervals request data from a SQL-server and update an internal list in the Webservice. The Webservice will be accessed from multiple clients and I don't to access to SQL-server every time the list is requested from the clients. Is this possible …

Member Avatar for pritaeas
0
410
Member Avatar for P00dle

Okay, so I'm having problems with my code. I've browsed Daniweb and couldn't find any solutions on here that work. I'm extracting 2 sets of texts from a .xml file. The first part is a directory name(eg. "C:\work\") and the second part is the name of a file in that …

Member Avatar for P00dle
0
4K
Member Avatar for cyon

What is the most efficient way to: [LIST=1] [*]Check if a list has duplicate items (return a boolean) [*]Get duplicate items in a list (return a list) [/LIST] I'm looking for something quick and concise, as my solutions are rather cumbersome: [CODE]def list_has_duplicate_items( L ): for item in L: if …

Member Avatar for TrustyTony
0
2K
Member Avatar for samsons17

i am trying to create a new subject and redirecting the page to the home page after the subject is created which is(content.php). The code succesfully created the object but the page redirecting that i try to make is failed and my browser came out with this error message : …

Member Avatar for YuriyHorobey
0
338
Member Avatar for fizanos

[CODE]<table width="95%" border="1" align="center" CELLPADDING="2" CELLSPACING="0" bordercolor="<?PHP print "$BorderColour"; ?>"> <tr valign="middle" class="tableheadsx"> <td width="91" height="29" align="left" class="welcomexx"><strong>Date</strong></td> <td width="136" height="29" align="left" class="welcomexx"><strong>Distributor's ID </strong></td> <td width="136" height="29" align="left" class="welcomexx"><strong>Customer's Name </strong></td> <td width="140" height="29" align="left" class="welcomexx"><strong>Total Paid(Naira) </strong></td> <td width="157" height="29" align="left" class="welcomexx"><strong>Total Paid(Dollar)</strong></td> </tr> <?php $rowShine = 1;?> …

Member Avatar for fizanos
0
611
Member Avatar for Theanonymous

hi i need a urgent help for a program that i cant make and this is : Write a program that implements a game, to teach arithmetic to little children. The program tests addition and subtraction. In level 1 it tests only addition of numbers less than 10 whose sum …

Member Avatar for Theanonymous
0
145
Member Avatar for ajwei810192

This is an example I have grabbed from W3School, and for the purpose of my question, I have modified it and put in the code here: [CODE] <?php // Make a MySQL Connection mysql_connect("localhost", "admin", "1admin") or die(mysql_error()); mysql_select_db("test") or die(mysql_error()); // Get all the data from the "example" table …

Member Avatar for rajarajan2017
0
126
Member Avatar for blessan

I need help in creating a nested array using a loop. The array should look like this, [CODE] Array ( [0] => Array ( [id] => 1 [text] => root [leaf] => [children] => Array ( [0] => Array ( [id] => 2 [text] => root1 [leaf] => [children] => …

Member Avatar for blessan
0
160
Member Avatar for WaleedaaN

Dear all, i have checkbox ex: [CODE] <?PHP $price_1 = $100 $price_2 = $10 ?> <input type=checkbox name=products[] value=id_1> buy host <input type=checkbox name=products[] value=id_2> buy domain blah blah.... [/CODE] now i want added the javascript when check box someone show the price in text input ex: [CODE]<input type=checkbox name=products[] …

Member Avatar for rajarajan2017
0
127
Member Avatar for bipiney

Hi, In my aspx page I have a gridview inside a panel as below <asp:Panel runat="server" ID="pnlContainer" ScrollBars="Auto" Height="781px" Width="1250px"> <asp:GridView ID="gvCashFlowDtls" AutoGenerateColumns="False" runat="server" Font-Size="Small" DataKeyNames="UID" Width="98%" onrowdatabound="gvCashFlowDtls_RowDataBound"> <HeaderStyle CssClass="GVFixedHeader" /> <Columns> . . . . . . . . . </Columns> </asp:GridView> </asp:Panel> This is the style I used …

Member Avatar for bipiney
0
129
Member Avatar for sayeedbd

Hi Everyone, I Need a simple project which is developed in Microsoft Visual Studio 2005 in VB.net the project features are 1. I have to send multiple SMS from a mobile device connected through a USB. 2. I have to receive SMS from a mobile device and parse it and …

Member Avatar for Luc001
0
637
Member Avatar for tashiDuks

Hello Everyone, I have designing a desktop application using VB.NET 2008 & SQL Server 2005. In my Application i have a frmUserRegistration to add a user & frmLogin to login to my application. i can add the user details in the database but my password seems to be in characters. …

Member Avatar for BigJames
0
3K
Member Avatar for Daffodil_Thursday

I am trying to include this piece of code in my Java Class. But the compiler tells me that it can't find Class Calendar. I can't create a class within a class though, can I? Any advice on how I can link this in to the rest of my code? …

Member Avatar for Daffodil_Thursday
0
4K
Member Avatar for janu121
Member Avatar for saikamal
0
94
Member Avatar for Loren7000

Can someone tell me why the print is not showing up on the page and the email is not be sent to the receipient with the information. HELP [code] <?php if (!isset($_POST['submit'])) { // if page is not submitted to itself echo the form ?> <h5>Vairalbe Information to be Embossed</h5> …

Member Avatar for fizanos
0
162
Member Avatar for codedhands

Hello Good people,am not so sure if this should go here,i am student who is interested in developing a search engine that indexes pages from my country.I have been doing my research on Algorithm to use for sometime now and i have found HITS and PageRank as the best out …

Member Avatar for binoykp
0
1K
Member Avatar for ayesha789

Hi I am working on Project. I want value from MySQL DB in Second input field on input of code in first input field. Is it possible?

Member Avatar for ayesha789
0
298
Member Avatar for sivaprakashm

I need to calculate percentage relative to a particular bar within the series in a barchart Could any one help me out

Member Avatar for jwenting
0
64
Member Avatar for WaleedaaN

hello all, i have this code [CODE]<script type="text/JavaScript"> function checkbox_click (number) { alert("number is" + number); } </script>[/CODE] [CODE]echo "<input type=\"checkbox\" name=\"boxname\" " value=\"5\" onClick=\"checkbox_click('3');\" /> \n"; [/CODE] i want add more code in javascript when is check show me in input text the number and when i check mutlti …

Member Avatar for rajarajan2017
0
112
Member Avatar for sawant_nitesh

I want to develop a JAVA application which can send and receive SMS. I have a mobile phone connected to PC through USB cable. This JAVA program in PC should be able to send and receive SMS. AT commands are used to instruct mobile phone to send/receive SMS. But how …

Member Avatar for peter_budo
0
503
Member Avatar for marc311

hi guys.im new here at the community. im marco a computer science student. guys/sir/madam is it ok for you if ill ask a help from your expertise. right now im doing a project a bout a home security system its a simple anti burglar system, its kinda weird but it …

Member Avatar for TheMasterThingM
0
240
Member Avatar for genieuk

Hi, I just started a free trial with a new webhost as my current one is useless. I have always had my website working on the old webhost fine. I have a folder called sessions outside the public_html folder so it cannot be accessed in a browser and not accessed …

Member Avatar for genieuk
0
296
Member Avatar for ceyesuma

I have a combobox on a panel that changes tables on the panel. How would I get it to repaint if this panel was on a JTabbedPane in a InnerFrame in a JDesktopPane? It repaints but after I switch for one tabs and then back to the said tab. thanks.

Member Avatar for JamesCherrill
0
88
Member Avatar for vlady

Hello, pls.can anybody help me? I try to solve a exercise where I need to involve random module. Here is a text: Exercise 2 In this example, ties are broken by comparing words, so words with the same length appear in alphabetical order. For other applications you might want to …

Member Avatar for vlady
0
147
Member Avatar for MorrisL

I am trying to convert a piece of code into Delphi but fall down when it comes to this example : [CODE] void __stdcall GetBuffers( short **xBuffers, unsigned long nValues) { ....... memcpy(TargetA, xBuffers[0], nValues * sizeof(short)); memcpy(TargetB, xBuffers[1], nValues * sizeof(short)); memcpy(TargetC, xBuffers[3], nValues * sizeof(short)); memcpy(Targetd, xBuffers[4], nValues …

Member Avatar for BitFarmer
0
495
Member Avatar for "ICode"

i made a web service that returns the name of the images in a file and returns the array of string with the file name with its folder name attached to it i.e. "pictures/image1.jpg". the client takes the url and adds it to the string i.e "http://localhost:3323/pictures/image1.jpg". The images is …

Member Avatar for kvprajapati
0
179
Member Avatar for anuragcoder

Hi guys, Here's my project finally. It's name is C.L.O.S.E - The Command Line Open Source Editor Please review and comment. Mention errors if any, Also, for this code to work. Please download open.cpp, find.cpp, new.cpp, append.cpp, compile them and place all of them including the main source in a …

Member Avatar for anuragcoder
0
327
Member Avatar for gameon

hey i used findfirst and findnext function but they can access only a path which is given by us. i want to access all folders and file of a drive like a antivirus do, when it scans the drive.... do u know how can we do it using c language?

Member Avatar for Aia
0
193
Member Avatar for revenge2

Hi there, is it valid to have a java class name and file as [CODE]public class DVD extends Items{[/CODE] and [CODE]public class CD extends Items{[/CODE] where its all in capitals? -thanks, sorry for the short question.

Member Avatar for JamesCherrill
0
213
Member Avatar for xenanovich

hi, (on a linux system) i wrote the following code snippet to 1. write to a serial port 2. read the data that i have just written to the serial port. the write is functioning, but the read is not. if i use just the read (without "write", but by …

Member Avatar for xenanovich
0
1K
Member Avatar for lionaneesh

[code]// Dumps raw memory in hex byte and printable split format void dump(const unsigned char *data_buffer, const unsigned int length) { unsigned char byte; unsigned int i, j; for(i=0; i < length; i++) { byte = data_buffer[i]; printf("%02x ", data_buffer[i]); // Display byte in hex. if(((i%16)==15) || (i==length-1)) { for(j=0; …

Member Avatar for WaltP
0
214
Member Avatar for new2programming

I am trying to use the playsound function i have the code [CODE] PlaySound(L"C:\Documents and Settings\Louisa\My Documents\Visual Studio 2010\Projects\Ninja_Wars\Ninja_Wars\music.wav",NULL,SND_FILENAME|SND_ASYNC | SND_LOOP); Sint32 delta;[/CODE] But when i play the game all i hear is a beeping sound- the one windows has when there is an error or something. Can anyone help …

Member Avatar for nbaztec
0
109
Member Avatar for jwaldron82

I"m new to this site so i"m not sure is this question has been answered before but i"ll ask it anyways. i have a simple small access database and i need to create a link between it and our website but i'm not sure how to go about it. what …

Member Avatar for mhahnel
0
525

The End.