Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

199 Neutral

About Lucidquiet

  • Rank
    Advanced Member
  1. Hello, I've been looking everywhere to find a way to get Visual Web Developer to source highlight my own file extension (.jss) which is serverside javascriopt running SpiderMonkey. I've not found anything that will work reasonably. There are suggestions about modifying the C++ syntax highlighting, but this is Visual web Developer Express and C++ Developer is an entirely different installation. Any help would be cool. Thanks, L-
  2. So I've been kicking around a number way to render HTML as coded (no .aspx files here). I'd like the basic signature to look something like this: Tag.Create("div", "class", "myClass", "My textual context or more tags"); Even better would be something like this: Tag.Create("div", {"class" = "myClass"}, "My textual context or more tags"); First thought was to use an anonymous class, but this has both performance problems and type problems. Another approach might be this: Dictionary<string,string> Map = delegate(params string[] args) { // pair up args as key/value pairs }; Tag.Create("div", Map(k1,v1,k2,v2), "My test"); There are probably a number of different way to do this, but I would like one that requires a minimal amount of additional code and doesn't have to rely on an even length array. And yes performance is an issue for this rendering as well. Thanks, L-
  3. [SOLVED] Just required a little more google: By default Visual Web Developer saves files encoded with a BOM. To turn this off you can File > Save As (and here's the trick) there is a down arrow ON THE SAVE button. Use the arrow button and Advanced Save Options to save the file as US-ASCII - Codepage 20127.
  4. Hello, I'm having an issue where Visual Web Developer Express is always saving files with a Byte Order Mark. I can't seem to get this 'Feature' turned off. Does anyone know how to turn this off for a file type, or just in general? Any help appreciated, thanks, L-
  5. Hello, I'm trying to find a way to pass values into and out of javascript files. I'd like to use javascript as the scripting engine and have C# application do the major work. So as an example say have the script look something like this: last_save = { level:5, experience:100, equipment:[ "Excalibur" ] }; // or whatever When the game loads it reads this file, when it save it writes this file. Could have files for game play -- like level_5 has 4 monsters, here's a function if x, y, and z = 5. I was hoping to call functions get variable values in C# types, and possibly serialize say a config out to json. Any help would be greatly appreciated. If you find DLR stuff it would be nice to have a good example, and AFAIK the Microsove.VXA stuff is deprecated. Thanks, L-
  6. Lucidquiet

    Trouble loading a js-html-mode.el

    Right I got this to work. What I did was compile the Lisp code and put the resulting .elc in the /lisp dir. Then I added the following lines to my .emacs file: (global-font-lock-mode t) (load-library "js2-20080616a.elc") (autoload 'js2-mode "js2-20080616a" "javascript 1.7" t) (setq auto-mode-alist (cons '("\\.js$" . js2-mode) auto-mode-alist)) This seemed to do the trick. Thanks, L-
  7. Alright, I'm a complete Emacs Newb (admitting it now). I want to use a js mode (Steve Yegge's) but I don't know the command for loading the file and then have it used when I do a find-file for a .js file. Please help -- it sucks being an Emacs Newb. L-
  8. This is just an off the cuff sort of request. I'm looking for an emacs mode to do classic ASP with, but that support the JScript version of classic asp not the VBScript version of asp. I can't seem to find anything that might work for this just googling -- go figure. But any help would be appreciated. Thanks, L-
  9. Hello, I'm trying to find the exe that would allow me to compile 3.0 code at the command line. There is a csc.exe for 1.1 and 2.0, but I've just installed the .NET framework 3.0 and didn't find a new csc.exe. Is it called something else? Any help would be appreciated. Thanks, L-
  10. Hello: I'm looking for a Rails forum that is like gamedev here but dedicated to Rails. I'm kind of new to ruby and rails, and I haven't gotten a chance to find something good yet -- but I'd appreciate some suggestions. L-
  11. Lucidquiet

    [.net] Free Databases for .NET ?

    Thanks everyone for their post. I have not considered the compact edition before now -- forgot about that. Thanks again, L-
  12. Hello: I'm looking for a free database that works with C#/.NET but is free and fast, and possibly embeddable. I'm also hoping for something other than MySQL and, or course, MS SQL because these won't work for various reasons. Thanks, L-
  13. Hello: During development of a web application the server side and javascript use a number of ID's to make controls and access elements. Is it a great inconvience, or not possible, to use nothing but classes for the visual design? It seems if it is possible then it would be best if the visual designers stayed away from IDs and the content developers could stay away from inline styles and classes... Do visual designers really need IDs? L-
  14. Lucidquiet

    [web] addEvent / attachEvent

    Yup: Alright, yeah, I wrote pretty much the same thing, along with using the addEventListener stuff from YUI. They all don't overwrite. So how do you remove a listener? L-
  15. Hello: I would like to put a flash movie into my HTML and then once the movie is over fire a call to an event handler written in some javascript either on the same page or in a seperate file -- any ideas how to do this? I have to admit I'm not a flash-player expert either so if need be I would appreciate any pointers. L-
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!