199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dharasomya

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 …

Member Avatar for jbisono
0
121
Member Avatar for korssane

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 …

Member Avatar for Sri_r
0
181
Member Avatar for chardson

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 …

Member Avatar for chardson
0
180
Member Avatar for vddmanikanta

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 …

Member Avatar for Ancient Dragon
0
441
Member Avatar for sarita_sree

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

Member Avatar for kvprajapati
0
68
Member Avatar for dev_kc

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

Member Avatar for Prof.Mendl
0
111
Member Avatar for hemisphere

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 …

Member Avatar for kvprajapati
0
2K
Member Avatar for dip7

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

Member Avatar for kvprajapati
0
440
Member Avatar for odysea

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?

Member Avatar for odysea
0
155
Member Avatar for kaku_lala

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, …

Member Avatar for ArkM
0
133
Member Avatar for bemo55

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 …

Member Avatar for VatooVatoo
0
298
Member Avatar for karlad

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 ) ) …

Member Avatar for ArkM
0
86
Member Avatar for daviddoria

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 …

Member Avatar for Ancient Dragon
0
87
Member Avatar for Rakesh Nagekar

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 …

Member Avatar for Airshow
0
132
Member Avatar for Liszt

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 …

Member Avatar for Liszt
0
1K
Member Avatar for kaos

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 …

Member Avatar for VatooVatoo
0
95
Member Avatar for JooClops

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

Member Avatar for JooClops
0
190
Member Avatar for odysea

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 …

Member Avatar for odysea
0
239
Member Avatar for justted

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 …

Member Avatar for somedude3488
0
752
Member Avatar for moiron

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 …

Member Avatar for dmachop
0
175
Member Avatar for valtikz

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 …

Member Avatar for Nick Evan
0
88
Member Avatar for nathenastle

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 …

Member Avatar for cwarn23
0
142
Member Avatar for Jyncus

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 …

Member Avatar for MrSpigot
0
114
Member Avatar for brandguru

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 …

Member Avatar for Poab9200
0
2K
Member Avatar for blahblah619

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> …

Member Avatar for essential
0
81
Member Avatar for keatingronan

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

0
67
Member Avatar for pockets88

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 …

Member Avatar for Alex Edwards
0
148
Member Avatar for ngibson12

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 …

Member Avatar for jephthah
0
168
Member Avatar for theimben

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(); // …

Member Avatar for essential
0
300
Member Avatar for san_cash

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 …

Member Avatar for san_cash
0
162
Member Avatar for mitra.uttam

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; } …

Member Avatar for kvprajapati
0
125
Member Avatar for Califer

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 …

Member Avatar for kvprajapati
0
229
Member Avatar for SANMI

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 …

Member Avatar for glubbish
0
252
Member Avatar for asian_al

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 = …

Member Avatar for kvprajapati
0
94
Member Avatar for dazzagaelic

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 …

Member Avatar for dazzagaelic
0
181
Member Avatar for d-bug87
Member Avatar for jlm699
0
71
Member Avatar for kenji

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 …

Member Avatar for Ancient Dragon
0
299
Member Avatar for custurd12

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 …

Member Avatar for BestJewSinceJC
0
1K
Member Avatar for taruj83

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 …

Member Avatar for BestJewSinceJC
0
111
Member Avatar for Adexter

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 …

Member Avatar for NathanOliver
0
125
Member Avatar for jondoughty

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 …

Member Avatar for jondoughty
0
112
Member Avatar for BestJewSinceJC

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.

Member Avatar for BestJewSinceJC
0
138
Member Avatar for shawn.bordeaux

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 …

Member Avatar for shawn.bordeaux
0
185
Member Avatar for theimben

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 :)

Member Avatar for kireol
0
261
Member Avatar for Zima77

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. …

Member Avatar for Zibo
0
419
Member Avatar for hkarthik

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 …

Member Avatar for jbisono
0
144
Member Avatar for anoop sharma

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????

Member Avatar for Lerner
0
120
Member Avatar for Akis2000

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 …

Member Avatar for NathanOliver
0
125
Member Avatar for quietasamouse

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

Member Avatar for lllllIllIlllI
0
77
Member Avatar for applebiz89

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 …

Member Avatar for thoughtcoder
0
112

The End.