Advertisement

Results for "Author: foxsermon"

Java_Volume1 #99445
Do you know that you can call Java classes from Visual Basic ??

Do you know that you can call Java classes from Visual Basic ?? well, that's not a fair tale anymore, it's possible. let me guide you through this adventure. Firts at all, we need a Java class, Here you will find an example: Java Code //************************************************** public class MyTest { public int myfunction(int value1, int value2) { return value1+value2; } } //*************************************************** Compile it i.e. javac MyTest.java and when you get MyTest.class file, you must register it for this you will need Microsfot SDK for Java you can download from this link http://www.microsoft.com/java/download/dl_sdk40.htm when you have downloaded and installed. include it on Path variable enviroment just do it using Command Ms-DOS set path=%path%;C:\Program Files\Microsoft SDK for Java 4.0\bin\ (this path could change) then you must register our MyTest.class file. you should do it using javareg.exe file from Microsoft SDK for Java i.e. javareg /register /class:MyTest /progid:MyTest if everything is well-done then you should see a MessageBox displayed with Succesfull register Class message. Otherwise, you must check the correct spelling on the command line. Now, the next step, copy the new Java class file that was generated. MyTest.class and paste in C:\Winnt\Java\Trustlib\ folder if you have windows 98, this folder may change. And the last step, open a New Project on Visual Basic. And paste this brief code on the Form Load event for example and run it. Set x = CreateObject("MyTest") MsgBox x.myfunction(1, 1) Congratulations !!! you can use Java Class from Visual Basic. Please do not forget to vote for this article. =)

Java_Volume1 #100785
ADO & VC++, NO ODBC

ADO & VC++ Connection I'm not using ODBC, VC++ tries to connect to Access file with ADO Objects. I know part of the code has been submitted before, but the current project it's opening in a Window instead of DOS console. Plus I'm not using ODBC stuff. Thanks =)

Java_Volume1 #103442
How Connecting a Access Table Using C#

This example showes you how to access a Microsoft Access Table using a C# class. Any feed back will be appreciate. Do not forget to vote !!!

2_2002-2004 #114306
Invoking a Java Class from VB Project and getting some data from an Access file.

This mini tutorial explains how you can create a Java class and the invoking it from a VB project, this java class gets some data from an Access file and will show it in the VB project. Of course you need the Microsoft SDK for Java 4.0, microsoft removed it from its site so I found it in another web site, I included the link within my mini tutorial.

2_2002-2004 #122725
Do you know that you can call Java classes from Visual Basic ??

I updated my article, cause for some reasons, Microsoft removed the SDK from its site. So finally I found it in another place (its include below) I did test it and worked it again. So if anyone wants to know how it works, just try it. Any problem, dont hesitate to contact me.

2_2002-2004 #125595
Aqua Studio Freeware

Please check it out. It is a good tool.

2_2002-2004 #126592
Do you know that you can call Java classes from Visual Basic ??

Do you know that you can call Java classes from Visual Basic ?? well, that's not a fair tale anymore, it's possible. let me guide you through this adventure. Firts at all, we need a Java class, Here you will find an example: Java Code //************************************************** public class MyTest { public int myfunction(int value1, int value2) { return value1+value2; } } //*************************************************** Compile it i.e. javac MyTest.java and when you get MyTest.class file, you must register it for this you will need Microsfot SDK for Java you can download from this link http://www.microsoft.com/java/download/dl_sdk40.htm when you have downloaded and installed. include it on Path variable enviroment just do it using Command Ms-DOS set path=%path%;C:\Program Files\Microsoft SDK for Java 4.0\bin\ (this path could change) then you must register our MyTest.class file. you should do it using javareg.exe file from Microsoft SDK for Java i.e. javareg /register /class:MyTest /progid:MyTest if everything is well-done then you should see a MessageBox displayed with Succesfull register Class message. Otherwise, you must check the correct spelling on the command line. Now, the next step, copy the new Java class file that was generated. MyTest.class and paste in C:\Winnt\Java\Trustlib\ folder if you have windows 98, this folder may change. And the last step, open a New Project on Visual Basic. And paste this brief code on the Form Load event for example and run it. Set x = CreateObject("MyTest") MsgBox x.myfunction(1, 1) Congratulations !!! you can use Java Class from Visual Basic. Please do not forget to vote for this article. =)

2_2002-2004 #127932
ADO & VC++, NO ODBC

