199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for 47pirates

I want to write some text to JtextArea of class1 from class2 . How can i do that? Thanx in advance for any suggestion

Member Avatar for 47pirates
0
144
Member Avatar for dolphinaura

If I am creating an exception class, along with a stack [CODE]class CustomError(Exception): def __init__(self): self.contents=[] print "Stack Created"[/CODE] How can I make it so that if [CODE]x=CustomError()[/CODE], the stack contents will be [code] x.historical.contents [/code], not [code] x.contents[/code]?

Member Avatar for griswolf
0
113
Member Avatar for phorce

Hello could someone explain what I'm doing wrong to get the error: Segmentation fault: 11 when trying to fill in a 2D array from two for loops? Here is the code: Matrix.h [code] #ifndef _Matrix_h #define _Matrix_h using namespace std; class Matrix { public: Matrix(); // Constructor Matrix(int M, int …

Member Avatar for phorce
0
1K
Member Avatar for maurya10
Member Avatar for mmazeemahmad

Hi all, i have a scenario in which there are two subscribed users (to database) in my web app.......now if one of it wants to send a message (just like mail but not sms) to another without using any email account...... but with the help of that website and some …

Member Avatar for hericles
0
325
Member Avatar for rushi3311

I am developing a dynamic page in that some text and images should be displayed together...! But before that i had tried to get nevigation page for whole application. In that i am getting same problem, Image is not displayed...! What i should write in src=" ????? " I have …

Member Avatar for rushi3311
0
371
Member Avatar for jakx12

Hey everyone, I am new to js and am writing a bookmarklet. For some reason cookies are not working at all. I have tried numerous setCookie, delCookie etc functions and none work, so I am using the simplest form of setting a cookie and it still ceases to work. Here …

0
121
Member Avatar for lxXTaCoXxl

I'm trying to make my particles fade in my application using the alpha argument of the Color.FromArgb method but my math won't work because I have a nullable DateTime variable and the error it gives me is 'System.Nullable<System.TimeSpan>' does not contain a definition for 'TotalMilliseconds' and no extension method 'TotalMilliseconds' …

Member Avatar for lxXTaCoXxl
0
1K
Member Avatar for Majestics

I hope u havnt taken it filter in java :-), i want to create a filter for internet which do content filtering on some keyword, but dont know how to start , any body just an hint please..... Thank you

Member Avatar for Majestics
0
82
Member Avatar for jade_91

For the program I have the user entering their current distance and bearing from specified point with the programme then returning the nearest station and bearing/distance to this station. However I also want to include what line the station is situated so I know the code will be something along …

Member Avatar for jade_91
0
122
Member Avatar for RazorRamon

I have a mysql table that has id, name, type, size, content, and link. I have pages download.php and showimage.php. I want the link to affect the image so when the user clicks it sends them their. I only created showimage.php cause I had ran out of options on how …

Member Avatar for RazorRamon
0
3K
Member Avatar for mhd_arif123

I am learning java through a book. After finishing each chapter, i work out problems given at end of each chapter . when i tried to solve a problem , i could not frame the logic exactly. Please help to solve following exercise : Write a program to find the …

Member Avatar for JamesCherrill
0
217
Member Avatar for lxXTaCoXxl

There only two glitches within this code that I can't seem to get 100% spot on. However, this will create a functioning menu (text based) on your form at runtime. I plan to develop an actual control exactly like it. It uses a custom class I developed called LocationBounceEffect that …

0
170
Member Avatar for mrprassad

[CODE] main() { char *p="dcis"; while(*p++!='\0'); printf("%s",p); } [/CODE] Why this is printing %s in my unix box with gcc 4.6.1 ?

Member Avatar for Moschops
0
201
Member Avatar for tweets23
Member Avatar for diafol
0
254
Member Avatar for Sevyt

I am writing a small program to quickly search through a archive. But i cannot figure out how to get it to filter. I got my regular fields like firstname,lastname, gender, birthyear, street, city, zip, phone. Which i can search through by just entering one of these fields. Then i …

Member Avatar for Reverend Jim
0
236
Member Avatar for Tom_Krajci

Please see attached XML file. I am using the XPATH expression getValueXPath() in JavaScript to extract one value from an XML alert message - to control a robotic telescope. I need to extract the value for Dec, a coordinate location in the sky that is a child of <WhereWhen> The …

Member Avatar for Tom_Krajci
0
101
Member Avatar for XO39

Please be easy on me and don't shoot me as I'm still newbie. I'm totally confused and can't for life figure out why when I run this code: [CODE]y = 9; cout << "++y = " << ++y << "\n--y = " << --y << "\ny++ = " << y++ …

Member Avatar for XO39
0
179
Member Avatar for roottybrian

Hi guys, Have been trying this out for sometime with no success. I want to be able to use pdf printing application like pdfprinter to print my vb reports to and then save the reports to a particular location on my computer. Anyone with an idea how i'd achieve that? …

