199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 { … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
<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) "); … | |
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? … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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' … | |
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? … | |
'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 … | |
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 … ![]() | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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() … | |
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 | |
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 … | |
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? | |
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. | |
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 … | |
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 | |
hi in jsp how do i add two numbers that has been inputed by user which is in a text box... thank you | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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. - - - - - - --- - - - - - - - - - - - - - - - … | |
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. … | |
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. | |
How would I convert a String* variable to a char*variable? | |
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 … | |
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 … | |
hey everybody ....... how heap sort,counting sort and selection sort work please explain exapmpe |
The End.