all groups > vj# > may 2004
Please Help
Posted by mary at 5/28/2004 7:51:02 PM
I need to know how to write a program which will allow calculate money added to a savings account.... more >>
limit on number of exceptions in 'throws' clause?!!!
Posted by Dan Schullman at 5/27/2004 12:19:46 AM
I've just spent eight hours tracking down what appears to be a limit on the
number of exceptions in a 'throws' clause when the offending method is in a
..NET library. GRRR!!!!
I was getting an error like:
ThrowLimit1.jsl(11,6): error VJS1161: Cannot find class ''
At a minimum, a much bett... more >>
import a user defined class
Posted by Jose at 5/22/2004 9:51:03 AM
Does any one knows how to import a user defined class into a program that is written in J#. I have tried putting the file with the extension vjs in different foloders, but it does not seem to work. Compiler is giving the error that can not find the class. Thanks for your help. Jose... more >>
Multithread problems of Windows Forms
Posted by chchu at 5/21/2004 12:56:03 AM
In some case, I create a worker thread for creating another Window
With Java AWT, the idea is ok.
But with .NET Windows Forms, the code below do not works
The "Form1" created by the "MyThread" is blocked(No paint)
What problems is this
Thanks
/////////////////////////////////////////////////... more >>
Watch Folder Activity
Posted by Daniel von Fersen at 5/18/2004 11:22:29 AM
Hello,
Is it possible to monitor folder activity in J# ??
if you could give me any advice i would really appreciate that!
thank you very much in advance!
daniel
... more >>
How to port the C# code with 'fixed' call into VJ#?
Posted by Jitesh Chourasia at 5/17/2004 4:21:02 AM
The C# code is
unsaf
fixed(sbyte* pAsciiLower = sbArr2
szAsciiLower = new String(pAsciiLower, 0, sbArr2.Length)
Thanks
Jitesh... more >>
Unable to create build (getting System.FormatException)
Posted by Vinay at 5/16/2004 11:51:03 PM
Hi
The following code of VJ# gives System.FormatException on creating a Build
//////////////////////////////////////
// <Snippet1
import System.*
import System.Collections.*
import System.Xml.*
import System.Xml.Serialization.*
import System.IO.*
import System.Xml.Schema.*
public class P... more >>
VJ# compiler crashes on following code.
Posted by Vinay Chopra at 5/15/2004 6:06:06 AM
Hi
Following Code in J# give me System.FormatException and the VJC Compiler crashes
package ControlAccessibility
public class MyFor
extends System.Windows.Forms.Form
private System.ComponentModel.Container components = null
protected void Dispose(boole... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Serialization for Double in J#
Posted by Vinay Chopra at 5/14/2004 5:46:02 AM
Hi
While trying to execute a code which does serialization of object i am getting following erro
"There was an error generating the XML document.
and the InnerException after debugging show
{"java.lang.Double cannot be serialized because it does not have a default public constructor."
Can an... more >>
Serialization of double in J#
Posted by Vinay Chopra at 5/14/2004 5:41:04 AM
Hi
java.lang.Double cannot be serialized because it does not have a default public constructor
What can I do to serialized it
Thanks.... more >>
System.FormatException thrown in J# file on compilation?
Posted by Jitesh Chourasia at 5/14/2004 1:21:06 AM
Please suggest on how to run this file
Jitesh... more >>
The VJ# compiler crashes on compilation.
Posted by Jitesh Chourasia at 5/14/2004 1:21:02 AM
While using System.Windows.Forms.ListView.Groups, the VJ# compiler crashes on compilation
Please suggest on how to get around the problem
Jitesh.... more >>
No suitable method found to override
Posted by Jitesh Chourasia at 5/14/2004 1:16:03 AM
On compilation the following id reported:
Samples.AspNet.System.Web.Management.SampleWebRequestEvent.FormatToString(System.Web.Management.WebEventFormatter)': no suitable method found to overrid
How to get around this
Jites
... more >>
Error: 'System.Web.HttpRequest.QueryString' is a 'property' but is used like a 'method'
Posted by Jitesh Chourasia at 5/14/2004 1:11:03 AM
Hi
Error: 'System.Web.HttpRequest.QueryString' is a 'property' but is used like a 'method
How can it be rectified
Thanks
Jitesh... more >>
Any J# syntax online reference or book?
Posted by Henri at 5/13/2004 11:51:38 PM
Hi,
I know Sun Java, that's why I'd prefer to use .NET with J# rather than C# or
VB.NET.
But I don't know the differences between J# and Sun Java.
Explanations on MSDN are not enough.
Is there any language syntax reference file or any book about J#?
Thanks.
Henri
... more >>
InvalidOperationException was unhandled
Posted by Prasad Godde at 5/13/2004 11:16:02 PM
I am getting unhandled InvalidOperationException at runtime for statemen
mySerializer.Serialize(writer, myGroup)
at line no. 6
Could anybody please helpout in excecuting this code
//<Snippet1
import System.*
import System.IO.*
import System.Xml.*
import System.Xml.Serialization.*
public ... more >>
What is the equivalent of C# unchecked keyword in J# ?
Posted by Prasad Godde at 5/13/2004 4:16:03 AM
Could anybody tell me
What is the equivalent of C# unchecked keyword in J#
O
What is equivalent of following C# statement in J#?
int code = unchecked((int)0x8004667E)
Thanks
Prasad... more >>
'System.FormatException' at Compile time
Posted by Manisha Agarwal at 5/12/2004 10:16:04 PM
Can someone tell me the reason why do i get 'System.FormatException' at Compile time in j# when my j# code contains definition on main properly
Thank
Manisha... more >>
Any equivalent keyword of C#'s 'unsafe' in J#?
Posted by Jitesh Chourasia at 5/12/2004 2:21:07 AM
Hi
Is there any equivalent keyword of C#'s 'unsafe' in J#
Thanks
Jitesh... more >>
'System.Net.SslClientStream' does not contain a definition for 'ServerCertValidationCallback'
Posted by Manisha Agarwal at 5/12/2004 2:16:05 AM
Hell
Can anyone tell me why do i get " 'System.Net.SslClientStream' does not contain a definition for 'ServerCertValidationCallback' " whenever i try to execute my c# code which contains a class having an membe
variable of type "SslClientStream" and trying to set its "ServerCertValidationCallback... more >>
System.Security in VJ#
Posted by Sameeksha at 5/11/2004 11:06:03 PM
A property in C# is having System.Security.Permissions.PermissionSet Attribute. When I try to convert the same with same permissionset attribute in VJ#, the code does not compile saying that "Attribute 'System.Security.Permissions.PermissionSetAttribute' is not valid on this declaration"
Followin... more >>
GetMethods function returns Protected even if BindingFlags.Public is given
Posted by Reshma at 5/11/2004 10:51:03 PM
GetMethods function returns Protected members in the following statemen
MethodInfo myArrayMethodInfo[] = myType.GetMethods(BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly)
The whole code is
import System .*
import System.Reflection .*
import System.Reflection.Emit... more >>
InvalidOperationException was unhandled
Posted by Prasad Godde at 5/11/2004 9:31:02 PM
I am getting unhandled InvalidOperationException
Details : "There was an error generating the XML document for the statement
mySerializer.Serialize(writer, myGroup)
at line no.11
Please help me in execution of the following code. It should give output as given belo
..NE
10
5
5/2/2002 12:00:... more >>
getoffset()
Posted by Sjakie at 5/10/2004 5:02:34 AM
When I wanted to use the getOffset method in j# is wasn't there. I
there an alternative for this method? Or maybe a workaround?
Thanks in advance
Sjakie
-
Sjaki
-----------------------------------------------------------------------
Posted via http://www.codecomments.co
---------------... more >>
Bug in java.util.zip.Zipfile
Posted by Nishant S at 5/9/2004 1:52:22 PM
Hey guys
I am not a J# guy at all but made the unfortunate mistake of using the J#
zip classes in a .NET app of mine :-( The app takes a zip file, strips off
certain filtered files and writes a new zip file. The issue is that this new
zip file is somehow slightly corrupted. I can't read the ap... more >>
Interface implementation in J#
Posted by Sameeksha at 5/7/2004 12:26:09 AM
I've one C# sample which contains a class
public class CustomersList : CollectionBase, IBindingList {...
which does not implement ALL methods of interface IBindingList. It compiles properl
I've converted same class to J# with same method implementations.
The class description i
public class C... more >>
System.InvalidOperationException .Please help
Posted by Reshma at 5/3/2004 3:06:01 AM
Hello
I am getting System.InvalidOperationException in the following line while trying to execute the J# file.
XmlSerializer ser = new XmlSerializer(Group2.class.ToType())
The error description says
There was an error reflecting type 'Gro... more >>
BeginInvoke() and EndInvoke() not available in delegates for asynchronous execution of methods
Posted by Sameeksha at 5/3/2004 2:56:02 AM
Hi,
The following code does not work in J#.
IAsyncResult ar1 = sampleDelegate.BeginInvoke(new AsyncCallback(AsyncResultSample.MyCallback),
new Object[] { (Int32)param, (Int32)param })
It gives compilation error as BeginInvoke not available for delegates. Anybody knows a way to handle asynchronou... more >>
System.InvalidOperationException
Posted by Anonymous at 5/3/2004 1:56:03 AM
Hello
I am getting System.InvalidOperationException while trying to execute follwing J# file. Can any one please help me out
import System.*
import System.Xml.Serialization.*
import System.IO.*
public class Group
// The XmlTextAttribute with type set to string informs the
//... more >>
Custom Security Manager in J#
Posted by chchu at 5/1/2004 8:41:03 PM
In Java, I can write my own security manager
public class PasswordSM extends SecurityManager
public void checkRead(String filename)
if (!passwordOK()
throw new SecurityException("Passwork Error")
and cal
System.setSecurity(new PasswordSM())
-----
... more >>
|