Answer Questions
gftdnhkask [J#] Problem with changing text in textBox & socket communication
Hello! I have a problem - I'm trying to create an application in J# (Visual Studio 2005) - it's connected with socket communication - 2 aplications - client and server. In console I didn't have any problems and I think that I understand the mechanism. But now I'd like to create my application in graphical environment (GUI). And here I have a problem. So what's the point - I have 3 classes: 1. Form1 2. Server (it extends Form1) ...Show All
some guy How to set 'Default package' empty on VS 2005 IDE.
I want to set 'Default package' empty string. But VS 2005 shows an error dialog. We were able to do it on VJ# 2003 and VJ# 2005 Beta 2. I know it can be done by editing and removing 'RootNamespace' tag from a project file. But, why did you add an empty value check I need a empty default package in order to specify the namespace of embedded resouces. VB supports this, only C# ...Show All
Tom TechMan SQLTimeStamp and Byte[]
I am very confused with what I am to do with a SQLTimeStamp(stamp is in binary). In my web application, when a user selects a record to update it, a SQLTimeStamp is sent upon retrieval. When I get the SQLTimeStamp from the database, it is returned as an object. That object contains a byte[] array to represent the binary SQLTimeStamp. What I have to do is convert this object to a byte[] array. How do I do that Any help would be appreciated. Thank ...Show All
Erwin Meiejr [J#] Sending bitmap ... socket communication
Hello! I have problem with sending bitmap between two applications. I have 2 clients and 1 server - it manipulates informations between those clients. (basic communication is ok - clients can exchange simple text messages) Clients are the same applications - the same code. Now - I was thinking about sending an array of bytes. However I have some problems - I don't know what kind of stream I should use and I'm wondering if there isn't an ...Show All
Trish classcastexception happens when objects are passed to the thread and when trying to call the method
classcastexception happens when objects are passed to the thread and when trying to call the method ... exception in thread::(0x80004002) Unable to casr COM object of type 'mhtml.HTMLWindow2Class' to interface type 'MSHTML.IHTMLWindow2'. This operation failed beucase the QueryInterface call on the COM component for ther interace with IID '{332c4427-26cb-11d0-b483-00c04fd90119}' failed with HRESULT:0x80004005 (Unspecified Error (Exception from ...Show All
msibm converting vj++ com.ms.com.Variant class to vj# equivalent
we have a sample code in out vj++ project which we are trying to convert to vj# as bleow, IHTMLElement ie=(IHTMLElement)actionElement.getPeer(); mshtml.IHTMLElement3 iet=(mshtml.IHTMLElement3)ie; boolean b1=iet.FireEvent("onchange",new Variant("onchange")); // the above line gives compiler error DClickActionPerformer.java(115): Actual parameter for 'byref System.Object' must be assignable not sure how we can convert to vj# like what wil ...Show All
dalmond java.util.zip.ZipFile performance problems
I've been extremely pleased with the J# technology, however I am experiencing serious performance problems using java.util.zip.ZipFile to open large zip files. My test is this simple: public static void main(String[] args) throws Exception { long t1 = System.currentTimeMillis(); ZipFile zip = new ZipFile(args[0]); long t2 = System.currentTimeMillis(); ...Show All
SIYAULHAQU 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# System.Collections.Generic.L ...Show All
CeteTorunu Problem with C++/CLI and J# interaction bug
I'm having a problem with C++/CLI and J#. I am writing a class library in C++/CLI and want to use it from J#. I narrowed down my code and wrote a repro: a.cpp: #using <mscorlib.dll> #include <stdio.h> using namespace System; namespace AA { public ref class A { public : unsigned long Print() { printf( "Hello\n" ); return 0; } }; } b.jsl: import System.*; import AA.*; public class Test { public static void main( Stri ...Show All
dfgdgdfggfghg55rrgr Play sound and video in J#
Hello. How import sound to J# . for example you select word in combobox and then go sound , at that moment then you select. Better then it will be taken from resources. And how with video Sound is more important, but i want to know how to import video to. i need code. Hmm.. 1 link it's not for me, because I don't player, i just need sound then select word in combobox. Second is better, but then i will finish my program, and want to sha ...Show All
Kelly7018 How to set 'Default package' empty on VS 2005 IDE.
I want to set 'Default package' empty string. But VS 2005 shows an error dialog. We were able to do it on VJ# 2003 and VJ# 2005 Beta 2. I know it can be done by editing and removing 'RootNamespace' tag from a project file. But, why did you add an empty value check I need a empty default package in order to specify the namespace of embedded resouces. Hi, The behavior in Evere ...Show All
Lonnie Barnett Does Vj# allows to get Parent Window of an Iframe
Hi all we are now porting the webappplication codes from vj++ to vJ#. In that we are accessing a parent iframe window from its child window ,which was working in vj++.But the same code now ported to vj# seems to be not working.Whether any other things need to work or not.so please provide some ideas to get its parent or its topwindow. the sample code DhWindow botomWindow= this .getWindow().getParent().getParent(); DhWi ...Show All
Brennan How do you specify the filename for a print file programatically?
Does anyone know how to specify the filename for printer output programatically I need to create a PCL output file from multiple TIF files, which are created by a third party. My first problem is that I need to create a printfile without having to type a filename in the windows dialog box. My second problem is figuring out how to combine the tif files into one print job. Thanks in advance. Rob ...Show All
Mahesh Kannan How to use JFrame in J#
I'm trying to migrate a project that I've got using Java source code into a VJ# project because I need to generate a .NET executable for windows. When I try to build the project , the next error message is shown: "Cannot find type JFrame" in the next sentence: -public class RecuperarVideo extends JFrame implements InterfazPlugin, Runnable{ I'd like to know what do I have to do in order to use JFrame in a J# project or wether exists i ...Show All
souma Cannot find type 'javax.swing.JEditorPane'
Hi all, I have added a reference to VJSSupUILib.dll to my Visual J# project, but it cannot find the type javax.swing.JEditorPane. It can successfully find the others such as: javax.swing. JButton javax.swing. JOptionPane javax.swing. JScrollPane etc. How can I add this missing type to my project Is it stored in a different DLL perhaps Thanks in advance! Adam Hi ...Show All
