199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for javier_ccs

hello, i made a routine in expect that connects via ssh to a juniper firewall, makes a backup of the configuration and saves it into a text file, so far it's working fine, and since it was working so fine i decided to add it to cron in order to …

Member Avatar for javier_ccs
0
130
Member Avatar for masa

Hi is there anyone have an idea :idea: on how could i get the column 7 from the file, I did it for column 5. or how could I continue to make it take other columns. [code] if ( input_file.fail ()) { cout << "Error opening file."; } else { …

Member Avatar for masa
0
226
Member Avatar for bops

Hi everyone, I recently had to wipe my computer and re-install everything from scratch, including Dev-C++. When I create a Win32 application project and try to compile it, I get a "[Build Error] Error1" message in the compiler log. I know that the code doesnt have any errors in whatsoever, …

Member Avatar for Vzerbo
0
146
Member Avatar for daidaiboyboy

Hi, all... I wish to call upon the DrawLinesPointF class to draw an array of points for me after I click on a button with design name button1. Upon compilation of my code, there is no error. However, when executed, and I clicked on the button, the following exception error …

Member Avatar for daidaiboyboy
0
587
Member Avatar for aripaka

Hi All, I would like to know what is the Dev C++ by Bloodshed? In what way is this different from ordinary C++? I read somewhere that this is used to program Windows applications along with the C++ apps. So, is there any tutorial available on web to learn windows …

Member Avatar for Dave Sinkula
0
285
Member Avatar for belama

There is something I'm not 100% sure about. If we have multiple versions of the .Net framework like 1.0, 1.1 and 1.1 hotfix, can we uninstall older versions with no problems? I think we can but should keep the latest we have ( 1.1 ) and its hotfixes. In other …

Member Avatar for f1 fan
0
163
Member Avatar for sastwhc

Hi all i try to change the keyboard layout and languge in multilanguages (English and another Dutch-dir=ltr- or Hebrew-dir=rtl-) web pages, its usually changed by Alt+Shift ,KeySend method can control applications but can be usefull but about web page i have no idea i could not find anything can help …

Member Avatar for f1 fan
0
148
Member Avatar for ChaosBelle

I'm very new to using asp.net and am trying to run my company's website with IIS - I know that it's set up properly because our other projects work fine on our local host. The problem I'm getting is with the web.config file. The project was outsourced and we no …

Member Avatar for f1 fan
0
230
Member Avatar for Rajnesh

can anyone help me out. Java Swing GUI's opens really slower than C# forms...is there anything to be done in the code. and in Applets tooo is is really slower even if you just minimise n maximise the browser...in Applications the components are not seen unless u resize the form...anyone …

Member Avatar for Rajnesh
0
94
Member Avatar for Eclipse414

Guys, i have been struggling with this for past three days... here is what i have... aspx page [CODE]<form id="Form1" method="post" runat="server"> <asp:repeater id="titleRepeater" runat="server" EnableViewState="False"> <ItemTemplate> <b><%# DataBinder.Eval(Container.DataItem,"Item_No") %> <br> </b> <asp:DataGrid ID="maingrid" Runat="server" AutoGenerateColumns=True DataSource='<%# GetDataSource( Container.DataItem )%>' OnItemDataBound="maingrid_showformatting" ShowFooter=True > </asp:DataGrid> <br> </ItemTemplate> </asp:repeater></form>[/CODE] codebehind [code] Private …

Member Avatar for Eclipse414
0
139
Member Avatar for sanjay_scjp

Hello Dani I wanna make a text based editor that's why i make a java program. there is little bit a problem i already made menu bar bt i coudn't give the actions like in file menu :- New, Open, Save, Exit in edit menu :- Undo, Cut, Copy, Paste …

Member Avatar for Phaelax
0
111
Member Avatar for Stivi

Hi, I'm programming in ASP.net (C#) and I want to open the page with our reservation system in the new popup window (well, I'm not glad to do so, but it must be :rolleyes: ). Is there some way to do this using C#? Thanx, Steve

Member Avatar for Stivi
0
153
Member Avatar for Sylvain Bouche