Member Avatar for Reverend Jim
0
371
Member Avatar for rotten69

Hi everyone, I'm trying to do exercise from the book I'm reading at the moment. But, I don't seem to have understood the last part of the question. I'd greatly appreciate anyone explaining the question to me. I have done all parts of the question except the last one which …

Member Avatar for Philippe.Lahaie
0
259
Member Avatar for CE90

Hello every one...I have a project in which I must visualize different kinds of sorts in C by using GTK+ library. I mean it must show the numbers moving and getting sorted! I don't have any idea how to start and how to make the numbers move! I`ll really appreciate …

Member Avatar for Mouche
0
168
Member Avatar for MrEARTHSHAcKER

Hi, Has anyone any clue why message boxes keep showing 2-3 times after clicking one of their button in Borland? Please answer, I need help. Thanks!

Member Avatar for MrEARTHSHAcKER
0
92
Member Avatar for accra

[ICODE]Hi, am wounding where i can find a script that can do something similar to this [url]www.avis.com[/url] Pls look at the right low side. This is just javascript, want something similar, but using php/mysql.[/ICODE]

Member Avatar for accra
0
70
Member Avatar for yeeitsneo

hi. can you please help me out with this program im writing. its a simple log in system written in vb6 . ms access is my database. i have a problem with connecting vb to access. heres the code: [CODE] /codes for module Public db As ADODB.Connection Public rec As …

Member Avatar for yeeitsneo
0
333
Member Avatar for myrongainz

btw this is a part of a battleship code i want to know what the integers a,b,c,d,e,f... do I know this has something to do with placing ships randomly but it is a little complexed for me. I'd appreciate it if someone took their time to explain it [CODE]int placeship( …

Member Avatar for zeroliken
0
201
Member Avatar for mitrious

I have a node class that has a pointer to Node indicating its parent Node [CODE] class Node { . . . Node *parentNode; }; [/CODE] I receive a pointer to node in the constructor being the parent Node of the current node being created or a NULL value if …

Member Avatar for deceptikon
0
5K
Member Avatar for SBA-CDeCinko

I can use this <%= Request.ServerVariables["SERVER_NAME"] %> to get the server name of the current page. How do I get just the last three characters? All I want is the dev or stg or org part.

Member Avatar for thines01
0
78
Member Avatar for emannoor455

And if the case is that 1. having only 1 directory lets suppose Images 2. Added category and categorized images category wise... 3. Now want to count the images according to their category then what will be the code for this by counting images from 1 directory but for different …

Member Avatar for emannoor455
0
1K
Member Avatar for ddanbe
Member Avatar for ddanbe
0
1K
Member Avatar for apanimesh061

