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# > february 2004

ISmartDocument in the SmartTags 2.0 library
Posted by One Handed Man [ OHM# ] at 2/27/2004 7:17:09 PM
I someone who you can answer a question for me on ISmartDocument in the SmartTags 2.0 library. I am trying to get J# to work with this interface but I am having a = terrible time trying to do so. Do you know or could you find out if this = interface is sanctioned to work with J# or not. It m...more >>


some other problems
Posted by richard at 2/26/2004 10:30:36 PM
hi, ms support group: In addtion to IFrame problems, there are still several problems as follow: 1. Sub page and its parent page locate in different path will cause problem, that is, the sub page fails to load the DLL. 2.Page with hidden style will fail to load the DLL. 3.Customize...more >>

Redistributing vjslib dll
Posted by Harris Reynolds at 2/25/2004 7:36:06 PM
Can anyone from Microsoft speak to whether is it okay to ship the Visual J# library with an application as a convenience for users that may not have it It'd be nice if this was possible ~harris...more >>

Installing J#
Posted by Lee at 2/25/2004 1:11:06 PM
I cannot get J# to install, I have VB.Net and C#.Net 2003 already installed, as well as Framework 1.1. When I tried to install J# it wanted to install the redistributable, but the redist would not install becuase it could not detect version 1.0.xxx... of the freamework (note I am level 1.1.xxx...). ...more >>

help:iframe problems
Posted by richard at 2/24/2004 8:30:46 PM
I have a HTML page and there is an iframe tag in it.Both the HTML page and iframe's source page contain a Object tag as follows: <OBJECT id="myobject" height="0" width="0" classid="CLSID:CF83EA5E-0FFD-4476-9BF7-6C15F7F8BDCF" name="myobject"> <PARAM NAME=CODECLASS VALUE="bin\debug\Pr...more >>

detecting IE proxy settings
Posted by godzooky NO[at]SPAM mailinator.com at 2/24/2004 10:31:06 AM
how do i detect IE proxy settings in code? i can't seem to find anything in the documentation. thanks....more >>

[Newbie] Reading & Writing Objects To File
Posted by Loopy at 2/22/2004 3:09:42 PM
Hi, all, I'm a bit of a dunce with J#, and I'm trying to progress from Java to J#. I'm trying to write a vector (java.util.Vector) to a file, this is fine, but reading it in, comes back with a stream corrupted error. I think it's because the objects contained in the vector utilise some of the ...more >>

Problem while defining constants
Posted by Reshma at 2/19/2004 10:16:05 PM
In C# for defining decimal constants we use suffix M For Example ShowDecimalGetBits( 10000000000000000000000000000M ) ShowDecimalGetBits( 100000000000000.00000000000000M ) ShowDecimalGetBits( 1.0000000000000000000000000000M ) ShowDecimalGetBits( 0.123456789M ) ...more >>



looking for pluggable jar of stub classes representing System package
Posted by Ivan at 2/19/2004 12:28:55 AM
Sorry, Actually I'm looking for pluggable jar of stub classes representing ..Net System package for Java which allow for coding in .Net libraries on RAD tools other than Visual Studio.Net I cant used any Java RAD Tools to write J# code which accessing System package. Thanks ...more >>

Problem with IsSurrogate method
Posted by Prasad at 2/18/2004 9:06:53 PM
import System .* public class IsSurrogateSampl public static void main(String[] args1 String str = "\u00010F00" Console.WriteLine(Char.IsSurrogate('a')); Console.WriteLine(Char.IsSurrogate(str, 0)); } In the above problem the second call to IsSurrogate m...more >>

Okay Lars--More Help
Posted by Jay Canale at 2/18/2004 11:22:24 AM
Lars, The Applets I developed awhile back using Visual J++ 1.1 were signed with a verisign Authenticode certificate to allow I/O operations. Now that I have converted, successfully thanks to you, my applets into J# Browser Controls. Can I use my verisign key to sign the J# Browser Controls s...more >>

Getting JBC to work
Posted by Simon Stead at 2/18/2004 5:57:04 AM
Hi, I'm trying to convert a Java Applet into a Java Browser Control. I have compiled the .java source files in Visual Studio.NET & produced a dll. I have also converted my HTML to use the new Browser Control & installed JBC on my machine. However, when I upload all the files & try & ac...more >>

How can I remove security warning of JSharp Browser Control
Posted by krichard at 2/18/2004 12:57:55 AM
I have an application based on WFC, and now I have to update it to JSharp due to microsoft's unsupporting of WFC after Sep.30, 2004, but our clients will not accept it if it pops up security warning everytime it is launched, other than digital signature, have I other ways to avoid it? than...more >>

.Net stub library for Java
Posted by Ivan at 2/17/2004 4:09:40 PM
hi all, I'm looking for a set of System.* package library or .Net Framework library for Java which allow me to write J# code in any Java RAD tool. of'cos I will not able to compile and run the J# code in Java RAD tool. Thanks ...more >>

A set of .Net library for Java
Posted by Ivan at 2/17/2004 4:04:13 PM
hi all, I'm looking for a .Net stub library for Java which allow me to write J# code used any System.* package in Java RAD tool. Any ideas ? Thanks ...more >>

unsatisfiedlinkerror
Posted by Barry at 2/17/2004 3:21:05 AM
I have built a j# dll - it works fine in my .NET 2003 project group, I use .NET 2002 at work, I'm using this dll from a vb.net project, after some tinkering around at work, referencing the vjslib.dll and having to deselect and reselect system.dll and other dlls I got the project group to compile, ho...more >>

What is diferent J# and c#
Posted by er_nes at 2/17/2004 1:46:38 AM
I am very new J#. But I am working to devolop my self. I don't understant to different J# to c#. I know syntax different . But I know compile system both of the same. Why do I choice J# ? Why do you choice J#? ...more >>

Method attributes
Posted by Madhu at 2/16/2004 8:01:09 PM
How to define method atttribute in j#?...more >>

listbox control
Posted by Ryan Schoolman at 2/16/2004 7:51:45 PM
I'm a noobie When you populate the items collection visually in a listbox control is there a way to get the text from all of the items using a method or do you have to loop through the entire collection to get the whole text? Can you send me an example? -- Ryan Schoolman - Programmer &...more >>

J# msdn page?
Posted by Lars-Inge Tønnessen at 2/16/2004 3:29:26 PM
On this page: http://msdn.microsoft.com/library/en-us/dv_vjsharp/html/vjlrfUnsupportedClassLibrariesAPIs.asp It says: "Applet development. There is also no support for running applets in browsers. " Should this page be updated with support for J# Browser Controls? -- Regards, Lars-I...more >>

WinXP and J# Browser doesn't work???
Posted by Jay Canale at 2/16/2004 3:21:10 PM
Hello, I have created a J# Browser Control and I cannot get it to run on my newly installed WindowsXP system. I posted the J# Browser Control to my webpage and I can get it to run using my Win2000 laptop, but not the XP desktop. I have installed the J# Browser Control on the machine and have...more >>

[HELP] Mike Green please or Anyone???
Posted by Jay Canale at 2/16/2004 12:22:40 PM
Okay, I have a CD that contains a large number of Applets that I have created using Visual J++ 1.1. These Applets run off the CD through Internet Explorer IE. What I want to do is to convert these Applets into J# Browser Controls and to still have them run from the CD and IE. Now what I...more >>

C# Pointers and J#
Posted by daroo NO[at]SPAM sympatico.ca at 2/16/2004 11:48:01 AM
Hello All, I have a reference to a c# dll which contains an object with a method that takes two double pointers as arguments (double* arg1, double* arg2). How and/or what do I pass to this call? Thanks!...more >>

Module level attributes
Posted by Madhu at 2/16/2004 5:21:06 AM
How to define module level attributes in j# ...more >>

Security exception not thrown
Posted by Xyz at 2/13/2004 9:26:06 PM
hello, For the follwoing code public class Demo { /** @method IsolatedStorageFilePermissionAttribute(SecurityAction.Deny, UsageAllowed = IsolatedStorageContainment.DomainIsolationByRoamingUser, UserQuota = 100) * */ private void UserQuota_UsageDemo() { Console.WriteL...more >>

System.Runtime.InteropServices.MarshalDirectiveException
Posted by Sushila at 2/13/2004 5:26:14 AM
I am getting System.Runtime.InteropServices.MarshalDirectiveException exception when trying to implement following code in j private static class RegKin private int m_regkind public static int RegKind_Default = 0 public static int RegKind_Register = 1 ...more >>

System.Reflection.TargetInvokeException
Posted by Sushi at 2/13/2004 4:21:20 AM
I am gettting System.Reflection.TargetInvokeException in the following code Type myType = BuildDynAssembly(); // This retrurns type Object ptInstance = Activator.CreateInstance(myType, new Object[] { (Int32)(0), (Int32)(0) }); myType.InvokeMember("PointMain", BindingFlags.InvokeMethod...more >>

Please help me
Posted by Xyz at 2/12/2004 1:46:05 AM
I have to run follwoing code public static void main(String[] args Object ctorParams[] = new Object[2] Console.Write("Enter a integer value for X: ") String myX = Console.ReadLine() Console.Write("Enter a integer value for Y: ") String myY = Consol...more >>

Please help me
Posted by Xyz at 2/10/2004 10:16:10 PM
hello I want to get Custom Attributes of a module.So i have used GetCustomAttributes function as follow Module moduleArray[] moduleArray = Assembly.GetExecutingAssembly().GetModules(false) Module myModule = (Module)moduleArray.get_Item(0) bject attributes[] attributes = myModule.GetCustomA...more >>

Exception in addparams method
Posted by Abc at 2/10/2004 8:31:05 PM
How to put an integer inside an Object array. I need to accept an integer form console and put it in addparams function. If i do Object[] addParams = new Object[2]; Console.Write("Enter an integer value: "); addParams .set_Item( 0 ,((Object)((Console.ReadLine()))) ...more >>

System.MissingMethod Exception
Posted by Abc at 2/10/2004 5:31:07 AM
Hello Whenever i try to put an array of integers in an Object array, it gives me runtime exception For example I have to put 10,10 in Object array So i did Object [] o ={new Integer(10),new Integer(10)} This i passed to the method InvokeMember of the class Type which ...more >>

Lack of the ByRef/ref keyword in J#
Posted by Harms at 2/10/2004 3:11:05 AM
Hi Has anyone ever tried to override ProcessCmdKey in J#? Is there any way to work around the lack of the ByRef/ref keyword in J#? Has anyone tried declarative syntax on this? Sorry, I'm lost here.. protected boolean ProcessCmdKey System.Windows.Forms.Message& msg System.Windows.Forms.K...more >>

J# browser controls connectivity to SQL database
Posted by SriLakshmi.P at 2/9/2004 3:26:05 AM
hi I'm working on a project which have j# browser controls. It needs to connect to the database(SQL) and get some data, which must be displayed on the browser control. Does this need the use of any 3rd party tool or is there any method to use directly from the browser control itself. Will u pleas...more >>

Vs.Net 2003 and VJ#
Posted by V.Weber at 2/7/2004 1:12:27 PM
Hi, since some day´s i upgrade my german vs.net 2002 to vs.net 2003. where can i get vj# that running under 2003. the only one i know runs under 2002. regards V.Weber...more >>

Browsers special handling of EXE files
Posted by Mike Smith at 2/6/2004 10:29:57 AM
I have an application similar in function a setup.exe app in that the user downloads it, uses it once and throws it away. The win32 version downloads and works perfectly but the .NET version does not. Oddly enough, the .NET version works perfectly using non-Microsoft browsers, it displays the "...more >>

ADO Field difference with nulls between J++/J#
Posted by Chris Morris at 2/6/2004 8:51:54 AM
I've been experimenting with compiling a J++ codebase into J# and have run across a problem when accessing ADO fields. The existing J++ code assumes that NULL values will be translated to default values when using .GetInt() .GetString() calls (rs.getField("nMyField").getInt();). In J#, if ...more >>

Cannot start Service on a server configured as a member of a workgroup
Posted by Bryan at 2/5/2004 11:41:35 AM
We created a Windows Service with J#. The service will start OK on computers that are a member of a domain, but when we try to start it on a server that is configured for a workgroup we get the following error in the event log: Event ID: 7001 Description: The {Service Name}service depends o...more >>

Missing MOUSE_MOVE events in queue
Posted by Alex at 2/4/2004 5:51:05 PM
Hi Could someone show, where the problem is in the following code? Or there is a problem with J# AWT implementation What is the solution The sample given below works with any other JVM (including Microsoft JVM), except when ported to J# The problem, that the mouse move event does not propagate...more >>

Scripting support on the JSharp Browser control
Posted by Gene at 2/4/2004 7:16:46 AM
When is scripting support going to be added for the JSharp browser control? The clock is ticking and we would like to consider this option but the major piece that is missing from the puzzle is scripting support....more >>

SecurityException thrown by static array cctor
Posted by mariusgreuel NO[at]SPAM msn.com at 2/2/2004 4:49:15 PM
Hello, I have J# DLL that I call from a C# executable. When I call a static function in the DLL, the constructor of the class throws a SecurityException when I run the program from a network share (Intranet Zone, I believe). System.TypeInitializationException: The type initializer for "xms...more >>

by-passing proxy
Posted by Andrew Jones at 2/2/2004 3:35:03 PM
Hi, In JAVA I can by pass the proxy using these lines of code: System.getProperties().put( "proxySet", "true" ); System.getProperties().put( "proxyHost", "web-proxy" ); System.getProperties().put( "proxyPort", "8088" ); But when I move this code to J# for an ASP.Net page it does n...more >>


DevelopmentNow Blog