I'm looking for some help of converting a long to a type enum in something that would be similar to this: public object ToActionType(Long myval) { return (object)((ActionTypes)myval) } :sad: but the trick is that I don't know the enum just the type of the enum...(I also know for a …

Member Avatar for f1 fan
0
3K
Member Avatar for leprakhauns

<form action="php.php?b=<?php echo $b; ?>" method="post"> Enter your news/rumor: <input type="text" name="name" /> Enter your news/rumor: <input type="text" name="website" /> Enter your news/rumor: <input type="text" name="comment" /> <input type="submit" /> </form><br /> then on php.php: $t=$_GET["b"]; mysql_connect("db.lepslair.com", "username", "my password"); mysql_select_db("lepslair"); mysql_query("INSERT INTO nonmembers($name, $website, $comment)) VALUES(name, website, post_text) "); …

Member Avatar for leprakhauns
0
136
Member Avatar for c#bird

Hi, I want to know how to call a perl script in C# app and how to communicate between the app and this script. for example, how does the C# app know if the perl script has finished running? could the app get the return code from the perl script? …

Member Avatar for str_kani
0
942
Member Avatar for jgraca

hi how to pass a variable (click a link) from page1.html to page2.html, and than according with the variabel execute a certain function? (this will be my script in java :o ) Thanks

Member Avatar for jgraca
0
136
Member Avatar for jhoop2002

I worked on this site over the summer at an office, I'm now back on christmas break, and will work again this summer. With the help of many people online I got the following code to work. But now, it doesn't work. As far as I know, the code SHOULD …

Member Avatar for f1 fan
0
227
Member Avatar for smartintelleng

Alright, this is the situation i think is happening in my program. I believe that there is an `object FileStream //write`, conflicting with an `object FileStream //read`. Either that or the conflict must be the two objects I use (for output/input) for `FileStream` object. In either case, I should be …

Member Avatar for f1 fan
0
134
Member Avatar for jjs1138

i'm attempting to intall a simple wiki on my site. i installed the files acording to the install doc, but am getting the error message "Warning: Wrong parameter count for htmlentities() in /home/www/dept-of-films/tipiwiki2/index.php on line 128". Line 128 is... $filtered = stripslashes(htmlentities("\n\n".$raw,ENT_NOQUOTES,"UTF-8")); is this something i can fix myself and …

Member Avatar for Dani
0
135
Member Avatar for trinath

Hi all, I have a problem in handling files through C. here is the problem im having: i will query the database (for instance consider employees table ) for empno,ename,job,salary fields.The query returns me some 100 of rows. now i need to place them in a file in row wise …

Member Avatar for jim mcnamara
0
121
Member Avatar for anant

hi friends ... this is my 1st post ...m sure it gonna be beneficial to me.. wel m facing problem in dis assignment..as m nt dt gud in c++ programmin...pls help me out .....we have to use doubly linked list...n ya if its possible in Borland's C++ Builder6(pro)2005 compiler....as in …

Member Avatar for Dave Sinkula
0
324
Member Avatar for kisvirag21

I need to write a program that inputs an integer and a character, and outputs a symetrical triangle composed of the character that has the interger of new lines. I can only use 'while' loops at this stage of the course, and I know it has to be nested 'while' …

Member Avatar for kisvirag21
0
321
Member Avatar for red

I learned Arrays, Functions, Pointers, Classes and Structures. Now I am ready to move on. My question is, What is the difference between a DLL and an API, and how does one access a DLL in a C++ program? Can someone give an example on how to do it please? …

Member Avatar for Ancient Dragon
0
167
Member Avatar for complete

'Here is my declarations: Declare Function atxml_ReadCmds Lib "AtXmlApi_Dbg.dll" (ByVal resourceName As String, _ ByVal ReadBuffer As String, _ ByVal numberBytesToRead As String, _ ByRef numBytesRead As Integer) As Integer Global resourceName As String Global ReadBuffer As String * 255 Dim NBR As Integer 'Number of Bytes Read Dim numberBytesToRead …

Member Avatar for Yomet
0
111
Member Avatar for osean

Can someone who me an example on how to allocate memory in C++? I know I should be using [B]new[/B] instead of [B]malloc[/B] because i'm coding in C++ but I haven't found any simple examples anywhere.. Why i'm asking is because I need to create a function that searches through …

Member Avatar for iamthwee
0
144
Member Avatar for knuckerbuck

i need to do a java program that finds the hypotenuse of a right triangle itried like 5 times but i cant do it can someone plz help me.

Member Avatar for jwenting
0
147
Member Avatar for ankit_rastogi82

Hi everybody, I want to get the start and end of all the patterns mattched in regex. I know I can get it with start() and end() fn of matched objects. But re.search() return the match object of first matching regex in the string. I want all match objects in …

Member Avatar for ankit_rastogi82
0
148
Member Avatar for zenoen

im learning c and need help learning this concept and what it does [code]#include <stdio.h> #include <c.h> #include <math.h> #include <time.h> #include <stdlib.h> int rollone(void); void printrolls(int rolls[]); void printx(int howMany); int main (int argc, const char * argv[]) { int rolls[ 13 ], twoDice, i; srand (clock() ); for …

Member Avatar for zenoen
0
304
Member Avatar for red

Hello, Is there a function that would allow me to check the characters when they key is pressed....before the enter key? I am coding a program that requieres the user to enter only letters (from A to Z && a to z), but I want to check each character when …

Member Avatar for red
0
151
Member Avatar for ravi sundar

hi, i want to build an application that involves all or the core j2ee technologies like jsp, ejb, mvc, struts, jmi etc... or even any good j2ee project suggestions are also welcome...i need good ideas badly as i need to start off soon..well i expect the great java nerds here …

Member Avatar for server_crash
0
131
Member Avatar for MaaleaRogers

Perhaps someone can show me how to fix the following example code so either the function outputx() or outputy() is passed to the function print_it(). void do_it(); // prototype void outputx(); // prototype void outputy(); // prototype void print_it( print_character() ); // prototype void outputx() { printf("x\n") } void outputy() …

Member Avatar for MaaleaRogers
0
411
Member Avatar for redsabre

I wan't to be able to have a list of birthdates advance by one digit when that particular persons b-day rolls around. Is there a simple script out there that I can apply here? Thanks in advance, rs

Member Avatar for redsabre
0
215
Member Avatar for Katrix36

Hey, I'm trying to create a on-screen keyboard for a group of disabled students at a school. So far i've managed to create the program to type out each letter/number that the user clicks on. This is fine, but I have to state the name of the active window that …

Member Avatar for Katrix36
0
275
Member Avatar for server_crash

This is my double: double determinant = 2.8*5*-9.5; It should print out -133, right? It prints out some weird junk like: 1.8e + 04 How can I correct this?

Member Avatar for server_crash
0
188
Member Avatar for hruzam

I'm covering some of my old calculus problems, and have one that I'm having trouble with, so I'm looking for a chat site. Anyone know of one? Thanks.

Member Avatar for hruzam
0
377
Member Avatar for mybrainhurts

Hi guys and girls, im currently struggling trying to work out all this array and file input stuff! I have been going round in circles for the past few hours, reading books and googling everything i could, so now im hoping some of your intelligence will help me :) Basically …

