199,114 Archived Topics
Remove Filter ![]() | |
Hi , iam trying to develop a simple text editor on Turbo C , that will accept values from the keyboard and print on the screen . I want a scrolling function . when i entered th data and press enter button it will come to the next line . … | |
[QUOTE]Only the stronger will survive.( Charles Darwin)[/QUOTE] As i posted my first fifo error problem which was a practice thing .Now i am doing what i m supposed to do. I m making this code first which is running is background.whenever any one will write on the fifo it creates … | |
I've taken over a site and i see certain tables being updated without any code on the site doing the update. (It's logical updates so I know its by design and not a hacker) What I can't see in PHP admin and I also have MySql Query Browser is to … | |
Is there anyway to have (in one query) two separate queries? For example if query one fails then it will not affect the rest of it. Example code: Say that the lastLogin table does not exist: UPDATE userInfo SET lastLogin=3 WHERE id=5 UPDATE userInfo SET LastLogin=3 WHERE id=5 Is there … | |
heelo, i have a combobox,button in form1. a listbox in form2. the listbox and combobox r populated iwth customernames. now, if itype a string or char in my combobox say 'l' then it should display all customernames starting with 'l'in the listbox . how do i go about it? | |
hello all i want to know the uses of function returning by refrence and how to use them i tried this but it gave an Error [code] int& sumz(int x,int y) { int *sum = new int; *sum = x + y; return sum; }[/code] | |
Hi I have made a program that will change the settings of printer orientation. But I am getting linker error. " [Linker error] undefined reference to `OpenPrinterA@12' " I am not able to find out the reason. Kindly advice Regards Karan Gupta | |
Why is this script not working.. [CODE] USE [KN_online] GO SET ANSI_NULLS OFF GO SET QUOTED_IDENTIFIER ON GO CREATE PROCEDURE [dbo].[UPDATE_PREMIUM_SERVICE_USER_EXEC] AS DECLARE @d24 datetime SET @d24 = DateAdd(hh,-24, GETDATE()) UPDATE PREMIUM_SERVICE SET nDays = nDays - 1 where Date > @d24 [/CODE] This is suppose to take 1 day … | |
Hello All, I am a fresher in c, i need to know about how to find out the size of a function defined & size of stack memory allocated for c compilers | |
I have a recursive function squares that receives a positive integer n and prints out the first n perfect squares in descending order. Can anyone tell me if this is correct and if not please help. [ICODE]squares(int n) { if( n== 1 ) return 1; else return squares ) n … | |
BinarySearch is called on the array below, searching for Value 20. Is the final value of Index 20 in [6]. I think this is right. 2 5 10 15 20 20 20 20 [1] [2] [3] [4] [5] [6] [7] [8] | |
hi, i'm new to JS. i'm having a problem with my jscript. i'm using innerHTML to insert rows to table dynamicaly.. but when i do this ..... [B][I]for example: i have added a row and i filled it with data(e.g text box) and then i add a another row when … | |
Hi, Is there any way to store huge numbers (for example, a number with a million digits) in a C program and be able to perform operations on it ? Thanks.. | |
hi all, i created a shoutbox where users will display messages. when they click on shoutbox a table will appear in which we have message and name when they submit messages it should appear beside that shoutbox [U]shoutbox[/U] hiii hyderabad:praveen :: hello praveen:pandu like this,i have inserted messages and names … | |
[COLOR="Green"]Netbeans IDE[/COLOR] [COLOR="Green"]Eclipse IDE[/COLOR] [COLOR="Green"]IntelliJ IDEA[/COLOR] Which from the above the the [COLOR="Red"]BEST[/COLOR], [COLOR="Red"]USER FRIENDLY[/COLOR], [COLOR="Red"]COMPLETE[/COLOR] IDE to use to design/create GUI for Java based programs. Please advise. Thanks. | |
Hi all whats wrong with this code,,,i am not getting error......it is showing succesfull ....but not storing data....... [code=php] <?php include('database.php'); $ser = $_POST['service']; $quotep = $_POST['quote_price']; $dscnts = $_POST['discounts']; $sertax = $_POST['service_tax']; $prmtion = $_POST['promotion']; $frd = $_POST['from']; $tod = $_POST['to']; echo $ser; echo $quotep; echo $dscnts; echo $sertax; … | |
I have a programm that runs an applet. It loads a series of images and paints them. The problem is the programm seems to not to paint the images in the same order..or rather it skips some of the images....what can i do? I tried using the udate(screen) function but … | |
Hi, Does anyone know how to change the date format on the calendar components? The default is [B]MM/DD/YYYY[/B] and I would like to change it to [B]DD/MM/YYYY[/B] Thanks... | |
Hello all, This is my first post in a forum like this, I hope someone is able to help me! :) I found a post from about a year ago that explained how to use combo box parameters in a query, and I was wondering if there is a way … | |
i want to make a login window that should be opened in the same window . this window opener must be disabled. please can any one help me to resolve this problem thank you so much | |
Hi, everyone! I thought I posted the code first, it's better. This is the code of the program I've worked with : [CODE] #include "liveMedia.hh" #include "BasicUsageEnvironment.hh" #include <stdio.h> UsageEnvironment* env; Boolean reuseFirstSource = False; Boolean iFramesOnly = False; static void announceStream(RTSPServer* rtspServer, ServerMediaSession* sms, char const* streamName, char* inputFileName); … | |
hey guys... last nite i made a calculator using javascript...the only prob m having is that m not able to make memory in the calculator. memory means MR,MS MS-->is used to store the displayed no MR-->recall the stored no PLEASE HELP | |
Hi All, How to Upload a file(.doc ) using Fileupload control and store it as a image file in database. please can anyone help me solving this. Regards, R | |
Hello Everyone, I'm Uploading this Project for the ones who need Help regarding VB's MSCHART CONTROL!!! This Sample Shows : [B]1) How to Show Data from an Access2003 Database on Chart. 2) How to Print Data from MSChart Control. 3) How to "Save As..." the Chart, as .Bmp file.[/B] Hope … | |
Hi guys, I was wondering abt the diff between main mem and auxilliary mem? help would be appreciated... | |
Hello everyone, I have been trying to get this piece of code to work and havent been able to see why it isnt working! The code is a training school page for my virtual pet site in which members should be able to go and choose which pet they want … | |
Hi Guys and Gals, Im having a bit of trouble integrating dynamic variables pulled from a databse using an ASP script with a flash movie. Background: I need to send variables stored in a ms sql db to a flash movie to display several values. The dyanmic element comes in … | |
I am trying to create website that has questions with drop down options. Do I need to know MySQL for that? | |
hey guys apparently directory functions such as opendir, and scandir are not working on my host. following is the code, its from php.net. the output is keep on coming fail. is there something wrong with my php settings or something else. the page is, [url]http://worldofpakistan.net/try/write.php[/url] [code="php"] <?php $dir = "http://www.worldofpakistan.net/"; … | |
Can someone please help me find out why I am getting a nullpointerexception for this code. Ive been racking my brain and cant find it for the life of me. The program is supposed to delete an element from the linked list that is built in the main method and … | |
hi guys, i have a problem in my coding. i want to get the array keys + their values except for [] and replace them with "". i want to do this because i'm using a function to create a form. Since i'm developing a form generator.i need this help. … | |
i have one notepad file. if i right click that shows "open with" option. in that option i want to show all .exe files. don't want to "choose default programs" option. can anyone help me plz how to get that. plz.... if i developed 1 c#.net application. after i wil … | |
without choosing "choose default programs" option, how to make(.exe) entry automaticaly.help plz. advance thanks. | |
i m writing a practice code to implement select with fifo. i m posting two codes along with : [CODE] CODE 1: Help with Code Tags (Toggle Plain Text) #include <sys/types.h> #include <sys/stat.h> #include <stdio.h> #include<fcntl.h> int main() { int fd,rc,i; /* Making A FIFO names as fifo2*/ char data[100]; … | |
hii all, i have a query,,it might be simple bt i hav no idea how to do it,,i am creating an application in VB lang using asp.net 2005 and sql server 2005. in my form i have a combo box which displays all the table names from my database say … | |
HI all again here with some problem. I m making a project in which i made a form MDI container and on running the application login screen opens within the Main form(MDi). I want that until user logins he should not b able to access main form or its options. … | |
hey frnds, Can somebody tell me how to extract icons ,Cz I have no idea from where to start. | |
Hey folks, I've got a real head-scratcher here. Below is a simple, quick script I've written that defines an object that contains an array plus an ID property. I then create a nested chain of objects by storing each child in the parent's array, like so: [CODE] function TestObj() { … | |
Below is the code in VB. I want GetSetting + SaveSetting in VB.Net--- [b]VB[/b] Call SaveSetting(App.ProductName, App.title, "CheckBox1", values) call CheckBox1.value=GetSetting(App.Productname,App.title,"CheckBox1",VbUnChecked) [b] VB.Net[/b] Call SaveSetting(Application.ProductName, Application.ProductName, "CheckBox1", values) Abive SaveSetting is rite or not??? Secomdly. what is the code gor GetSetting??? | |
For this code to delete an element from a linked list how do I get the head to point to the first element in the list(which is 0)? [ICODE]public class IntNode1 { public int item; public IntNode1 next; public IntNode1 head; //////Constructor/////// public IntNode1(int item1, IntNode1 next1) { next=next1; item=item1; … | |
How can I achieve in c++, like Foo foo = new Foo.SubFoo(); or Foo foo = new Foo().SubFoo(); Where, Foo : class SubFoo: maybe sub class or independent class, but not method. Note: i Don’t want to use "namespace" | |
Hi Quick questions abour overload constructors. Lets say I have two overload constructors: [code=c++] class MyFileExtractor{ MyfileExtractor(string); MyfileExtractor(string, int); ~MyfileExtractor(); private: string name; int columns; } /*Class implementation*/ MyFileExtractor::MyFileExtractor(string fname,int c):columns(c) { name=fname; } MyFileExtractor::MyFileExtractor(string fname) { #define STD_NUMBER_OF_COLMS 1 //standard number of columns MyFileExtractor::MyFileExtractor(fname, STD_NUMBER_OF_COLMS); } MyFileExtractor::~MyFileExtractor() { cout … | |
I'm having a problem with my assginment. This is the Java Number Guessing Game. It compiles and runs with no errors but when executed it stops with only one user input. You must hit the "Play Again" button to continue. Here is my code: [CODE]import javax.swing.*; import java.awt.*; import java.awt.event.*; … | |
I have started out with tasks that need to communicate between different forms. I need to understand the logic how this works and have problems to find any examples of this. For the 2 codeexamples below, I use these to close the current Form or activate another button on the … | |
Hello, I am having a small problem because I have to have to have it so the user can enter a number and that number is stored in a variable and that variable becomes the name of the file to be created with the extension .asw. It is going to … | |
I am working on the following Java application Write a program that allows the user to enter the last names of five candidates in a local election and the votes received by each candidate. The program should then output each candidate’s name, the votes received by that candidate, and the … | |
I have a asp.net c# web form, when the page load I want to display client computer date and time.I used DateTime.Now.Date() for this. it works well in the localhost, but after I deployed in the web server it displays web server date and time.how can I display client's computer … | |
hello, i want to learn if there's memory leak problem in my code...Let me explain: I have a Customer class,that class also have a destructor function. I have a static function in that class which returns n Customer objects. [CODE] static Customer* createCustomers(int n){ //... } [/CODE] [CODE] int main(int … |
The End.