Answer Questions
rkalantri Any possibility of supporting newer JDK features?
I like J#, and find it a great development environment, and the language support is pretty good. But the JDK is ancient... It drives me nuts, every time I go to use a standard Java class, I find out that the methods I'm used to using aren't implemented, or the whole class doesn't exist. This is true for everything from basic classes (like BigInteger and Date) all the way through to complex stuff (the security & Crypto stuff is re ...Show All
Microsoft Problems Error Configuring Web Site
I am using Visual Studio 2005 Beta 2 - I have completed Soup-to-Nuts 1 thru 9 doing them in Visual J# and have had to create all added code and files that appear from one lab to the next, not to mention the problems with the differences in ADO .Net with datasets and table adapters anyway I have go thru that, now Lab 10 deals with Web applications so I decided to revist the Lab "Creating ASP.NET Web Applications with J# - Part 1" I ...Show All
Kredis Assembly info Attributes
Hi, I am looking at accessing the attributes that you can set in the AssembyInfo file ( I am attempting to do Soup to Nuts lab 5 using Visual J# ) there is code written in VB and C# to access these events, the closest I can come up with, with the help of Instant J# converter is: Assembly asbly = Assembly.GetExecutingAssembly(); System.Object[] attrs = asbly.GetCustomAttributes( true ); System.Collections.IEnumerator e1 = attrs.Get ...Show All
Gavin Joyce using J# dll with ASP
Hi, I've been developing a product search that does queries and rankings with the database on the site. I got everything to work perfect on my test box, but I cannot seem to get it to run on the server. Even after I register it, I get Server object error 'ASP 0177 : 80070002' Server.CreateObject Failed It does this even with an incredibly simple J# object. Do I have to compile it on the server What all do I need on th ...Show All
Mihir Mehta 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 One of the easy way is saving System.Drawing.Bitmap object as BMP. After that you can create java.awt.Image object using Toolkit.createImage(byte[]) or Toolkit.getImage(String filename) as described below. import System.Drawing.*; import System.Drawing.Imaging.*; import System.IO.*; import java ...Show All
Johnny Aywah Limiting textbox to text only
Hi :) How could I limit an input for a text box to text only That is, no numbers. Maybe some exeptions for symbols. Thanks, Klaidas You can write script to manage this in the client side. Create a script function call it as ValidateInputs and attach the script to the control using following line of code. textboxID.Attributes.Add(“onkeyup”,” ValidateInputs”); &n ...Show All
Dundoan case statement
Now I need to know how to use case statements with VJ#. int a = some number...; switch(a) { case 1: // handle 1 break; case 2: // handle 2 break; case 3: case 4: // handle 3 and 4 break; default: // hadnle more than 4 values break; } } Thanks ...Show All
Mikelynes playing midi files in visual java#
Dear All I've just started using visual j#. Here's my question. In previous projects using Sun's java SDK handling midi using the javasound api etc was simple. Can I call these classes from withing java#.NET, and if so how Cheers, CD Hi, J# doesnt have javasound api support, however you might want to browse equivalent .NET API's which you can use from your J# projects! Thanks, Varun ...Show All
Zulbaric Problem with C++/CLI and J# interaction bug
I'm having a problem with C++/CLI and J#. I am writing a class library in C++/CLI and want to use it from J#. I narrowed down my code and wrote a repro: a.cpp: #using <mscorlib.dll> #include <stdio.h> using namespace System; namespace AA { public ref class A { public : unsigned long Print() { printf( "Hello\n" ); return 0; } }; } b.jsl: import System.*; import AA.*; public class Test { public static void main( Stri ...Show All
m00gle Warning - don't use ReSharper
Hi; If you have done much development in C# you probably have ReSharper and it is a tremendous help. But when it get's in J# it slows the system down a LOT and it gets all confused with intellisense. I ended up removing it. Thats strange i could not find it in the admin section for VS 2005. Control Panel, Add or Remove Programs Have you used Windows before Click the Start on the lower left of you ...Show All
sabo how to create DLL file in J# or convert J++ dll into J# dll
Please help me...I know nothing about J#. The following code is written by J++ for dll file. I need to either convert those code into J# or create new J# dll file. However, I have no clue how to start it. Could someone help me as soon as you can. I really appreciate it. I only have one day to finish this assignment. import java.io.*; /** * This class is designed to be packaged with a COM DLL o ...Show All
Richard0610 How to save java.awt.Image object to a file in J# Browser Control?
How to save java.awt.Image object to a file in J# Browser Control Advanced image package such as ImageIO and com.sun.image.codec.jpeg and jimi can't be used in J# Browser control 1.1. Regards Hi Sorry, saving java.awt.Image objects to files are not directly supported by J#. You might need to look for third party libraries that can provide the support on J# or consider .NET alternatives in S ...Show All
skullfire Application does not exit, remains in memory
I have a quite sizeable application written primarily in J# (with some C#). Under the .NET framework 2.0, when the close button on the main window is clicked, the exe remains in memory after the application exits. In the previous version of the .NET framework this did not happen. There is one slight difference in the code under 2.0. In the form_Closed() event, it is now illegal to put a System.exit() call which worked perfectly well in the prev ...Show All
Martin Koster Postdata in webbrowser.Navigate
Hi, I want to Navigate to a site "anysite.php" and sending postdata. If I call Navigate method "anysite.php" is shown. But there is no postdata. Source Code: String postdata = "u=idcode" ; System .Text. ASCIIEncoding a = new System .Text. ASCIIEncoding (); ubyte [] byte1 = a.GetBytes(postdata); webBrowser1.Navigate( "anysite.php" , "_SELF" ,byte1, "" ); The webbrowser shows Method=post instead of method=get but c ...Show All
muko J# Browser Controls for Pocket IE?
Are there any plans to make a Pocket Internet Explorer version of J# Browser Controls That will save a lot for the application deployment to mobile PDA's. Hi Varun, If there are any plans for a Pocket Internet Explorer support, please also provide scripting support and liveconnect functionality. That will be really an outstanding technology for mobile PDA's running Pocket PC. thanks Bora Ertung ...Show All
