all groups > vj# > april 2004
foreach request
Posted by akula at 4/30/2004 4:11:03 PM
Hi
I just wanted to pass along a request that I have for the next version of J#, can we get a foreach statement?? I also would love to see the ablity to create generics and not just consume them.
John ... more >>
Compile Service and Standalone EXE
Posted by daroo NO[at]SPAM sympatico.ca at 4/30/2004 1:50:13 PM
Hi all
I have converted a J++ project to .NET and added code to have it run
as a service. This is fine for Win2K and up but I want to allow
people to run it on Win98. Is there any way to code my app that will
allow it to run as either a service or a standalone exe or do I have
to maintain 2... more >>
Test
Posted by Pakhomenko Dmitry at 4/30/2004 11:54:16 AM
Sorry, it's just test of my NTTP client
... more >>
How do I force a console application to be minimized upon launch?
Posted by Console guy at 4/28/2004 11:11:03 PM
How do I force a console application to be minimized upon launch?
I have an application which starts a J# console applicatio
I can't seem to find the compiler options to allow this to be minimized. Any help
Thanks
... more >>
Create vj# dll
Posted by Wayne at 4/28/2004 8:06:08 PM
Hi, is there a way to create a com dll with vj#? I search through the new project option and did not find a com dll project option
Actually, I have a java source file which i would like to make it a com object, so that my vb6.0 can call it
Please help me.... more >>
Runtime instances creating
Posted by Pakhomenko Dmitry at 4/28/2004 2:46:01 AM
Hello, all. Anybody could help me
I want to create insatnces of any classes in runtime. I know two ways
1) using reflection and getting constructo
2) using maging string "Class.forName(<className>).newInstance()
Both methods work well, but... If class doesnt' have any declar... more >>
LoadExternals(System.Collections.Hashtable) not found in DiscoveryReference abstract class
Posted by Manisha Agarwal at 4/27/2004 1:41:07 AM
Hell
Can anyone tell me about the member LoadExternals(System.Collections.Hashtable) in DiscoveryReference as i am getting an error in a class which is extending DiscoveryReference class .It is saying it needs to be declared as abstract class or else define member LoadExternals(System.Collections... more >>
get_IsPublic ()and get_IsFamily ()property returns wrong value .Please help
Posted by Samidha at 4/27/2004 1:41:05 AM
Hi
get_IsPublic() property returns true if this field is public; otherwise, false and get_IsFamily() propety returns true if the field has the Family attribute set; otherwise, false.But in the following code it returns true and false repectively whether it is declared as protected in J# Can yo... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
com.ms.net.wininet.WininetStreamHandlerFactory
Posted by Chris Morris at 4/26/2004 1:25:47 PM
I've got J++ code using com.ms.net.wininet.WininetStreamHandlerFactory,
and the J# compilation of this code blows up, "Cannot find class".
I've read other threads that say I can use the .NET classes WebRequest
and WebResponse, but the link referenced has sample VB.NET or C# code
.... how do... more >>
Invoking the J# available() function from C#
Posted by Mazen at 4/26/2004 9:31:03 AM
I am trying to find an equivalent C# built-in function that does the same as the J# method available() which can be invoked on a BufferedInputStream object. The available() method is useful to detect the number of bytes available to a stream reader (such as in the case of a client/server socket conn... more >>
GetCustomAttribute not working properly. Please help
Posted by Samidha at 4/26/2004 6:21:05 AM
Hi
GetCustomAttribute method returns the first custom attribute applied to the type, if any custom attributes are applied to the type. But in the follwoing code it retuning null in the following lin
AuthorsAttribute authAttr = ((AuthorsAttribute)(Attribute.GetCustomAttribute(mInfo, Auth... more >>
Equivalent of enum in J#
Posted by Anonymous at 4/22/2004 11:36:02 PM
What is the equivalent of enum in J#
... more >>
Internal Compiler Error
Posted by Reshma at 4/22/2004 11:36:02 PM
I am getting the following error while trying to compile a J# file
Internal Compiler Error: f:\dd\vjsharp\sdk\bjdev\compiler\vjsc\codegen\attribute.cpp(219):
Can any one help m
Thanks
The code file is
// <Snippet1
import System.*
import System.Collections.*
import System.IO.*
import Sy... more >>
How to capture the screen in J#?
Posted by tomato at 4/22/2004 4:31:02 PM
I would like to do a screen capture from J#
Tried using Robot, but since that is 1.3, it is not supported
Any .NET classes that do this
If not, how would I access WINAPI from J#
Thank you.... more >>
.NET and Java
Posted by John Young at 4/21/2004 3:55:25 PM
Hi,
I have just bought a Motorola V525 mobile phone, which has Java software
written using the J2ME SDK. Does .NET have any way of working with the J2ME
SDK? I know very little about Java anyway (it has not really interested me
before). I would like to write basic games and applications w... more >>
Future of Visual J#
Posted by Sidar Ok at 4/21/2004 1:41:02 AM
What waits J# in the future users after Sun agreement?
Thanx,
Sidar Ok,
Microsoft's Turkey Academic Site Visual J# Editor, (www.msakademik.net)
İzmir, Turkey.... more >>
Namespace name could not be found
Posted by Just Started at 4/19/2004 10:36:01 PM
I have two J# VS .Net 2003 projects that compile and
execute correctly on their own.
I would like the second project to launch from within the
first project. Therefore, I added the second project to
the first, via "add project/existing", and added a button
(and code) to launch the second... more >>
convert between ubyte[] and byte[] ?
Posted by Dan Schullman at 4/19/2004 12:16:16 PM
What's the easiest way to convert between a ubyte[] array and a byte[]
array? Ultimately I'm trying to generate a Unicode string from an unsigned
byte array (where every two bytes represents one Unicode character), and was
hoping to use java.lang.String.String( byteArray, encoding ), but the latt... more >>
Extend Classpath by custom classes
Posted by MrEasy at 4/19/2004 3:41:02 AM
Hi
I converted an old project from J++ to J# and works fine, only thing is that I have to create an object via Class.forName("com.bla.ClassName"); and the class is not found due to classpath issue
Already read through the MSDN lib. and it said "extend the classpath" but not how to do thi
thanks ... more >>
WinForms in a Web App
Posted by Robert Diggums at 4/12/2004 4:11:03 PM
Is there any way to use a winform in a web app
I am looking for a way to do complex client-side logic
... more >>
Calling C++ DLL from J#
Posted by Mads Pedersen at 4/9/2004 7:46:05 AM
Hi
I hava a C++ Class Library (.NET) with a method
void compute(no1, &no2, &no3
From J# I would like to call this C++ method. I have a problem, though, that I do not know how to handle the two reference parameters (&no2 and &no3). Of course I could make two methods, each returning an answer,... more >>
creating dlls
Posted by Jason at 4/8/2004 2:10:06 PM
Please correct me if I am wrong. I am using vjc to compile the classes into
a dll. Is it possible to alter the dll, and add a new class to it? Or do I
need to recompile everything everytime?
... more >>
about the agreement signed by Microsoft and Sun microsystems
Posted by richard at 4/8/2004 1:14:14 AM
I noticed that Microsoft and Sun Microsystems have reached
an agreement, especially Microsoft's Support for Java, I
wonder if it means that MSJVM will be continuously
supported by microsoft's product, and we have no need to
update our WFC Project to JSharp.net?
the url:
http://www.micros... more >>
How to call a function using 'ref' in VJ#?
Posted by Manisha Agarwal at 4/8/2004 12:06:03 AM
Why do we precede '@' sign in Bitmap class's constructor?
Posted by Manisha Agarwal at 4/8/2004 12:06:02 AM
C# code:
Bitmap image1 = new Bitmap(@"C:\Documents and Settings\All Users\"
+ @"Documents\My Music\music.bmp", true)
What is the VJ# equivalent of the above code
Thanks
Jitesh... more >>
Please help! What is this error?
Posted by bptree at 4/7/2004 9:38:31 AM
....\NodeBase.jsl(4): Internal Compiler Error:
f:\VS70Builds\3077\vs\src\vjsharp\SDK\bjdev\Converter\kjc\jassignment_expr.c
pp(118):
... more >>
WinXP Paraller Port
Posted by Joe at 4/7/2004 1:56:04 AM
Please help
How to send and read the control data through the paraller port under Windows XP? Using C Builder
Thanks
Joe... more >>
Events in J#/WFD
Posted by Evan Halley at 4/6/2004 9:26:03 PM
Where can I find a list of available events for J#/WFD? Thanks!... more >>
JBC popup windows -- warning banner
Posted by Barry Mavin (Recital) at 4/6/2004 12:44:01 AM
Is there any way to remote the "warning banner" at the
bottom of the JBC dialogs and windows. My dll has been
signed and granted fulltrust, but this warning still
appears.
Thanks
Barry Mavin
Recital Corporation
... more >>
Include J# redistribuable package in a setup project
Posted by c_daviaud NO[at]SPAM hotmail.com at 4/5/2004 10:01:11 AM
Hi,
I make a Setup project to deploy a WinForms application. I use the
VS.Net Bootstrapper Plug-In to deploy the .Net framework and it works
fine except for one thing: my application needs the J# redistributable
package to install.
I tried to launch the vjredist.exe in a custom action of the ... more >>
SelectCommand tag
Posted by Jitesh at 4/5/2004 1:01:04 AM
What is the equivalent of the Tag SelectCommand in J# for the following C# code
The following code works fine in C# but gives following error in J
Cannot find field 'SelectCommand' in class 'System.Web.UI.WebControls.AccessDataSource'
Code:
<form id="Form1" runat="server"><asp:accessdatas... more >>
J# Browser Control beta 1.1b
Posted by Barry Mavin (Recital) at 4/5/2004 12:35:25 AM
I'm porting some applets to .NET using the latest beta
download. I have found a few issues with it that I would
like to report to the J# team.
1. If an applet throws an exception in its init() method,
then the dll is not closed off, which means constantly
rebooting.
2. The security res... more >>
Internal Compiler error still not fixed
Posted by Barry Mavin (Recital) at 4/4/2004 1:33:03 AM
I reported an internal compiler error in the initial
release of J# which has still not yet been fixed, so as a
reminder I am posting this again in the hope that it will
be fixed in the next shipping version.
In Java / J++ you can do this:
x = "".valueOf(10);
The compiler blows up on t... more >>
Any thoughts on the implications of the Sun - Microsoft deal?
Posted by Mickey Segal at 4/3/2004 9:59:31 AM
http://www.sun.com/smi/Press/sunflash/2004-04/sunflash.20040402.3.html
Microsoft Support for Java
The companies have agreed that Microsoft may continue to provide product
support for the Microsoft Java Virtual Machine that customers have deployed
in Microsoft's products.
Future Collaboration ... more >>
JDK Deadlocks with 2 app domains inside same aspnet_wp.exe
Posted by Bruno Jouhier [MVP] at 4/2/2004 10:18:38 PM
We have been experiencing some severe deadlocks in our ASP application since
we migrated from J++ to J#.
I analyzed several thread dumps made while the server was in deadlock state,
and they all seem to be happening inside the JDK. They also seem to be
related to the fact that we are hosting 2... more >>
|