DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Ganesh Guest

    Is it better to create this interesting component in JAVA or VB???


    1. I have a text file (saila.txt) which contains some document in
    "lowercase".
    2. When I open a Word application and select the file (saila.txt), I want
    to view the contents of the text file (saila.txt) to be in "UPPERCASE".

    3. I want to create a component that will do the conversion from lowercase
    to UPPERCASE just before the file content is loaded.





  2. #2
    GJ Guest

    Re: Is it better to create this interesting component in JAVA or VB???

    If you want my two cents... I would implement it in VB, so you can compile
    it down to native code. You'll get better performance, especially with string
    manipulations... I would personally prefer to implement it in C++, but I
    think VB would be better than Java in this case.


    "Ganesh" wrote:
    >
    >1. I have a text file (saila.txt) which contains some document in
    >"lowercase".
    >2. When I open a Word application and select the file (saila.txt), I want
    >to view the contents of the text file (saila.txt) to be in "UPPERCASE".


    >
    >3. I want to create a component that will do the conversion from lowercase
    >to UPPERCASE just before the file content is loaded.
    >
    >
    >
    >
    Last edited by Brad Jones; 05-27-2008 at 08:22 AM.

  3. #3
    Paul Clapham Guest

    Re: Is it better to create this interesting component in JAVA or VB???

    Since you have already decided you want to use (Microsoft) Word, your best
    course of action is to write a Word macro to upper-case the text as it is
    loaded.

    However, if you had stated your problem differently, e.g.

    1. I have a text file (saila.txt) which contains some document in
    "lowercase".
    2. I want to view the contents of the text file (saila.txt) to be in
    "UPPERCASE".
    3. I want to create a component that will do the conversion from lowercase
    to UPPERCASE just before the file content is loaded.

    Then you would have a meaningful question.

    PC2

    "Ganesh" wrote in message

    >
    > 1. I have a text file (saila.txt) which contains some document in
    > "lowercase".
    > 2. When I open a Word application and select the file (saila.txt), I want
    > to view the contents of the text file (saila.txt) to be in "UPPERCASE".
    >
    > 3. I want to create a component that will do the conversion from lowercase
    > to UPPERCASE just before the file content is loaded.
    Last edited by Brad Jones; 05-27-2008 at 08:23 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links