Member Avatar for Ancient Dragon
0
251
Member Avatar for aarya

In some of the site i have seen rss feeds for example ezinearticles.com. i can see rss feeds. please any body tell what is the use of that? thanks

Member Avatar for eliauction
0
160
Member Avatar for sam1

hi in jsp how do i add two numbers that has been inputed by user which is in a text box... thank you

Member Avatar for jwenting
0
195
Member Avatar for moznmar

I'm starting to pull my hair out. I'm pretty new to C++, and am trying to fix a loop I have in my code. I have not been able to give the user a way to exit the program unless he/she correctly anwers the multiplication question this program asks. I'm …

Member Avatar for moznmar
0
113
Member Avatar for namit

Hey all What is with this query $query = mysql_query("UPDATE `namitposts` SET `title` = '$topic' , `date` = '$date' ', `postee` = '$postee', `post` = '$post_text' , `ip` = '$ip' WHERE `id` = '$del'") . mysql_error(); Its not passing the variables am getting this error message Notice: Query error You …

Member Avatar for Ooble
0
222
Member Avatar for aarya

i ahve site in which people can submit the article for free. but now i am trying to add feature in that article distribution. if person pay me $50 i can distribute his article to many sites. so i need the site such taht he can pay through credit card …

Member Avatar for aarya
0
123
Member Avatar for masa

Hi I would like to know which is better. inialise a value like [code] int i=0; [/code] or like this. [code] int i(0); [/code] and why.

Member Avatar for Dave Sinkula
0
213
Member Avatar for tristan17

Hi PHPers, Firstly, a [COLOR=Red]Very Happy New Year To ALL!![/COLOR] Hope everybody enjoyed this festive season :cheesy: Back to work, sigh... I am encountering this problem, below is a code which i have written, but the page only displayed the result of my code which is line 27. But when …

Member Avatar for RamiroS
0
120
Member Avatar for PeterX

I have a litle problem please help me whit: I want to write a methode whit one paramter. public int studentInformation(int hour){//How long time(hour) he was at school. - - - - - - --- - - - - - - - - - - - - - - - …

Member Avatar for swapnil_gadkari
0
97
Member Avatar for beuls

Dear all, I have written a program in c++ to pass arrays of objects(belonging to the same class) to a member function. It works fine in VC++ but gives an error as "Undefined structure class name". My program is a larger one. So i am giving a similar code below. …

Member Avatar for SpS
0
1K
Member Avatar for abstrait

Is it possible to allow people to input information and then when the click submit, have the information sent to my email account? If so, how would I go about doing this? I'm using VB6.

Member Avatar for Yomet
0
146
Member Avatar for DotNetUser
Member Avatar for DotNetUser

Code in VC++.NET I have a string that has html tags. I want to replace <BR> with \n, but not sure if <BR> will be uppercase, lowercase, or a mixture of both. The string replace function allows only one parameter for the replaced value. Is there a better way of …

Member Avatar for DotNetUser
0
201
Member Avatar for williamrojas78

Hi I am developing this application where i have to create a report in excel; in other words i am writing to an excel file from VB. The application writes the contents of a grid into the excel file. The first time I run it it works fine, but the …

Member Avatar for williamrojas78
0
404
Member Avatar for amrfalcon2004

hey everybody ....... how heap sort,counting sort and selection sort work please explain exapmpe

Member Avatar for amrfalcon2004
0
97

The End.