Answer Questions
Fre_d79 Simple Echo Server
I am using Visual J# 2005 Express Beta 2 to create a simple echo server. I have created the form and design and able am able to launch the program. I have created a RichTextbox to display the connections and 'echo's. The problem is when after starting the echo server by clicking on a button, the program stops responding. But the echo server is running in the background because I am able to connect to the echo server (localhos ...Show All
mgjohnston Reference parameters
I'm trying to access a class library written in C++/CLI from J#. So far everything worked out but I have one callback which I'm having trouble with. The problem is that I am not sure how to specify reference parameters. In C# it would have been done with 'ref' keyword. The delegate looks like this: delegate unsigned long CustomCallBack(MY_CLASS ^%pClass); the callback is suppose to fill up a instance of pClass and return with a succes/failure r ...Show All
Aaron Mathison Web Browser, HTML selection
Hi, I have implemented a simple Web Browser using the inbuilt Web Browser component. I now need to be able to highlight some text on the web page and for this to then be selected by the J# program. This is possible in Java by using the getSelectionSrat and getSelectionEnd methods linked to the JEditorPane, and it is possible in C# by using IHTMLSelectionObject and IHTMLTxtRange, but now I need to find the J# version! Regards Richard ...Show All
vijey litlle problem
Helllo, I want to create the simple program, but i don't know how to do one thing: i have 2 texbox , label and button in textboxs you type numbers, and the answer appears in label. And all it should be programmed on button click. But i need that, if my number is smaller thatn 18 and bigger than 25 then label set text , f.e. " it good" or smtg, and i have these groups: 18.5 < rez < 24.9 25 < rez < 29.9 30 < rez < 39.9 40 < re ...Show All
Superfrog J# newbie having trouble using SQL statements in J#
Thanks to anyone who helps! I'm building a data entry windows form that requires the data to be sent to a SQL Server table (the table's name is "Local") when the form's "SAVE" button is clicked. I've built the form using the windows form designer, and now I'm attempting to use SQL statements to insert/update data into the table. There are six fields that will use SQL statements to send data to the Local table, and non ...Show All
Mamun 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
nonno hi
Hai ,,,, a simple Question ... Is there any similiraties between C# and J#... i m very new to the .net. but this .NET Common Language Runtime (CLR) thing, has a simular idea to the Java's JRE everything that has CLR can run .net codes without recompiling it am i saying this right Yes, you are right...if you compile code written in a language that runs on .NET, Then the compile code (called IL)& ...Show All
FADI Abdel-qader 100% CPU usage !!
hellow to all .. i am runing visual j++ 6.0 on my centrino 1.6 and 512RAM ... and i am amesd that the j++ take 100 CPU usage and i can't even use it the laptop is so slow and i can not function at all !! not just on my laptop , my friends tould me the same ! i am runing windows xp sp2 .. hellppp !!! no one have answer for me and my friends !!! I've found a fix here: http://forums.asp.net/574242/ShowPost.aspx I had to delete m ...Show All
bdg 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
AnjaliDevi System.IO.Stream <==> java.io.InputStream/OutputStream
Hi; So you have wrapper classes where like: DotNetStreamWrapper (java.io.InputStream stream) : implements System.IO.Stream JavaStreamWrapper (System.IO.Stream stream) : implements java.io.InputStream And same question for Enumeration <==> Iterator. - thanks - dave Yes please. And any other classes that convert between .net and java. thanks - dave Sure. 1) My java code all uses InputStream/OutputStream in it's API. But I have ...Show All
VadimG axWebBrowser
I have this problem in vusal j#, C:\Work\Form1.jsl(92): Cannot find method 'Navigate(String)' in 'AxSHDocVw.AxWebBrowser' I have no clue how to fix this, the program works on my friends comp but not mine, I'm running win xp sp2 with zone alarm security suite installed. Please reply -- Thanks Hi, Seems you really have got the older version of WINDOWS\system32\SHDOCVW.DLL which doesn't implement the required overlaod of Navigate f ...Show All
K.M.PONG Redistributable license
I'm trying to find the license agreement for the 1.1 J# (or 2.0) redistributable package. Anyone know where I can find it I'm looking for conditions pertaining to my redistribution of the package in my own installer or similar. Assuming you installed Visual Studio to the default location, have a look at the following file: C:\Program Files\Microsoft Visual Studio 8\redist.txt ...Show All
chiboon Urgent for final task, transfer from J# to Java!
Hi, I'm in crisis for my final task. First, can J# accept/filter only Sun's Java code I mean, J# has delegate, events, blablabla, while Java can't. Can J# filter those Second, J# is somehow a little different compared to Java. For example, it doesn't overload the conn.createStatement() method, which is overloaded by Java. I mean, how can I convert existing Java code(which takes parameters) to J# code (which takes no parameters) ...Show All
Peter Butler click n' drag: easy question (i hope)
Should be an easy question: I've seen in several programs, that you can click anywhere in a form window to drag the form around, how do I set that up Hi, Here is the J# equivalent ... private final int WM_NCLBUTTONDOWN = 0xA1; private final int HTCAPTION = 0x2; /** @attribute DllImport( "user32.dll" ) */ public static native boolean ReleaseCapture(); /** @attribute DllImport("user32.dl ...Show All
James Farmer J# x64 Support
Hi my question is: is there any planed support fur x64 in the J# 2.0 Framework i could not find any roadmap ... thanx Oliver Hi Claudia, I assume that not all features that are being shipped with Orcas as still up there at the Orcas website. The website mainly contains the timelines of the Orcas project. I am not sure if you are looking for some specific information If yes ...Show All
