575 Posted Topics

Member Avatar for satheeshmanian

There's probably a solution to the specific problem in your code that's causing the error message. But it's an oft-encountered message and doesn't indicate anything by itself; just that a dereferencing problem occured somewhere. Is it an error in clientside Javascript or server ASP code? Post code if you have …

Member Avatar for MattEvans
0
317
Member Avatar for Dani

Your present user figures speak for themselves. You certainly need to keep supporting IE6 until it's in negligable use. The best way to solve the problem is to---from the beginning---only use techniques that are known to work everywhere, where 'everywhere' currently, unfortunately, includes IE6. Since you've just done a bit …

Member Avatar for Troy III
0
177
Member Avatar for Patrick_Walsh

[b]A few tips. I follow all of these, and I don't get viruses. I run the knife and don't even use antivirus, because I know given #1, #2, #3, #5 and #8 I'm at low risk, and that given #4 I can recover easily.[/b] #1. Don't use a browser which …

Member Avatar for timmy_jordan
0
138
Member Avatar for r_firedance

Java 3D can 'deal with objects' from other packages, but it depends what exactly you mean by 'deal with' : you can export geometry from 3DS/Maya into a form for which someone has written a Java 3D importer; with no theoretical limits whatsoever. Of course, practically, there aren't many importers. …

Member Avatar for r_firedance
0
143
Member Avatar for LarZ

It's not safe to assume that HTTP is used exclusively; a server that publishes this information in a webpage could actually use any underlying protocol to collect the information. Just because HTTP is used when you access the information from a webserver doesn't mean that HTTP is used 'between' the …

Member Avatar for MattEvans
0
151
Member Avatar for timmyj97

You need to represent a game company with development + release experience, and pay sums for a licence to get your hands on the official Wii SDK. If you're talking about C# + XNA as being 'the Xbox360 SDK', you're a bit out, XNA is not the complete XBox360 SDK. …

Member Avatar for morrock
0
295
Member Avatar for CoolGamer48

Did you try using a full path to specify the file? i.e: [code="CPP"]house->LoadFromX("C:\\Documents and Settings\\<user>\\Desktop\\Projects\\3DGameFramework\\3DGameFramework\\fachwerk33T.x");[/code] Try this temporarily. The initial working directory of your application is not necessarily the folder where source files are located; you can normally set the application's working directory either from the IDE ( if appropriate …

Member Avatar for MattEvans
0
453
Member Avatar for mbacon

The control character linebreaks \n or \r will be shown in your markup when you view it as plain text. They can be used to organise your code better. When it's rendered as HTML, \n, \r linebreaks aren't shown atall. You have to use <br> or <br/> or <p></p> etc …

Member Avatar for peter_budo
0
82
Member Avatar for drichird

OpenGL no more 'wraps WinAPI functions' than any other program or library that happens to run on Windows. OpenGL is platform agnostic, the need for Windows API with OpenGL apps is to get access to the driver frontend, and ( perhaps ) obtain a window / device context, although OpenGL …

Member Avatar for Grigor
0
166
Member Avatar for teh noobshow

Psh.. it's not so serious.. a bot isn't necessarily bad. IMNSHO, there's no such thing as 'cheating' in a computer game.. It's like 'cheating' in reading a book by looking at the last page first. It only really hurts yourself. Oh yeah.. w/ regard to online tournaments, ok, ok. Don't …

Member Avatar for MattEvans
0
472
Member Avatar for CoolGamer48

The position of the paddle when the ball hits it is wholely irrelevant - the paddle is the same all over, flat, and moves in a constrained direction ( in its own plane ), so any moving point on the paddle is 'identical' to any other point in terms of …

Member Avatar for MattEvans
0
4K
Member Avatar for Natethemad

Looking at myself, a person who 'enjoys game programming'; I don't have an issue with 20+ hour days, intensive work, stress and/or overwork. I enjoy being constantly occupied with something, and am absolutely bored unless I'm working on something. In a way, I play a game that's more fun than …

