Archived Months
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
December 2006
January 2007
February 2007
April 2007
July 2007
August 2007
all groups > vj# > march 2004

Porting (Java) Jakarta Commons to C#
Posted by eslim NO[at]SPAM rocketmail.com at 3/30/2004 9:43:18 AM
Hi C# and Java gurus, Have anyone of you attempted to port any Jakarta projects into C# or do you know if there are any similar open source projects out there? I have gone through some of the gotdotnet stuff and reckon the sample code there (albeit are useful and good), are not as high quality...more >>


C#'s DataColumn.Autoincrement - What is equivalent VJ# construct?
Posted by Jitesh Chourasia at 3/29/2004 10:46:05 PM
Hi Does VJ# has any Autoincrement feature for DataColumn like the way we have in C# Thanks Jitesh...more >>

Strange bug: application dies (partially) after restart
Posted by Bruno Jouhier [MVP] at 3/29/2004 10:28:40 AM
We are observing a strange phenomenon on our ASP .NET applications: If the applications are cold started (after a server reboot or an II restart), they run for days without any problem. But if they get restarted while IIS is running (because the web.config file got modified, or because the D...more >>

AWT an Windows Form
Posted by hoshiko at 3/28/2004 11:26:07 PM
I have tried to add a control of Java AWT into the container of Windows Form , and it failed Is there a solution for publlic class test extends System.Windows.Forms.Form public test() this.get_Controls().add(java.awt.Panel) } Thanks....more >>

JSP on IIS or J# Servlet
Posted by Casper Jensen at 3/28/2004 10:53:27 AM
Hi At my school we are going to learn about jsp and for that purpose we need to install Tomcat in order to execute jsp and servlets. Let's get this clear - I don't like Java and I had been programming C# for almost 3 years now so Java is like going back to the stoneage again :) So if t...more >>

A Way to use .Net dll in VB6
Posted by Eric Levy at 3/25/2004 11:10:20 AM
I am having problems with MS getting rid of MS J++... I have a large application that uses MS J++ code as a back-end data retrieval mechanism into a VB application. I am not ready to port my VB app to .Net, but appearently I have to port my MS J++ code to J#.Net because of the discontinued supp...more >>

GetConstructors() function
Posted by Reshma at 3/24/2004 9:46:06 PM
hello Can any one please tell me the order in which GetConstructors(BindingFlags) function returns the constructors? This is because in C# the function takes the constructors in the order in which they are defined but in J# it always takes static construtors at last This resulted in cha...more >>

J# Redistributable Installation Failure
Posted by Craig at 3/24/2004 9:23:03 AM
I cannot get the J# redist to install on Windows Server 2003. I get the following error message right at the end of the installation, after which, it uninstalls. Product: Microsoft Visual J# .NET Redistributable Package 1.1 -- Error 1935.An error occurred during the installation of ass...more >>



GregorianCalendar
Posted by Jason at 3/23/2004 8:20:45 AM
I am trying to use a class that we wrote that extends GregorianCalendar. But I get a CLR error System.TypeInitializationException: The type initializer for java.lang.System threw an exception. What does this mean?...more >>

Native methods invocations
Posted by Pakhomenko Dmitry at 3/23/2004 12:31:17 AM
Hello all! During custom implementation r/w operations trough sockets appears necessary invocation appropriate functions from native libraries with parameters of pointers at structures and other data types. For example, bind (server, (struct sockaddr*)&sin, sizeof(sin)). How could it implement nati...more >>

Serialization
Posted by Pakomenko Dmitry at 3/21/2004 8:16:05 PM
Hell all! Could anybody help me? Do serialization protocols in J# and in Sun Java identical? I have some problems. I can' read serialized steam from Sun Java in J# Thanks Pahomenko Dmitr ...more >>

port of openSMPP Java API to J#
Posted by jay at 3/19/2004 5:09:22 PM
I have been trying unsuccessfully to port the Java code for openSMPP to J#. If I try converting the jar file with the compiled classes to a .NET assembly, I get a method not found error in the Vector class. I tried to recompile the Java source files into a class library while converting the meth...more >>

URGENT : Importance of webservice tag in dot net web service page
Posted by Prasad Godde at 3/18/2004 3:41:05 AM
Hell Could someone enlighten for following xml tag/directive <%@ WebService Language="C#" Class="MyMath"%><%@ WebService Language="J#" Class="MyMath"% Why do we insert it in our web service pag We are trying to write one service page and according to the examples given in the msdn site we ar...more >>

Why insert <%@ webservice language="J#" classname= 'something'
Posted by Manisha Agarwal at 3/18/2004 3:26:06 AM
Hi Why do we insert <%@ webservice language="J#" classname= 'something' in .NET web service page Thanks Manisha...more >>

