Answer Questions
AZ-xyz Reference statement does not compile
Hi there. I am making my first steps in J# as well as .NET in general. I got a form with a linkLabel on it and in the procedure InitializeComponent () I added this statement: this .linkLabel1.Click += new System . EventHandler ( this .linkLabel1_click); I was able to compile a similar statement in C# but not in J#. I am getting an error message: Error 1 Cannot find field 'Click' in type 'System.Windows.Forms.LinkLabel' What ...Show All
geoffHome Why is the J# Redistributable package needed?
Hi! Why is the J# Redistributable Package needed to run a J# application Or can I just redistribute some assemblies For example, if I develop an application in Borland Delphi using WinForms, I can compile this application to an exe file. This exe file can be executed on any computer that has the .Net Runtime Framework installed. No Delphi .Net Redistributable Package exists. If I develop an application in Dephi using the VCL.NET api all I ha ...Show All
heldchen Displaying Error messages and using dialog boxes
how to use error messages and dialog boxes as of JOptionPane.showMessageDialog in java Hi, You can use the static method showMessageDialog() of JOptionPane class to display the error messages. For the 'parentcomponent' parameter in this function, you can use "null". A simple app to display error message can be: import javax.swing.*; public class jopt { public static void main( String arg ...Show All
ShimonSim Return a class in a get-method
How do I return a userdefined classtype (other than Object) in a get-method It is easy in java, but in V J# public class WhatEver { private MyClass myClass; public WhatEver() { myClass = new MyClass(); } public MyClass getMyClass() { return myClass; } } You might misunderstand Ramakrishna's reply. For example, new System.Collections.Gener ...Show All
Peter Discart vj# security warning
Hi, We are having code-behind html project in vj# and this project is packaged into a .dll file which is hosted on the browser using <object> tag in a html page. But when we access this page using web server, we are getting vj# .net security warning as "This page contains components that are potentially unsafe. Do you wish to continue " We need to block this warning. I found same kind of problem in http://forums.microsoft.com/ ...Show All
tamri How do I remove a package downloaded by mistake?
Hi and thanks for your help. I have already gone to the Add/Remove and it isn't listed. I also checked the Windows components and couldn't find it there either. I downloaded: Microsoft Visual J #.NET Redistributable Package 1.1 and my computer doesn't have enough memory to allow me to open my e-mail. I have done everything I know to do to increase my memory, but it hasn't worked. I know I need more memory anyway ...Show All
ASTECH Kinda lost here. =(
Ok.. well... I doing a small application for the first time in visual j# and I'm having trouble with some idea that I have, hope someone can help me. I have a MonthCalendar1 and i want to get the selected date in some sort of variable or something I can use to store it and use it or compare it later.. I've been reading a lot since yesterday but Ijust can get an answer... Thanks! Use DateTime dt = m ...Show All
Bhaskar Thamma How to hit BreakPoints in VJ#
Hi all, i have made breakpoints in our web application porting from vj++ to vj#.The break points were hitting and were enable to track using f11 and f10 keys. But in vj# ,when insert new break points,it don t seems to hit.Please give us some ideas where it is lacking, inorder to hit the break points. thanks praveen Hi This is the J#browser control having the java class name "C ...Show All
.net.phil Saving different versions during the development phase , how?
Lets say I wrote som code that is partly finished and I intend to add more and maybe change what I have at the moment. Then I would like to save my project at this moment so I can get back to this version later. What could I do Should I save my project under a new name Or is there some built in features for having different versions of a program Some of them are open source software. For instance, CVS is distributed under GPL. ...Show All
JCatDK java.util.Calendar.getInstance() fails on Windows 2003
Calling java.util.Calendar.getInstance() on Windows 2003 produces the following exception below... java.lang.NullPointerException: Object reference not set to an instance of an object. at java.util.GregorianCalendar.__dateToTime() at java.util.GregorianCalendar.computeTime() at java.util.Calendar.getTimeInMillis() at java.util.GregorianCalendar.__initialize() at java.util.GregorianCalendar.<init>(TimeZone zone, Locale aLocale) at ...Show All
Leice running 64bit in J# express
I have Windows xp 64bit edition, and I'm using J# express. I'm trying to run my application in 64 bit. If i'm looking at the task manager, i can see my process name and *32 next to it, does that mean it's running on 32 bit When I'm trying to run applications in C# express there is no *32 sign in the task manager. Hi, Please do not cross post the same question. Your question has been answered here: http://forums.microsoft.com/ ...Show All
UmeshBhavsar List of All J# Browser Controls from Different Iframes
getAppletContext().getApplets() method does not return all the J# browser controls when controls are in different iframes. I run the page not from a server but directly from local disk from the same directory. This is an important widely used standard feature and it works fine with java applets. Bora, I tried the Scenario .Its working fine for me .clarify me whether your iframes are with scrollbars and you ...Show All
xikopt Any good Add-Ins for VS 2005/J#?
Hi; In the java world I use IntelliJ and in the C# world I use Visual Studio wit ReSharper & nunitaddin. Is there anything like this for VS 2005/J# ReSharper flat-out does not work with J# (they officially don't support it and most of it's features are turned off in J#). And nunitaddin does not understand J# (for a main()) or junit. And Visual Studio doesn't come close to having the features found in ReSharper & nunitaddin. Anythinf out ...Show All
SupurbSoftEng Return a class in a get-method
How do I return a userdefined classtype (other than Object) in a get-method It is easy in java, but in V J# public class WhatEver { private MyClass myClass; public WhatEver() { myClass = new MyClass(); } public MyClass getMyClass() { return myClass; } } Is there an ArrayList in J# The above code works perfect ...Show All
Please help with my query. Kudos of the day
Hi; To the person who shall remain nameless on the J# team (so he doesn't get deluged with requests) who figured out the problem with loading resources for locales you don't have. thank you. - dave ...Show All
