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 bkrike 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: lrfcbabe
  • Content: Threads
  • Order by date
  1. lrfcbabe

    Picturebox MouseDown MouseUp Background Color swap Drag and Drop

    I want to mousedown picturebox1(PB1), mouseup picturebox2(PB2) to swap the background colors, Drag and Drop(DND). Mousedown PB1 returns PB1-blue, mouseup PB2 returns PB1-blue. Form_Mouseup event, groubox_mouseup(PB1,PB2 container) event have no affect. With that I am having an issue with...
  2. lrfcbabe

    Execute DOS Batch from file right click context menu with alias

    Hope this is not a repost, I can do this from DOS with a batch file 'Start "C:\...\iexplore.exe", "some http link"' And it works fine, I want to add this to the Right Click context menu when I click on a file of type n from windows explorer/folder view. I have looked through the registry trying...
  3. lrfcbabe

    Static Drive Letter in Taskbar

    I run a bat file to open up frenquetly used drives. They all show up in my Taskbar in a nice little group starting with external then local then mapped drives. Each displaying The assigned drive letter C, D, F etc. Is there any way I can cause windows to NOT change the drive letter displayed? I...
  4. lrfcbabe

    Table Append Record is too large

    When I add more than forty four columns, NewDB.Tables.Append(NewDB) throws an error "Record is to Large" Otherwise it to work perfectly. Private Sub CreateGPSMastertbl() Dim NewDB As New ADOX.Catalog() NewDB.Create(strConn + vFolder + "GPS" + DateTime.Now.ToString("yyyyMMdd") +...
  5. lrfcbabe

    Loop SQL statements

    After the first loop I get an error on command.executereader(), OleDbException occured, IErrorInfo.GerDescription failed with E)FAIL(0x80004005), error code -2147467259 Private Sub RefreshQuery(ByVal StrList As String) Dim Tempconn As New...
  6. lrfcbabe

    Datagrid Emulate Access

    I just hope this is not a repost of someone elses question, probably is. What I am thinking is how do I best use the datagridview to update an Access database. As if I was clicking on the save button in Access. Or should I create a dataset of the datagridview, delete the old/existing table, then...
  7. lrfcbabe

    DateReader I do not understand

    Is there a reason why one sql statement works and not the other? Public Sub ReadMyData(ByVal myString As String) 'This first statement is returned from the cbo_click and works fine 'SELECT * FROM tblA_Files ORDER BY File; 'This statement is returned by the bthSearch_Click and does not work...
  8. lrfcbabe

    Capture multiple instances of application GetObject()

    I have a VB app that looks at autocad to determine if a dwg file is open. I have run into a problem if the user has more than one instance of Autocad running or if the dwg file that is open still has an active command running such as Pan or Zoom. This throws up a message(Abort, Retry, Ignore)...
  9. lrfcbabe

    Multiple Autocad Instance VB6 control Application

    I have a VB app that looks at autocad to determine if a dwg is open. I have run into a problem if the user has more than one instance of Autocad running or if the dwg that is open still has an open command running such as Pan. This throws up a message and has an adverse affect on my app. With...
  10. lrfcbabe

    PictureBox Image clear dispose remove release

    In the example below I want to clear the image in the PictureBox so I can rename it. PB1.image = Nothing does not work, dispose does not work. I get the exception "file in use by another program" when I try to rename it. Private Sub btnRename_Click(sender As System.Object, e As...
  11. lrfcbabe

    Field Properties equivalent VB6 VB.Net

    This sets the Description property for a field in Access using VB6. Set prpfield = OutTD.Fields("Line") Set prop = prpfield.CreateProperty("Description", dbText, "Application-Pipeline, EED field-line_id") prpfield.Properties.Append prop What would the equivalent be using VB.Net? Here I am...
  12. lrfcbabe

    Create Description for Access database field

    With OutTD .Fields.Append .CreateField("Line", dbText, 5) .Fields.Append .CreateField("Designation", dbText, 100) .Fields.Append .CreateField("GORD", dbDouble) .Fields.Append .CreateField("ReBegPlus", dbDouble) These are a few of the fields I create in the table. When I open the...
  13. lrfcbabe

    Access Datebase Field Properties

    I am combining multiple databases into one. I need to read the properties of source field and duplicate them in the new database. I am having troubles reading the properties. This with error at Set prpDP because apparently DecimalPlaces is not a property. Type will get set to 7. I am looking...
  14. lrfcbabe

    Query Extended Entity Data, EED

    How do I define a query using Map 3D 2010 to produce results based on the values set within an objects Extended Entity Data, EED? Thanks
  15. lrfcbabe

    picturebox image resize mouse wheel

    How do I resize a picturebox using the mouse wheel? AKA zooming in and out using the wheel. I can adjust the image to fit the screen if it is taller or wider than its bounding area. PB1.height = pb1.height * 0.1 for mouse wheel back PB1.height = pb1.height * 1.1 for mouse wheel forward I can't...
  16. lrfcbabe

    2010 toolbar button image

    I have imported our custom menu from previous versions into AutoCad 2010 and for the most part everything seems to be working. Some toolbar buttons though show a cloud with a "?". OK, it cannot find the image, the image is in the "Support" folder along with all the others which appear on the...
  17. lrfcbabe

    Scrolling switch from Vertical to Horizontal

    I wasn't sure where to post this. This has been going on for quite some time but In Access and Excel 2003 something is causing the Scroll to switch from Vertical to Horizontal. I did not have this issue in VB6 but since I have installed VS2008 it started doing it in '08 as well. Actually the...
  18. lrfcbabe

    VScrollbar1.value = 0

    This is my VB6 code and it works fine. If Image2.Height > Screen.Height Then VScroll1.Visible = True VScroll1.Value = 0 ' Vscroll1.setfocus Else VScroll1.Visible = False End If This is my 2008 code that is breaking out when it reaches the VScroll1.Value = 0 statement. If...
  19. lrfcbabe

    Name of Worksheet into cell

    Excuse me for asking this again but I am confused on one thing. If I open an Excel spreadsheet ("Myfile.xls") it opens up using the Excel application. This is also for the most part considered a "Workbook", for me anyway being a VB(A) kinda person. In that "Workbook" there are multiple...
  20. lrfcbabe

    Dir() fails on network

    Dir("\\comp1\d$\*") is what is failing. I have a list of boxes on the network. If any 2 of the boxes in the list are OFF, not booted up, the second box in the list will fail with error 52. comp1(off), comp2(off), comp3(off)-fails on comp2 comp1(on), comp2(off), comp3(off)-fails on comp3...

Part and Inventory Search

Back
Top