Member Avatar for naina_gill
0
310
Member Avatar for boo_lolly

mmm, the delimiter between a HTTP header and the HTTP response is two line returns (one empty line). you can put aload of stuff before a header, but not an empty line... lol.. PHP tries to handle this automatically (in true CGI you have to send a content-type/location/[some other headers …

Member Avatar for almualim
0
175
Member Avatar for Saaddani

Stick with 'standard' goal-oriented action planning techniques; the method you're starting to write ( based on your other thread ) won't scale well to finding a general solution to a general problem. Do you even need to consider locality of objects ( i.e. actually moving between them ) or just …

Member Avatar for Ancient Dragon
0
184
Member Avatar for CoolGamer48

Probably not what you want to hear, but the multiplatform SDL library ( simple directmedia layer ) has routines for loading in Wav files. I'm not sure how it holds the data internally, since SDL has its own playback routines aswell, but worth a look maybe. I never work with …

Member Avatar for CoolGamer48
0
177
Member Avatar for Inny

The first meta tag in that page is in the wrong place... move it to be inside the head section. Try validating the code aswel, correct any errors and see if it still has a problem.

Member Avatar for Inny
0
1K
Member Avatar for lawrenceh

That's a horrible way to influence the page dynamically. Don't 'print' HTML into an already-opened page in that way, i.e. never use document.write( ) unless its only to influence the first page render ( and even then, there are better alternatives ). Instead, maintain the x and y position of …

Member Avatar for lawrenceh
0
219
Member Avatar for kaushik259106

Yeah, it's just faking it. The little yellow alert region is simply a CSS styled div element. It works on all browsers, and looks quite out-of-place in Opera :D.

Member Avatar for phper
0
147
Member Avatar for shmay

That image is an 8-bit per pixel PNG, and 8bpp PNGs can only contain 1 bit transparency ( a pixel is either fully opaque, or fully transparent ). With higher bpp PNGs, you're allowed to use alpha translucency ( a pixel can be 25%, 50%, 68%, etc transparent ). Microsoft …

Member Avatar for tashakota
0
136
Member Avatar for Tom Tolleson

Designers need to know that the stuff they throw at the programmers is feasible. That means they need to be able to make more than just pretty head-in-the-sky designs, but workable designs. It's the same in every multimedia field. The designers need to know what they can and can't do …

Member Avatar for autocrat
0
172
Member Avatar for izzi81

Have you tried setting height:100% to the body and html element? CSS: [code] html,body{ height:100%; } [/code] This should allow you to make content stretch when it's "too short" to fill the page ( anything height:100% in the page should fill up the height of the page, which shouldn't ever …

Member Avatar for MattEvans
0
93
Member Avatar for jaepi

No. No sane browser / OS setup will let a webpage 'lock the keyboard or mouse'. Think for 30 seconds why this is the case. If you want to disable all interaction with your site when the user clicks something.. oh-k, something like [icode]document.body.disabled = true/false;[/icode] should suffice, although I …

Member Avatar for MidiMagic
0
436
Member Avatar for denniskhor

This is [b]Java[/b] code not [b]Javascript[/b] code; the languages are entirely different. The thread has been moved to the Java forum. On another note, you're more likely to get help with the problem if you explain the problem briefly -- rather than just posting a block of code and expecting …

Member Avatar for Ezzaral
0
189
Member Avatar for Dani

@ niek_e : use Opera! You can setup auto-refresh every x-mins for any page. I dont have this enabled, mind -- I feel it'd be an uncessary strain on the server, since I'd likely forget it was on and leave it running for days/weeks/months on end.

Member Avatar for MidiMagic
0
894
Member Avatar for tgreer

There's a couple of ways to do this; probably the most imperative is: [code] <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <xsl:apply-templates> <xsl:with-param name="first" select="1"/> <xsl:with-param name="last" select="8"/> </xsl:apply-templates> </xsl:template> <xsl:template match="students"> <xsl:param name="first"/> <xsl:param name="last"/> <students> <xsl:for-each select="student[position()&gt;=$first and position()&lt;=$last]"> <xsl:copy-of select="."/> </xsl:for-each> </students> </xsl:template> </xsl:stylesheet> [/code] That's assuming …

Member Avatar for tgreer
0
2K
Member Avatar for cranium1200

The only way to stop "piracy" is to release truly open, public domain, software; nobody can pirate something that's already theirs! I guess that's not what you want to do, though. As Auzzie said, all you can do is make it more difficult for someone to steal your software, make …

Member Avatar for bmora96
0
105
Member Avatar for Mazdaspeed

[quote]a user calls to tell you that when they try access a folder on the server that they could previously access, they get a message "the link your trying to access is unavailable or missing, try checking your spelling and try again[/quote] Ooh! I know this one! [b]Cause of the …

Member Avatar for Jolan
0
307
Member Avatar for Venom Rush

Only one rule from me.. Don't set out to "work with divs to create a pure CSS layout", unless you're entering some wannabe-elitist competition. Use whatever's appropriate and whatever works best: tables, frames, etc. Nothing but a table does what a table does, and nothing but a frame does what …

Member Avatar for MidiMagic
0
188
Member Avatar for VernonDozier

I'm not sure what configuration tricks you'll need to perform to get this to work on Windows + XAMPP, but, the following looks 'wrong': - your href in the HTML goes to a local file, this certainly wont work. You'll need to move the compiled C++ application into the folder …

Member Avatar for VernonDozier
0
505
Member Avatar for Bushido Hacks

There is probably something wrong in your not-shown classes ColorGL &| BezierGL, since the code runs fine with all reference to those classes commented. Have you got a debugger? I'm guessing if your PC is saying 'Segmentation fault' that you're using some breed of Linux? If so, run your application …

Member Avatar for MattEvans
0
259
Member Avatar for Venom Rush

Just about any language can be used, although some languages are more/less suitable for various reasons. C++ can be used for web applications quite comfortably, when coupled with a database and perhaps XML parsing libraries ( + other libraries as appropriate ). Big web applications are pretty heavy-duty/high-load, and complicated. …

Member Avatar for PirateTUX
0
293
Member Avatar for satimis

I think kingvjack is saying that VB will automatically format and layout code neatly (i.e. indentation, newlines, etc ) On Linux.. Quanta Plus does that, I think. Not sure about any Gnome apps, but any decent HTML/XHTML editor should have this as a feature.

Member Avatar for satimis
0
175
Member Avatar for cancer10

The way to look at injection protection is not to "take the bad things out" but to "only let the good things in". There is, funnily enough, a big difference. Properly quoting the input text to make it impotent is a reasonable strategy in this case, since you're accepting a …

Member Avatar for ryan_vietnow
0
207
Member Avatar for adrumsolo4u

Right.. not entirely sure what you're after; I can't work out which you want: 1: The first 'click' to perform 'sizeChange' and the next click to perform 'sizeRestore' ( and then to repeat for subsequent clicks ). 2: The click 'down' to perform 'sizeChange' and the release of the click …

Member Avatar for adrumsolo4u
0
143
Member Avatar for tie372

You can do this with frames, i.e. make blah.com/index.html a frameset document with a single frame, all pages and clicked links will appear to be the same page on the browser address bar.. Why you'd want to do this is beyond me, and you should be careful to load 'external' …

Member Avatar for MattEvans
0
93
Member Avatar for kanoshy

Make a non-Windows distribution, provide source code, show pictures of the game.. it worries me to open an .exe file downloaded from an anonymous file server. Also, I couldn't open the .exe if I wanted to, because I don't use Windows...

Member Avatar for beefstick720
0
109
Member Avatar for oreo_cheesecake

I'll agree, from experience, for most individual tasks, there's not much speed difference between C++ and Java. However; the rigid paradigm inflicted by Java sometimes restricts certain approaches to problems, approaches which, in some cases, could be faster ( or more memory efficient ) than those afforded by sandboxed pure …

Member Avatar for beefstick720
0
949
Member Avatar for dwlamb_001

This seems to work fine for me (Opera): [code="HTML"] <html> <head> <title>Hanging indents..</title> <style type="text/css"> p.question, p.answer { margin-left:1.2em; text-indent:-1.2em; padding-bottom:0; padding-top:0; margin-top:0; } p.question { margin-bottom:0; } p.answer { margin-bottom:1em; } </style> </head> <body> <p class="question">Q: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt …

Member Avatar for dwlamb_001
0
80
Member Avatar for rutul
Member Avatar for MattEvans

Oh my. I just saw the news. We had a country-wide earthquake. I didn't even notice. I vaguely heard something about it this morning but it didn't sink in. Anyone experience this? It didn't affect Deptford, although.. I would probably have slept through it. We never have big earthquakes! O_o

Member Avatar for sneekula
0
228
Member Avatar for brr

This thread has been merged and re-named. The original merge sources were 'can anyone help' and 'To the second listbox'. Replies are now in chronological order as posted in both original threads.

Member Avatar for MattEvans
0
268
Member Avatar for Sgt. Pepper

If you want to make a game engine, learn a decent language. C++ is decent, but learn it well. There are easier languages to start in, but some good C++ libs go a long way - look up SDL and OpenGL, or DirectX. From ( painful ) personal experience - …

Member Avatar for Sgt. Pepper
0
132
Member Avatar for sethbaur

Use CSS: [code="CSS"] body, html { margin:0; padding:0; } [/code] Should get rid of borders on the page itself..

Member Avatar for sethbaur
0
120
Member Avatar for martinkorner

Err... you could remember where the song is and restart it at the correct place on every page; but getting it syncronized properly over the Internet will be hell. It would take a long time to implement, a long time to test, and might not ever work without noticeable gaps …

Member Avatar for MattEvans
0
160
Member Avatar for nav33n

browsers,wont,usually,break,a,string,unless,it,has,some,breaking,characters,in,it,such,as,spaces,so,either,this,text,will,extend,forever,or,it,will,get,cut,off,depending,on,the,browser,mostly. this isnt a daniweb issue,it's more of an issue with a convention in the way text is processed/rendered at the client. that said, it is relatively easy to fix, just run through the uploaded post data and insert extra breaking chracters as required.

Member Avatar for jasimp
0
143
Member Avatar for prushik

You don't need all the trig stuff, but the principle is OK. See attached diagram for a guide to what each variable in these expressions is. Assuimg your triangle is isocoles; and is defined as having a base ( scalar ), height( scalar ), origin/centerpoint ( point ) and direction …

Member Avatar for MattEvans
0
139
Member Avatar for Mikesvb

[quote]If someone can't find something on internet the best way is to go to forums[/quote] Er.. not really. The first place to go is google; it'd save a lot of server-space and reader's time on most forums if people just looked up static reference material before even considering asking anyone …

Member Avatar for jbennet
0
118
Member Avatar for armend90

This thread is now closed, since reverse engineering an encrypted script is likely in conflict with the licencing agreement under which that script was purchased.

Member Avatar for MattEvans
0
2K
Member Avatar for emhmk1

Font-family names can be quoted. Especially, because the the name might contain whitespace, like 'Nimbus Sans L Condensed'. There is no harm in quoting font family names, even if they do not contain whitespace. What problem are you having with the code? 'I'm having a problem' isn't very descriptive. What …

Member Avatar for richie513
0
90
Member Avatar for lafalot

If you want to do this in coldfusion specifically, this is probably the best board to post in. I have removed the duplicate posting of this question in HTML+CSS.

Member Avatar for MattEvans
0
119

The End.