Type class - GetField() issue with protected member and 'BindingFlags.NonPublic' flag
Posted by Jitesh Chourasia at 3/18/2004 2:31:05 AM
Hi Type class - GetField() member function does not return protected fields when 'BindingFlags.NonPublic' flag is specified Is this a bug in GetField() implementation in J# Thanks Jites ...more >>

VJ# equivalent of C#'s "internal" keyword
Posted by Jitesh Chourasia at 3/18/2004 2:11:06 AM
I would like to know the VJ# equivalent of C#'s "internal" keyword. I have tried using private access specifier but when I used get_IsAssembly() method, of FieldInfo class, the output comes out to be false. Please suggest the exact solution(if any). Thanks, Jitesh...more >>

Equivalent of " out" Keyword
Posted by swati at 3/18/2004 1:46:13 AM
Hello What is the equivalent for "out" keyword present in C# in J# Should we use/**@ref*/ in place of out ? ...more >>

out parameter
Posted by Reshma at 3/18/2004 1:31:12 AM
hello What is the equivalent for "out" keyword present in C# in J# Can we use /**@ref*/ in place of it Thanks....more >>

System.InvalidOperationException
Posted by Reshma at 3/16/2004 8:01:18 PM
hello I am getting System.InvalidOperationException while trying to search an object in and ArrayList object. In the following code i am getting System.InvalidOperationException in the lin int myIndex = myList.BinarySearch(myObject) import System .* import...more >>

Error
Posted by Reshma at 3/16/2004 7:51:11 PM
hello, I have implemented IMessageFilter interface in a class TestMessageFilter. In it I have defined public boolean PreFilterMessage(Message m) function. But while compiling, I am getting following error. 'TestMessageFilter' must be declared 'abstract' or '...more >>

Parameters
Posted by Lee at 3/16/2004 6:46:13 PM
Since I am new to this.... i want to pass a parameter by reference instead of by value. How is this accomplished; can't seem to find this in limited documentation I have....more >>

Winform Datagrid (Specific Row Color)
Posted by Shaan at 3/15/2004 5:03:47 PM
Hi, I am using winform datagrid, and want to color specific row based on the value selected in the combobox placed in one of the columns of datagrid. That is if the user selects status values = "DONE" than color of that row should change to Yellow..something like that. Your help is ...more >>

How do you detect a Postback in JSharp?
Posted by Burton G. Wilkins at 3/15/2004 7:06:11 AM
Dear Authorities I am new to J#. I would like to create an ASP web application in J#. What is the syntax for testing whether a form load is being processed as a result of a Postback In Visual Basic ASP.Net one would use the following code to determine if the form load firing was due to a Postb...more >>

