Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: mHos
  • Order by date
  1. mHos

    Datagrid View display

    Keyth-- Thanks for the Code. I decided to do my columns this way, and it does load faster. I have found that for some Unknown reason when I set dgv.DataSource = myDataTable it binds the data twice. Weird. Also, I figured out that my columns were being centered before, but it just didn't...
  2. mHos

    Datagrid View display

    I am working with the DataGridView in VB.Net2005. I am having problems with the way that it loads and displays the data. I have added it to my form and set several properties at design time and runtime, however the column and row headers are not displaying properly when I set my datasource and...
  3. mHos

    Highlighting not working with MSFlexGrid in VB.NET

    Hi-- I am working on a project that uses VS2003. I have an MSFlexgrid control added to my form. I have set several properties at design time for the flexgrid so that when a cell is selected, the entire row is selected. However, when I run the program, and select one or many rows, nothing is...
  4. mHos

    Systray Icon not disposing correctly

    Ron Thanks for the reply, but I wasn't associating the sysTray Icon with a form, so I couldn't do it quite like that. I had added the disposing of the Icon to an overloaded Dispose event on my custom ApplicationContext class, but it wasn't being correctly called, so I just moved it so that it...
  5. mHos

    Systray Icon not disposing correctly

    I figured it out!! I just needed to dispose of my icon before I exited my thread!! Thanks, mHos
  6. mHos

    Systray Icon not disposing correctly

    I have an app that uses a systray icon. When I exit the app, I notice that my icon is still in the systray. If I go to mouse over it, it disappears, so I know that it is actually gone. How can I force the systray to redraw so that the icon is no longer is visible? thanks, mHos
  7. mHos

    How to use axHost.GetPictureFromIPictureDisp???

    I am using a com object that was created using vb 6. It returns an IPictureDisp object. I need to get the Image from that object. I cannot just use the Microsoft.VisualBasic.Compatibility runtime because in the Visual Studio 2003 it is not allowed to be added as a reference. I found that if I...
  8. mHos

    Need Help loading an Embedded Bitmap Object.

    If your .jpg is an embedded resource then you should just be able to do ( should work for icons too) sourceBitmap = new Bitmap(me.getType(), "title.jpg") you need to make sure that the title.jpg is spelled exactly correct or else it won't find it. if it isn't an embedded resourc...
  9. mHos

    autoScroll event for a Panel --> where is it?

    I figured this one out too. I feel really dumb. It was something really simple. I was trying to access the paint function for the panel. This never gets drawn on, it is covered all of the time by the picturebox. I needed to use the paint function on the Picturebox. Then when I would scroll it...
  10. mHos

    releasing file after put into PictureBox

    You also have to do a .dispose on the picture box. ie. pbox1.image.dispose() then that should release the reference to the object that is holding it up and allow you to delete it.
  11. mHos

    autoScroll event for a Panel --> where is it?

    I am creating a legend in a picture box that is set inside of a panel. I have done this so that I can resize the picture box to whatever size I want and when it gets larger than the panel, scroll bars will automatically appear and handle the scrolling for me. This works wonderfully. My...
  12. mHos

    Selection of first item in ListView on Load

    I figured it out. I move those two calls to a pre-Load function, and that is why it was having problems. I found that if I did everything else in a pre-load function, and then just did those two calls in the load function, that it worked.
  13. mHos

    Selection of first item in ListView on Load

    I am having trouble with the listView in VB.NET. This seemed to be working the other day, and now it isn't. Now I get an error -> it tells my that my index is out of bounds of the collection or array size (or something like that). DETAILS: I have a listview in report mode. I have added my...
  14. mHos

    How do you release a file from an application

    I also am doing this and was having a problem. After I was done with the picture i did this, and it allowed it. picturebox.image = nothing picturebox.image.dispose() Kill(filname) This worked for me, hope it helps
  15. mHos

    releasing file after put into PictureBox

    I am using pictures that are embedded into a database. I can create the files, and load the picture into the picturebox. My problem arises that after I am done using the picture, I need to kill the temporary file, but I keep getting an error saying that I can't access that file because it is in...
  16. mHos

    Uploading and Retrieving images from the database using VB.net

    if the image is embedded in the database it is probably binary. You have to create a temp binary file from the data read in from the database, then you load that into the image in your picture box. hope that that gives you some ideas.
  17. mHos

    debugger--won't stop at breakpoints

    icca-- thanks for letting me know that I'm not the only one. I'll keep trying to get it to work. Right now, debug.writeline will have to become my best friend!!
  18. mHos

    debugger--won't stop at breakpoints

    I have it set through the configuration to start and external .exe on startup that my dll links into. I have multiple forms in this dll and the breakpoints work correctly everytime in all the other forms, but not in this one. I have even tried creating a new form and copying my code over, but...
  19. mHos

    debugger--won't stop at breakpoints

    I am creating a VB.NET dll. I have created a form and set several breakpoints. It will stop at some of the breakpoints, and not at others. I have checked that debugging is enabled, several times i've deleted the entire \bin folder, forcing it to recreate itself, restarted my machine, etc. And...

Part and Inventory Search

Back
Top