5,727 Posted Topics

Member Avatar for jwenting

A piece of JavaScript on one of our pages gives an access denied error. In itself nothing strange, it's a reasonably well defined error after all :) What is strange is that the error ONLY happens on that page (despite identical calls to the JavaScript function appearing on several other …

Member Avatar for eriasb
0
174
Member Avatar for moderate_rock48

get an older one and start taking it apart :) Then put it back together and try figuring out where the leftover parts go ;)

Member Avatar for dlh6213
0
77
Member Avatar for DaveSW

Sure it could. If you can find something that uniquely identifies the start and end of the block you can use that as search criteria for the block and filter it all out.

Member Avatar for jwenting
0
153
Member Avatar for cancer10

I think any woman finding this offensive does so because she recognises herself all too well and is deep down ashamed of the fact ;)

Member Avatar for 1o0oBhP
0
247
Member Avatar for Sphyenx

Stay away from the "teach yourself in 24 hours" and similar series. They give too many shortcuts that will catch up with you as you gain experience. Get "Accellerated C++" by Koenig and Moo instead.

Member Avatar for ahmed_design
0
127
Member Avatar for caperjack

Accepting only paypal as a payment service is a big block towards receiving donations (as are the rates which seem steep compared to what sites I donate to charge). People in many countries can't use paypal at all and personally I don't trust them (there's been too much trouble with …

Member Avatar for jwenting
0
1K
Member Avatar for chound
Member Avatar for George2

Well, if the JVM dies any thread in it dies as well so you can't have a thread that never dies at all. Other than that, you can track whether your thread is alive of course. Thread has a method for that called isAlive() which returns true if the thread …

Member Avatar for George2
0
149
Member Avatar for BountyX

From the Win32 API reference (as supplied by Microsoft): [code] int WINAPI WinMain( HINSTANCE hInstance, // handle to current instance HINSTANCE hPrevInstance, // handle to previous instance LPSTR lpCmdLine, // pointer to command line int nCmdShow // show state of window ); [/code] [quote] lpCmdLine Points to a null-terminated string …

Member Avatar for BountyX
0
196
Member Avatar for paradox814

I admit I had to look it up myself :) but here it is: [url]http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javadoc.html#packagecomment[/url]

Member Avatar for jwenting
0
78
Member Avatar for tigerxx

Opening the document is the easy part, it's just a file after all ;) Interpreting it is hard. There's a library by the Apache group (Jakarta project) which offers partial capabilities to read and write Word documents [url]http://jakarta.apache.org/poi/index.html[/url] but if that is not enough you're pretty much on your own …

Member Avatar for tigerxx
0
165
Member Avatar for Geek-Master

Learn C++ before you dive into specific APIs... "Accellerated C++" by Koenig and Moo is excellent. "The C++ Programming" Language by Stroustrup is required (or should be) for anyone doing C++. Myself I'd also heartily recommend "Agile Software Development, principles, patterns, and practices" by Robert Martin. While not directly about …

Member Avatar for Geek-Master
0
120
Member Avatar for yb1pls

well, you need to ditch all those heavy GUI libraries to start with, those eat massive amounts of memory... It's all a question of memory allocation, people just don't go the extra mile these days to think up memory structures to use minimal RAM. Where are the days of using …

Member Avatar for yb1pls
1
136
Member Avatar for bsunkel

Imagine what you're doing there and you will know why it does not do what you think it should. You create a new System object (poor naming choice btw) and call a method on that. What you WANT to do is call that method on another System object, the one …

Member Avatar for jwenting
0
120
Member Avatar for yb1pls

no, it's a DOS extension from Borland. I've no clue about what the Microsoft equivalent was, would be part of Microsoft C 1.5 or so.

Member Avatar for 1o0oBhP
0
520
Member Avatar for Dani

I've been seeing the same to an extent. Or people sending a PM in response to a forum post instead of posting a response in the forum. I'd say go for it, maybe even make it a higher number :)

Member Avatar for Sphyenx
0
136
Member Avatar for freesoft_2000

well, as it uses a drive letter it will ever only work on Windows... That's the problem with files, path structures are platform dependent. The best you can do is to either use relative paths only so you will always look from your installation directory, in which case you can …

Member Avatar for tigerxx
0
207
Member Avatar for grussell

You cannot control the size of controls (including panels). The setSize() method should never be relied upon.

Member Avatar for jwenting
0
103
Member Avatar for Acidburn

whatever suits you... though many people tend to go for a system that uses less words than you do.

Member Avatar for Acidburn
0
124
Member Avatar for ShannonD

They're not part of the standard installation. Depending on which implementation your course uses you'll have to download it from somewhere.

Member Avatar for atul_manaskar
0
131
Member Avatar for gowswan

garbage? If you haven't initialised array elements or incorrectly declared an array the data in it will be the data that was in the memory spots before the array even existed. If you change it you can cause the computer to crash...

Member Avatar for 1o0oBhP
1
223
Member Avatar for Extreme

ANd! To aDd to WhAT aLEx saId; pEAsE uSE prOPeR . punCtuATIon, ANd caPITaliSatION: IN yOuR quEstIonS?

Member Avatar for vegaseat
0
124
Member Avatar for OurNation

I'd say the statement was uncalled for (in whatever context it was made) and extremely poor advise. That alone should be enough reason to lower your reputation...

Member Avatar for DMR
1
221
Member Avatar for kellyandtopher

[code] #include <iostream> using namespace std; void main(void){ cout<<"1 2 lazy 2 do my own homework therefore 1 got this solutiun frum sum website"; } [/code]

Member Avatar for kc0arf
0
120
Member Avatar for Ltfox