Trying to access my IE from home - won't work!
Posted by Sandra Rosputko at 3/12/2004 7:36:05 AM
Hi there everyone I have a laptop with Windows 98 on it. When I access it from work, the IE browser works fine (it's I.E. 6.0), but when I try to access any ISP from home, I cannot connect. What am I doing wrong? Is there an option I need to activate that I'm not aware of? If someone could gi...more >>

Problem with Jdbc
Posted by Ulf Werner at 3/12/2004 1:36:07 AM
Hi, I have migrated a large application from J++ to J# which makes extensive use of Jdbc classes for database access. My code works fine in J++ but in J# the process hangs in the Jdbc classes and NEVER returns. The hangs occur seemingly random but mostly in different close statements. I have trie...more >>

HOW TO: Syntex for getting or setting a Session Variable within a Class
Posted by Burton Wilkins at 3/10/2004 7:56:10 AM
Dear Authorities I need some help with syntax. I have a JSharp Web Application project which has some classes within them. In one, I would like to get and set an ASP.Net Session variable At http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebsessionstateht...more >>

Possible bug in Class.isAssignableFrom(Class)
Posted by H. at 3/10/2004 5:11:08 AM
In Java, Object.class.isAssignableFrom(int.class) returns false. In J#, the same thing returns true. The same happens if you pass in any of the Java primitive types e.g. double, boolean etc. Is this a bug?...more >>

Object
Posted by Lee at 3/9/2004 4:16:07 PM
both VB and Csharp use the data type object as a generic variable, what does J# have to represent this situation?...more >>

More Internal Compiler Errors
Posted by keith at 3/9/2004 3:13:45 PM
Hello, I've started to get the following error: "An internal error has occurred in the compiler. To work around the problem, try simplifying or changing the program. The system cannot find the file specified." Anyone seen this one? I've searched around and seem similar ones, but the "...more >>

New Project
Posted by Lee at 3/8/2004 5:26:06 PM
I tried to create a new project with J# but I get a little message box that says "VC Package not available or not registered" I do not plan on using visual C, why do I need it installed. I have C# and VB installed. What's going on here?...more >>

asignning shortcut key for TextBox control
Posted by Ivan at 3/8/2004 5:00:42 PM
Hi all, Is there anyway that I can set the shortcut key (Mnemonic key) for TextBox ? something like setFocusAccelerator in JTextField. Any ideas ? ...more >>

Radix conversion performance in BigInteger
Posted by isbat1 NO[at]SPAM yahoo.com at 3/8/2004 9:56:58 AM
Sun's BigInteger class has a performance hit when converting numbers into strings. This is because Sun's implementation stores the numbers internally in binary format, and an expensive radix conversion has to be performed to show the number as base 10. Does Microsoft's Visual J# implementatio...more >>

need java script to play pogo and need yahoo's also
Posted by frannj NO[at]SPAM msn.com at 3/5/2004 8:48:40 PM
I get messages on pogo saying I need java and I get blank game pages in all my game sights how can I get them back is there a url I can get to download these to make the games open again thanks fran...more >>

>JDK 1.1.4
Posted by Dave Foderick at 3/5/2004 2:26:06 PM
Will J# ever support any JDK greater than 1.1.4? or are we locked in forever?...more >>

Why does C# see protected java members as public?
Posted by Gia at 3/4/2004 5:11:19 PM
Basically J# doesn't allow access to protected members of other classes, but C# does. ildasm shows that protected members are producing code like this: .method public hidebysig strict virtual instance long getX() cil managed { .custom instance void [vjscor]com.ms.v...more >>

Internal Compiler Error
Posted by keith at 3/3/2004 2:39:43 PM
Hello, I'm converting a J++ project to J#, and had to use /JCPA to resolve some COM -> .NET naming. Now that I'm past that initial stage of the compile, I get this: Internal Compiler Error: f:\VS70Builds\3077\vs\src\vjsharp\SDK\bjdev\Converter\kjc\jclass_decl.cpp(48 6) This code is s...more >>

converting java (sdk 1.4) to dot net framework
Posted by David Boaz at 3/3/2004 10:41:24 AM
Hello, I have a large project (class library) implemented in java (1.4). I want to use this library in a new project using dot.net. 1) I tried to use the wizard to convert the code to c#, after fixing 200 compile errors (not supported classes: LinkedList, Iterator, List, etc), the code is running...more >>

Execution speed of J#
Posted by Mads Pedersen at 3/3/2004 6:41:06 AM
Hi I would like to know if there is any difference in execution speed between C# and J#. I mean, the compiled format should be the same Thanks in advance Mads Pedersen...more >>

Tablet PC Ink Controls Woes with J#
Posted by One Handed Man [ OHM# ] at 3/2/2004 8:58:29 AM
I am writing a tiny sample application in C#,VB and J# using the the = picture and ink controls which come with the SDK. However, using J# ( = Only one with a problem ), when I save the Solution and then reopen it , = I get th old error message that I have modified the designer code and it = ask...more >>

J# certification
Posted by harryyip at 3/1/2004 9:36:07 PM
What are the long-term plans for J#. Will Microsoft be proposing a certification programme for J# programmers. I suggest that Microsoft offers an upgrading exam which leads to a MCAD or MCSD using J# as the main language for people who are already certified SCPJ2 or SCDJ2. ...more >>

Applet-Like apps in .NET...
Posted by Terry Mulvany at 3/1/2004 8:11:26 PM
I am constantly struggling with the problem of what 'type' of application to develop. WinForm or WebForm? The customer says I need a central database for all sites but the sites are geographically disperse limited to DSL Internet access (VPN solution not an option due to huge support burden). ...more >>

Opening Cash Drawers in VB.Net
Posted by shak17 NO[at]SPAM hotmail.com at 3/1/2004 12:08:56 PM
I have a VB.Net application which is deployed on Citrix. It uses Crystal Report 8.5 for printing reports. One of my remote users has an Indiana Cash Drawer connected to the printer port. When the crystal report is printed the user wants her cash drawer to open. Can anyone give me ideas as to how...more >>

Java (sun) to Yukon
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 3/1/2004 12:05:23 PM
I want to write a user defined function in Java, and get this to work in SqlServer Yukon. What steps must I take to get the java into j# to work with SqlServer? What programs do I need to do the step, and can I do it from the command line and not use an IDE?...more >>

java/COM--->j#/COM
Posted by john at 3/1/2004 9:31:05 AM
java/COM--->j#/CO Anyone tried to convert java exposed as COM to j# I'm having a problem and can't compile my project unless I use the old jactivex utility to generate the interfaces that are exposed to COM Here's the steps I take I generate a typelib using MIDL and my IDL I use tlbimp myTlb...more >>


DevelopmentNow Blog