Answer Questions
Andre_B COM object that has been separated from its underlying RCW cannot be used exception within threads
Hi, We are having code in which we start a new thread and set it as STA. This new thread initializes IHTMLWindow2 object and then starts another thread. But, in that second thread if we try to access the IHTMLWindow2 which is initialized in the first thread we are getting this exception "COM object that has been separated from its underlying RCW cannot be used". If we do not set the first thread to STA, we coudn't access the windows ...Show All
Paulaps Swing
Dose J# support swing (javax) If not can i get it to How can I get it to Yes, J# supports swing (javax). With VS 2005, swing is integrated in J# package which you install. With VS 2003, after you install J# , you would have install J# supplemental UI library. All these downloads are available at http://msdn.microsoft.com/vjsharp/downloads/default.aspx just refer to vjssupuilib.dll when comp ...Show All
India62 New Release of J# Browser Controls
I havent seen a new release of J# Browser controls for a while. Is it dropped We have been making investments on it, so I was wondering if it is about to be dropped or if we are going to see a new release soon Thanks and regards, Bora Ertung Hi Bora - J# Browser Control support is here to stay! What we've done in J# 2005 is actually incorporate the J# Browser Control functionality into the J# Redistributable. ...Show All
Jaap Wagenvoort Hit a bug
Hi; I am getting the following: Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at System.Drawing.SafeNativeMethods.Gdip.GdipMeasureCharacterRanges(HandleRef graphics, String textString, Int32 length, HandleRef font, GPRECTF& layoutRect, HandleRef stringFormat, Int32 characterCount, IntPtr[] region) &nbs ...Show All
Mr Dawson High School Teacher still needs help.
Hello, I am a high school math teacher and this is my second post for help writing my first java appet using : Microsoft Visual J#.NET Microsoftw Development Environment 2003 Version 7.1.3008 Microsoft.Net Framework 1.1 I have gotten help from Christian Graus and Jaiprakash previously and I thank them, but I still have not gotten my first applet to run. I am trying to use the code for the applet at http://www.mrpowe ...Show All
Todd D How to read JPEG in .NET
How can I read JPEG, GIF and PNG in .NET if I am using J# I know one solution: I can use System,Drawing.Bitmap to read JPEG/GIF. Use Bitmap to do further processing and then save back as JPEG. Problem with this solution: - Bitmaps take more space than JPEGs. - This is not an elegant solution, Is there any other way I can read these different formats Regards, VJ If you are on ...Show All
MSidden 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, Can you please answer following questions to help us understand ...Show All
Suprotim Agarwal ObjectInputStream - cast exception
Hi; I make the call: ObjectInputStream ois = new ObjectInputStream ( new FileInputStream (serFile)); Document correctDoc = ( Document ) ois.readObject(); And get the exception: 1) testTemplates(net.windward.format.wordml.test.TestWordMLParser)java.lang.ClassCastException: Unable to cast object of type 'System.Byte[]' to type 'System.Object[]'. at java.io.ObjectInputStream.fillArray(Object obj, Int32 len, Class elemType) & ...Show All
Tim Sohn 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
ams_ashraf How do I in the best way get this info from a String
In my code I have String str = textBox1.get_Text(); String individual[] = str.Split( new char [] { ' ' , '+' , '-' , '*' , '/' }); In this way I get strings separated by certain separator characters. If I wan't an int array containing the positions of all separators within str what is the best way to do Do I have to manully write code that checks every character and save the positions of the seaparators or is there a simple ...Show All
GerardDOTNET Change Decimal Separator
Hello I have a class that I use to format a double value and return it as a string. I have been having a problem with culture settings that use a comma (rather than period) as the decimal separator. I tried the following : static { System.Globalization.CultureInfo.get_CurrentCulture().get_NumberFormat().set_NumberDecimalSeparator("."); } which causes an exception to be thrown: System.InvalidOperationException: Instance ...Show All
Vladimir_Kost Free game - Engineer your own World
This is Windward's Christmas present to the development community. Download the Game – for Free! Happy Holidays from Windward Studios. Windward Studios, the creators of Windward Reports, is making Enemy Nations available for free. Sim City meets Civilization meets Age of Empires Enemy Nations combines the world building of Sim City, the large scale and detail of Civilization, and the combat of Age of Empires. Award Winning And you don't have ...Show All
Christian Burgener Help Needed..ASAP
I have created a windows form application in visual J# and on this application I have a tabcontrol. The problem I am having is that I have a "richtextbox" on one of the tabs(Tab B) and when I receive information in Tab B and i click on it(Tab B), the entire form freezes(basically it does not respond and the program crashes). I have realised that if I have Tab B open before the message is received, I receive that message and everyth ...Show All
safesoil Generating XML documentation for J#
I'm trying to port a core library written in Java to J#. It has worked well so far. But now I need to create .NET compatible documentation for this library, and I'm having problems. I know I can make Visual Studio 2005 generate an XML documentation file for my vjsproj, but I need to do this from a command-line build environment. I've been playing with MSBUILD, but I just can't seem to find the proper incantation to make it cre ...Show All
gonlazaro unable to open C# solution after converting it using JLCA
Hi, i am using VS.Net 2005 Beta 2, successfully converted a J2EE application to C# project. But when i tried to open C# solution second time it is not opening. Have someone come across this situation Can somebody address this issue. Thanks. While migrating JSP/web apps, JLCA 3.0 produces ASP.NET 1.1 code. Visual Studio 2005 allows users to use and create only ASP.NET 2.0 apps. So, ...Show All
