64,152 Solved Topics
Remove Filter ![]() | |
hi friends i am doing my final yr BE computer science.i have to do my final yr project. I am interested in java n going to do a project on"RELIABLE DATA TRANSPORT AND CONGESTION CONTROL USING FUZZY LOGIC IN TCP/IP.So can i get basic codings for communication between client and … | |
Hello everybody, I've written a program which contains AJAX... The program is a messenger... The code was: [CODE]var http = createRequestObject(); function createRequestObject(){ var request_; var browser = navigator.appName; if(browser == "Microsoft Internet Explorer"){ request_ = new ActiveXObject("Microsoft.XMLHTTP"); } else{ request_ = new XMLHttpRequest(); } return request_; } function getInfo(){ … | |
Hii, i have a datalist in my page containing a image button as item template.The design page is as follows <asp:DataList id="ddlist" runat="server" RepeatDirection="Horizontal" Width="30px" Height="134px" RepeatColumns="5" CellPadding="1" CellSpacing="5" > <ItemTemplate> <table> <tr><td> <asp:ImageButton ID="img" runat="server" Height="75" Width="100" ImageUrl='<%#DataBinder.Eval(Container.DataItem,"filename")%>'></asp:ImageButton></td></tr> </table> </ItemTemplate> </asp:DataList> th ecode behind is as follows public void … | |
[code] echo "<input value='$variable' type='submit' id=submit' name='submit'>"; [/code] That variable is an array which keeps repeating and changing numbers. (e.g. 1-20). Now using a switch statement to access the input submit button when pressed: [code] switch($_POST[submit]) { case '': break; } [/code] I cant figure out what code to construct … | |
This works and shows the factors or tells if the number is a prime number but doesn't show ODD factors please help!! I need to turn this tomorrow [CODE] #include <iostream> using namespace std; int prime(int num); int main() { int num; cout<<"Enter number: "; cin>>num; if(prime(num)==1) cout<<"The number is … | |
Hi all... I've been reading this site for a while and now I have a question for you experts. I have a php page named edit.php. Code here: [code] <? // Connect database. include("connectdb.php"); // ***** This part will process when you Click on "Submit" button ***** // Check, if … | |
The following snippet finds the least, greatest and sum of the elements of an array. It works when I give the test condition with variable "i" in the for loop (as in the first snippet). But when I replace it with a pointer(as in second snippet), it gives a wrong … | |
I have a situation where a file upload program that has been running without any problems for months now suddenly uploads completely empty files. When I turn on warnings (perl -w), I get a message like the following: [code]FATAL WARNING: read() on closed filehandle fh00001license.txt at CDownloadEditor.pm line 293.[/code] Here … | |
Hello boys and girls, the problem is (i guess) quite simple, when i push the button on my aspx page and write to the XML file the page disappears. DEFAULT.ASPX.CS [code=C#] protected void Button1_Click1(object sender, EventArgs e) { string email = "member69@hotmail.com"; string name = "joe doe"; string country = … | |
hey hi to everyone im new in the site bout i thin its cool but the reason i am writing is that i have a home work in java and i have no idea how to do it can someone help me??????? a matrix in wich a number moves some … ![]() | |
Hi everyone. I need an application that loads a window to the top of the screen -1 inch height. The window should be always on top, but here is the catch. Every other window should appear below it. I.e no window should be covered by my small window above and … | |
I have been working on this application and im stuck now at a spot where i want to be able to click a button and have a combo box populate with text from a field in a access database where another field on the same record should be equal to … | |
Hello, Does anybody know of a tutorial on download specific data from a web server sql db and inserting this into a local access db? | |
Hi all, i want to show report from date to certain date. so like 1/1/2008 to 1/7/2008. anyone know how to do this?? any help will be appreciated. thx.. Best Regards.. | |
Hi guys/gals, i need to make transparant form and it can be changing by user. i stuck cause i didn't know how to start.. OK.Best Regards.. | |
Hello can anyone give me an idea of a project that I can do on C++ Please can you support your advice with something that i can read about it? its ok if not. Thanks, thanks in advance. | |
I have these question and I need some help from you : Assume that the maximum number of students in a class is 50. Write a program that reads students' names followed by their test score from a file and outputs the following: a. class average b. Names of all … | |
hi all, i m new in this forums. i want to save int file into dat in according to biner. please help me cause i dont know how to start.. thx.. best regards... | |
Hi Friends I have a form having multiple field such as option button set and checkbox with different names and values and on next page i want to get there name and value. The problem is that if i only use/checked option button i got proper names of object (option … | |
Hello people, I need help with a template program that i am writing . I am trying to emulate Stack operations using template class which works fine with all the datatypes except char* [B]when using all the datatypes at the same time.[/B] What I am trying to do is [B]pass … | |
hi, sorry my english im using visual studio 2005, my project is in win32 console application im training to use files, my problem is that i cant do a ifstream get all stuff of a .txt file, it get just the first line, i can do put all in the … | |
Our servers is crashing everytime when my client scan my ports. And due minimal documentation since the code is writen few few years ago the only thing I could do is just recreate the whole event. below are the piece of the function that error and its exception tells that … | |
Hi Working on a photographers CMS, the idea is that they'll resize their images using a batch processing app, separate from the website, then I'd like them to be able to add a new section and select the entire directory (of resized images) for upload, not just individual files... If … | |
Hi, again. I'm trying to read in data from a file that I've opened, so it is sitting in FILE* fp. Now I want to put it into a format that I can do things with it (seperate it into words). My question is: how can I do this dynamically? … | |
hello, i want to find record with number field and text field. please help me | |
Hi all, I'm working with some date formating, with local and UTC time format. At the end I've print the result to the console as follows. [CODE] cout << stLocal.wMonth << "/" << stLocal.wDay << "/" << stLocal.wYear << " " << stLocal.wHour << ":" << stLocal.wMinute << "\n"; [/CODE] … | |
Hey guys, I'm really new to this :icon_confused: I've managed to setup a Web Service and a Client to access the service within Eclipse. However, I want to access a Web Service that already exists. From what I understand, that service must have a WSDL (Web Services Description Language) for … | |
Hai everybody, this is the proplem.when i excute the page and on clicking the button am getting error message saying that 'menu1.value is null or not an object'. how can i handle it.Please help me <SCRIPT type="text/javascript"> function test1(form) { if (form.menu1.Value == "Select") alert("Please select some other value!") else … | |
Hello, I'm currently developping a GUI OpenVPN wrapper in Java ( platform is WinXP ). I'm having a problem when I launch OpenVPN using Java Runtime.getRuntime().exec(), a problem I have been trying to solve for the 2 past days but in vein :yawn: Here is the code I'm using to … | |
hi all, i want to take snapshot. how i can do this with api function?? i didn't know api function to do this thanks to the attention best regards hope. | |
Hi all, In my project I have several classes. In some of my classes, I have to use an instances of my other classes. When I compile my class, which has a reference to another classe, it gives me an error. like this. [code] C:\MyProject>javac SomeClass.java SomeClass.java:9: cannot resolve symbol … | |
Hi ,i just have a fhew code witc i do not understand clear.Can you make some explain. It is category from C++ Win32 API. [code] typedef std::basic_string<TCHAR> ustring; inline int ErrMsg(const ustring& ); What this mean ustring& ? [/code] [code]ustring classname=_T("SIMPLEWND"); ErrMsg(_T("Failed to register wnd class"); [/code] // And i … | |
I have an input submit button that once clicked activates php. Now the problem I have is that I have the neccessary code (or what i think is) to stop from the input button working (as I have used the same technique on the other input submit buttons). To get … | |
Hi, I have a script, when I run it The output overlaps : Example Instead of saying Canadian 1.00 Dollar it would say something Canadian Dollar00 I also need to know how to find the amount of decimal places in a variable and also how to check if a variable … | |
hi all, I want to know how we display image on button control instead of text? I want to show image on button Plz can anybody help me thanks in advance Regards Guest11 | |
hi, i need help with how to find the max number and min number from an array. there are 31 numbers, i know that i am suppose to use a for loop to do this and this is what i got so far array is inputed by user [code] #include … | |
How should I implement "interactive refresh" (I don't even know how I should call it) where one visitor's action (klicking a link, submit button etc. - everything will do) activates page refreshing of other visitors on the same page? I know how to implement an automatic, periodic refresh but I … | |
Hi all I was looking for a port scanner to see what was open on my laptop and I thought as I was learning C++ why not search for a C++ port scanner. I came across this code I can make sense of most of it but it wont compile. … | |
want to know what u thing??? name: sara name:miky name:ducky code:1345X code:2238Y code:7569Z IF THE USER ENTERS WRONG NAME THE SYSTEM ASKS TO RE-ENTER. THE SYSTEM ONLY ALLOWS THREE CONSECTIVE ATTEMPTS.AFTER CORRECT NAME ENTERED THE SYSTEM ASKS FOR ALPHANUMERIC CODE WHICH AGAIN SYSTEM ALLOWS ONLY THREE CONSECTIVE ATTEMPTS. IF THE … | |
I am having some isues adding std as a namespace. I am using vs2008. don't know if that has something to do with it. [code] #pragma once //using namespace System; using namespace std; namespace Email { public ref class Class1 { private: void telnet () { system("dir"); } }; } … | |
I am new to c++ classes. I am trying to write a simple e-mail class. below is my .h file. In the cpp all I have is the main which is empty right now since it wont even compile. I am getting cout and endl as an undelclared identifier. I … | |
Hi folks. I'm trying to do something I hope is very simple -- taking an argument placed after the program's name and storing it. So, if I type whatnumber 4 it will store the value 4, whatnumber 100 will store 100, etc. I've tried using int argc, char *argv[] instead … | |
hi all.. Can any one explain, when i have class Pet, what is the difference of declaring variables like each of following. Pet mypet; Pet mypet = new pet(); Pet* mypet = new Pet(); thanks. | |
I have managed to read a file name and two strings. Now I need to search the file for a lines that maches string1 and replace them with string2. And I have no idea how to do that. Can anyone help me please. | |
i have three table 1st viewleave 2nd applyleave 3rd personal based on the leaveid in viewleavetable i wnt to fetch the spid in the second table,based on the spid i want to select spid email address........please tell how to do tat.. CREATE TABLE `viewleave` ( `leaveid` varchar(25) NOT NULL, `message` … | |
Hi, thx to jax_man that i converted my code to vb.net but the problem now is that the program don't seem to work. The button when i clicked on don't work. sorry i'm new to programming. | |
Hi everybody. First of all thanks for taking the time to read this. I'm having a problem with initializing the buttons and adding them to JPanel. The problem is with everything else I have I'm trying to add the buttons in initButtons(); to the JPanel but I can't seem to … | |
is it possible to run a source file that is not part of a solution/project? it appears that this is not possible in Sharpdevelop. Also, why is it I cannot compile and run a file that is not part of a solution ? many thanks | |
Hello, i need help on how to search for a sentence inside a txt file after opening it and then applying a condition if that sentence was found. im a beginner so i don't know how. basically i have written a program that uses system("command>file.txt") to start a command line … | |
Hi freinds I want to send an email using [COLOR="Red"]VB.NET2005[/COLOR]. Can any one help me in it any :icon_redface: code?????? |
The End.