You've a LOT of crap in there, my guess is your changes are being reverted as soon as you make them... C:\WINDOWS\System32\taskswitch.exe C:\WINDOWS\System32\Fast.exe C:\Program Files\IJ Accelerator\PropelAC.exe C:\WINDOWS\System32\ulg0gp8vrh7jthd.exe C:\WINDOWS\DvzCommon\DvzMsgr.exe C:\Program Files\InterVideo\Common\Bin\WinCinemaMgr.exe C:\WINDOWS\System32\mrtMngr.EXE R0 - HKCU\Software\Microsoft\Internet Explorer\Main,Start Page = [url]http://win-eto.com/hp.htm?id=9[/url] R1 - HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings,ProxyServer = http=localhost:8080 O2 - BHO: (no name) - …

Member Avatar for crunchie
0
203
Member Avatar for Trixie

The way you're doing it it won't work over a network anyway as you're trying to pull your graphics from the machine that's running the browser... Pack everything in a jar file and pull the graphics from that.

Member Avatar for jwenting
0
89
Member Avatar for jerbo
Member Avatar for Gersen

no, it's not OK to copy it from someone if it's been discontinued. You'll just have to look harder or use another product.

Member Avatar for jwenting
0
60
Member Avatar for Kinroan

There's many choices of forum software available. Most you need to host yourself (which requires special software and settings on the webserver which your ISP won't give you unless you pay quite a bit extra), some you cans sign up with a service and they host it for you (at …

Member Avatar for Kinroan
0
134
Member Avatar for jdl44lfhs

The idea of those problems is that you solve them yourself so you'll learn something in the process, it's not that you get others to solve them for you so you can show your teacher you've done your homework.

Member Avatar for jdl44lfhs
0
210
Member Avatar for ssimonton007

The desktop IS a folder on your harddisk Sphyenx :) It's perfectly fine to put it there, the log will then also appear on the desktop.

Member Avatar for Sphyenx
0
232
Member Avatar for blacjuice

never rush through coding, it only leads to errors. Think first, code last.

Member Avatar for blacjuice
0
181
Member Avatar for Pheonix28
Member Avatar for warm heart

What have you tried? Except the declaration of the array you don't seem to have done anything...

Member Avatar for jerbo
0
106
Member Avatar for Xpyder

Check your project settings. Most likely you didn't include the directory containing the header files to the search path for headerfiles.

Member Avatar for Xpyder
0
146
Member Avatar for LAMJAM
Member Avatar for yb1pls
0
182
Member Avatar for Jeff20

Rebuild your entire project. It looks like you changed the sources it depends on but it still has old versions of those classes cached. A full rebuild should fix that.

Member Avatar for jwenting
0
132
Member Avatar for jonboy_us

Create a JPanel with a GridLayout with 2 columns and as many rows as you have inputfields. Put the JLabels in the left column, the JTextFields in the right column. They are now lined up perfectly. What isn't the write funtion doing? And what do you expect it to do?

Member Avatar for jwenting
0
252
Member Avatar for Sphyenx

what's so funny? If you want funny, open up the text screensaver in NT and type "not evil" as the text. You'll get a rotating list of all the development team. I think it works in Win95 as well. Another easter egg in the same screensaver is a list of …

Member Avatar for jwenting
0
46
Member Avatar for winterac

[QUOTE=winterac]And so I'm wondering what it feels like to have a virus/spyware/adware free computer because I can't seem to shake this thing. [/QUOTE] It feels pretty good, but I've gotten so used to it over the years I hardly notice anymore. now if you want to know what a clean …

Member Avatar for Sphyenx
0
403
Member Avatar for LaL

no, it's final. There used to be an unformat tool under DOS that could undo some formatting actions IF no data had been written to the disk afterwards but it wasn't very reliable and was scrapped. I guess it worked by having format store a copy of the directory information …

Member Avatar for suRoot
0
155
Member Avatar for maswfc
Member Avatar for suRoot
0
88
Member Avatar for neoncoder

There are as many GUI libraries as there are compilers (and probably even more).

Member Avatar for jwenting
0
93
Member Avatar for missy

You're declaring a function int S1(int, int&) but defining it as int S1(int&, int&). The linker can't find the function it expects to find (S1(int, int&) ) anywhere and throws a fit.

Member Avatar for 1o0oBhP
0
77
Member Avatar for Nabs

when you call by reference you also greatly reduce the overhead of creating the callstack of the function. The amount of stack memory needed will go down from the size of the struct you pass as a parameter to the size of a pointer to that struct. If the struct …

Member Avatar for 1o0oBhP
0
108
Member Avatar for maswfc

Do you have speakers or a strong microphone positioned near there? If so those may well be the cause. Move them a bit and see what happens.

Member Avatar for rcrevolution
0
93
Member Avatar for shermili
Member Avatar for alc6379
-1
229
Member Avatar for yoyo

Poorly configured HTML email will do this. What you see is an attempt to render the HTML as plain text. Not your problem, and most such bad clients are associated with mass mailers more normally used by spammers than legitimate businesses (though some use them for mailing lists).

Member Avatar for dlauretti
0
107
Member Avatar for mak 23

steps: 1) order a large amount of coffee 2) order some pizzas 3) kickstart your brain 4) start thinking how you would solve it 5) write down your solution in words on a piece of paper 6) translate that into a flowchart and/or other diagrams 7) translate that into a …

Member Avatar for vegaseat
0
150
Member Avatar for mortonl

You might want to pick up a book on matrix mathematics and read up on the subject. Unless you know the theory behind it you're never going to put it into code, and once you do know the theory the code should come easily.

Member Avatar for jwenting
0
148

The End.