all groups > vj# > february 2005
simple SQL select statement 10x faster in J++ than in J#... why?
Posted by DotNetDev8080 at 2/28/2005 11:17:09 AM
I am seeing vastly different SQL performance numbers in a ported J# project
vs. my old J++ code base. The problem seems to be ResultSet.getString() --
..getInteger() performs just fine. I saw some posts about setting
sendStringParametersAsUnicode=false but that did not help in my case.
H... more >>
Need help with DirectSound.
Posted by Avid J# Programmer at 2/25/2005 6:55:06 PM
I'm having trouble accessing the DSoundHelper object. I need to access the
Guid variable
Microsoft.DirectX.DirectSound.DSoundHelper.DefaultVoiceCaptureDevice When i
try to compile, i get this error: 'D:\My Documents\Visual J# .NET
Projects\test\Class1.jsl(149): Cannot resolve name
'DSoundH... more >>
About JBC1.1b
Posted by mela mela via DotNetMonster.com at 2/24/2005 4:52:40 PM
Could JSharp Browser Control 1.1b create a Socket() and connect to the same
Web server that the J# Browser Control is downloaded from?
I attemped to convert a applet to JSharp Browser Control,but it had a
SecurityException in runtime when I used a Socket() class.
--
Message posted via http... more >>
Controlling number of decimal places
Posted by Lou at 2/24/2005 9:21:01 AM
I have a double value 1.2344567
I want to convert to a String with just two decimal places (always showing
two places even if zeroes).
Any suggestions? (I know how to do it in Java using DecimalFormat class, but
doesn't appear to be an equivalent in J#)... more >>
J# java.util.Calendar bug????????
Posted by burtr at 2/23/2005 9:02:49 AM
Hi,
I have a strange problem when adding a year to a 'leap' date. i.e.
2004/02/29 (yyyy/mm/dd) and wondering if anyone else has experienced
it. Basically J# code gives a different result than C# and Java. Check
out this code:
java.util.Calendar date = java.util.Calendar.getInstance();
da... more >>
How to Create HTTPS Connection From J#
Posted by BillHouse at 2/22/2005 5:13:03 PM
I have a need to access a 3rd-party site via HTTPS from a service-side
process. They have example code written in Java, which all works in J#
except the HTTPS connection. For that, they reference sun.* packages that I
don't think J# supports. Is there an alternative approach I can use from ... more >>
converting my J# application to Java
Posted by Chris Jones at 2/22/2005 11:05:04 AM
generaly speaking,
is it overly complicated to convert my j# application to java?
or will there be alot of adjusting to do?
also can somebody link me to any articles or anything on the subject.
thx for any reply... more >>
Bug in ArrayList.toArray() method?
Posted by Keith McLeod at 2/18/2005 7:51:04 AM
We are writing a GIS application in C# and using Vivid Solutions’ Java
Topology Suite converted to J# for our Computational Geometry library. I am
receiving a null reference exception on the following line of code…
object [] list = spatialIndex.query(new Envelope( minX + (ix * tileWidth)... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Accessing the windows registry
Posted by Sushovan at 2/17/2005 5:21:03 AM
I have been making a wallpaper changer, and have made it to a large extent.
Now I want to add some customizable options in the program, Like the search
path for image files for the wallpaper, and whether the program should change
the wallpaper at logon.
1. Do you think that saving this inf... more >>
finishing of an application
Posted by Chris Jones at 2/11/2005 3:03:05 AM
ok, my application is finished and i exporeted it as an exe,
the exe starts without problems too,
now how can i put my own ico file onto the exe?
and is there a way to export the programm so it doesnt need .net installed
on a client computer?... more >>
System.Windows.Forms.UserControl as JPanel parent?
Posted by alex at 2/10/2005 8:41:06 AM
Does anyone know if it is possible to add a JPanel to a
System.Windows.Forms.UserControl, or other WinForms container?
(Trust me, I have a good reason for doing this!)
I tried the following, but of course last line does not compile:
<code>
using javax.swing;
public partial class myUs... more >>
import or include java .class file
Posted by chanmm at 2/9/2005 3:39:28 PM
Dear All,
How can I import or include java .class file in Visual J#.
Please help
Best regards,
chanmm
... more >>
Need some help please
Posted by noir at 2/9/2005 8:27:24 AM
can someone write or find a program with
1. convert between data types
2. use an array
3. use a vector
4. use a loop
5. use branching statement
The program does not have to be complicated or big, just a simple one
is okey.
If someone is really that kind please paste the code into this ... more >>
InputStream.read doesn't block read while waiting for data
Posted by Greg Taylor at 2/3/2005 5:59:04 PM
Using J# 1.0 library, it appears that while read is waiting for data, some
kind of "message pump" in VS 2003 allows events to fire - ON THE SAME THREAD.
So the call stack looks like:
<callback fn registered with Visual Studio event>
[<Non-user code>]
<my fn at the line where m_inputStream.re... more >>
calling a method
Posted by Chris Jones at 2/2/2005 10:55:02 AM
i have a problem
in my project i have 2 Forms,
in one of the two i want to call a method from the other like
Form2.method()
but the compiler tells me method() doesnt exist in Form2, but it does, its
there i can see it
thx
-Chris... more >>
How to Invoke Methods by Name using JAVA reflection
Posted by m.imran at 2/1/2005 6:53:42 AM
hi,
I have write a code to invoke methods by name. Below is the sourcecode
that i have writen. The problem is, how can i pass data String or
Double to method "add". This source code just invoke int a and int b.
Actually from this source code i want to design Fault Injection Tools
and i still beg... more >>
|