Search results for query: *

  1. D

    Change the name of a File?

    Wow! There were many ways to do it! Thanks to everyonev :)
  2. D

    Change the name of a File?

    It's done! FileSystem.Rename(path1, path2)
  3. D

    Change the name of a File?

    Hello! It's possible to change the name of a File? My problem is that I want to change file.txt to file.xls. If I use File.copy(.../file.txt, .../file.xls) and after that erase the first file, some values are changed. Values relationated with dates... Is is possible ONLY to change the...
  4. D

    Problems reading an Excel from VB .NET

    Sorry! I'm spanish and my english is so bad :(
  5. D

    Problems reading an Excel from VB .NET

    Yes! Actually, I'm doing it now with a Try/catch, but... Is there any attribute that can tell me if its opened and who is the owner before the exception is launched? Thank in advance!
  6. D

    Problems reading an Excel from VB .NET

    More or less, I've solutionated the problem. I've created a little function that opens my Excel, and inserts headers :) But now I've a another mess... Can I know (before trying to read/write my file) if the Excel that I want to execute is already opened? Thanks in advance
  7. D

    Problems reading an Excel from VB .NET

    Hello! I've a little problem when I try to read an excel file. The problem is that the system eats one file of data from the excel! I think that it's waiting to read and excel with headers, but my file doesn't have headers... All is valid dates! I read the file with this: objOleConnection =...
  8. D

    Is possible to install .NET framework in a non Winows system?

    But I think that with this IDE, you can create apps that there will be compatible in Windows, UNIX... but I need to install my app in a Linux (And I don't know how can i put the .NET framework) Isn't it?
  9. D

    Is possible to install .NET framework in a non Winows system?

    I've made an application in VB .NET. If I install it in a Windows (without .NET) I have to install it, and the application runs very well. My question is: Is any way to execute my app in a Linux or Mac system. Thanks in advance.
  10. D

    Save a word in my application?

    Ok... I'll try to write in the registry... Thanks a lot!
  11. D

    Save a word in my application?

    Hello! I need to save a little string in my application. But this change is needed to be keeped (I can't loose this string when the user close the application) I've thought to use an external file (.TXT or something like this) but it's not very elegant, and I think that there's better ways to...
  12. D

    How can I change my program icon?

    Thanks a lot!
  13. D

    How can I change my program icon?

    Hello! I need to change application's icon... But not the icon of the main form. I'm talking about the application icon that appears in the 'bin' folder when the project is created. Anyone knows the way? Thanks in advance!
  14. D

    How can I know where Am i in a RichTextBox?

    Hello! My problem is this: I've some words in a richTextBox. I want that when I over them a minipanel appear (that contains a little explanation about the word) Like a typical tooltipo, more or less. So, I've been triying to do it, but I can't. I wanted to do it with the MouseHover event, but...
  15. D

    Is it possible to emulate the 'Control+C' process?

    I've been trying with different ways, but I don't get it. No problem... I think that (with this little problem) is so good for my boss' expectations :) Thanks a lot
  16. D

    Is it possible to emulate the 'Control+C' process?

    Sorry, but I'm spanish and my English is not so good :o I want to lose formatting wher I paste text, but I want to keep formatting when I copy. Imagine that my richtextBox is an editor like .NET (whith some words in colour, and some words underlined because are wrong) I would like that if you...
  17. D

    Is it possible to emulate the 'Control+C' process?

    Wow! Bob Langlade you are my hero! Runs perfectly! One question: Do you know why when y use the 'SendKeys.Send("^C")' method the selected text loses its style? For example, If I click my paste button (or click Control + C directly) in a red text, this text turns automatically black. So, I use...
  18. D

    Is it possible to emulate the 'Control+C' process?

    I've tried to post this code, but doesn't work. The object My is nos recognize by the VB. I'm working with .NET 2003 (NET 1.1) Is it a problem? I can read in http://msdn2.microsoft.com/en-us/microsoft.visualbasic.devices.computer.aspx that this object only runs with NET 2.0 :confused::confused...
  19. D

    Is it possible to emulate the 'Control+C' process?

    I tried with the jmcilhinney's solution before posting here. Now I've tried with Bob Langlade's solution and more or less works But I can't fix my first problem... The action is done... when I selected a text, and click in my tool bar (not task bar, thanks) the text is pasted but is pasted with...
  20. D

    Is it possible to emulate the 'Control+C' process?

    Hello! I have a richTextBox with text. I would have the typical context menu (with Copy, Paste, Undo, Cut...) but when I right-click in mi rich, no one appears! So, I want to add some buttons to my taskbar (Sorry, I did'nt mention... I have a task bar too ;)) with the typical options: Copy...
Back
Top