source

Flex forcing resizing when the image source update is completed

Hello Flexers, I have what seems a straighfoward situation: I update the source property of an image, when the image is loaded i want to redraw the border skin to fit the new size of the image. newImgEdit.addEventListener(Event.COMPLETE, loadImgComplete); newImgEdit.source = myurl_ressource; private function loadImgComplete(evt:Event...

How can I copy dynamically generated source HTML from the web?

For design purposes, I want to copy the exact HTML that is created by some javascript after the page loads. Firebug shows me what's going on, of course, but I really just want some static text that I can copy and paste at will. ...

What is the purpose of this method in the Silverlight SDK source code?

The following code snippet is from the Silverlight SDK and I am trying to understand the reason it is the way it is. Can anyone explain the need for the for loop? internal static DependencyObject GetVisualRoot(DependencyObject d) { DependencyObject root = d; for (; ; ) { Fr...

Shared Code Layout

Hi, I have two C++ projects in a solution both of which need to share two common classes. What I want to avoid is having two copies of the source files but I am relucant to just include the source in one project and reference it in the other. How is this sort of situation normally handled? ...

How can I add class folders into Eclipse?

Say Eclipse is set to compile to a build directory at 'bin' and I have a folder structure with various Java .class files (precompiled) which I won't to copy into the folder 'bin' on compile. How do I go about achieving this? ...

Is there a Delphi library which returns all effective source paths for a project?

For static code analysis tools, it is necessary to know all effective source paths for a given Delphi project, which are defined on project level and in the global IDE configuration. Is there a Delphi library which can collect this kind of project information? As far as I know, the registry settings for the Delphi IDE can be in differ...

Automatically generate C++ Source and Header (and update vice versa on changes) files

Is there some tool (hopefully emacs) that can update and add the correct function definitions and other things to keep the source (.cpp) and the header (.h) files synchronized. For example if I start doing this file: aaa.h Class AAA { int b; public: void func(); }; something that will automatically create and add file: aaa.c...

Search for kernel source code of HID.c v 2.6.27.14

Dear All I am looking for linux kernel source code for hid module hid.c for kernel version 2.6.27.14 Thanks & regards, madni madni[AT]gmail[DOT]com ...

hub4com source code

Anyone know where to find the source code for hub4com? i've got to read the contents of a com port and spit it out to 4 (or more) virtual com ports, so several apps can get the incomming data. ...

Generating preprocessed files using bcc32

Does anyone know what the command line option is to generated a preprocessed file using bcc32.exe (version 5.6.4)? I know that using gcc you can use -E to generate .i files. ...

how to change the subversion directory using eclipse

I would like the move several directories in subversion under a new, parent directory. There is code out there that is in the process of being changed. Should I get the checkins done first, then try it? What's the best way to accomplish this? ...

Publishing artifacts with sources on archiva

At work I'm dipping my toes in managing project dependencies with maven. We use Apache Archiva (1.2.1) as a local repository and proxy. I'm adding artifact for open source project, that is not published on any public repository. I've learned that to publish the sources I should use the Classifier field on Upload artifact page. The source...

How to list source versions using subversion

Hello. I am using svn to download the source code to an open source project. I want to download an older version do to compilation errors and I know you can do that, but I don't know the exact numbers (e.g. 1.2.3) that make up the version. Is there a way svn can list all of the available software versions and when they were published? T...

Source code of libraries downloaded with ivy

I use ivy with the ivy eclipse plugin to download dependencies. Works great. But how can I attach the source code for those libraries, in order to step into these libraries? ...

Installing Ruby 1.9.1 on Ubuntu?

I wonder about installing the latest version of Ruby on Ubuntu 9.04. Now I can run through the ./configure and make stuff fine, but what I wonder about: how to avoid conflicts with the packaging system? For example if some other package I install depends on Ruby, wouldn't the package manager install the (outdated) Ruby package and in the...

Silverlight Image in Listbox

I have a listbox with a data template. The problem is that it expects the source to be a string. The string I have is a uri of an image inside the xap file. So it would be uri( xxx, uri.relative) How do I get it to look inside the xap file for the image since I can only use a string value? ListBox.ItemTemplate DataTemplate StackPanel Or...

Binding an Image source to TextBox.Text

I am trying to bind the Text of a TextBox named 'txtImage' to an image using the following code with no results: <Image Source="{Binding ElementName=txtImage, Path=Text}" /> What would the right approach be? ...

Using Firefox HTML source viewer in VB.NET?

I want to view the HTML source of a web page, I've using ICSharpCode.TextEditor, Scintilla,... and they're all good. But, I have missed Firefox HTML source viewer. I wonder if I can use Mozilla ActiveX Control to open the source viewer or is there a command line argument that make Firefox open it? Thanks! ...

Resizing of frame with DYNAMIC external source

I have tried.... I have tried a lot many things... Even searched Yahoo! , Google and Bing... Why oh! why does the code not reveal... I just want to complete it and put the quality seal.... External frame resizing... is so f'king tensionizing..... I need to find the solution.... before in my head it causes more pollution.... O...

Find the source of (eval:...) code

I've got code which produces a stack trace at some point: fileA.rb:1670:in `flow_completed_for' (eval):58:in `on_success_res_for_register' fileB:312:in `send' fileC:312:in `request_specific_response_dispatch' ... How can I find the source where on_success_res_for_register was defined? The code is called from some timer and I have prob...