ADO & VC++ Connection I'm not using ODBC, VC++ tries to connect to Access file with ADO Objects. I know part of the code has been submitted before, but the current project it's opening in a Window instead of DOS console. Plus I'm not using ODBC stuff. Thanks =)

2_2002-2004 #130590
How Connecting a Access Table Using C#

This example showes you how to access a Microsoft Access Table using a C# class. Any feed back will be appreciate. Do not forget to vote !!!

3_2004-2005 #132850
Invoking a Java Class from VB Project and getting some data from an Access file.

This mini tutorial explains how you can create a Java class and the invoking it from a VB project, this java class gets some data from an Access file and will show it in the VB project. Of course you need the Microsoft SDK for Java 4.0, microsoft removed it from its site so I found it in another web site, I included the link within my mini tutorial.

3_2004-2005 #141269
Do you know that you can call Java classes from Visual Basic ??

I updated my article, cause for some reasons, Microsoft removed the SDK from its site. So finally I found it in another place (its include below) I did test it and worked it again. So if anyone wants to know how it works, just try it. Any problem, dont hesitate to contact me.

3_2004-2005 #144139
Aqua Studio Freeware

Please check it out. It is a good tool.

3_2004-2005 #145136
Do you know that you can call Java classes from Visual Basic ??

Do you know that you can call Java classes from Visual Basic ?? well, that's not a fair tale anymore, it's possible. let me guide you through this adventure. Firts at all, we need a Java class, Here you will find an example: Java Code //************************************************** public class MyTest { public int myfunction(int value1, int value2) { return value1+value2; } } //*************************************************** Compile it i.e. javac MyTest.java and when you get MyTest.class file, you must register it for this you will need Microsfot SDK for Java you can download from this link http://www.microsoft.com/java/download/dl_sdk40.htm when you have downloaded and installed. include it on Path variable enviroment just do it using Command Ms-DOS set path=%path%;C:\Program Files\Microsoft SDK for Java 4.0\bin\ (this path could change) then you must register our MyTest.class file. you should do it using javareg.exe file from Microsoft SDK for Java i.e. javareg /register /class:MyTest /progid:MyTest if everything is well-done then you should see a MessageBox displayed with Succesfull register Class message. Otherwise, you must check the correct spelling on the command line. Now, the next step, copy the new Java class file that was generated. MyTest.class and paste in C:\Winnt\Java\Trustlib\ folder if you have windows 98, this folder may change. And the last step, open a New Project on Visual Basic. And paste this brief code on the Form Load event for example and run it. Set x = CreateObject("MyTest") MsgBox x.myfunction(1, 1) Congratulations !!! you can use Java Class from Visual Basic. Please do not forget to vote for this article. =)

3_2004-2005 #146476
ADO & VC++, NO ODBC

ADO & VC++ Connection I'm not using ODBC, VC++ tries to connect to Access file with ADO Objects. I know part of the code has been submitted before, but the current project it's opening in a Window instead of DOS console. Plus I'm not using ODBC stuff. Thanks =)

3_2004-2005 #149133
How Connecting a Access Table Using C#

This example showes you how to access a Microsoft Access Table using a C# class. Any feed back will be appreciate. Do not forget to vote !!!

4_2005-2006 #161591
Do you know that you can call Java classes from Visual Basic ??

I updated my article, cause for some reasons, Microsoft removed the SDK from its site. So finally I found it in another place (its include below) I did test it and worked it again. So if anyone wants to know how it works, just try it. Any problem, dont hesitate to contact me.

4_2005-2006 #161592
ADO & VC++, NO ODBC

ADO & VC++ Connection I'm not using ODBC, VC++ tries to connect to Access file with ADO Objects. I know part of the code has been submitted before, but the current project it's opening in a Window instead of DOS console. Plus I'm not using ODBC stuff. Thanks =)

4_2005-2006 #161593
Aqua Studio Freeware

Please check it out. It is a good tool.

4_2005-2006 #161594
Invoking a Java Class from VB Project and getting some data from an Access file.

This mini tutorial explains how you can create a Java class and the invoking it from a VB project, this java class gets some data from an Access file and will show it in the VB project. Of course you need the Microsoft SDK for Java 4.0, microsoft removed it from its site so I found it in another web site, I included the link within my mini tutorial.

4_2005-2006 #161595
How Connecting a Access Table Using C#

This example showes you how to access a Microsoft Access Table using a C# class. Any feed back will be appreciate. Do not forget to vote !!!

Languages
Top Categories
Global Discovery