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 SkipVought 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: *

  1. lrfcbabe

    Picturebox MouseDown MouseUp Background Color swap Drag and Drop

    I apologize I failed to mention PB1 is Blue and PB2 is Green when I initialize the DND action. 'First attempt mouse events' This only turns PB2 to Blue but PB1 is still Blue also but i want it to be Green. Private Sub PictureBox1_MouseDown(ByVal sender As Object, ByVal e As...
  2. 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...
  3. 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...
  4. lrfcbabe

    Static Drive Letter in Taskbar

    That will sufice guitarzan, I was not wanting the letter to change at all no matter what folder i was in on that drive. Thanks everyone for your responses.
  5. 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...
  6. lrfcbabe

    Table Append Record is too large

    I do not want to change the names of all the fields. Hope you do not mind me using this thread, it is all the same app. What can I do to preserve the column name? Thanks again Dim NDR As DataRow = DT1.NewRow() NDR(DT1.columns("Point On").ordinal) = strPointonPipeValue <-THIS DOES NOT...
  7. lrfcbabe

    Table Append Record is too large

    OOPS, my bad, cannot set type Boolean, Nullable.
  8. lrfcbabe

    Table Append Record is too large

    OK, if I comment out appending the FLAG column this works fine, when I add it back I get... COMException was unhandled Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done. Is FLAG a reserved word that I do not know about? Or is this...
  9. lrfcbabe

    Table Append Record is too large

    Thank You very much, that worked. Step 2 setting properties.
  10. 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") +...
  11. lrfcbabe

    Loop SQL statements

    The brackets get me past the first hurdle. Size is a structure in dotnet. SELECT Distinct Designation FROM GHPAS4TG ORDER BY Designation; SELECT Distinct [Size] FROM GHPAS4TG ORDER BY [Size]; SELECT Distinct WallThk FROM GHPAS4TG ORDER BY WallThk; SELECT Distinct MAOP FROM GHPAS4TG ORDER BY...
  12. lrfcbabe

    Loop SQL statements

    OK I am back on this again, I think I almost have it. I am getting this in the immmediate window. SELECT Distinct Designation FROM GHPAS4TG ORDER BY Designation; SELECT Distinct Size FROM GHPAS4TG ORDER BY Size; A first chance exception of type 'System.Data.OleDb.OleDbException' occurred in...
  13. lrfcbabe

    Loop SQL statements

    That didn't work either This didn't work either Do Until StrList = "UNK" Dim ds As DataSet = New DataSet() Dim dt As DataTable = New DataTable Dim SQLTxt As String If StrList = "Size" Then SQLTxt = "SELECT " & StrList & " FROM...
  14. lrfcbabe

    Loop SQL statements

    So I tried this but after the first loop again I get the same error on da.fill(ds, "Table") Private Sub RefreshQuery(ByVal StrList As String) Dim Tempconn As New OleDbConnection(System.Configuration.ConfigurationManager.AppSettings.Get("ConnectionString")) Dim SQLTxt As String...
  15. 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...
  16. 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...
  17. lrfcbabe

    DateReader I do not understand

    I used the percent sign and it is working great. strcngisfmdb = strcngisfmdb + " WHERE Title LIKE ""%" + txtS1 + "%"" AND Title LIKE ""%" + txtS2 + "%"" ORDER BY FILE;" passes SELECT * FROM tblTest WHERE Title LIKE "%Lake%" AND Title LIKE "%water%" ORDER BY FILE; And this returns all occurences...
  18. lrfcbabe

    DateReader I do not understand

    OK I can see all the comments now. I pasted SELECT * FROM tblA_Files WHERE Title LIKE "*lake*" AND Title LIKE "*water*" ORDER BY FILE; into access and this returned one record. I pasted SELECT * FROM tblA_Files WHERE Title LIKE '*lake*' AND Title LIKE '*water*' ORDER BY FILE; into access with...
  19. lrfcbabe

    DateReader I do not understand

    I am not seeing anything past Andys' second comment. I can't figure this site out.
  20. lrfcbabe

    DateReader I do not understand

    That is correct Skip. strcngisfmdb = "SELECT * FROM tbl" + cboDocumentGroup.Items(i).ToString + _ " WHERE Title LIKE ""*" + txtS1 + "*"" AND Title LIKE ""*" + txtS2 + "*"" ORDER BY FILE;" returns SELECT * FROM tblA_Files WHERE Title LIKE "*lake*" AND Title LIKE "*water*" ORDER BY...

Part and Inventory Search

Back
Top