Answer Questions
Leandro Mussi Can Java and J# communicate with each other.
Hi, New to J# (and java) so please bear with me! I've converted some Sun java code into a J# project, to allow me to use the logic from within existing C# code. The converted code is a rather complex API for sending / recieving data via a Socket (as a client). The conversion has gone extremly smoothly, I've only had to change (comment out) 2 lines of code, which relate to setting the send/recieve buffer sizes on the java.net.Socket. My ...Show All
Sm00ches Pet peeve of the day
Hi all; When will we have Documentation for the classes and listing the methods in the classes J# doesn’t support (ie exist but throw a NotSupported exception) thanks - dave Dave, Here are the comments from J# PM - Pratap: Documentation Content has been one of our focus areas for Visual J# 2005. Please refer the following links: Class Library Support: http://msdn2.microsoft.com/en-us/library/67f25kx3.aspx ...Show All
Shane Dixon How to hit BreakPoints in VJ#
Hi all, i have made breakpoints in our web application porting from vj++ to vj#.The break points were hitting and were enable to track using f11 and f10 keys. But in vj# ,when insert new break points,it don t seems to hit.Please give us some ideas where it is lacking, inorder to hit the break points. thanks praveen Hi This is the J#browser control having the java class name "C ...Show All
FlyFisher Convert System.Drawing.Bitmap to awt.Image?
Hi guys, I am porting some Microsoft J++ code to J#. Is there a simple, efficient way to convert a System.Drawing.Bitmap to a awt.Image object Thank you, that answers my question. And I didn't know that little trick: casting a ubyte[] to an object, then to a sbyte[]...hehe, cool, here I thought I'd have to allocate a new sbyte array to get that in the signed format. Thanks again. One of the easy way is saving System.Drawing.Bitmap ...Show All
ilovecplusplusitturnsmeon NumericUpDown
Hello! I've been working on this problem for days now... and I can't solve it. Here's the thing: Is there any way to see when a numupdown value has decreased or increased I am making a program, that, depending on the value of a NumUpDown control, counts the price of an item. When a tab is entered (OnEnter) the NumUpDown control is activated. It's value is set to 100. if (lenght >= 100 && lenght < 110) { &n ...Show All
abi Is it possible to uninstall J 1.1 from Windows XP without having to uninstall everything?
I downloaded J 1.1 without realizing it was a programming download. I am NOT an experienced computer person! All of my system information has been taken over, somehow. Please Help and Thank You. I don't even have e-mail access anymore, my memory is gone. I am a bit surprised that these two programs have become uninstallable. FYI .Net 1.1 is built into Windows XP SP2 which you may be running anyway. The ...Show All
HarryLarry Any good Add-Ins for VS 2005/J#?
Hi; In the java world I use IntelliJ and in the C# world I use Visual Studio wit ReSharper & nunitaddin. Is there anything like this for VS 2005/J# ReSharper flat-out does not work with J# (they officially don't support it and most of it's features are turned off in J#). And nunitaddin does not understand J# (for a main()) or junit. And Visual Studio doesn't come close to having the features found in ReSharper & nunitaddin. Anythinf out ...Show All
Cyber Dog Delegate Functions
I have been trying to understand Delegate Functions - I am able to store multiple functions in one Delegate by using something like: public void add_MyEventHandler( MyEventHandler listener) { if (MyEventHandler != null ) { MyEventHandler = (MyEventHandler)System.Delegate.Combine(MyEventHandler, listener); } else   ...Show All
avinash prasad Use of the Microsoft Chart Control V6.0, in J# express
I am unable to get the Microsoft Chart Control to work in J# express Beta 2. The error message says that the control is not registered, but it works in Visual Studio 2003 without doing any registration. Thanks for raising this issue. This is already known to us and we are fixing it. BTW, this is not J# Express specific and reproduces on VSTS also for all languages. Thanks again. ...Show All
Kekke java.util.Calendar deadlocks fixed in VJ# 2.0?
Running on VJ# 1.1, I've recently run into the problem with java.util.Calendar deadlocks described here: http://www.codecomments.com/archive295-2004-4-165401.html Does anyone know if these deadlocks have been fixed in VJ# 2.0 VJ# team is looking into the issue and will get back to you with our investigations. Thanks ...Show All
TonyTheCalypsoKid click n' drag: easy question (i hope)
Should be an easy question: I've seen in several programs, that you can click anywhere in a form window to drag the form around, how do I set that up Hi, You may like to post this query on Windows Forms Forum . That's the best place to get quick response on language agnostic winforms related queries. Is you are unable to do so then please let us know. We will write and post a sample code here. Thank ...Show All
NJNick Common source for Java & J#
Hi; If you have java code and want to use a single source base for the Java & J#, here are 4 good references: J by J# is J# versions of a ton of common open source libraries - all done by 1 incredibly productive programmer . GotJSharp is a website I put together to list resources for common java source. If you know of any other sources or have suggestions for the site, please let me know. Windward Reports is a reporting progra ...Show All
Mohsen Kokabi How to draw on a Panel?
Hi! This is my first time using J#. I want to draw something on my Panel on Form1, but I don't know where should I edit to change. I have done Java before and is not bad so I am not a really newbie. This J# sure is really different. Could anybody help me Do not use a Panel to draw, but a PictureBox. Go to the Events page of the properties window, and double-click Paint. This will add an event handler, where ...Show All
Mr Jess Unable to load the J# Browser Control
I've created an html page with ONLY the following code.... <OBJECT WIDTH="1024" HEIGHT="768" CLASSID="clsid:a399591c-0fd0-41f8-9d25-bd76f632415f" VJSCODEBASE="myfile.dll#_0" ID="Object1" > </OBJECT> where the dll file is named "myfile.dll" and the first class file is _0.jsl and each time I load the file into internet explorer the statusbar shows: "Unable t ...Show All
Voodoorider Error - Cannot find the Web Service
I have created a Web Service using VWD 2005 and verified that it is working correctly. I am now trying to access this service from a J# application (named HelloClient) but I get the error. In the HelloClient project, I have created a Web Reference that I have named LeService, which points to http://localhost:8081/HelloService/Service.asmx. On Form1.jsl, I have added a button for which I have the following event handler: private void button1_Cl ...Show All
