Can anyone find a link to official MSDN documentation on the HtmlHelp() Win32 API call, and parameters?
Microsoft, it seems, is going to great lengths to keep the API call a secret.
I'm working on a project using the entity framework code from 3.5 SP1, but although everything works great for the most part, many-to-many tables seem to need alot of workaround coding. Does anyone know if things will be easier in the next .net release?
I would like to crop images on upload using Paperclip to get square thumbs from the center of the original picture. I find out a method in documentation that seems to do exactly what I want:
transformation_to(dst, crop = false)
The problem is that I can't figure out where to use this method. It would be great to simply pass something as a parameter here:
has_attached_file :picture,
:styles = { :medium = "600x600", :thumb = "something here" }
Just notice that after updating to Safari 5 (mac) all the flash applications that respond to resize events got sluggish.
try:
http://www.tutorio.com/media/flash/liquid-demo.html
this works great with firefox 3.6.3, Chrome can deal with it fine, although not so fast as Firefox, but new Safari gives a awful experience, distorting all content if you do fast resizing.
Any ideas why is this happening / and how can I get a better performance with safari browsers?
Hello,
I found great explanation about the new RTTI in Delphi,but I don't understand one important thing about all I have read so far - Where can I use that?
What is it supposed to replace?
Thanks in advance.
I keep hearing how amazing Clojure is, but after trying it out for some time I am not understanding what they're raving about.
I'd love to hear what makes clojure great.
Similar to Ubiquitous way to get the root directory an application is running in via C#, but that question seems to be related to Win Forms. How would the same be done for Web Forms?
I was using...
HttpContext.Current.Server.MapPath("~")
This works great for handling HTTP requests but seems not to work if a scheduler like Quartz.NET invokes a job (the problem I am having). The HttpContext.Current is null in that scenario since an actual HTTP request is not made.
I find myself using Javascript day to day without a solid understanding of the language. There are some great writeups out there about using specific features of the language, but I'd like a distilled, printed book reference about the language itself.
Please list good books that discuss the JavaScript language; not frameworks, usage and quirks.
Hi,
I am using the JS APIS for Google Friend Connect in my ASP.NET app. I am not able to run the application at all. If any body could please let me know how to get the FriendList and show it in ASP.NET page that will be great help.
Thanks very much
Is it possible to write a website that uses Facebook connect without JavaScript? I have a site set up that works great using XFBML but this (obviously) fails when I visit with JavaScript disabled.
I have a feeling that this is possible using the REST-api for Facebook but I'd still appreciate some pointers. There was a discussion about this on the Facebook forum.
I was browsing around and found this blog post:
http://erikej.blogspot.com/2010/04/version-3-of-exportsqlce-now-available.html
(It is for a great add in if you user SQL Server CE.)
On that post I saw an screen shot of SSMS with images in the results.
How is this done? I have images in my database (PNG files that are serialized via memory stream), but I just see numbers when I select the image column.
Ive been having great frustration for hours now trying to remember my AJAX!
Im trying to write a function which will be called that will simply POST 4 variables to a given URL, written in javascript and not jquery such as:
function postVariables(URL, var1, var2, var3, var4)
{
......
return true;
}
Can anyone help?
Hi,
I am looking for some service that can transform GPS coordinates into XY coordinates so that I can plot a point on an Image. Something like fromLatLngToContainerPixel would be great.
Thanks in advance.
P.S. I am developing a desktop application in java.
Is there a way to do an "insert ignore" in cake without using a model-query function?
$this->Model->save(array(
'id' => NULL,
'guid' => $guid,
'name' => $name,
));
Generates error:
Warning (512): SQL Error: 1062: Duplicate entry 'GUID.....' for key 'unique_guid' [CORE/cake/libs/model/datasources/dbo_source.php, line 524]
It would be great to be able to set some flag or option that says "don't care"
Hello,
Is it possible to use the Open XML sdk to manipulate parts of document which is currently open in the ofice app (word/ppt). I know the easiest thing is to use VSTO, but its slow and would involve clipboard use to insert elements, the OXML sdk is direct and simpler.
If somebody could post some code sample that would be great.
Thanks in advance
Rakesh
Hi,
I have a small UIView that should appear always in the center of the screen. This works great for portrait mode but does not in landscape.
To draw the UIView I use:
myView.frame = CGRectMake((visibleArea.size.width - MY_VIEW_WIDTH) / 2, (visibleArea.size.height - MY_VIEW_HEIGHT) / 2, MY_VIEW_WIDTH, MY_VIEW_HEIGHT);
myView.autoresizingMask = (
UIViewAutoresizingFlexibleTopMargin |
UIViewAutoresizingFlexibleBottomMargin |
UIViewAutoresizingFlexibleLeftMargin |
UIViewAutoresizingFlexibleRightMargin
);
Any ideas what might be missing?
I've tried using the following commands to download the ctrl alt del comics.
$ for filename in $(seq 20021023 20100503); do wget http://www.ctrlaltdel-online.com/comics/"$filename".jpg; done
I get the following error code, "bash: syntax error near unexpected token 'do'"
I've also tried using cURL, using this command,
curl http://ctrlaltdel-online.com/comics[20021023..20100503].jpg
I get the following error code, "curl: (3) [globbing] error: bad range specification after pos 37"
Any help would be great.
Hi,
I've been reading about SharePoint 2010's Claims based authentication support. At this point, my shop has several clients who may not upgrade for a while, however. In making our other services claims compatible, we're wondering if claims based authentication is realistic without a great deal of reworking of existing code in our 2007 installations?
I have FckEditor working great on a asp.net 3.5 website, but on another one it throws me "Image source URL is missing" after I upload an image to the server(in the Upload tab) and then I click the OK button.
Could anybody help me with this?
I know the window ID, and I'm trying stuff like:
mplayer -ontop -slave -quiet -wid 471165040 /t.mov
mplayer -ontop -slave -quiet --window=471165040 /t.mov
but nothing is working. (I know the window ID is correct)
Otherwise, mplayer CLI is working great in its own window, just can't get it to play embedded.
Can anyone point me to a syntax example of embedding mplayer in an app in OS X?
thanks!
Hi,
some short and probably stupid questions about PBS:
1- I submit jobs using
qsub job_file
is it possible to submit a (sub)job inside a job file?
2- I have the following script:
qsub job_a
qsub job_b
For launching job_b, it would be great to have before the results of job_a finished. Is it possible to put some kind of barrier or some otehr workaround so job_b is not launched until job_a finished?
Thanks
Hi, I understand emacs lisp is great for handling dates and times, but does it have a function to convert strings to internal representation of integers using formats like %Y, %m, %d, %H, %M, %S, and so on? And also, in the emacs reference manual, it says that times are lists of two or three integers, but is there a more formal specification or description? ~ Thanks ~
I always wondered why Microsoft chose such a strange, search-engine-unfriendly name for such a great platform. Couldn't they have come up with something better?
Apparently the codename was NGWS:
Microsoft started development on the
.NET Framework in the late 1990s
originally under the name of Next
Generation Windows Services (NGWS). [Wikipedia]
Does anyone know why they chose the name .NET?
I know of NLTK. What else is there that complements this library? Or can do AI?
NLTK is great because I can learn it with the book that it came out.
Is there a library for AI just like this?
Hi
i am looking a simple(implements only base features like add articles and publish news) cms based on asp.net mvc. It's must be a simple because i am a newbie in asp.net and mvc and i want to use that cms for studing purpose. That's why it would be great if cms has been writed in a good code style practice.