199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for acrocephalus

Hello! I have this simple funcion [CODE]def newUser(): print 'Choose a username?' Username = raw_input('> ')[/CODE] The variable 'Username' has to be used by other functions. How can I do it? Cheers! Dani

Member Avatar for acrocephalus
0
10K
Member Avatar for daudiam

b=c/d++; In this, first d is incremented (because ++ has a higher priority than / or =), but c is divided by the unincremented value of d. Thus, the order of evaluation in this case is well-defined. But if we had written the above as: b=(c)/(d++) then which operand ( …

Member Avatar for daudiam
0
242
Member Avatar for troydani

Hi, I typed in word document that is [B]=rand(200,99)[/B]. When i entered by this font. I got some story. I was just wonder about this. Actually, it got increase the font or change the text font. But y it is coming? Any help?

Member Avatar for Jayavardhan
0
73
Member Avatar for NH1

Im looking to Delete a row of information in my datagrid, but also from my database. im not even really sure where to start. I want to use a button to do this. so that when i highlight a row, then click the button it brings up a message box …

Member Avatar for ious
0
383
Member Avatar for markthien

Hello, I have created a datagridview with first column is checkbox like below: [CODE] dgv.Columns[0].Visible = false; dgv.Columns[1].HeaderText = "Name"; if (dgv.Name.Equals("dataGridView1")) dgv.Columns[1].Width = 100; if (dgv.Name.Equals("dataGridView2")) dgv.Columns[1].Width = 145; dgv.Columns[2].HeaderText = "Mobile Number"; dgv.Columns[2].Width = 115; dgv.Columns[3].HeaderText = "Date Added"; dgv.Columns[3].Width = 95; dgv.Columns[4].Visible = false; dgv.Columns[5].HeaderText = "Group"; …

Member Avatar for Geekitygeek
0
1K
Member Avatar for jimmiller96

Hi All! I have been working on a site containing a single Paypal 'Buy Now' button, but testing has shown that it takes anywhere from 8-20 seconds to load the Paypal page once the button is clicked. Since there is no indication that the button was successfully clicked, or that …

Member Avatar for jimmiller96
0
162
Member Avatar for virusisfound

Hello, I want to set the background image of form as per user selection. for that i have take openFileDialog but it only show the wallpapers when i click on open button it not applied to form. it show an error message that [B]"path not found"[/B] [B]this code is on …

Member Avatar for hirenpatel53
0
119
Member Avatar for emsd123

Hello, everyone. I have generated a treeview loading from database, learned from a book. But I have no idea how can I save the view state of my treeview, I have tried the following code to do, through it, I can only keep expanding the first layer of treeview, but …

0
109
Member Avatar for markthien

Hello, I have created a query as follow in ms access: [CODE]SELECT cont.id, cont.name, cont.mobile_num, cont.date_created, memb.group_id, grp.name FROM (contact AS cont LEFT JOIN contact_group_member AS memb ON memb.contact_id=cont.id) LEFT JOIN contact_group AS grp ON grp.id=memb.group_id WHERE cont.removed=False ORDER BY cont.id DESC;[/CODE] and I created a 2nd query to query …

Member Avatar for Geekitygeek
0
141
Member Avatar for soum_cbs@yahoo.

i have made a Session which has as the EmailId as the session name....now i want to retrieve data in the user profile page ....which means the particular logged user will get to know their personal information....how do i do it???plz help n.b:the database has 1 table only where EmailId …

Member Avatar for hirenpatel53
0
84
Member Avatar for litlemaster

Hello buddies, I have two datagrid views on my form. The first datagridview is bound to a table named contacts. And the second one is bound to a different tables say Group_members. Now My problem is that I want to add the selected row in DataGridView1 to datagridview2. And later …

Member Avatar for Geekitygeek
0
267
Member Avatar for mono_jit23

How can I use 'like' keyword with wildcard characters(*) in RecordSelectionFormula of crystal report? [CODE] rptdoc = new ReportDocument(); rptdoc.RecordSelectionFormula = " {View1.RefNo}= '" + textbox1.Text + "'"; [/CODE] I need to use 'like' instead of '=' .....

Member Avatar for finito
0
99
Member Avatar for acrocephalus

Hello! I have written a program where you have to give the path to directories and files as input. Is it possible to enable any kind of auto-completion when running the program? Cheers! Dani

Member Avatar for cronos4d
0
92
Member Avatar for Kingcoder210

I am trying to run my program to test it. Actually I am trying to run second form to see it that its working properly or not. But it shows me error. First time I got this error message "Exception of type 'System.OutOfMemoryException' was thrown" & second time I got …

Member Avatar for fourty
0
152
Member Avatar for tong1

Palindrome is a popular title for programming training. You may compare a pair of chars in a string, or a pair of words in a String array. Many homeworks are made in this way. Further more, in Java we may play with all the speaking languages in the world, such …

Member Avatar for tong1
0
158
Member Avatar for c++learner

Hello, I've copied a multiarray into another multiarray and can't figure out how to convert an int of 1 into an asterik which is ascii 42 I believe. I need help to replace all 1's to an asterik. I've tried static cast which my instructor suggested but I must be …

Member Avatar for jonsca
0
188
Member Avatar for navi17

Hello friends, I am working on downloading script. its working fine in all browsers. but in IE when i click on download button its showing the size of every file zero bytes. I have done lots of googling but didnot find anything. Please help its very urgent. I am using …

Member Avatar for navi17
0
138
Member Avatar for erozero

Hi, my assignment asked me to make a 3 row, 7 column array that asked the user to input amount of food for 3 monkeys. 7 represents the number of days. It should tell the user the average, highest and lowest amount for this.. Here is what I've got so …

Member Avatar for erozero
0
188
Member Avatar for Vshayan

Hi guys, I'm looking for any help in converting image files to video files by reading a full image folder using C# .Net 2.0 onwards. thanks, Vishnu Shayan

Member Avatar for Teme64
0
221
Member Avatar for visweswaran28

Hi, I am using updatepanel in aspx with master page content, required validation control. IN that updatepanel I have one datagrid through that I am trying to insert a row. When I click that linkbutton then is shows error like "sys.webforms.pagerequestmanagerparsererrorexception. Error code: 405" . I tried with another project …

Member Avatar for visweswaran28
0
157
Member Avatar for mhs.praveen

Hi I am having a requirement in my project where User press '.' in his num pad and he wants the character ',' to be displayed (dats bcoz he is French User). I tried changing the e.KeyCode but it is a readonly property. Is there any other way to change …

Member Avatar for mhs.praveen
0
95
Member Avatar for googles_go~

[code] if (infile != null) { infile.Close(); } if (reader != null) { reader.Close(); } //Creating a File Stream object to Open a file called FILENAME for writing outfile = new FileStream(FILENAME, FileMode.Append, FileAccess.Write); //Creating a Stream Writer with the outFile File Stream object writer = new StreamWriter(outfile); writer.Write("Income : …

Member Avatar for jonsca
0
138
Member Avatar for westony

Can you help me to start with them I cant find any information about them the exactly thing i need its Array of pointers where the pointers are pointing a menu like this idea below. Pls just help me with the syntax ...

Member Avatar for kings_mitra
0
88
Member Avatar for therobot

I've got a program that has three different classes, all of which have their own pointer to an class called ObsFileName, who's main functionality is to store the name of an output file individual to the class, and return it with a function value(). All throughout the program, when a …

Member Avatar for therobot
0
140
Member Avatar for binesh.uba

I have downloaded the new version of FullCalendar but it doesnt work on IE whereas it works smoothly in other browsers. Can anyone help me with this problem ???

Member Avatar for binesh.uba
0
274
Member Avatar for RAHUL JOSHI

Hi All, I am Working in C#.Net Technology (Window Based Application).My Problem is that ,I Want to display a Image in DataGridView cell.Iam able to display different Images In different cell of particular Column,But my problem is that Iam getting the image of a Exact Size.What I wan is to …

Member Avatar for Padma Prajapati
0
283
Member Avatar for nizuya

I want to have a strip down the middle of the screen with my websites content as common on many web pages. I don't want to use background images to achieve the look, rather I was thing of having a div tag that would fill the entire height of the …

Member Avatar for almostbob
0
156
Member Avatar for ueoptimum

[CODE]import java.io.*; public class inout{ public static void main (String[] args){ int a; BufferedReader num= new BufferedReader(new InputStreamReader(System.in)); try {System.out.println("Enter a number: "); a = integer.parseInt(num.readLine()); System.out.println("THE NUMBER IS" + a); } catch(IOException e) {System.out.println("ERROR"); {}}[/CODE] [CODE]import javax.swing.*; public class jopt{ public static void main(String[]args){ int x; x = Integer.parseInt(JOptionPane.showInputDialog("enter …

Member Avatar for ueoptimum
0
792
Member Avatar for jemz

hello can you help me what method to be use in searching integers in string for example if the user will input this string having integers. "jemz 123" how can i add the existing integers and what method to be use...please help me...hoping for your positive responds...

Member Avatar for jemz
0
1K
Member Avatar for pingting43

Hi.. im new to web development and we have to do a web development project as part of curriculum.. we are doing Airline ticket Reservation System.. one of the requirement in the project is user should be able to select a seat of choice,if available. I was wondering how to …

Member Avatar for asaukani
0
773
Member Avatar for ariffin246

[code=mysql] SELECT * FROM fb.order LEFT JOIN item on order.item_name = item.item_name WHERE fb.order.order_status = 'Served' and tab_name='A' [/code] I have two different tables "order" and "item" which i joined using left join. In order table there is a column name called quantity and in item table, there is a …

Member Avatar for ariffin246
0
123
Member Avatar for tehb

As I know that .c is the extension format for c coding while cpp is the extension for c++. But I noticed that there are some c++ project use .c extension instead of cpp, is it both extension is supported in c++ compiler?

Member Avatar for tehb
0
277
Member Avatar for madkat3

Bear with me, I'm new here and new to PHP...at first I thought it was just me, so I started trying to copy and paste example code I found online...but even that seemed not to work. I've tried this: [code] $to = "my@email.com"; $subject = "BUSINESS"; $message = "blah"; $headers …

Member Avatar for seventeen
0
2K
Member Avatar for Ray007

How to do this structures, any Idea? Given a program segment as follows: #include <stdio.h> struct book { char title[80]; int bar_code; float price; } ; struct book BOOK; void INPUT (struct book *B); float DISCOUNT (struct book *B); You are required to write a complete program that includes the …

Member Avatar for farahlyna
0
109
Member Avatar for progcomputeach

I just wondered if anyone had tried the new software yet or if anyone was planning to try the new certifications? Visual Studio 2010 is available and some of the exams are now available for programmers who wish to keep their certifications up to date. It is likely that other …

Member Avatar for Suzie999
0
87
Member Avatar for IDC_Sharp

how can i make vScrollBar that will scroll panel?? cus i made a program and its realy important there ScrollBar without ScrollBar its won't be the same thanks

Member Avatar for Suzie999
0
70
Member Avatar for bettersaid

i need help in controlling mouse click in python. Example would be 'clicking File menu --> Save Us--> Save' on its own. I have this code for launching an app, for example a textfile. but i dont know how to control its mouse click. Advice please. [CODE]import os class LaunchApp: …

Member Avatar for bettersaid
0
111
Member Avatar for dush0805

Hi, I am trying to find this string "QuickSearchResultsCOnfig" in a text file. The text file will contain this in several places. I need the following var QuickSearchResultsConfig = ['a','b','v','d','e 'f','f']; I need to replace the above with var QuickSearchResultsConfig = [['a',{hidden:true}],['b', {hidden:true}],'v','d','e 'f','g ']; My original approach: Store a,b,c,d,e,f,g …

Member Avatar for griswolf
0
136
Member Avatar for arsenal_fan

Hi, I was recently asked in an interview the number of processes that are created when I enter in a command that contains a pipe. For eg. If I enter the command: $who | tee /dev/tty | wc -l Could anyone tell me how many(which) processes are created and in …

Member Avatar for griswolf
0
119
Member Avatar for jenzilla

Hello! I'm fairly new to Python. Hopefully you can understand what I'm trying to accomplish here. I'm making a GUI that prints Parking Garage Tickets. I want to be able to post an expiration date on the ticket. I found out about timedelta, and it works if I put in, …

Member Avatar for jenzilla
0
3K
Member Avatar for hg_fs2002

I'm creating a linked list,adding the data I've read from file in each node but as I'm trying to print what I hold in nodes my output is some symbols.And even when I cout what I hold in my nodes in ADD function it's ok but as it goes to …

Member Avatar for mike_2000_17
0
100
Member Avatar for spac_e

Hey- First time posting here so hopefully I explain everything correctly. [CODE] class sendbackcurricula(app.page): def GET(self): query = models.Curricula.query.all() map = dict() for x in query: x = x.to_dict() map[x['owner_id']] = x['title'] return json.dumps(map); [/CODE] The above code will return the last element held in the database at 'owner_id' and …

Member Avatar for TrustyTony
0
80
Member Avatar for 0xCMD

[CODE=java] public int decrypt(int num) { int number = num; // Encrypted: 4523 Original: 5678 int d0,d1,d2,d3; d0 = number%10; // 3 d1 = number%100/10; // 2 d2 = number%1000/100; // 5 d3 = number%10000/1000; // 4 d0 = (d0 < 3) ? d0 % 10 - 7 : d0 …

Member Avatar for 0xCMD
0
2K
Member Avatar for george61

Pretty interesting problem about linked list. This program is about autobuses. Each autobus is given by brand, registration number, number of seats, kilometres and year when the bus was made. The program is organised as menu and when you hit number it calls some function. Problematic function: it should NOT …

Member Avatar for george61
0
107
Member Avatar for sridharjakkula

Hi, I have one client applicaiton writtn html, java script and AJAX and a remote server where I have a php script. Browser and remote server are deployed on two different machines. I want to execute php script uing ajax call with below code but it is loading php page …

Member Avatar for sridharjakkula
0
174
Member Avatar for Spakes

Hi , How do I write a code that will print the first 10 even numbers in PERL Thank you

Member Avatar for jon.kiparsky
0
2K
Member Avatar for urubullino

Hi, I´m new in forum. Im trying to change one project made in Oracle Forms/Rerports to CFML. I did somethings in CFML in 2003 and now I will return to it because I need time and dont want type lines of code. I have installed Railo and Eclipse and now …

Member Avatar for urubullino
0
82
Member Avatar for keyroche

Hey, I have been working on a class to use for pagination and I ran into a problem. I have a function that sets the variables that I will need, then I access them in the other funtions. For some reason one of my functions can't access any of the …

Member Avatar for keyroche
0
215
Member Avatar for andrewliu

Hello, This might be an easy solution for you guys, but I'm learning php on my own and I'm having problems with this code. Its giving me an output of what I want but I'm also getting this error "Notice: Undefined variable: construct in C:\wamp\www\search_exp\data.php on line 27" the line …

Member Avatar for silviuks
0
186
Member Avatar for niths

My page contains a date picker. so when i select a date, a table with list of images uploaded on that date wil be displayed.so for that i used ajax. so here is my problem wen i select a date, table appears and in that table a dropdown of users …

Member Avatar for diafol
0
177

The End.