199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mikabark

Hello .. I 'm doing sha1 program. I don't know why this source result show below errors. sha3.cpp:11: error: invalid conversion from ‘unsigned char*’ to ‘const char*’ sha3.cpp:11: error: initializing argument 1 of ‘size_t strlen(const char*)’ Thanks you. [CODE][/CODE] [CODE]#include <stdio.h> #include <string.h> #include <openssl/sha.h> int main() { int i; …

Member Avatar for Clinton Portis
0
3K
Member Avatar for masocha

Hie guys does anyone know something about dotProject. l am trying to modify code in completed.php to display en extra column which is Project Name in a pdf file

Member Avatar for Wraithmanilian
0
182
Member Avatar for bobbuilder67

Hello Everybody, For a sorting project I'm working on, I have a string array, with 50 values. I need to convert each string in the array to a two dimensional char array. For example, Let's say there is a string array[50]. Each position in the array has a name in …

Member Avatar for Fbody
0
119
Member Avatar for jamesbraders

Hi, I am currently writing a program that requires me to take values from a text file and store them in an 2d array, I am quite new to c++ programming so I am not sure how to do it. My text file (posvalues.txt) looks like this: 0 0 0 …

Member Avatar for jonsca
0
268
Member Avatar for Aamit

Hi, I want to submit the form when click on url without page refresh. I create url by using some mysql DB values url like:- index.php?pid=2&mid=25 index.php?pid=4&mid=34 when click on url pass the values to another variables But with out page reload. How to do this? Any sample link?

Member Avatar for compusolver
0
176
Member Avatar for gunnarflax

I 'm trying to create my own Javascript library which I want to be able to access in the same way as you do with Jquery (by writing Jquery.something or $.something). But I can't figure out how that is done. The object Jquery must in someway be created and have …

Member Avatar for gunnarflax
0
171
Member Avatar for rosslad2004

Hi there. I'm very very new to php. :o so i hope i'm posting in the right forum. and i really can't figure this out. probably really simple but i need to place a url into: while ($row = mysql_fetch_array($result)) { echo $row['login']; echo "&nbsp;" . $row['age'] . "<br>"; everytime …

Member Avatar for mhelmyh
0
309
Member Avatar for veronica_0501

I have to count characters, words and lines from a text file. I am able to count characters and lines but not words. This code is error-less, but the output for words always appear 0. Anyone able to help me see what's wrong and provide a way out? And I …

Member Avatar for gerard4143
0
139
Member Avatar for gplkrsna

Hi, Problem: I have two libraries with two different queue implementations. but with same structure name as "queuetype". Now if I include both of the header files in my code, compilation will go for toss saying "error: conflicting types for 'queuetype' " I need to include both the files. How …

Member Avatar for Narue
0
125
Member Avatar for Chichiro

Hi all , i recently has read about some posts related to the above title , but i'm really confused about it,sadly :( What is the real difference between programming and software engineering? Which one should i go for ? If i took software engineering , could i be a …

Member Avatar for Chichiro
0
387
Member Avatar for maryjessicka

i am sending mail in asp.net using c#. Below i have pasted the C# code for sending mail but when i submit the form i am getting the error as Mailbox Unavailable. [CODE]System.Net.Mail.MailMessage message = new System.Net.Mail.MailMessage(); //message.To.Add("xxx@gmail.com"); message.Subject = "Rental Agreement Form"; message.From = new System.Net.Mail.MailAddress("user@msssoftware.com"); message.To.Add("xxxx@gmail.com"); //message.CC.Add("xxxx@gmail.com"); message.IsBodyHtml …

Member Avatar for kvprajapati
0
134
Member Avatar for jtok

I am using Visual Studio 2005 to build a website using ASP.NET and VB.NET. It is accessing data on SQL Server 2005. I have a form (actually it is in a wizard) that needs data populated from a sqldatareader. This all works for the first two steps in the wizard, …

Member Avatar for kvprajapati
0
3K
Member Avatar for ashab27

hi, i m asha bhatt i have create check box list dynamically and i want to do the validation for that its checked or not this is my .aspx.cs code [code] using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using …

Member Avatar for kvprajapati
0
547
Member Avatar for kiranbvsn

Hi, I want to validate the user id that was entered in a textbox (similar to while registering to a site, we come across something like "this username already existed please choose different") without refreshing the page (or i can say in textbox onchange event) can someone guide me how …

Member Avatar for brixton
0
84
Member Avatar for bertyhell

