575 Posted Topics
Re: 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 … | |
Re: 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 … | |
Re: [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 … | |
Re: 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. … | |
Re: 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 … | |
Re: 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. … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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. | |
Re: 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 … | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: @ 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. | |
Re: 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()>=$first and position()<=$last]"> <xsl:copy-of select="."/> </xsl:for-each> </students> </xsl:template> </xsl:stylesheet> [/code] That's assuming … | |
Re: 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 … | |
Re: [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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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. … | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
![]() | Re: 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' … |
Re: 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... | |
Re: 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 … | |
Re: 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 … | |
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 | |
Re: 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. | |
Re: 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 - … | |
Re: Use CSS: [code="CSS"] body, html { margin:0; padding:0; } [/code] Should get rid of borders on the page itself.. | |
Re: 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 … | |
Re: 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. | |
Re: 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 … | |
Re: [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 … | |
Re: 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. | |
Re: 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 … | |
Re: 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. |
The End.