.NETGURU
microsoft.public.dotnet.vjsharp
Up to: Discussion Lists

  • RSS Syndication
  • Post a new message to this list...
    Latest Discussions Archive
    LoadExternals(System.Collections.Hashtable) not found in DiscoveryReference abstract class (2 replies, VIP)
    microsoft.public.dotnet.vjsharp
    Hello 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.Hashtable) . I have read about another LoadExternal of some different class that it has become obsole...
    InvalidOperationException was unhandled (3 replies, VIP)
    microsoft.public.dotnet.vjsharp
    I am getting unhandled InvalidOperationException Details : "There was an error generating the XML document for the statement mySerializer.Serialize(writer, myGroup); at line no.115 Please help me in execution of the following code. It should give output as given below ..NET 100 50 5/2/2002 12:00:00 AM 10000 True Press any key to continue Code : // Snippet1 import System.*; import System.IO.*; impo...
    get_IsPublic ()and get_IsFamily ()property returns wrong value .Please help (2 replies, VIP)
    microsoft.public.dotnet.vjsharp
    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 you help me out . Thanks, The actual code is as follows import System.*; import System.Reflection.*; public...
    The VJ# compiler crashes on compilation. (5 replies, VIP)
    microsoft.public.dotnet.vjsharp
    While using System.Windows.Forms.ListView.Groups, the VJ# compiler crashes on compilation. Please suggest on how to get around the problem. Jitesh.
    JBImp Errors (2 replies, VIP)
    microsoft.public.dotnet.vjsharp
    My command line is: jbimp.exe dartapi.jar /securescoping /usestubrefs /t:library /recurse . My output is: Microsoft (R) Java language bytecode to MSIL converter version 1.1.4322.0 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corp 2000 2002. All rights reserved. JbImp error: Internal Conversion Error : 'types getref external' JbImp error: Unresolved Method 'public stati...
    Internal Compiler Error (3 replies, VIP)
    microsoft.public.dotnet.vjsharp
    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 me Thanks, The code file is // Snippet1 import System.*; import System.Collections.*; import System.IO.*; import System.Xml.Serialization.*; public class Group{ /* Set the element name and namespace of the XML element. By ap...
    GetMethods function returns Protected even if BindingFlags.Public is given (2 replies, VIP)
    microsoft.public.dotnet.vjsharp
    GetMethods function returns Protected members in the following statement MethodInfo myArrayMethodInfo[] myType.GetMethods(BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly); The whole code is import System .* ; import System.Reflection .* ; import System.Reflection.Emit .* ; // Create a class having two public methods and one protected method. public class MyTypeClass { publi...
    open a htaccess-secured url (3 replies)
    microsoft.public.dotnet.vjsharp
    Hello, can somebody tell me how i can open a site who is secured by htaccess ? I created the url and the urlconnection but i dont know how i could enter the password and username for the access. Any help is appreciated... thanks! Oliver
    J# equivalent of C#'s 'typedef' and 'struct' keyword. (5 replies, VIP)
    microsoft.public.dotnet.vjsharp
    Hi, Are there any equivalent keywords in J# for C#'s 'typedef' and 'struct' ? Thanks, Pushpendra
    GetCustomAttribute not working properly. Please help (2 replies, VIP)
    microsoft.public.dotnet.vjsharp
    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 line AuthorsAttribute authAttr ((AuthorsAttribute)(Attribute.GetCustomAttribute(mInfo, AuthorsAttribute.class.ToType()))); Can any one help me out or is it that custom attributes are not supported by J#. ...
    Class.FromType ignores assembly information (2 replies, VIP)
    microsoft.public.dotnet.vjsharp
    If I execute the following code Assembly a1 Assembly.LoadFrom("c:\\classLoader\\test\\classx.dll"); Type type1 a1.GetType("temp.Classx"); Class cl1 Class.FromType(type1); Assembly a2 Assembly.LoadFrom("c:\\classLoader\\test\\testx.dll"); Type type2 a2.GetType("temp.Classx"); Class cl2 Class.FromType(type2); I would expect that cl2 is the temp.Classx in assembly a2. However, if I inspect the corTyp...
    Performance of String allocation (3 replies, VIP)
    microsoft.public.dotnet.vjsharp
    I have an application that allocates a large number of strings using the String(byte[] bytes, int offset, int length) constructor. A simple test case shows that string allocation is between one and two orders of magnitude slower in J# relative to JVM 1.4. Here's the code: int dataLength 200000; int numStrings 6000; int strLength 100; int offsetIncrement (dataLength strLength) / numStrings; byte[] ...
    sending byte array from vb.net to j# (2 replies, VIP)
    microsoft.public.dotnet.vjsharp
    Hello I have j# project that is transferring files with Ftp. The upload method is receiving the uploaded file as byte array. I m trying to use the upload method from another project, vb.net project, but I can not send byte array because the byte in j# in sign and in vb.net is unsigned meaning different types. In c# I m using sbyte array, and it is working well. In vb.net there is no sbyte. Does so...
    Java Applets (2 replies, VIP)
    microsoft.public.dotnet.vjsharp
    Can you Create java applets in visual java? WStoreyII
    J# and .NET Compact Framework (2 replies, VIP)
    microsoft.public.dotnet.vjsharp
    Dear all, I am quite new to .NET and I have a basic question: Is it possible to write a J# application for a PocketPC device with .NET Compact Framework? When I try to create a new J# Project (using Visual Studio .NET) I can't see the Smart Device Application template as for a C# Project. Do I need something additional with respect to the SDK for Smart Device? Thanks in advance for your help and b...
    openConnection() different in java & J# (2 replies)
    microsoft.public.dotnet.vjsharp
    Following read function does not return in J#, while if following code is written in java, read() returns immediately. It looks in J# read() expects end of html tag. I want read to return immediately as it returns in Java any clue?? URL url new URL("http://localhost/filename"); URLConnection con url.openConnection(); InputStream d con.getInputStream(); int av d.available(); d.read();//This does no...
    System.Windows.Forms from J# Browser Controls (2 replies)
    microsoft.public.dotnet.vjsharp
    Hello. Does anybody know how to use .Net UI controls from JBC? Thank you in advance
    New Google group - Visual Studio Express (3 replies)
    microsoft.public.dotnet.vjsharp
    A new Google group has been formed for the purpose of discussing the new Visual Studio Express products. http://groups beta.google.com/group/Visual Studio Express The products are currently in beta testing and include Visual Basic 2005 Express, Visual C# 2005 Express, Visual C 2005 Express, Visual C 2005 Express, Visual J# 2005 Express, Visual Web Dev 2005 Express and SQL Server 2005 Express. They...
    Bad math when using * operator along with Math.pow (6 replies, VIP)
    microsoft.public.dotnet.vjsharp
    Check out this code. I need to be able to multiply a 15 digit decimal number by 10 to the power of 15, and come up with the correct answer. Easy enough for other languages to do, but J# seems to choke on it. Here's the code. private void button1 Click (Object sender, System.EventArgs e) { double dblPi 3.14159265358979; double dblTheta 121; double value System.Math.Sin( (dblTheta / 180) * dblPi ); ...
    JBImp (4 replies, VIP)
    microsoft.public.dotnet.vjsharp
    I'm running JBImp with the following command line: jbimp.exe dartapi.jar /securescoping /t:library /usestubrefs /recurse . The output I get is: Microsoft (R) Java language bytecode to MSIL converter version 1.1.4322.0 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corp 2000 2002. All rights reserved. JbImp error: Internal Conversion Error : 'types getref external' JbImp ...
    Equivalent of String.fromCharCode() method in J# (3 replies)
    microsoft.public.dotnet.vjsharp
    In Jscript, fromCharCode returns a string from a number of Unicode character values. In the following example, test contains the string "plain": var test String.fromCharCode(112, 108, 97, 105, 110); Does anyone know the equivalent of this method in J#? Thanks, Bob
    Displaying Unicode characters in J# (3 replies, VIP)
    microsoft.public.dotnet.vjsharp
    How can we display greek letters in J#. E.g, the following JScript displays Greek letter Beta. In J#, I tried: System.out.println("\u03B2"); but it returns NULL. To display the letter beta, save the following as html and open the file in IE. Thanks, Bob html head script language "jscript" function jstest() { alert("\u03B2"); return 0; } /script /head body onload "jstest()" Dsiplaying greek letters...
    int Data Type, Primitive or Not? (9 replies, VIP)
    microsoft.public.dotnet.vjsharp
    The reason I ask is because I need a way to pass an integer to Microsoft.Office.Interop.Excel.SeriesCollection.Item(Object) In C#, int is aliased to System.Int32 so doing something like SeriesCollection.Item(1) works fine. However, in J# this will not even compile, and doing something like SeriesCollection.Item(new Integer("1")) throws a "Item method of SeriesCollection class failed" exception for...
    limit on number of exceptions in 'throws' clause?! (4 replies, VIP)
    microsoft.public.dotnet.vjsharp
    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 better error message would have helped immensely! Further, the error wasn't reported for the offending method but r...
    how is used SendInput function in J#? (2 replies, VIP)
    microsoft.public.dotnet.vjsharp
    Hi. I'm trying to send several keystrokes to a specified window with SendKeys. When I use the CTRL key designation (^) or the Alt key designation (%) in combination with characters, the action fails. This API method also fails sending function keys ({F1}... {F12}). If I send keystrokes like {ENTER},{DOWN}, {TAB}, or some normal character (abc) SendKeys works fine. I have read that SendInput is mor...
    Using Apache POI in J# (2 replies, VIP)
    microsoft.public.dotnet.vjsharp
    Hello, can Apache's POI api be implemented intto J# for VS.NET. If possible, where do I set the classpath to point to the jar file. Thanks
    JDBC and insert in VJ# (3 replies, VIP)
    microsoft.public.dotnet.vjsharp
    (Type your message here) From: Sunder Balachander I have a problem the corresponding code works fine with Java but the sam I am not able to in VJ# i am using VJ# 2005 beta express Edition . I am not able insert into MS Access database using the following code in VJ# can anyone help me. I dont get any errors. public String Insert(String user , String pass , String first , String last , String dept)...
    visual J++ 6.0 question (2 replies, VIP)
    microsoft.public.dotnet.vjsharp
    sorry to post j question in j# newsgroup but i can't find any j newsgroup at all, so I think this may be a good place to find old j developers... the question is: my computer is down from power failure at the time j is on... and j is never on afterwards... every time i start j , in the splash screen, an error window pops up and say that the development environment has problems... the error appname...
    Is J# for me ? (2 replies)
    microsoft.public.dotnet.vjsharp
    Hello, I am new to the whole .NET family and I have a question on developing with Visual J# or C#. You see I have, in the past, worked on several projects with engineers who develop manuals for electrical contractors and students. The material is written with Word and then converted to HTML where it's placed on a CD that goes with a hard copy version (book). I write Java Applets that are hyperlink...
    Windows 2003 Server running upgrade J++/J# component (4 replies, VIP)
    microsoft.public.dotnet.vjsharp
    I've got a comonent originally written in J which exposes the following attribute to allow the component to be called using COM /** * @com.register ( clsid 5118ABC6 41DC 41C9 A761 477841500AA4, typelib C189E136 D505 422B A204 AE7EDD725A7C ) */ The component has been running fine on Windows 2000 & NT server machines for a number of years but when running on Windows 2003 server, a 'can't create obje...
    Looping through IHTMLAttributeCollection in J#. (3 replies, VIP)
    microsoft.public.dotnet.vjsharp
    How can I loop through the IHTMLAttributeCollection in J#. In C#, I can do it as follows: IHTMLAttributeCollection myAttrColl (IHTMLAttributeCollection) myNode. attributes; IHTMLDOMAttribute myAttr; foreach myAttr in myAttrColl { if (myAttr.specified) //do something } But in J#, there is no foreach loop. Using for loop, I tried the following: for (int i 0; i MyAttrColl.get length(); i ) { myAttr (...
    Help from Lars...PLEASE? (6 replies)
    microsoft.public.dotnet.vjsharp
    Lars, In the past I had talked with you on getting some help with J# Browser Controls. You were a big help and now it looks like I need your help again. I explained to you before that the company I work for has been producing electronic textbooks on CD ROM that displays in Internet Explorer. With these books have hyperlinks within the pages that direct the users to Applets that allow the user to e...
    JetBrains ReSharper (5 replies, VIP)
    microsoft.public.dotnet.vjsharp
    ReSharper is an add in for Microsoft Visual Studio .NET 2003T that brings intelligent C# coding assistance, real time error highlighting and quick fixing, and advanced refactoring features to this popular development platform. ReSharper provides C# developers with many of the same powerful productivity boosting capabilities that thousands of JavaT developers worldwide have come to rely on every da...
    J# app and J# Browser Control behave differently (3 replies, VIP)
    microsoft.public.dotnet.vjsharp
    I have an applet that sends data to a web server via the query string of the url (HTTP GET). When the query string data contains a backslash (\) it is sent to the web server differently depending on whether the code is running as a browser control or a standalone application. If the code is running as a browser control all backslashes are replaced with a fowardslash (/). If the code is running as ...
    Image -> .bmp or .gif (4 replies)
    microsoft.public.dotnet.vjsharp
    Hello, actually I try to save an image with j#. I've searched the help, there I've found this line: FileStream fs new FileStream("C:\\winnt\\Gone Fishing2.BMP", FileMode.OpenOrCreate, FileAccess.Write); fs.Write(MyData, 0,ArraySize); The problem is: I do not have a ubyte array (MyData). I only have an Image object an an int array with the RGB information. Is there any way to write an Image object ...
    Window icon in Dialogs (5 replies)
    microsoft.public.dotnet.vjsharp
    Does anyone know how to get rid of the little generic window icon in the title bar of Dialogs? My application has an icon and I use Frame.setIconImage() to set the same icon in the title bar of all my Frames so I know how to set a window icon and that works fine. The problem is Dialogs do not have a setIconImage() method, yet they have a generic icon. Strangely enough the JVM's from Sun and IBM do...
    Migration java (applet)-> j# (3 replies, VIP)
    microsoft.public.dotnet.vjsharp
    Hello, Please look at this piece of java code : System.Xml.XmlDocument doc new System.Xml.XmlDocument(); ByteArrayOutputStream ba new ByteArrayOutputStream(); XMLOutputStream out new XMLOutputStream(ba); try{doc.save(out)} catch(Exception exc){} String s ba.toString(); please help me to write equal code in j#. I found nothing equal ByteArrayOutputStream in j#. I mean I need that buffer automatical...
    System.Text.Encoder.GetBytes(...) ? (2 replies)
    microsoft.public.dotnet.vjsharp
    In C#: System.Text.UTF8Encoding utf8 new System.Text.UTF8Encoding() System.Text.Encoder encoder utf8.GetEncoder() encoder.GetBytes( char[] chars, int charIndex, int charCount, byte[] bytes, bool flush ) In J#: System.Text.UTF8Encoding utf8 new System.Text.UTF8Encoding() System.Text.Encoder encoder utf8.GetEncoder() encoder.GetBytes( char[] chars, int charIndex, int charCount, ubyte[] bytes, bool f...
    Visual J# 2005 Express Edition Beta (2 replies, VIP)
    microsoft.public.dotnet.vjsharp
    Hi all, Visual J# 2005 Express Edition Beta is available for download from MSDN here: http://lab.msdn.microsoft.com/express/vjsharp/ Visual J# 2005 Express is a lightweight, easy to use tool for developing applications with J# and Microsoft .NET Framework. If you are exploring J#, or thinking about it in the Visual Studio 2005 timeframe, this is a good time to download J# Express and give it a spi...
    Equivalence in J#? (2 replies, VIP)
    microsoft.public.dotnet.vjsharp
    Firstly sorry for my very bad english. Is there any attribute equivalence for this C# code of a Nunit test? [ExpectedException(typeof(AException))] Perhaps that seems like /** @attribute NUnit.Framework.ExpectedException(typeof(AException)) */ But it doesn't correct Please help me!! From: Sergio TZ Posted by a user from .Net Guru (http://www.dot-net-guru.com/) Id Qh6bR9V8pEaIUSPhCf7IOg /Id
    problem with GetIpForwardTable func (2 replies)
    microsoft.public.dotnet.vjsharp
    /**@dll.import("Iphlpapi")*/ *public static native int *GetIpForwardTable(int p1, int p2, boolean p3); That declaration is right? And *p1* must return pointer to struct MIB IPFORWARDTABLE, but it doesn't work. *p1* still 0 (null) //Declare MIB IPFORWARDROW scruct /**@dll.struct()*/ class MIB IPFORWARDROW { public int dwForwardDest; // IP addr of destination public int dwForwardMask; // subnetwork ...
    Import java classes (3 replies, VIP)
    microsoft.public.dotnet.vjsharp
    Hi everybody! I'm pretty new to VJ#, and I'm trying to import a project that originally compiled under VJ . There are some classes, though, that cannot be found from the compiler (namely, java.io.ByteToCharConverter and java.io.CharToByteConverter). What should I do? Thanks, Rony
    Use VJ# as a way to learn Java? (15 replies, VIP)
    microsoft.public.dotnet.vjsharp
    I like the VS IDE interface. But I need to learn Java. Would you recommend using J# as a way to learn Java? If not, is there a comparable IDE out there? Thanks in advance, Bill Johnson
    public static variables are not visible in COM (3 replies, VIP)
    microsoft.public.dotnet.vjsharp
    My code has such a string: public static final int JPEG 1; I created a COM from this code, and do not see this variable in the COM. The class is public, marked with COMVisible(true). I have read that static members cannot be seen in COM. What is the workaround of this issue? Another words, how can I have/use constants in COM? Thanks. Regards, Stas Desyatnikov
    J# no longer responding (5 replies, VIP)
    microsoft.public.dotnet.vjsharp
    We recently upgraded our server to Server 2003 and subsequently discovered that part of our application stopped responding. I cannot give out too much information, but basically we have a C# app with one J# component. Calls to the J# piece are wrapped in a try catch and fail gracefully BUT we're getting no indication as to why. The latest framework, etc. are installed. Any pointers on things to lo...
    Building J# program for a previous version of .NET Framework (3 replies, VIP)
    microsoft.public.dotnet.vjsharp
    I need to build a J# program to work with .NET Framework 1.1. Unfortunately, the J# compiler is not included in .NET Framework SDK 1.1. I have Visual C# .NET 2003 as well as Visual J# 2005 Express Beta and Visual C# 2005 Express Beta. I've noticed that an assembly built using Visual J# 2005 Express does not import into a program being developed in Visual C# .NET 2003 BUMMER! 1. I have .NET Framewo...
    visual j# .net redistributable package 1.1 setup ended prematurely (4 replies, VIP)
    microsoft.public.dotnet.vjsharp
    I'm trying to install Visual Studio .net prerequisites but the microsoft visual j# .net redistributable package 1.1 fails to install, the message is: Microsoft Visual J# .net redistributable package 1.1 setup has ended prematurely. If this persist, please contact Product Support. The installation log shows: Microsoft Visual J# .NET Redistributable Package 1.1: d:\jsharpredistcore\vjredist.exe exit...
    Equivalent of Associative Arrays in J# (2 replies)
    microsoft.public.dotnet.vjsharp
    The following JScript code uses associative array. How can I achieve the same in J# ? Could someone please give a similar J# example? To understand, save the following as an HTML file and open the file in IE. Thanks, Bob //////////////////////// html head script language "jscript" function test(){ var myArray [{name:"Mike", age:"29", sex:"m"}, {name:"Lisa", age:"28", sex:"f"}]; alert("Name: " myAr...
    J# is missing from the dotNET installation (3 replies)
    microsoft.public.dotnet.vjsharp
    I installed VS.NET from Visual Studio Enterprise Architect 2002 DVD. When I try to create a new project in the Solution Explorer of .NET, I see only Visual Basic and Visual C# in the list of 'Project Types'. Why Visual J# is not showing as one the Project Types in the 'Create New Project' dialog box? How can I install J# as well? Thanks, Bob
    How is J# compability with Java SDKs (6 replies, VIP)
    microsoft.public.dotnet.vjsharp
    Hi, I am a somehow experienced Java programmer and seeing the new MS J# stuff and J#1.1. I looked the J# website, but I cannot get the information about the compability with Java SDKs, so if I want to program in J# what SDK specification I can use: JDK 1.1, JDK 1.2, or JDK 1.3? Do you know a place where I can look at tutorials so maybe I can install the J# express, go thru the examples i java, cre...
    Visit the archive for messages from this site.
  • October 2001 (11 items)
  • November 2001 (9 items)
  • December 2001 (7 items)
  • January 2002 (9 items)
  • February 2002 (12 items)
  • March 2002 (10 items)
  • April 2002 (9 items)
  • May 2002 (6 items)
  • June 2002 (4 items)
  • July 2002 (15 items)
  • August 2002 (9 items)
  • October 2002 (23 items)
  • January 2003 (36 items)
  • February 2003 (3 items)
  • March 2003 (23 items)
  • July 2003 (30 items)
  • January 2004 (99 items)
  • February 2004 (43 items)
  • March 2004 (27 items)
  • April 2004 (52 items)
  • May 2004 (27 items)
  • June 2004 (9 items)
  • July 2004 (15 items)
  • August 2004 (32 items)
  • September 2004 (18 items)
    Ad


    Need Dot Net Interview Questions?
    Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
    .Net Projects
    Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
    Free .net Help
    Commission ExamGuru, Inc. and his team for your next bespoke software project
    FogBUGZ
    The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
    Awesome Tools
    If you don't know about these, you're missing out... IT Certification Questions
    IT Interview Questions
    Free Oracle 10g Training
    MCSE Boortcamp
    Cisco Study Guides
    Cheap Study Guides
    Exact Questions
    Dot Net Interview Questions
    Oracle OCP
    Cheap Travel
    Designer Perfumes - Wholesale Prices
    Free Programming Tutorials
     
    ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
     Copyright © ExamGuru, Inc. 2001-2006
    Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification