199,114 Archived Topics
Remove Filter ![]() | |
Hi I am using asp.net 2.0 and sqlexpress 2005 through visual web developer and code in C#.i am making a project in which i want to add/update records by selecting course example insert student by selecting science stream arts or commerse by selecting anyone one of this in list box … | |
hi all, i am developping a c# asp.net web app and i have a few questions please. 1- i want to make visible a dropdown list when a certain radiobutto is checked. 2- i want to add this dropdownlist to the same Groupe name as the radio button ( could … | |
hey everyone, does anyone know the python command that forces the interpreter to go interactive? the situation i'm talking about goes like this: [LIST] [*] run script from command line [*] let all kinds of complicated nonsense execute [*] script runs the "go interactive" command [*] python dumps you in … | |
Sairam all I had hard time with this particular problem. I have downloaded from Micrium Website MUCOS a RTOS. I used AVR Studio,and try to build the OS. But unfortunately I encountered this problem: --->" __root" is compiler directive for IAR compiler and this tells the compiler not to optimize … | |
Can u suggests me some powerfull but understandable java code for encrypting and decrypting password.The password should be encrypted and stored into the database and can be retrived ,decrypted | |
I have written my code in a CLASS LIBRABY file,now i need to call this on click of a button which is there on the windows form... I am using Visual Studio2005 Please help me,i don't have any idea about how to do this:S | |
have two listboxes. first one of these is multiselect. what i want is after i choose one or more item from the first listbox the other listbox should be populated by an sql query. what i mean is i will use the first listbox's items in sql and populate the … | |
Hi I would like to ask if it is possible for me to create buttons inside a button using C#, such that when i click a button few more other buttons is available for clicking. How can i do that?? Thanks | |
is there any way to get the id you are going to insert the data in before you post the data, like get the last id and do a +1 to it or something pleaseee? | |
Folks, I have been told that there is one logical problem with this code. Basically, this is an implementation of the library function strcat(). The intended beahviour of this function to concatenate ct to the end of s. Return s. I could not find any logical problems with the code, … | |
Hello. I am trying to do a project with linked lists. It seems that everything is coded correct in my code to create new nodes and move my pointers and such. But for some reason my function that is supposed to print all the names stored in my list only … | |
I have a vector I need to delete every third element 123456 12456 1245 125 15 1 [CODE]vector<int>::iterator iter = v.begin(); while( iter != v.end() ) for( int i = 0; i < v.size() +2 ; i++ ) while( iter != v.end() ) { if (v.size() != 1 ) ) … | |
I have a "Tools" class which contains a lot of functions I commonly use. One is a parallel sort. I pass it a vector of Objects and a vector of indices, and it sorts the Objects and sorts the indices the same way (so the corresponding index is in the … | |
hi, iam having an application in which i need to validate all the fileds present above a particular field when user clicks on any field present in a page.similar to this link [url]http://my.naukri.com/manager/createa...cp=5424&wExp=N[/url] is this possible using javascript. can we use javascript to achieve this functionality. if thru javascript it … | |
I have for example a ftp server with the address ftp.mywebsite.com On this ftp server I have a path: FileFolder\\file1.txt What I wonder is how it would be possible to connect to this ftp server and read/write to that file. Is there any good articles of how this is done … | |
Hi, im lookin for a c function which will take hex values stored in two different integer variables say TH1,TL1 . So say TH1 has FF and TL1 has 00,then i need a program that will convert the effective value FF00 to decimal ,ie 65280 stored in a variable say … | |
Hello, I have a little question. Lets say I have string: string g="ZOMGGGG"; and a Boolean var: bool S; so in C# if I write S=g.contains("GGGG"); and I get true if it contains else false. How do I use that in JavaScript? Thank You! JC | |
hi guys any idea how i can insert a whole html code in $content please ? basically i want to paste my html template after $content ='whole html code goes here' any ideas ? thanks in advance [CODE]<? if(isset($_POST['save'])) { $pagename = $_POST['pagename']; $content = 'test'; $filename = "cms/pages/$pagename.php"; $filehandle … | |
Hello, I have been looking at tutorials and pages on the net regarding cookies and sessions. Originally I thought my script was using both but then noticed it doesnt. I wanted to know if there is anything wrong with this code as my new server doesnt seem to like my … | |
i need help making a password program. it lets the use input a password and check it if it is following the password rules, which are the following: must have exactly 7 characters, only alphabets and digits are allowed. i don't exactly know how to put that in an if … ![]() | |
How can I add image before the label like a warning sign?? and how can I make bold the label?? Thanks! [code] OkCancelDialog::OkCancelDialog():Gtk::Dialog( "Clear all calls", false ){ Gtk::VBox * vbox = get_vbox(); Gtk::Table * table = new Gtk::Table( 2, 1, false ); Gtk::Label * label = new Gtk::Label( "Please … | |
Hi all, while sending newsletter to more than one people iam not getting message,if message is showed and the error gives the following please give me suggetions.... This is a multi-part message in MIME format. --==Multipart_Boundary_x41a1c62a6e13d8689239009589f2351cx Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit --==Multipart_Boundary_x41a1c62a6e13d8689239009589f2351cx Content-Type: image/pjpeg; name="2 air.jpg" Content-Disposition: attachment; Content-Transfer-Encoding: base64 … | |
I'm attempting to read in various numbers and chars from a text file using ifstream. I've read through a lot of C++ File IO and can't see why my two int variables, numOfVars and numOfCNFs, aren't getting assigned in the Parser::BuildCQF() method. The code below shows my Parser.h, Parser.cpp, the … | |
Hey All I want to create a simple dice golf game in C# The basic idea is: A player rolls 3 random dice until they roll a double The number of rolls taken until a double is rolled is calculated and displayed on the console This is run 18 times … | |
How do I get this to count from the "startnumber" I chose to the "endnumber" I chose? I got it to count from 1 to the end number, but I don't know how to get it to print from the number I choose like 4 to 10. [code] <HTML> <head> … | |
Hi guys, I m trying to store an image in a string, so that later i can put that in a label. But i m getting errors: wat i m trying is [code]string imgFailureIcon="<img src="images/erroricon.jpg" width="20px" height="20px">" ;[/code] the error is ; expected. Please help me out | |
i have to create a mini search engine given a directory of 50 documents and a set of sample queries. i need to include the documents in a hash table and search through the documents for the keywords in the queries.. i have no idea where to start... can anyone … | |
Hello guys, I am new to this forum, but I am sure I will be an active one as I am a computer science major. I am still kindof new to c programming and am hitting a major issue. I am writing a echo client server code and I am … | |
Ive written an image preloading script but Im not sure if it would work. Could someone look at it and just clear up wether it should work or not [CODE]<html> <head> <script type="text/javascript"> function preloader() { // counter var i = 0; // create object imageObj = new Image(); // … | |
Hi!, I am trying to update record but an error is coming. Can any one help. [B]error is - mysql_numrows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\xampp\Test\Report\Despatch\update.php on line 10[/B] [B]here is the script[/B] <? $id=$_GET['id']; $username="root"; $password="mysql"; $database="service"; mysql_connect(localhost,$username,$password); $query = "SELECT * FROM contacts … | |
public string GetRank(string webSiteUrl) { string urlToCall = GetRankUrl(webSiteUrl); string serverResponse = RunUrl(urlToCall); string[] response = serverResponse.Split(':'); if (response.Length <= 1) return null; return response[2]; } private string GetRankUrl(string webSiteUrl) { string url = "info:" + webSiteUrl; int ch = GoogleCH(StrOrdinals(url)); return "http://www.google.com/search?client=navclient-auto&ch=6" + ch.ToString() + "&features=Rank&q=" + url; } … | |
So I'm starting to use XML and I'm trying to use it as a database of sorts. I've managed to save it off and read the whole thing in, but now the problem is that I want to be able to search through, get an item, and make it. My … | |
I have a project , I need to show the Names of Employes in a ListBox . When a name is Selected , I get the Employee ID from the List box and use it to get the Employe data. The ListBox does not have a place where you can … | |
Should would i turn the following code: [CODE] import java.awt.*; import java.io.*; import java.util.StringTokenizer; public class ex74 { public static void main(String[] args) throws IOException { Frame f = new Fram(); String sent; StringTokenizer st; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); System.out.print("Enter a sentence: "); sent = br.readLine(); sent = … | |
Having trouble getting my AttachmentServlet.java and FilterServelt.java to compile the following is the code (for which the error applies) then the error for each. AttachmentServlet.java [code] HttpSession session = request.getSession(); ServletOutputStream out = response.getOutputStream(); int msgNum = Integer.parseInt(request.getParameter("message")); int partNum = Integer.parseInt(request.getParameter("part")); MailUserBean mailuser = (MailUserBean)session.getAttribute("mailuser"); [/code] cannot find symbol … | |
My friend and I play call of duty 4. He pwns me. I'd like to disable his keyboard in the middle of playing. | |
Hey, I have a program that has 5 files, 2 header files called: [icode] console.h screen.h [/icode] and 3 source files called: [icode] a2main.cpp screen.cpp console.c //not a typo [/icode] When I copy the [icode]main[/icode] from my a2main.cpp file to my screen.cpp my program compiles without a problem. But when … | |
A real estate office handles, say, 50 apartment units. When the rent is, say, $600 per month, all the units are occupied. However, for each, say, $40 increase in rent, one unit becomes vacant. Moreover, each occupied unit requires an average of $27 per month for maintenance. How many units … | |
Hi, I want to create a web application that will let a user enter name in a text field and the application creates a newtab with datafields for that user to enter, it all must happen on a single page. There has to be one tab for each specific name … | |
Hi, Im working on a school project and could use some help. Im having trouble storing data in an array of structs. My program has to read student data from a file and store the information in a struct. Im having trouble passing my array struct into my fuctions, and … | |
Hello, I am relatively new to PHP and need some help parsing a file. I was able to use explode to parse the file at the | delimiter , however I cannot figure out how to parse the file at two distinct delimiters. The file will need to be parsed … | |
Is using (in the paint method) g.clearRect() the correct way to clear the screen? It's working but I don't know if there is a better way. . google says it is supposed to clear automatically when update is called but that doesn't seem to happen. | |
Basically I am just trying to figure out how I can display customer records for the user who is logged in. I am sure this is very simple just not 100% sure how. I have a form that the user submits new customers and it stores the userid for the … | |
I need something to read all files in a directory and all files in child directories and any directories below this. Could someone provide a snippet for me. Thanks :) | |
I am working on a project that involves creating a Vehicle class which has 3 data fields, one of which is an instance of a class rather than a fundamental data type ([I]owner[/I] is an instance of the class [I]Person[/I]). This class has multiple constructors for the varying initial values. … | |
Hi everybody, I am trying to convert a string to a Date format. So what i actually want to do is, i want to convert any format of date to DD/MM/YYYY format. For example the format can be d/m/yyyy, m/d/yyyy, mm/dd/yyyy, dd/mmm/yyyy, etc...... I tried using CDATE(value), datetime.convert(value), i even … | |
i have created 27 cubes using opengl and c++ and assembled for rubicks cube but not able to write rotate function for a slice.how to do???? | |
ok i need a quick help here...... here it's my problem It's approximate value of π is 3.141592653589793 Below are five di fferent series which can be used to approximate π: you can se the series here:: [URL="http://i44.tinypic.com/2ujtmxw.gif"]http://i44.tinypic.com/2ujtmxw.gif[/URL] ask which series he/she wants to use and the precision (number of … | |
How do I take randomly generated numbers and print the average of the numbers? And how do should I go about printing how many even and odd numbers that were generated? Thanks | |
I havent done much IO at all in haskell, only within the function itself. However I want to get the input from the interface for the function and havent done this before. // Say I have this as my data type and list of films data Film = Film String … |
The End.