DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 9 of 9

Threaded View

  1. #1
    Join Date
    Aug 2005
    Posts
    5

    Question VB Setup Projects File Associations, Port communication, & the .NET compact framework

    Hello,

    I have recently acquired the Visual Basic .NET 2003 software (to begin programming, I went through the Visual Basic .NET Step by Step book), and have some questions about VB .NET programming that I could not find answers to in the help files. If anyone can answer these questions, some samples in code would be very helpful too. The questions are:

    1. VB Setup Projects File Associations: I have been trying to create file associations (using a setup project) so that when a file is opened via Windows Explorer (say a text file: file1.txt) it will start with my program and the program will show the file chosen. The trouble I am having is that I can't find out how to make the program recognise and open the file selected in Explorer. The only thing that happens when I double click a file is that my program starts, but without showing the file. I think this is something to do with Actions, but where do I put the code, and how do I make it open the file selected??? Basically, what do I do?

    Here are the other questions:
    2. Port communication: Is there any way to communicate directly with ports (i.e.. the sockets at the back of the computer) that is not too complicated (like I think writing driver software would be)? I am thinking of making an electronic device to be controlled by the computer, so no current software would recognise it.

    3. .NET Compact framework: Would the .NET compact framework be suitable for desktop computers where installation size is important? If so, how do I obtain it (for redistribution)?

    If this is not descriptive enough, please tell me what else you need to know. I have tried many people, but nobody has been able to help.

    Thank you for your assistance.

    VBDever
    Last edited by VBDever; 08-16-2005 at 03:33 AM.

Similar Threads

  1. How to create Setup.exe file given a Vb Project
    By cooldude.i2k in forum VB Classic
    Replies: 3
    Last Post: 08-05-2005, 03:13 AM
  2. modifying xml file with VB
    By ssun in forum VB Classic
    Replies: 1
    Last Post: 07-22-2005, 02:20 PM
  3. Automated print to file from VB
    By Pon Thiagarajan TS in forum VB Classic
    Replies: 2
    Last Post: 02-14-2001, 09:31 PM
  4. Automated print to file from VB
    By Pon Thiagarajan TS in forum VB Classic
    Replies: 0
    Last Post: 02-14-2001, 11:04 AM
  5. How to insert a Text File into VB Projects
    By Vla in forum VB Classic
    Replies: 1
    Last Post: 11-23-2000, 12:48 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