How should I use SQL loader to load a .csv file as an Oracle Database ? [CODE] CREATE TABLE products( ProductID INTEGER NOT NULL, ProductName CHAR(30) NOT NULL, SupplierID INTEGER, CategoryID INTEGER, QuantityPerUnit CHAR(30) NOT NULL, UnitPrice INTEGER NOT NULL, UnitsInStock INTEGER NOT NULL, UnitsOnOrder INTEGER NOT NULL, ReorderLevel INTEGER …

Member Avatar for apanimesh061
0
949
Member Avatar for john_beginner

hello all My question is, At, the server side i m using 10 G and at the client side i m using 9i when i use export utility then it create the dump file but when i try to import it then my command prompt doesnt show any progress of …

Member Avatar for debasisdas
0
136
Member Avatar for maydhyam

Hello All, I have a sorta unusual problem (not too sure where to post it either), it goes like this: I am currently using MS Visio 2007 to Reverse Engineer some tables in an Oracle database, MS Visio lists the tables using unprintable characters (lots of little squares). Because of …

Member Avatar for debasisdas
0
116
Member Avatar for PF2G

Hi, i'm doing a profile page, where the user can see all his information. To begin i'm putting the information in a label, but for real i want to put it in textbox, so the user can change the information. That's one poit i would like change, the other - …

Member Avatar for degroundshaker
0
120
Member Avatar for veledrom

Hi guys, I want to assign something into label via JS but code below doesn't work for array. Do I miss something? Thanks in advance [code] <script> function calculate_cost(whichlabel){ document.getElementById('text_cost['+whichlabel+']').innerHTML = 'show me in label below'; } <input type="text" name="text_qty[]" value="0" size="3" maxlength="5" style="text-align:center;" onkeyup="calculate_cost(0)" /> <label id="text_cost[]">0.00</label> [/code]

Member Avatar for veledrom
0
118
Member Avatar for QuickBooksDev

I have several programs that must write to [B]HKLM[/B] in XP and Windows 7/64 Pro. The programs work in VB6 but not in VB.Net 2008 on target machines. It does works on our development machine. Same exact windows. User is an Administrator. NOT using Run as. Both programs are using …

Member Avatar for QuickBooksDev
0
389
Member Avatar for auwi987

hello guys need some help, i need to generate id the problem is i cannot get the last row from database logical view DATABASE [U]tbloutlet[/U] PCSO20121 PCSO20122 [U][COLOR="Red"]PCSO20123[/COLOR][/U] NOW need to get "PCSO2012[U][COLOR="red"]3[/COLOR][/U]" select the last character '3' using mid after selecting '3' convert to int and add to 1 …

Member Avatar for debasisdas
0
133
Member Avatar for Plastico Bolha

Hi people, my doubt is it: How I do to a file if "auto-start" with the "Windows" ? I have this it done already: [CODE] aReg = ConnectRegistry(None,HKEY_LOCAL_MACHINE) aKey = OpenKey(aReg, r"SOFTWARE\Microsoft\Windows\CurrentVersion\Run") aKey = OpenKey(aReg, r"SOFTWARE\Microsoft\Windows\CurrentVersion\Run", 0, KEY_WRITE) SetValueEx(aKey,"name",0, REG_SZ, r"C:\name.extension") CloseKey(aKey) CloseKey(aReg) [/CODE] Thank you patience :icon_wink:

Member Avatar for Plastico Bolha
0
68
Member Avatar for Ryujin

Embarrassed to say how many hours I've burned on this--am hoping someone can point me down the right path. This is more a conceptual question than a straight coding one. Building a web app to enable people to reserve stuff where I work. One of the pages uses a [URL="http://jqueryui.com/demos/datepicker/#date-range"]date …

Member Avatar for pritaeas
0
246
Member Avatar for tahirkhanafridi

Hi frnds i have problem with mp3 file upload with firefox i used this code for uploading [CODE]if($_FILES['mp3file']['type'] == "audio/mpeg")[/CODE] how ever its only works with IE but its not working with firefox plz tell me what to do? my all code is this. [CODE] $file_name = rand(1000,10000)."_".$_FILES['mp3file']['name']; $file_title = …

Member Avatar for diafol
0
100
Member Avatar for de.ICeman

Can anyone suggest book for beginner In EJB 3.0 Like Head first (there is Head first Ejb but its 2.0). Any suggestions would be appreciated.

Member Avatar for peter_budo
0
190
Member Avatar for rue64ja

Hey all, I am having an issue with a NOClassDefFoundError. I am new to creating MIDlets so I am working with a textbook, Kicking Butt With MIDP and MSA and I think it's the most recent edition… not sure. At any rate I am working with the section on push registry …

Member Avatar for peter_budo
0
125
Member Avatar for J0hn30

Hello. I'm trying to create a software in VB.Net to disable the following from a Windows 7 pc. - Cut, copy, paste, rename, delete, open, print, share, create shortcut, open with, send to, properties. I want to give users the option of disabling them selectively/individually via checkboxes so those options …

Member Avatar for J0hn30
0
2K
Member Avatar for michaelzip

Hi, I am having trouble with retrieving records on my database. My layout was this.. [CODE]UsersList Username Firstname LastName Role Records TheUser ApprovedBy DateApproved [/CODE] The first text are the table names while the indented once are the field names. I have a table named Records. TheUser and ApprovedBy was …

Member Avatar for michaelzip
0
232
Member Avatar for king03

any ideas how to solve this?: I am using Visual Studio 2008 for compiling c++ programs and when I press f5(which is at default, the start debugging button) the console window flashes for a bit and then closes, but when I click on start without debugging, the console window stays …

Member Avatar for BobS0327
0
140
Member Avatar for freakybeavis

Admittedly I am only a beginner at playing with java but I'm pulling my hair out trying to understand something I thought would be easy, and it probably is. Trying to write code that randomly selects from 3 preloaded arrays and spits out the results. Mechanically the code seems to …

Member Avatar for javaAddict
0
161
Member Avatar for Shodow
Member Avatar for LogicalOutlier

This program determines the grade average, raised grade average, of individual students and all students. The program takes scanner input. In the scanner, the number of students, the number of grades for each student, and the grades of each student are entered. Ultimately, I need to print out each student's …

Member Avatar for hiddepolen
0
2K
Member Avatar for Zssffssz

Earlier when I came here I had only a minimal set of utilities and a WinXP comp.. Now i'm here and serious, with kubuntu (and Internet!!!!) and willing to learn all of that dd, mov, eax, and bochs stuff. Here is my delemia: I have a C++ Program, have no …

Member Avatar for Zssffssz
0
350
Member Avatar for lxXTaCoXxl

I've recently posted a code snippet of a working 2D text menu for Windows Forms Applications. However, as I was going through and revising this snippet (trying to make it better and add functionality to it) I've created two new problems. The first problem is that my text is not …

Member Avatar for lxXTaCoXxl
0
158
Member Avatar for lxXTaCoXxl

XNA Game Studio is not required to use this functionality. This example is very basic, and I typed it up because I was bored. It does not contain functionality for navigation through the menu, but it will display the menu as it should at the specified location. Please enjoy it, …

Member Avatar for lxXTaCoXxl
0
153

The End.