source-code

used reflection in c# works, but two errors need help solving, function called just cannot do anything!

this http://stackoverflow.com/questions/3975659/calling-the-function-which-is-stored-in-a-string-variable wrote the following, but there are two errors which i can not solve, do not understand why they are coming (the error is mentioned with the statement causing it as //error is) please help using System; using System.Collections.Ge...

Number of lines from XCode project

Hello, I was wondering if there is anyway to count the total number of code lines from an XCode project. Thank you very much. ...

how to add the checkbox field in gridview programatically, what wrong with my code?

try { string Data_source=@"Data Source=A-63A9D4D7E7834\SECOND;"; string Initial_Catalog=@"Initial Catalog=replicate;"; string User=@"User ID=sa;"; string Password=@"Password=two"; string full_con=Data_source+Initial_Catalog+User+Password; SqlConnection connection = new SqlCon...

Java/Eclipse on MacOSX: where is the src.zip ?

Hi, With the latest Java update on MacOSX 10.6, Eclipse does not find the Java sources anymore. I am not exactly sure (i.e. don't remember anymore) if I have downloaded the sources manually in the past and put them somewhere or if MacOSX provided them and Eclipse found them automatically. Does MacOSX have the sources somewhere? (Pleas...

gridview dynamic working refernce needed, by code c#. not design view

searched the asp.net site a lot of use full material regrding handling of evnts, and adding things from design view, "i need some sites which show adding thngs and working with gridview by using code c#" there is scattered documentation, am a beginner cant see so much, any particular exact documentation site? ...

Which method is better for debugging/profiling - .DLL or source code?

Hello all, I am developing an application and I will need to take measurements on different aspects, namely time spent in each method and the strain on system resources as well as doing the occasional bit of debugging to monitor how the data is processed. I'll be using an open source library for MIDI files that is available as source c...

Example from Chapter 1 of iphone 3D programming book not drawing to screen.

Hello kind people, I'm currently trying to learn opengl-es using O'Reilly's 3D programming for the iphone. It's first tutorial involves drawing the background of the screen grey. I've entered in all the code to the letter and it runs without error. Thing is I get no color... just black. What makes this such a hard problem to solve is t...

What are the most common ways of losing or having code overwritten when sharing a repository with another developer

What are the most common ways of losing or having overwritten code when sharing a repository with another developer? I say this after working with several share repos where magically a lot of my information disappears. What are some safe workarounds? I use Github. ...

Has anyone asked you to "print" your code?

What are the advantages of printing code? Of course it kills many trees, but I know that in many old-school environments (especially professors) some have asked for code printouts. Is there really any advantage to doing this except destroying the environment, such as facilitating code review? ...

is there any good site for reference on how to translate C++ to Delphi?

i am confuse on how to translate this code: to delphi? char **szWords; // recognized words char ***szPhones; // recognized phones per word float *pScorePron; // pronunciation score float **pScorePronPhone; // pronunciation score of ...

What does the tick mark `1 in the file name mean within the ASP.NET MVC source code?

Looking in the ASP.NET MVC 2 source code there are several files in the System.Web.Mvc project that have an almost identically named file except for the `1 on the end of the file name. For example, there is HtmlHelper.cs and HtmlHelper`1.cs. Another example is AjaxHelper.cs and AjaxHelper`1cs. At first glance, the obvious answer is t...

Lost OS X Java source code

I upgraded to JDK 6 build 22 on Snow Leopard and now I cannot find the src.zip file. I downloaded javadeveloper_10.6_10m3261 from the Apple Developer's website and installed it, but a find . -name src.zip -ls in both /System and /Developer yields nothing. Any ideas? ...

Analyse source code in Java using Python ?

Hi everyone, i would like to create a source code analyser for Java Project (like FindBugs and other static analysis programs) that would be able to detect certain method calls. I would prefer to do it using Python, but any advice would be great ! I'm going to start by studying the FindBugs source code, but if anyone could explain to...

any source code for capturing the data of a video form webcams and for converting2d videos to a 3d video ?

actually, i am doing a project that coverting 2d videos to a 3d video from 2 webcams. it is hard for me to do this. can anybody tell me how to do in detail??what should i do and how..iam very annoyed about this project!!thanks for helping ...

How to display source code in a Cocoa app

I like the way Kaleidescope does it in its "Text Scope". Anyone know how they did it or what they used? NSTableView, NSTextView? ...

i would like to get the following information of a database please suggests ways

My need is to write a code, which creates a db creates four tables creates primary keys creates foreign keys and constraints like type int or boolean or string etc Yes I know w3c shools has the sql codes, but the problem is I first need to detect if these things exists or not one by one. And this is for me a great problem. I tried ...