source

Plain password in C# source code... is it safe?

Hi! A user types a specific username and password, that username and password is in the program converted to something else! But... that password is in my program plain text, in the source code. Is that safe? Can people somehow get that out? What can I do to prevent that? Can people somehow decompile my program and read that password? ...

Where to find source code for java.lang native methods?

I'm vaguely familiar with the JNI, and I'm curious to see my machine-specific implementation for some native methods in the java.lang package. Thread#currentThread(), for example. I've found a bunch of DLLs in [JDK_HOME]/jre/bin, but like I said I'm trying to find the source code. Does anyone know where the native source code can be fo...

How do you keep Xcode project source files in sync with your file system directories?

I'm new to XCode and I find the file management a huge pain. In most IDEs, you can simply have the project source tree reference a directory structure on disk. This makes it easy to add new files to your project - you simply put them on disk, and they will get compiled automatically. With XCode, it appears I have to both create the fi...

how update an image dynamically using data binding, need example/help

Hi all, new to developing with flex3/as3. I have a main.mxml application that lays out my application, it contains a "browse and upload" button. And contains an image to view the users uploaded image like so: <mx:Application <mx:Script> <![CDATA[ import model.myModel; import control.myControl; // Create data model ...

Add existing project to solution under visualvsn

We are changing from SourceSafe 2005 to visual svn. How can an exisiting project be added to a solution Example: I create solution1 with 3 projects and add to /trunk I create solution2 with 1 project and add to /trunk In solution1 I add existing project from solution2, but I cannot add to subversion. I get "out of working copy, use...

WPF CollectionViewSource in Custom Control misuse ?

Should you use CollectionViewSource in the WPF Custom Control's code behind? I'am asking because the CollectionViewSource.GetDefaultView(SOURCE) with .Filter set changes the view so that all instances of the Control have the same view. Doesn't it mean, that in the Custom Control's code behind, you should avoid use of CollectionViewSou...

Get XAML source of WPF Window

Hi, I would like to get the XAML source of a WPF Window (MainWindow). Clicking on a button on that window would return the XAML of the window and I would save it in another file. Is this possible and how can it be achieved? Thanks! Satixx ...

How to list source code file names at Java run time ?

When my program starts to run, how do I list available java source file names ? For example, I have a few dozen source files named "My_App_*.java" in my src directory, after I start my app, how can I call Java to list source files start with "My_App_" dynamically ? Frank ...

jQuery replace image source problem in IE

In the DOM I am loading a static Google Map image. When the document is ready with jQuery sometimes I need to replace that image with a bigger version. Problem is that in IE the CPU goes whooooooo because IE is still looking to load the initial image with no success. Is there a way to cancel or clear the previous load? EDIT: I should no...

Console Based Java Source Code Application

I am looking forward for java Console based java application of approximately (3000) lines , but i am unable to find that , any help would be greatly appreciated ! ...

How to build a dotnetnuke module from source i.e blog module

So i have dotnetnuke community version 5.2 and i downloaded the source for blog 3.5. For the purpose of learning i want to build the module using source code. But no matter how i add the module from the host account, it fails. Any experience dotnetnuke user able to guide me through? There is practically no good documents online regarding...

agglomerative clustering java

Is there any java file that I can use to perform "agglomerative clustering" Result should provide me every level nodes id help................. ...

Maven2 not compiling source

Hi, I am new to Maven2 and have been having an issue with the compiling of the source for a RAR. Maven currently copies all the information located at my sourceDirectory instead of compiling it even though the console states that the source is being compiled. If I navigate to the sourceDirectory I find all my source files with no compile...

Problems while applying an svn patch to a mercurial repository

Patch file is made with TopirtiseSVN -> Create Patch... Attempting to import patch into the mercurial repository using hg import patchfile. The problem I'm running into is that there seems to be problems with how hg looks for files referenced in the patch file: unable to find 'gui/gui/RemoteFramework.cpp' for patching 2 out of 2 hunks...

Android Debugging Problem

For some reason I can't step through the code in the debugger. I am not trying to step through Android source code, just code that resides in my project. My build paths are setup to include it, but whenever I try stepping over anything it gives me a "Source not found" message. This is incredibly frustrating, and a prompt answer would be ...

jQuery: Showing source of one <div> in another with a regular expression

Ok I give up and would really appreciate it if you guys could cast their eye over this for me? I'll try not to ramble. Goal is to have a 'rendered-view' showing 'rendered' HTML (clickable links) and 'source-view' showing the actual HTML of whatever is in the rendered view. When a link is clicked it is made not a link any more and simply...

preg_match_all image source

I have the following regex expression which is to extract the source of any img tag in HTML. /(<img).*(src\s*=\s*"([a-zA-Z0-9\.;:\/\?&=\-_|\r|\n]{1,})")/isxmU However, it doesn't appear to be matching the following: <IMG SRC='http://www.mysite.com/pix/lens/mtf/CAEF8512L.gif'&gt; How can I build it to match this as well? ...

Problem building dotnetnuke blog module

I have dnn 5.2 running on my machine, and installed the blog module, the blog module is also reflected in the development environment i have. But i want to find out, how do i actually develope, or build the blog from source, so i can actually output the .dll file, instead of just running it. If i import the Blog project file from the fol...

web analytics open source software recommendations

What do people use to gather metrics for their site? Do you have any open source recommendations? I would like something based on php + mysql, easily extensible and in addition to getting UX usage information, I would also need to know how my product gets used in the backend. Database and web server metrics is also something I would be...

"The breakpoint will not currently be hit. The source code is different from the original version." What the hell does this mean?

Hi everyone I'm really hoping someone can help me out with this one. When debugging in Visual Studio, sometimes I add a breakpoint but it's hollow and VS says "The breakpoint will not currently be hit. The source code is different from the original version." Obviously this prevents me being able to debug. What on earth does the message...