Topics
-
-
- Administrators
- 3 replies
- 8.7k views
Hi, I created an own program because other solutions missed some features, but since I stopped developping it I'm using another program, which is written in Java# .NET (mine was VBasic .NET). The program which I'm currently using does everything but one thing, so I thought I add it myself. Easier said than done since it is the first time that I'm working with Java# .NET. I'm having a bit trouble with converting types: string Change; Change.Trim("-"); //cannot convert string to char[] I tried (char) & (char[]) without any luck.
Last reply by PlausiblyDamp, -
-
- 1 reply
- 3.3k views
can anyone tell me how to make a system wide hotkey in j#???? ... and if you can, i would appreciat it if you would put it into sample code.. please please please tell me this is possible... much thanks to everyone if you can help me :confused:
Last reply by worthless_skate, -
- 2 replies
- 4.7k views
hopefully someone can assist me with this. trying to make it so that when one div in my html page is hidden, another one is visible. tried this function hideShow(first,second) { var div1 = document.getElementById(first).style; var div2 = document.getElementById(second).style; div1.display = div1.display? "block":""; div2.display = div2.display? "":"block"; } not sure how to proceed. any help greatly appreciated. thanks.
Last reply by Gill Bates, -
- 1 reply
- 4.1k views
How do I convert this from java to j#? private enum Status {CONTINUE, WON, LOST}; Thanks for the help.
Last reply by Cags, -
- 0 replies
- 4.7k views
Hi everyone - I've been using this zIRC Java webclient, and want to convert it to J# (As I've heard the system runs more smoothly) Unforutanetly, I am not a programmer, but I am however, learning the basics of C++ right now. I really need an IRC client that supports DCC, but I can afford a single program to purchase right now, and I do not want to rip a program off, 'cause I've got morals 'bout that sort of stuff... I've ran the zIRC source through the J# complier, there are only 15 errors that come up. The reasons behind this may be due to the Java Media Player that it's tryin' to call up to use... I'll put the error messages right here... zIrc_0.6.5-beta-src\Abstr…
Last reply by IIWheelManII, -
- 1 reply
- 5.2k views
Hi, I need to connect a J# app to SQL Server 2000 using JDBC. Sadly, I can't use ADO.NET as one of the restrictions is no ms extensions. I have the SQL Server 2000 Driver for JDBC installed. I assume I will need it? Can anyone point me in the right direction? Thank you. ;)
Last reply by RobertStout, -
- 4 replies
- 6.2k views
I have a problem with reading null value from my database. The connection works and does retrieve the data. However if there is an empty cell in the database it creates an exception �java.lang.classCastException: Specified cast is not valid� while (myDataReader.Read()) { description = myDataReader.GetString(0); //The error is here! custPN = System.Convert.ToString(myDataReader.GetString(2)); //custPN = myDataReader.GetString(2); sql = "SELECT Name FROM tblSupplier WHERE SupplierID = " + myDataReader.GetInt16(1); } I have tried to convert the output to a string, but that did not work. I think that the problem is with the .GetString() line as a blank cell is not a…
Last reply by haroldjclements, -
- 4 replies
- 5.2k views
I have a problem with the Iterator in J#. In standard Java this code would have run through all the elements in �myVector� and would have worked fine. I have imported both java.util.Vector and java.util.Iterator. Iterator myIterator = myVector.iterator(); while (myIterator.hasNext()) { AnObject myObject = (AnObject) myIterator.next(); } In J# I receive this error and I don�t know how to fix it Cannot find method 'iterator()' in 'java.util.Vector' If anyone has any clues I would be very grateful. Thanks in advance, Harold Clements
Last reply by haroldjclements, -
- 0 replies
- 4.9k views
Any1 has blackjack coded in J#? If some1 has, plz post here, I'd like to sudy it.
Last reply by Zarah, -
-
- *Experts*
- 2 replies
- 5.8k views
By all my post recently you can probably tell that I am new to the J# language. So I apologise for the silly questions. However I have another one. I want to clear a listbox. Now I know its something like ListBox1.Items.Clear() but that is not it in the j# syntax. If anyone can help me I will be much appreciated. Thanks, Harold Clements
Last reply by haroldjclements, -
-
- 0 replies
- 7.6k views
Hello All, I have created an application that reads items from a database. What I want to do now is create an array of text boxes that are populated with the data retrieved from the database. The problem is that I am unsure how to create an array of textboxes at runtime. I can use the .set_Size() method to place the box. So far I have: System.Windows.Forms.TextBox [] tbxResults = new TextBox[20]; while (myDataReader.Read()) { tbxResults[loopControl] = new TextBox(); tbxResults[loopControl].set_Location(new System.Drawing.Point(8, y)); tbxResults[loopControl].set_Visible(true); loopControl ++; y += 24; } However the does not work. Any help will …
Last reply by haroldjclements, -
-
- *Experts*
- 4 replies
- 5.2k views
Hello All, Just a quick question. I have written a little app that lists the users in a database and the results are displayed in a ‘label’ on a form. My problem is that I can not create a line break, therefore I get results like this: Harold Clements Dave Brown Iain Smith Lee Cooper Where I want: Harold Clements Dave Brown Iain Smith Lee Cooper In traditional Java you have the ‘\n’ but in J# that creates a compiling error. Any suggestions will be gratefully received, Harold Clements
Last reply by haroldjclements, -
-
- 0 replies
- 5.8k views
Declare GetIpForwardTable func as /**@dll.import("Iphlpapi.dll",auto) */ public static native int GetIpForwardTable(int p1, int p2, boolean p3); after exec - No effect! Pointer p1 to structure MIB_IPFORWARDTABLE still 0. Why?
Last reply by Root, -
-
- *Experts*
- 4 replies
- 5.5k views
I have a problem with converting my VB.NET code to J#.NET Dim x For x = 1 To 31 Me.cbxDays.Item.Add(x) Next I know the loop in J#, just not the code for adding the item to the combo box! for (int x=1; x<32; x++) { this.cbxDays.??????????(x); } Any help will be appreciated. Thanks, Harold Clements
Last reply by haroldjclements, -
-
Hi, I'm trying to develop an application with visual j# with datagram packets (udp). unfortunatly datagrampackets do not have a getOffset method like java. Is there an alternative or workaround for this? Thanks in advance, Sjakie
Last reply by Sjakie, -
-
- Leaders
- 2 replies
- 5k views
I know this is probably very simple, but does anyone know how to play a .wav file? I'm building a windows app and want to play a sound when a button is hit........ Any help is appreciated ;)
Last reply by dynamic_sysop, -
-
-
- Leaders
- 3 replies
- 4.9k views
Does anyone know how to redimmension arrays in J#? i'm trying to translate from c to j and it's not working. i'd appreciate any help. thanks.
Last reply by Iceplug, -
-
- 0 replies
- 4.7k views
Hi, this is my problem. I have two datagrids, one gets populated with certain amoutns of data from the database. Next what i want to do is have a button called "ADD" and when i click a row in the populated datagrid and selects ADD I want it to populate the 2nd dataGrid with the selected row. I have done similar stuff in VB.NET but now I'm using J#.NET, which is similar to C#. Does anyone have any leads as to how i could do this. Have been searching the net for over 3 days with no luck at all. Please help if anyone knows.
Last reply by pano, -
-
- Moderators
- 6 replies
- 26.5k views
i have a problem for the INSERT part. :( :( i only know how to add data into database...like: SqlCommand myCommand = new SqlCommand("Insert into employee(id, name, pass) values('1','John','aaa')", sqlConnection1); but, i don't know how to use the TextBox insert data to database. What is the codes for the VALUES part? Who know can help me???
Last reply by ninjaX, -
-
-
- Leaders
- *Experts*
- 4 replies
- 4.9k views
Hi, I'm pretty new to the J# environment. Would anyone know how to check if a numeric has been entered into a textbox? I know in vb there's a command called IsNumeric. but there's nothing of the sort in J#. Any help is welcome.
Last reply by pano, -
-
Who's Online 0 Members, 0 Anonymous, 14 Guests (See full list)
- There are no registered users currently online