199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for punithapary

Hi Can anyone tell me in php how to convert decimal to roman number.Can anyone provide some example for this. thanks punthapary

Member Avatar for Shanti C
0
316
Member Avatar for bloody_ninja

[code=java]import java.awt.Color; import java.awt.BorderLayout; import java.awt.event.*; import javax.swing.*; import java.io.*; import java.net.*; class SocketClient extends JFrame implements ActionListener { JLabel text, clicked; JButton button; JPanel panel; JTextField textField; Socket socket = null; PrintWriter out = null; BufferedReader in = null; SocketClient(){ //Begin Constructor text = new JLabel("Text to send over …

Member Avatar for masijade
0
299
Member Avatar for FTProtocol

Is it possible to get the local time of a machine ( i can do this part ) then generate a random number between 1-5 ( i can do this ) then add the two together then execute a file when that time comes. Like: Local Time: 10:05 Random Number: …

Member Avatar for Salem
0
84
Member Avatar for ravjot28

I made a project on telephone directory. I have used single class and my reading and writing in the file is done by fin.[write/read]((char*)&object,sizeof(object)); Now the problem is during searching a particular name or phone no. is just read the file and match the name or the phone no. in …

Member Avatar for Salem
0
85
Member Avatar for Vilice

Hi all, Next term ,I will learn the ASP.NET .Any suggestions such as books and toturial or any other things that can help me learn ASP well? I have learned .NET GUI already. Many Thanks! --Vilice--

Member Avatar for Vilice
0
93
Member Avatar for OffbeatPatriot

My project has gotten kind of big now but so I'm trying to post as little code as I can. It seems like the center of my problem is that I have a map for a game, at the start of this game the map is created and is constantly …

Member Avatar for ArkM
0
189
Member Avatar for muupeetz

hello all friend's, i'm a newbee to asp. it totally harder than PHP ;) . i'm facing trouble when try to delete records from a list.. i take the scripts from [url]http://www.w3schools.com/ado/ado_delete.asp[/url] but i made the custom msaccess2002 database b'cause i had no nortwind.mdb database. dbname = tes.mdb , tablename …

Member Avatar for muupeetz
0
747
Member Avatar for asyieen

did anyone know how to make a calendar by using javascript? actually i want to put calendar next to text field, so that, the user can easily select the date and the date will come out in the text field......help me plzzz.....

Member Avatar for asyieen
0
172
Member Avatar for asyieen

actually, i want to display back all checked value in checkbox..In my form, there is some checkbox element where the user should check necessary value b4 submit the form....My problem is, once the user has submit the from, i can't retrieved only checked value.....it display all value including unchecked value …

Member Avatar for asyieen
0
112
Member Avatar for qeinar

when i copy the file to the other directory i want the new file to be run instead of the file that i copyed there, i also want the first one deleated.. how can i do this? ^^

Member Avatar for qeinar
0
80
Member Avatar for 2fac323

I am posting this problem because I am a newbie to C++ and this program has me totally stumped. Any direction, advice, examples would be extremely helpful! I will try to explain my problem as well as possible- For research purposes and to better help students, the admission office of …

Member Avatar for Ancient Dragon
0
114
Member Avatar for kavithabhaskar

Folks: I am trying to get all NVIDIA users on the list and I am saying NVIDIA* in my SQL statement since there are different versions of NVIDIA.. if instead of NVIDIA* i said 'NVIDIA Quadro fx 4600' i get a list of queries.. but if I said 'NVIDIA*' i …

Member Avatar for kavithabhaskar
0
107
Member Avatar for Bill Purkins

Hi, using VB 2008, I have a datagridview bound to a datasource and want to position to a row based on the value keyed by the user in a textbox. I can sort of accomplish this with one line of code on the textbox changed event i.e.: Me.BindingSource.Position = Me.BindingSource.Find("ColumnName", …

Member Avatar for Bill Purkins
0
579
Member Avatar for JBtje

Hello, On a website I found the next source code "sniffer.cpp" [B]Sniffer.cpp[/B] [CODE=C++]/* OoOoOoOoOoOoOoOoOoO o HTTP-Sniffer o O www.1plus.se O oOoOoOoOoOoOoOoOoOo INFO: The trick is to use raw packets with SIO_RCVALL */ #include <iostream> #include <fstream> #include <string> #include <winsock2.h> #include <windows.h> #include <ws2tcpip.h> #include "packet_headers.h" using namespace std; #define …

0
100
Member Avatar for JConnor135

for this code I need to set string d to char c, can anyone tell me how to do it? [ICODE]public static void main(String[] args) { int n; int m; String d; char c; Scanner sc = new Scanner(System.in); System.out.println("Input Integer: "); //get the value n=sc.nextInt(); int answer = sum_upto(n); …

Member Avatar for Software guy
0
172
Member Avatar for splakhin

Hello to everybody! I'm new in Python ... and have some problem with reading Excel... no matter that I've set format in Excel Text (for all my available data) - it get float value from it... Ok: here is the code: <code> import xlrd book=xlrd.open_workbook("C:/Py/aaa.xls") sh=book.sheet_by_index(0) print sh.cell_value(RowN,CellN) # it …

Member Avatar for splakhin
0
251
Member Avatar for gangsta gama

Thank you Vernon, the money does decrease, but when I buy a pistol for $200 and go to stats it says I have $0 and 50 pistol ammo witch is correct. When I save it though It basicaly erases everything. I opened the file. It said this: 0 0 0 …

Member Avatar for gangsta gama
0
175
Member Avatar for edman

I need to create a function that uses a template to partially fill any array and from there search for a value in the array and return its position if found. The program below finds the values for double and int but I do know how to partially fill the …

Member Avatar for edman
0
270
Member Avatar for gispe

hi!! i just started programming some stuff in c++. i made a simple program that compares a number given by the user to 0 n say if its cero, positive or negative. [code=cplusplus] // num_positivo_negativo.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <math.h> #include …

Member Avatar for ArkM
0
609
Member Avatar for CoolGamer48

Hey, I'm running into some issues with delete[]. I have these lines: [CODE] delete[] temp1; delete[] temp2; [/CODE] in a loop. temp1 and temp2 are pointers to std::strings. In the first iteration of the loop, temp1 and temp2 are both NULL pointers. The statements work fine. In the second iteration, …

Member Avatar for CoolGamer48
0
1K
Member Avatar for mayapower

Hi, I am trying to create a cutom 'Float' type using built in 'float' type. Here is the code: [code=python] class Attribute(object): """ Common attributes and methods for custom types """ def __init__(self, name=None, type=None, range=None): self.__name = name self.__type = type self.__range = range #Read only attributes name = …

Member Avatar for jrcagle
0
1K
Member Avatar for kavithabhaskar

When I uploaded my Vb Project on the server I was getting the following error: "Application attempted to perform an operation not allowed by the security policy. To grant this application the required permission contact your system administrator or use the MS.Net framework Configuration tool. I came across the following …

0
151
Member Avatar for OmniX

I have just started using C++ for the first time and I love it!!! First problem I have encoutered proably a simple one but [code] for (int a=0; a<10; a++) { for (int b=0; b<10; b++) { for (int c=0; c<10; c++) { if (b == 5) { break; beak; …

Member Avatar for Narue
0
173
Member Avatar for kv79

Hi all, I have a sample.bat file . I want to execute that file 10 times . I dunno command that executes bat files .

Member Avatar for Narue
0
120
Member Avatar for nedwards

Hello, I have an interesting question. Is it possible to call a dll on the client machine from the server? I haven't found anything in my searches. I have been also wondering if I would have to write a custom extension for php to do this? My main goal is …

Member Avatar for nav33n
0
127
Member Avatar for Ccrobinson001

I'm trying to read a text file into a do while loop. For some reason I can't get it to countinue until ants = 0 . there are two different simulations, once ants go to o the counter needs to reset and do another simulation. Can someone help me? the …

Member Avatar for VernonDozier
0
134
Member Avatar for 2ashwinkulkarni

Hello all, I am new to python programming and the Qs might seem stupid but i would really appreciate some help :-) It is just a for loop that i want to use, but it doesnt seem to work properly. I need to sort a file as per one of …

Member Avatar for 2ashwinkulkarni
0
120
Member Avatar for brain

Hello, Would you please give a hint to define a template class specialization in a template class which is in a namespace I have tried following code with gcc 4.1 and get an error message but Visual studio has no problem with it. [code] namespace A { template <typename T> …

Member Avatar for vijayan121
0
136
Member Avatar for sddproject

Hi everyone! I want to have a coin toss on my program: i have two images (a heads and tails) and i want the user to click on a button which will generate one of these pictures randomly. There's all this code on how to create a random number generators, …

Member Avatar for Teropod
0
291
Member Avatar for njitram

Hiho C# people! I have a problem while compiling this: [CODE]using System; using System.Collections.Generic; using System.Text; using System.Xml; using System.Xml.Linq; namespace ConsoleApplication5 { class Program { static void Main(string[] args) { XDocument test = XDocument.Load(dataPath + "c:\\test.xml"); var result = new XElement("dbs", from test.Descendants("dbs") select new XElement("db", a.Element("id").Value)); Console.WriteLine(result); } …

Member Avatar for camilojvarona
0
184
Member Avatar for JConnor135

For this piece of code I have to change the arguments in the writeLine and writeBlock methods to char c, instead of String c. The problem is I dont know how to get the scanner to read in a character instead of a string. Is there any way to go …

Member Avatar for peter_budo
0
132
Member Avatar for veledrom

Hi, When i click on a datagrid, the selected row's id is added into a text or combo or listbox. User will see and navigate through the added items but, can't change. What is the best way to do this? I need to disable changeable property of text or combo …

Member Avatar for veledrom
0
108
Member Avatar for veledrom

Hi, I fill the Dbgrid with information that come from database via adodc connection. Is there any chance to add checkbox across the each records listed in Dbgrid? I will check one or several particular records and update them with a record stored in a textbox. For example; [code] ....UPDATE …

Member Avatar for veledrom
0
106
Member Avatar for turbojol

Hello to all, Please can someone help me on how to create a databse at run-time. I have created a database with Access that I am using with the VB application and it is working well. But now, I want the user to be able to create another database that …

Member Avatar for Teropod
0
748
Member Avatar for Dameon

i have some problems that i need help with. would just putting: [CODE]quarter = .25 number % quarter dime = .1 afterQuarters = number - ( numQuarters*quarter ) afterQuarters % dime nickel = .05 afterQuarters = number - (numQuarters*quarter) afterQuarters % nickel penny = .01 afterQuarters = number - (numQuarters*quarer) …

Member Avatar for Dameon
0
114
Member Avatar for ninjaneer

I'm writing a GUI for a C++ program I have already written. Currently I need to either port a section of C++ code using MFC to the C# program, or use a wrapper and call the functions from C#. I'd like to be able to create cWinThreads to do some …

Member Avatar for ninjaneer
0
208
Member Avatar for the_virus

Hello everyone! I have to build a project developed a few years ago with Visual C++ 1.52c, in Visual C++ 2008 but I have a lot of fatal errors(fatal error C1083: Cannot open include file: 'stdiostr.h': No such file or directory) for the old header files(stdiostr.h, graph.h, bios.h,strstrea.h). It's any …

Member Avatar for ivailosp
0
168
Member Avatar for preethi_ga

Hi, Im new to this C#. So I have learned VB.NET and also ASP.NET, So now im also thinking to learn C#.NET. but i donno C#. So im confused that whether i have to learn first C#. and then start C#.NET ??? can anyone please enlighten me?

Member Avatar for camilojvarona
0
175
Member Avatar for myVbasic

I have used MS Access to generate a report and can print a particular report history by using macro. Is there a way I can print a specific report of the MS Access report from VB 6?:(

Member Avatar for myVbasic
0
75
Member Avatar for Mythili.D

Hello, I have a website which allows the user to download the images from it. I used the following code. It download for most of the images but for some it tries to download as a file without extension. So can you please suggest what might be causing this. thanks …

Member Avatar for Mythili.D
0
87
Member Avatar for aditi1184

Hi, I am trying to use the 'find' command of twill from within a python code but it seems to return no result. I tried to run that command on the command prompt by running twill and it works fine. But when I try to run the same command from …

Member Avatar for aditi1184
0
393
Member Avatar for only_anu2005

Hi, I need help I am developing a website where users can access their profiles from url with name of user example [url]http://www.example.com/john[/url] can any body help me? how to do this in php plz send email to <EMAIL SNIPPED>

Member Avatar for mschroeder
0
400
Member Avatar for sangham

Hi friends, Can you please help me with the syntax of how I will map a string to a function pointer using map stl? Thanks

Member Avatar for ArkM
0
7K
Member Avatar for herms14

guys..I would like to ask for some help. Im trying to read 10 integers in a text file and store it in a array. the problem is when I display it the numbers are treated one by one instead of putting them all together. For example when I display array[0] …

Member Avatar for CoolGamer48
0
122
Member Avatar for db_ozbecool

How to get the NAME of the passed parameter ? Eg. in the example below how to get printed , inside my_func() , value = "test_var" [code] def my_func(aaa): [INDENT]print aaa # <---- this will print the VALUE of passed parameter 'aaa' [/INDENT] [INDENT]# ..... but how to print the …

Member Avatar for ZZucker
0
313
Member Avatar for ishlux

Hi i have created an static table having from,subject,date etc and i am just able to display i have created inbox in the front end how to link.....these table to inbox...i have this code but what is this fuction getdata.....how to proceed just help me pls...... [code=php] <? function getdata($tble,$field,$whr) …

Member Avatar for darkagn
0
106
Member Avatar for kishor_agrawal

I am a newbie ...and i m working on a casetool....named Coolgen... Which Generate the jsp pages.... now i have added a html control on my page...... <input id="demo1" size = "10" onBlur="magicDate(this);validate1();" > Now there is a onther field.... which is ool gen field.........whose id is 'PUBLISH_DATE' i want …

Member Avatar for Troy III
0
109
Member Avatar for ___SnipeR___

[B]hi all, i try to move it to the up and resize it but i can't, can an one help me, by give my the code for this frm [/B]

Member Avatar for ___SnipeR___
0
93
Member Avatar for byte00

I have 2 table in a ms sql database prod_curs_test and rebuturi_test. I want to update some fields in prod_curs_test with data from rebuturi_test. I used this to do that: [code] update dbo.prod_curs_test set dbo.prod_curs_test.cant_rebuturi = (SELECT dbo.rebuturi_test.Cantitate FROM dbo.rebuturi_test CROSS JOIN dbo.prod_curs_test WHERE dbo.rebuturi_test.Comanda = dbo.prod_curs_test.Comanda) where exists (SELECT …

Member Avatar for peter_budo
0
93
Member Avatar for Xavier1234

I am selling my game I created, with all Copyrights and everything. I have it up and running at e-mafia.uni.cc I currently have register down, because I am selling it. Login with details:Username: Xavier Password : deeman Then email me if you want them or not, I have been working …

Member Avatar for robert.casas
0
194

The End.