.master in DreamWeaver solution? - visual-studio

I have both dreamweaver CS5.5 and Visual Studio Ultimate 2010. Both programs I love, but I really want a way to complete all of my front end coding in Dreamweaver, and then work with the database in VS.Net.
I have been completing this by making all of the pages in VS.Net, and then clicking 'open with' Dreamweaver afterwards. Although each time I open the .master file with Dreamweaver it collapses into blank coding, propbably because it doesn't recognise it. I have researched this before,and tried to solve the problem by adding content to the documentType folder but nothing has happened. I really need some support in Dreamweaver because I am alsways changing the design of my pages, and each page uses a materpage file.
The other problem is the masterpage uses .swf files and javascript alot, which is a pain to use in VS.Net, as the code hinting doesn't work properly.
Does anyone have a solution to this problem?

I havent tested it yet, but take a look at this: http://alexle.net/archives/119
Go to **[Your_Drive_Here]:\Program Files\Macromedia\Dreamweaver MX 2004\Configuration**
Open the file Extensions.txt and add your custom extensions to the list.
...
Go to the DocumentTypes folder (still in the same path), edit the file MMDocumentTypes.xml\ (fullpath: [Your_Drive_Here]:\Program Files\Macromedia\Dreamweaver MX 2004\Configuration**DocumentTypes\MMDocumentTypes.xml**) with a Text Editor (i.e. Notepad or Notepad++). It’s not advisible to edit this particular xml file with Dreamweaver as the software may go crazy as it’s being used to edit itself.
Go to l*ine 67*, add the THTML extesion to the winfileextension and macfileextensionlist attributes. Here is the code exerpt
This instructions are for Dreamweaver MX 2004, but may work changing Macromedia\Dreamweaver MX 2004 for Adobe\Adobe Dreamweaver CS5.5 (I don't have CS5.5, but assuming this had not changed until CS4 (my version), it will be there.

Related

Applying third-party themes to QtCreator (dracula)

So I just downloaded the open-source QtCreator and I hoped to set the Dracula theme for this IDE, but I failed to do so, and I have no clue what I'm doing wrong.
So far, every where I looked for third party themes, they've been telling me to put it in a map on location "$HOME.config\QtProject\qtcreator\styles" (windows). Fine, but after I've copied the file into that folder, the theme is not showing up in the theme list when I'm trying to set a new theme in QtCreator, selecting Tools > Options > Text Editor > Theme-button :/
I'm quite (90%) sure the path/location is correct, but I assume the themes have moved to somewhere else. I would like to set-up this theme, instead of the default dark-theme. Thanks in advance!
So I found out the themes were located in PathToQt\Qt\Tools\QtCreator\share\qtcreator\styles. The developpers must have changed moved the theme folder, but now between the other .xml files, the Dracula.xml file works just fine.
I hope I fixed every one else's problem, who came to ask himself where the heck they had to put that theme.

Is there software I can use to view my Markdown files as a wiki, with relative links, on Windows

Our team has installed the Markdown Mode extension in Visual Studio on our Windows PCs, and we're happy with that as an editor for Markdown files, but we need a way to generate a wiki from those files where we can click on links that cross-link the files of the wiki. I've been trying to find something, but haven't had any success getting something running.
I tried creating an empty web application and pasting in the html file from here http://dynalon.github.io/mdwiki/#!index.md and naming it index.html, and adding a couple of md files to the same directory that I set to always copy to the build directory, but I got 404-3 errors when it tried to access the .md file.
I see a couple of tools that look possibly good but need Python or Ruby installed, which isn't ideal: http://markdoc.org/quickstart or http://helloform.com/projects/commonplace/
I see this ASP.NET control for embedding a Markdown file into a page http://wikicontrol.codeplex.com/ but the control is for VS 2010 so clearly is not being actively maintained, plus to use it I'll need to build something to take the relative links and find the related .md files and load them up in MVC - sounds like a hassle to get working, and it will require me to put MVC in my docs project.
Is there something that is just designed so that I can put an html file or similar in a directory with a root .md file and have it just immediately act like a wiki and allow navigation between them?
We have decided to use MarkdownDeep NuGet package and a single MVC controller to handle this. The MVC controller looks at the requested path, uses it to figure out the location of the Markdown file, reads that file and renders it to HTML and returns the HTML.

Does Sublime Text support live editing of CSS/SASS files?

Does Sublime Text support live editing of files?
I'm looking for a better workflow. I really like Sublime Text, but recently I've been spoiled by the "Live Editing" capabilites of tools like Codepen.io and (recently tested) Adobe Brackets. When I go back to Sublime, even Live Reload seems clunky in comparision.
Live Reload: Press Save To Preview..
I'm using the LiveReload Chrome plugin, and depending on the project (Ruby or JS) I'll use Guard or Grunt to watch system files. I like LiveReload. But having to press 'save' on a file to see its changes in the browser is driving me nuts. Even with CSS style injection (no full browser reload), I'm flying blind in comparision to Codepen and Brackets which have instant updates as you type.
Other Tools
** GUI Tools **: I've heard of tools like Codekit and Hammer. Please correct me if I'm wrong, but they seem to do exactly what Gaurd and Grunt do—except no command line.
** Chome Tools Spaces **: The ability to edit Sass in the browser is cool. I've set this up, but I rarely use it. Editing HTML/CSS/Sass in Sublime Text is superior to Chrome Tools in every way. And to that point, it is far superior to Adobe Brackets which is why I don't (at this point) considering using it (Also it seems most of Brackets 'cool features' work on vanilla CSS, and not on Sass).
**Live Style: I've tried this, and I just can't get it to work.
I must have Googled "Live editing Sublime", "Live Refresh Codepen Sublime Text", etc.. a thousand times this year and results have been pretty lousy.
If anyone has any gems of information regard this to add to this PLEASE POST THEM!
Yes it does, all you need is takana: https://github.com/mechio/takana
This tool creates a little server which interacts in live the the loaded css of the page. All you need is to setup the server and add the javascript snippet to your html code (you will obviously remove it afterwards…).
For now only OSX, live editing is even working on different browsers. Welcome to the awesome!

how to debug vb6 richtextbox not showing unicode (chinese) properly

I have a simple vb6 editor type application which has a richtextbox as the editor page. It allows users to key in stuff and the store it into a file which will keep all the text in RTF stored as CDATA in xml.
When you load back the file, it will read it off the xml and load back the rtf. We allow for unicode editing, but my problem is I have a user which is using Windows XP, and they have some problems reading the chinese characters. They show up as gibberish in their pc.
It displays fine in both mine and a coworker's. I've already checked that they have the proper regional language and settings in their system. The install files for east asian language is already checked. And they can see chinese words on websites and even type them out.
I feel like I'm missing something here but I'm at a lost on what to check next? Any ideas on what I could test or check next?
my bad for the poor description skills, if anything is not clear just ask me.
thanks.
~steve
That is weird. Try confirming that your user have the same version of RICHTXT32.OCX ?
Could be a problem with font?
Try using font that supports unicode characters (Arial Unicode).
Or try going to a website with chinese characters and paste it into richtextbox, save it to a file and try loading it from the file.
Does that work?
well they should because i packed the app in vs installer setup package.
and for fonts, it's sim sun, and i've already checked with the users that they do have the sim sun fonts under window/fonts.
Btw i've already updated that the data is actually stored in xml under CDATA, although the rtf chunk is kept as it is.
okie, this seems to be the solution although i don't know why. in my msi setup file i've included the riched.dll so when i installed it in, the dll acts up and screw up my chinese character in the richtext control.
but when i repack to exclude that dll file and reinstall using that setup, it seems to work now...

Very newbie troubleshooting. Basic p5.js index.html setup on Atom, not generating anything on browser?

literally just got into the world of coding, so if my question seems absolutely insane, I do apologise.
Anywho, was following some tutorials (Daniel Shiffman's https://www.youtube.com/watch?v=HZ4D3wDRaec) how to setup a basic p5.js file on Atom, and generate a green window to test if the code is working. Really basic setup, nothing should've went wrong.
For some reason the text editor wouldn't read my code while I was typing; so then I clicked on the index.html file from the root folder.
Instead of having to show a green window, nothing actually happened. I don't know if this is a software issue, seems like nobody has encountered such a basic problem.
Nothing seems to be wrong here. And it opened a white window when it should've been green
You might have missed a couple of steps in the video:
You can simply (manually) double click index.html from the yayme folder on your Desktop. This should open your default browser with the page. This works for simple sketches but once you start loading assets (images/sounds/data from other sites, etc.) it's best to use a local web server
You can use any http server as Daniel Shiffman's video mentions or the atom-live-server package (notice the install button on that page which will open Atom for you). Once that's installed you can access it via Atom > Packages> atom-live-server

Resources