Search results for query: *

  1. L

    how to read line by line from a text file from vb.net

    Yeah that is a great way to quickly get the file closed, so you can handle all the data without worrying about freeing the file up. But I'm anal like that.
  2. L

    how to read line by line from a text file from vb.net

    I'm in a hurry so my response may be rushed, but: br will remember the last line it read. And every time you call br.ReadLine() it will increment to the next line. Thus you can loop br.ReadLine() until it reaches EOF (End Of File). Welcome to vbdnf
  3. L

    Is there a VB.NET alternative to the Command function?

    Ah! Thanks a lot. We didn't think to look in System.Environment. You'd think it would be in Application. Thanks again.
  4. L

    Is there a VB.NET alternative to the Command function?

    [RESOLVED] Is there a VB.NET alternative to the Command function? To get the arguments passed to the program in VB6, you would use the Command function to get them. This exists in the Microsoft.VisualBasic namespace for .NET v1.1, but .NET 2.0 BETA does not have it. (A friend of mine has 2.0...
  5. L

    Help Me PLease

    You could alter the code a little to try each CD drive for a certain file on the CD, like he was saying. So run through each CD drive his code finds and check each for a special file you put on it. The one with that file is the one with your CD in it. Edit: You were saying how to check the...
  6. L

    Convert .Net code to VB 6 code

    There isn't a way that I know of. You CAN convert VB6 code to VB.NET code, sorta. Maybe that's what you were thinking of. If this program is for deployment purposes there are installer-maker programs that can check to see if the .NET framework is installed before continuing. Astrum is one...
  7. L

    Suggest me a Project

    To blow your instructor's socks off: -Chat program with file transferring, where users can browse other user's files (and display the associated icon for each file type). Include data encryption for the chat messages for extra sockoffage points. -An FTP server or client (or both) -An email...
  8. L

    Chat Application Modification

    Yeah send me both client and server please. ecg81 at yahoo dot com Edit: I can only see what I can do. I can get busy sometimes with things so it might be a free time kind of deal to help you out. If you don't hear from me in a couple days I'm sorry I'll try my best. I've done a lot of chat...
  9. L

    Chat Application Modification

    Yeah. Wouldn't hurt to see the client codes too please. I'll see what I can do after that.
  10. L

    malfunctioning string function

    Exactly what I was just thinking! Unless you switch to reading the html file line-by-line, this is a good suggestion. Then just For loop through the array bounds, parsing out all the unwanted html junk.
  11. L

    malfunctioning string function

    This isn't a solution to your problem necessarily but assuming you can load those lines into a variable and only those lines from your HTML...maybe this will help or give you a general idea of what to do: Dim marker As Integer Dim name As String 'This is where you'd load the string to be...
  12. L

    Send email from vb.net

    Point taken. While this is a good place to share .NET, it's classes, and overall VB.NET functionality -- it isn't a code vault either. I'm not the administrator of this website, so the previous sentence is my initial understanding. I mean, if you want code examples there are sites for this. If...
  13. L

    Send email from vb.net

    My only response is, if you can't code something yourself then maybe programming isn't for you. I don't mean to be rude, that's not my intention -- but if you use someones code for one project, you'll think you can get away with using someone's code for all other projects too. But I don't want...
  14. L

    items not displayed in listbox

    Hmm that's a weird one. I'm not sure how I'd go about fixing it but for the sake of giving your thread a bump I'll try: Check the font property, make sure it's at a font you have and at a readable size. Check the forecolor and backcolor of the listbox (I know, you said you did but try again...
  15. L

    A gag program... using the microphone

    I've got an idea for a gag program. Someone I know has a desktop microphone and has it on all the time. I want to write a program that runs in the background that can detect sound and play a .wav file that randomly says stuff like "SHUT UP!", "QUIET!", "SHUT UP, SHUT THE H**L UP, SHUT UP!!!"...
  16. L

    Unusually slow windows forms

    For those with similar problems I found a way to increase the speed. VS.NET comes with a program called "Dotfuscator" which removes unused classes, methods and fields. It also helps protect against reverse-engineering (crack & keygen making, basically) It increased the load time of two of my...
  17. L

    Determining the Windows folder location properly

    Yeah but I don't want to have to parse out the system folder, that's the thing. I don't want to hard code anything into it as I want it to work on any windows system. It is possible to install Windows on a drive other than C: (such as installing Windows 98, then dual booting a Windows XP...
  18. L

    Determining the Windows folder location properly

    It's more about locating the windows directory to further include any desired sub folders. Such as \temp, \drivers, \drivers\etc
  19. L

    Unusually slow windows forms

    Yeah. A splash screen would be fine -- at least the user would know that it's doing SOMETHING! But the problem is it seems to lag even before Sub Main(), the first place I could possibly start the splash screen. I just want to know why it's so slow before the main form is even declared... as it...
  20. L

    Determining the Windows folder location properly

    Thanks. That's better (really, it feels better). I just wish it was in specialfolders too.
Back
Top