i made a jtable in java with 2 columns when i select some rows and click a button it should get the selected rows but this array comes back empty here are some sniplets [CODE] JScrollPane scroller = new JScrollPane(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED); scroller.setBorder(null); this.add(scroller,BorderLayout.CENTER); customers = new JTable(); scroller.setViewportView(customers); customers.setAutoCreateRowSorter(true); customers.setModel(new …

Member Avatar for bertyhell
0
576
Member Avatar for baki100

What method / methods should be be used in order to get the frame to start up in a central position of the screen, and could you also provide the code please. I'm using wxPython. thanks

Member Avatar for baki100
0
274
Member Avatar for kgkamaraj

Hi. I am passing different kind of text file and calling same function.. Can any one know how to avoid these repeated code. [CODE] public static void main(String[] args) throws IOException,NullPointerException { MultipleLinearRegrssionModel fex = new MultipleLinearRegrssionModel(); //Calls Read From File //First ocument docsum=1; fex.readFromFile("f:/project/document/training/1.txt"); //Calls compare training corpus and …

Member Avatar for kgkamaraj
0
210
Member Avatar for polska03

I am only showing the spaceport and fileIO. I want the first line of my txt file to show the number of spaceship to create an array then choose what type of spaceship. I did the best i can and now i am completly stuck its not working. Can Someone …

Member Avatar for javaAddict
0
143
Member Avatar for kohkohkoh

can i know how to save a file name based on the user's input for example: Enter your name : Derrick then i save this input to a file .txt named derrick (derrick.txt) how can i do it? i only know how to use the rename() and delete() function...in the …

Member Avatar for DoEds
0
129
Member Avatar for NAGASAKI

When I look at a statement, how can i tell whether it's an accumulator or a counter?

Member Avatar for J-eezy
0
94
Member Avatar for lisles

hey is there any way i can dynamicallay pupulate 3 drop downs ie when based on d selection of a value from 1st drop down populate 2nd drop down and based on value selected in 2nd srop down populate 3rd drop down,but i wan this to happen in my edit …

Member Avatar for saiprem
0
103
Member Avatar for london-G

Hello I need ideas of how to create my project. I am supposed to create a map and shows description of each cities. So i have put buttons on each cities on the map and when the user clicks on a certain city he/she should see the description of it …

Member Avatar for london-G
0
885
Member Avatar for viking3579

Hello I'm trying to get a jTextField to be updated by another class however the validate() and repaint() aren't working. However, it is saying that the text has been changed for my jTextField. Below is the code could anybody explain to me why its not updating the repainting the jTextField …

Member Avatar for gangsta1903
0
423
Member Avatar for sandyben

Hi..I basically new wit java. i have a program called Transfer.java..n when i press button caleed "start Transfer" it executes FileServer.java [CODE] import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.*; import java.util.Random; import java.util.*; import java.text.*; import java.rmi.*; class transfer extends JFrame implements ActionListener, Runnable { JButton btntrans,btnexit; ImageIcon bc; …

Member Avatar for gerdonhanry
0
154
Member Avatar for Ghost

Hi Everybody, I was wondering how to make a java image editing application. Basically, I really want to make a program that allows the user to drag and stretch images. I don't want the code. I'm only in search of a decent tutorial. Thanks in advanced for your help.

Member Avatar for manojnbn
0
2K
Member Avatar for pradeepkumarb

i developed an online quiz application that retrieves the questions from the database and displays it to the user.how can i put time constraint into that application

Member Avatar for peter_budo
0
67
Member Avatar for sakhi kul

Hi, how to import/include Spatial Data format (Geometry and Geography) in Sql Server 2008 ?

Member Avatar for sakhi kul
0
165
Member Avatar for ahp@aol.in

Hi folks, Using shell script I'm running two java applications at background. The output of 'ps -ef' is UID PID PPID TTY STIME COMMAND Amar 2388 1 con 15:35:58 /usr/bin/bash Amar 1272 1 con 15:44:29 /cygdrive/c/Program Files/Java/jdk1.6.0_01/bin/java Amar 3972 1 con 15:44:55 /cygdrive/c/Program Files/Java/jdk1.6.0_01/bin/java Amar 1600 2388 con 15:46:12 /usr/bin/ps …

Member Avatar for masijade
0
409
Member Avatar for wolfkrug

Hi I use visual studio to make my programs. I know that to copy the output of the program, you have to right click, mark, highlight, and then copy. But almost all the time when I try to paste nothing happens, and by that time the output box disappreared so …

Member Avatar for wolfkrug
0
108
Member Avatar for noora000

Hello, Could you please help me in writing a code for sending an e-mail in c#... Regards..

Member Avatar for maryjessicka
0
226
Member Avatar for kohkohkoh

I saw there is some code in C# where it can do copy and paste and also does the automation typing in a textbox or file.. (not using fieldname.text = "value" ) it seems using some system.window.input. you guys got the link or resources? your kindness is very much appreciated! …

Member Avatar for kohkohkoh
0
90
Member Avatar for Sobakaa

Hello everybody! I've wrote a very simple echo server, based on a book about LInux socket programming example and it works just fine. My only problem is that i want to use select() function to handle several connections at one time. I've read lots of reference concerning that function and …

Member Avatar for Sobakaa
0
236
Member Avatar for pankajagar2002

Hello frnds, I am suffering with a problem. Please help me. The problem is when i am displaying a list of items or say component in to view then the list got weird or we can say jumbled(one item above another) comes for a short moment(less than 1 sec). i …

Member Avatar for BestJewSinceJC
0
303
Member Avatar for sunil_ak47
Member Avatar for debasisdas
0
55
Member Avatar for shorty246

NEed HELP starting it off..not sure what im doing wrong..Please!! The Percentile class The constructor of your class should have one parameter representing the capacity of the array that the class will contain. The array should be a double array with its length equal to the capacity. You will also …

Member Avatar for BestJewSinceJC
0
141
Member Avatar for manish_partey

Hi Everyone, I have one master page and one user control I want to add and use the user control at runtime in the master page. I have used LoadControl Method to add usercontrol but in that case i was unable in getting the tagprefix and tagname value of the …

Member Avatar for manish_partey
0
89
Member Avatar for jimJohnson

I am writing a program and stuck on a part of my coding. This part of the instructions say the following... 11 - User can only withdrawl $300 amount per day I guess my problem is I am not sure how to set this up where it is linked to …

Member Avatar for VernonDozier
0
480
Member Avatar for samuelhenry

i m workin with jsp's i am doing a project on online movie ticket booking system. i encountered a problem when i started executing code for seat booking.... let me tell u my prob.... i m tryin to execute a query like this.... [code=java]select s.seatno,'"+seat+"' from booking where s.screenid='101';[/code] seat …

Member Avatar for jwenting
0
240
Member Avatar for cane23

for some reason i am getting an error with my query statements here is my code [CODE]if ($_GET['mode'] == 'edit') { $c=$_GET['coursecode']; echo"$c"; // editing an existing entity // check for value of id if (!$_GET['coursecode']) { echo "error: no coursecode specified, <a href=\"{$_SERVER['PHP_SELF']}\">click here to continue</a>"; exit; } if …

Member Avatar for saiprem
0
101
Member Avatar for laelzio.mosca

I`m taking java class and I`m thinking about getting one of those mini laptops just to do my school work and be able to access the internet. for the price and portability, I`m looking at the Acer Aspire One AO532h-2326 I`d like to get an advice from you guys. How …

Member Avatar for BestJewSinceJC
0
85
Member Avatar for TheWhite

One of my programs work with MySQL (Connector/J Driver). The issue is, some of the contents I'm passing into the query string are read from a file that contains several escapable characters. When I try to commit the query (such as an INSERT) with a value that has unescaped characters …

Member Avatar for BestJewSinceJC
0
146
Member Avatar for wasyazwan

[CODE] RichTextBox1.SelectionStart = RichTextBox1.Find("Not Found") RichTextBox1.SelectionColor = Color.Red[/CODE] that is my code.. my problem is in my richtextbox1, there are many line that contain "Not Found". So how can i change colour for all of that text to red colour? my code only work only with a single line that …

Member Avatar for wasyazwan
0
2K
Member Avatar for Guylolk

I'm getting "TypeError: unsupported operand type(s) for *: 'instance' and 'int'" It looks as if I am not setting a correctly and it would be great if someone could assist me with my problem. Thanks! [CODE=python] #! /usr/bin/env python from Tkinter import * import tkMessageBox tkMessageBox.showinfo("Text","Hello. Tell me any whole …

Member Avatar for dilettante80
0
231
Member Avatar for london-G

Hello I would like to read a file and display certain lines ( like from line 5 to 10) in a label. i know how to read the file line by line but not the specified line i want. Thanks in advance

Member Avatar for wasyazwan
0
1K
Member Avatar for xuexue

hi guys, just wanna ask is there a good software which can help me plot data or draw a line graph in php? these data are dynamic, and will come from the database..just a simple line graph will do. thanks thanks.

Member Avatar for OS_dev
0
94
Member Avatar for ronaldpaul

Hi friends, In my project I'm using multiple tables to sotr the details.There is one main table and in the i'm storing the contact details of the family.And according to the number of members in the family I'm saving the member names and ages in different table.Now what I need …

Member Avatar for darkagn
0
176
Member Avatar for vvashishta

Is web.config file is must to execute any asp.net application if we are maintaining connection strings on the page itself.

Member Avatar for kvprajapati
0
110
Member Avatar for nola_Coder

I've finally got my game scrolling sideways, but... 1) There's a really bad flicker to the whole screen. 2) Also, how do I get the background to loop? 3) The whole thing seems to run quite a bit slower than before I added the background. Why is that? How do …

Member Avatar for nola_Coder
0
175
Member Avatar for lotrsimp12345

SO it says given the follwing relations father (X,Y) says that X is the father of Y mother (X,Y) says that X is the mother of Y female(X) says that X is female male(X) says that X is male Define a sister relation so that sister(X,Y) says that X is …

Member Avatar for lotrsimp12345
0
96
Member Avatar for spursfan2110

Hey everyone, I have a kind of large problem. I am trying to input something in C, a number between 0 and 50,000, using scanf(). I understand how scanf generally works, and it does for the most part, but for some reason if the number I enter is greater than …

Member Avatar for Dave Sinkula
0
187

The End.