Search results for query: *

  • Users: DevilAkuma
  • Content: Threads
  • Order by date
  1. 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...
  2. 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 =...
  3. 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.
  4. 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...
  5. 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!
  6. 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...
  7. 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...
  8. D

    Why the click event doesn't work in my menu project?

    Hello! I have a little problem. I've added a MainMenu to my project. The typical 'File' menu... I want to show/hide some MenuItems that have been added to this MainManu. So I've done double click in 'File' (in the design view) and a new function handling the Click event. The problem appears...
  9. D

    How can I know the selected tab in a TabControl?

    Hello! I'm sure, that this is a easy question, but I don't know the way to get the selected tab. I've hade a function that handles TabControl1.SelectedIndexChanged... When I select a tab in my form, this function takes the control, but I don't know where can i get the index. Ant idea? Thanks...
  10. D

    More problems with a RichTextBox: I can't change the text color!

    I only want to change the color of a word has been typed by the user... I'm dissapointed with this damned control. I don't know if it's plenty of bugs or I don't know how it works. In a previous post, I asked how can I know where I was (the position, of course) Well, I got it with this when...
  11. D

    Why I get an 'System.ObjectDisposedException' when open the second time a Form?

    I created a simple form with the .NET's assistant. At the top of the code, I have... Dim myForm As New myForm And when I click a button I do only this... myForm.Show() The first time runs very well, but when I close this form, and try to open it another time I get a sad...
  12. D

    More problems with a RichTextBox: Where Am I?

    Hello! Seems that my personal war against the RichTextBoxes will be long... Now, I need to know the exact position where the cursor is. I mean, I need to know where the user is tipying in this moment. When the user press any key, I can't take it whith a function that handles this event, but...
  13. D

    How can I get the final of the line in a RichTextBox?

    Hello! I'm working inside of a RichTextBox, and I need to change the color of a specific text. I can get the start very easy... Dim start As Integer = myRichTextBox.Find("text",0) But I don't know how can I get the final of the line. I've tried searching for the next carriage return...
  14. D

    How can I add TabPages dinamically?

    Hello! Well, I'm working in a application where the user can open several files. I have to show its content in different panels. The way to move through the panels is with the TabPage. I've created a TabControl previously, but I don't know how can I add a TabPage to him :( I don't know how...
Back
Top