Convert Java Into Program?
May 16, 2011Can someone convert this java code into Vb.net? because i'm dont understand in java language.[code]...
View 4 RepliesCan someone convert this java code into Vb.net? because i'm dont understand in java language.[code]...
View 4 RepliesI want to convert java file into vb.net files
View 2 RepliesI have developed one project by using JAVA and swing.Can i convert that project to as .net project?
View 3 RepliesI am a Java developer. I have the task of converting a VB class to Java.Can some VB developer comment the following VB code so that I can write its Java equivalent?
Public Class RmaValidationCode
' Values for test type
Public Const SOFTWARE_TEST_TYPE = 0
[code].....
We are developing an Android Application (Java) that reads an image, encode the bytes in base64 to send them over HTTP (via GET) to a WebService written in VB.NET.On .NET side, they are using this :
Dim Pix As Image
Pix = Image.FromFile("C:UsersPublicPicturesSample PicturesTree.jpg")
Dim ms As New MemoryStream[code]....
How can I pass the correct string to them to correctly decode the image from Java encoding (unsigned) to .NET decoding (signed)?
i need to convert a Java tool into a VB (2005) application. Most things are fairly straight forward, but i have on a few lines my problem the appropriate VB function to find.
View 5 Repliesi'm using the following algorithm to encrypt and decrypt a string in VB.NET and wanted to do that same method in Android also.
Encryption:
Private Function decryptStr(ByVal key As String, ByVal enc As String) As String
Try
DES.Key = Hash.ComputeHash(System.Text.ASCIIEncoding.ASCII.GetBytes(key))
[Code]....
I wrote a Java class that parses a bpel text file and then returns a count of the number of occurences of certain words. I wanted to convert it to VB2008 Forms application, so that its results are displayed in a TextBox and not on the console. The problem is that VB2008 lacks Scanner and StringTokenizer classes, which are in my current Java class. Am not sure how to get the same functionality (or better) in VB2008. Can someone out there help to convert this class.
[Code]...
I have the following Java code that i am trying to dissect to better understand what all it is doing:
try {
String userName = System.getenv("USERNAME");
DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH.mm.ss");
OracleDataSource ds = new OracleDataSource();
ds.setDriverType("thin");
ds.setServerName("xxxxxxx");
[Code]...
I am trying to convert a public adaptation of the Whirlpool hash from Java to VB.NET, I am getting errors that do not make sense to me and thusly I don't know how to fix them.
[Code]...
I am trying to learn OOD/OOP and read on the net that I am not supposed convert SQL tables into classes. But I cannot find an explanation why not to do it or which tables to skip. So I made an web application based on the below diagram. It works perfectly well. But I do not use OO. which table should not be mapped into a class and why not. do not use LINQ or NHibernate, etc as I do not understand them. I just need to understand the OOD.
View 2 RepliesI was wondering if someone could tell me the best way to call a Visual Basic program from Java. I have a few VB applications that I want to run from a Java application that I'm building.
View 1 RepliesIn one of my vb.net 2008 application i have called a java class file through batch process which creates txt file and jar file and put in app path folder.[code]...
View 1 Replieshow to translate some VB.net program lines into Java? I made some jLists but I don't know how to show files like I did in VB.net.
View 3 RepliesI am trying to click a button but i cant figure out how to if it's a java button. I want to click it using my webbrowser in vb.net. [code]...
View 3 Replieshow to convert an existing Standalone Java Application to a Dynamic WEB Application which can be deployed on Apache-Tomcat Server container ?
View 2 RepliesThis is going to be a lot to ask, but I'd like to convert my old GW-BASIC program to a command line program with arguments. I'd like it to operate as follows:
elapse [drive:][path]filename This is my old code.
5 CLS
10 OPEN "G:Calc.txt" FOR INPUT AS #1
20 WHILE NOT EOF(1): INPUT #1, A$, B$
30 IF MID$(A$,3,1)=":" THEN C$="DOUBLE DIGIT":GOTO 50
40 IF MID$(A$,2,1)=":" THEN C$="SINGLE DIGIT":GOTO 120
[Code]...
I am trying to Convert a data field stored as IMAGE ( SQL Server 2000) using Java to a byte array using VB.NET Java uses signed numbers for a Byte array where as VB dosent. Can somone point me to how I can covert java byte array to VB byte array?
View 2 RepliesI have a few questions reguarding converting a Access program to a sql/vb.net program. I know these are vague questions, so feel free to give vague answers.
NOTES: I have a solid unstranding of SQL and VB.net. i have little Access experience, but i would be working with the individual who created the access program. I also don't have alot of experience in converting on program from one language to another. Most of my experience is in new programing.
[Q1] Is their a general rule of thumb when converting/recodeing on how long it should take? i.e. if this project would take me 40 hours to write my self from scratch it would take me 30 hours to recode into another language?
[Q2] What type of problems do i need to look out for when working on projects of this nature and being inexperinced?
I have developed some programs for processing and issue-coding electronic documents. I am teaching myself how to work with SQL Server because I want these programs to work with electronic documents imported into SQL Server as opposed to messing around in a folder stuck on the desktop, for example. From there I want to expand on the program so that it is a network enabled program.
[Code]...
I notice you can't use textbox control array in .net. Wondering how to workaround this code.
Private Sub cmdNew_Click()
Dim row As Integer, col As Integer
For col = 1 To maxCol
For row = 1 To maxRow
txtCell(Indx(row, col)).Text = ""
[Code]...
I'm trying to convert a program from VB6 to DOT NET. In my original program I have a menu array which was simple to create.I simply named each menu element the same name and assigned each a different Index property.In DOT NET, there is no Index property and trying to create a second menu item with the same name generates an error. I have been unable to find any info that helps me transfer the functionality to DOT NET.
Can someone help with my struggle to make the leap to DOT NET?I'm also trying to convert use of the MSHFlexGrid in VB6 to the DataGridView tool in DOT NET and this is driving my to distraction. I've figured out some things already with lots of web searches but selecting a column to sort and sorting it still eludes me.
hat this VB6 statement does?
BK(1) = IB(1) B0
And W1
what the back slash means. I am trying to convert a VB6 pgm to VB.Net.
I have this code that gets the hostname,IP and MAC address of computers under a certain domain name. but it is in C#. i am required to run the code under vb.net.[code]...
View 5 RepliesI've been trying to convert a little code snippet from C# to VB, but it s too hard for me.The problem is that it�s using Delegate and event handling[code]...
View 2 RepliesHow to convert pdf in to xml using vb.net.(windows)
View 3 RepliesI tried the code below to convert it to c#. But i am getting many errors when i use it.Like error related to || and && symbols using in c# version.[code]...
View 4 RepliesCan anyone can convert this SQL script in to a visual basic source code?..I know how can i do that in executing a stored procedure without parameter.But I have a hard time doing it with stored procedure with parameter.[code]....
View 1 Replies[code]...Convert To program From C#?
View 3 RepliesAm converting a VB6 project to VB.Net and need help with "AS ANY" type declaration in a function declaration.
Example:Declare Function BtrCall Lib "wbtrv32.dll" Alias "BTRCALL" (ByVal op%, ByVal PB$, db As Any) as integer
I know As Any is invalid in VB.Net
Most of the calls to this function will pass a String for the 3rd parameter however, there are two instances in my code where a User Defined Type /Structure is passed rather than string value.