Answer Questions
Klgsx Array of ArrayLists
In the program I am creating I have an array of arrraylists declared as such: ArrayList[] arr = new ArrayList[2]; This compiles with no problem by itself. Then later in the program I have the following code: arr[0].add("Test"); This compiles no problem as well. It isn't till I actually activate the code does it finally throw an error. The error reads NullReferenceException was unhandled: Object reference not set to an insta ...Show All
Ami06 Migrating JNI to P/Invoke
Hi guys, I'm attempting to migrate a Java application to the .NET framework. This Java application uses some C++ code to provide functionality not present in either the Java framework library or the .NET framework. Java makes these calls via Java's JNI technology. For example: // The C++ code: JNIEXPORT jint JNICALL Java_xyzMedia_util_MyControl__1getSpectrumLength(JNIEnv *env, jclass jcl) { ... } // The Java code that calls the native method: ...Show All
jcfiesta VJ# express forum?
isn't there a VJ# express edition If I remember correct and there is such, shouldn't the forums list, have a forum on it, together with the VC++, VC#, VB.net express forums Hi, Yes, J# also has a express SKU . I am not sure of any reasons behind not having a seperate forum for J# express SKU. But we get all kind of queries on this forum (IDE, Class Libraries, Runtime, language, express etc.) and those are answered in time. Tha ...Show All
pi.net error
I am new at J#... I always get this error when I debbug programs.... C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Vjc.exe /warn:4 /define:DEBUG;TRACE /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll,C:\WINDOWS\Microsoft.NET\Framew ...Show All
JAlexandrian import netscape.javascript.JSObject;
I'm recompiling a java applet which I have found as an aid to learning J#. While doing so, I keep getting the same error "Error 1 Cannot find type 'netscape.javascript.JSObject'" I've searched google and msdn for the answer to this and have even downloaded the browser controls twice. how do I get rid of this error -john Start small. Can you make a trivial ("Hello World") apple ...Show All
Manik_Mahajan_3112ff I need System.setProperty(String, String)
Hi; I need to be able to set some system properties (for some unit tests). How do I do this In java it's System.setProperty("key", "value"); thanks - dave To set custom values you will need to use System.setProperties() method passing the property table. Eg. java.util.Properties p = new java.util.Properties(); p.setProperty("Hello", "Hi"); System.setProperties(p); System.Console.Write(System. ...Show All
horatiu System.InvalidOperationException Every Time I try a particular Web Reference
Greetings Fellow J# Developers! I am currently working on a project which requires me to make references to the Autodesk Vault Web API. This API apparantly at some point passes in an array of INTS or LONGS. Although I cannot post the code from their end (on account it is closed source), I can post my code that is generating the error (though I don't feel it will be of any help). I posted this to the Autodesk Vault user group, ...Show All
Netra1980 J# JDBC Interface with Oracle10g and Mysql 4.1
Greetings, I would like to create a JDBC Application to run queries against a MySql 4.12 on Windows 2003 database and then insert the query results into Oracle10g on Linux. I understand Java has a JVM environment to devlop the JDBC api and create an open connection to both database platforms. Since I do not have Java programming experience, I would like to create this program using VS J#. I do know that .net has a JDBC driver to Ora ...Show All
Ajay Kalhan onClick, Questions??
I have some check boxes with lables like 'checkBox" _________ I want to be able to check that check box with click on that label anywhere, you know like onMouseOver event i am not sure how that works here is what i got so far...I am using ColdFusion but i believe this problem is java related i think, any help would be appreciated.. <tr> <tr onMouseOver="checkbox"</tr> <cfoutput><td>< ...Show All
Araki66 is J# = applet ?
I'm new to J#. Can you compile J# so that it run at client side like applet does Or is J# just java syntax mimic and it is exactly the same as C# in term of functionalities Thanks JK Max Hi J# is a powerful tool for java-language developers, as mentioned in the following post... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=160051&SiteID=1 It provides the easiest way for Java-langu ...Show All
Shailendra Naomi j# form load
I've got an application that scans for updates when it's started (loads). I've got some progressbar that advances as files are being scaned but the form doesnt display until after the scanning is done. How do I get the form to display right after being loaded Using VS2005 if it matters. found it - windows problem - was naming files Human.txt.txt *sigh* thanks for the help with the first problem ...Show All
marek_matonok Simple Echo Server
I am using Visual J# 2005 Express Beta 2 to create a simple echo server. I have created the form and design and able am able to launch the program. I have created a RichTextbox to display the connections and 'echo's. The problem is when after starting the echo server by clicking on a button, the program stops responding. But the echo server is running in the background because I am able to connect to the echo server (localhos ...Show All
JAK117 classcastexception happens when objects are passed to the thread and when trying to call the method
classcastexception happens when objects are passed to the thread and when trying to call the method ... exception in thread::(0x80004002) Unable to casr COM object of type 'mhtml.HTMLWindow2Class' to interface type 'MSHTML.IHTMLWindow2'. This operation failed beucase the QueryInterface call on the COM component for ther interace with IID '{332c4427-26cb-11d0-b483-00c04fd90119}' failed with HRESULT:0x80004005 (Unspecified Error (Exception from ...Show All
ok_woei ResourceBundle problem
Hi; If I call ResourceBundle.getBundle("resources", locale) where locale is for a locale I don't have a resource for (I used "zz_XX") - it throws the ArgumentOutOfRange exception. In this case it should work and just use resources.properties. I also tried "en_XX" which should fall back to resources_en.properties - but again I got the exception. - dave Hi Dave, I am not very sure if I can use my email ID on public forums ...Show All
scndsky which version of JDK is J# 2005 compatiable with?
I am not talking about web service, applet, nor enterprise. but about plain java applicaitons with file access and Gui user interaction, text classes etc. Some people said J# 2005 is JDK 1.3 compatiable. Is that true Does it have swing classes I would stil be happy even if the GUI user interface is more windows like than Java, so long it just works. That also applies to file dialogs. What about jdk 1.42 ...Show All
