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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by mansii

  1. mansii

    With Command Looping

    Yes, Andy. Copy-paste thing. :p Thank's.
  2. mansii

    With Command Looping

    In addition, you can combine Dave's code with mine: For Each ctr As Control In Me.Controls If TypeOf ctr Is DataGridView Then With ctr FormatDataGridView(ctr) End With End If Next Regards
  3. mansii

    With Command Looping

    Hi. One thing that crossed my mind is iterating through all controls in the form. Check if one control is DataGridView, then play something about it. For example: For Each ctr As Control In Me.Controls If TypeOf ctr Is DataGridView Then With ctr .... End With...
  4. mansii

    Displaying a league-table in a form

    It really depends on you. Here's some controls that I usually use: Listview, DataGridView, and WebBrowser.
  5. mansii

    Update Command is not working when dataset is populating fields

    Have you tried: '\\ THEN HERE IS THE ON CLICK CODE (VERY SIMPLE) Dim Str As String Str = "UPDATE tbl_indirect SET Approval = '" & "Y" & "', Code = '" & Me.Code.Text & "', Starttime = '" & Me.StartTime.Text & "', Stoptime = '" & Me.StopTime.Text & "', Totaltime = '" &...
  6. mansii

    Use sql query to populate a form

    Hi. The question is not clear enough for me. I believe that you didn't find any trouble in populating the query result to the form. So, I assume that the problem is how to update the edited data. But first, you forgot to mention how you updated the database. According to what I have experienced...
  7. mansii

    MS Word 2007 Automation

    Not sure bout this, but you can give it a try: strLetter.Append("John Smith" & Environment.NewLine) Good luck.
  8. mansii

    DataRowCollection .CopyTo

    you only declare the object Dim dRow As DataRow() without instatiating to any x-dimension array. Regards.
  9. mansii

    Find the folder name and path

    Are you saying that the other.exe's path is unknown? Dim OtherExe As String() = IO.Directory.GetFiles("E:\", "other.exe", IO.SearchOption.AllDirectories) If OtherExe.Length = 1 Then 'Found, unique ElseIf OtherExe.Length = 0 Then 'Not found Exit Sub Else 'Found, not unique...
  10. mansii

    Find the folder name and path

    IO.Path.GetDirectoryName(Application.StartupPath)
  11. mansii

    Modal Dialogbox disappearing when switching to other virtual desktop

    Unfortunately, I have a 32 bits machine. Yeah, this might be the cause. Not so sure. Sorry, Rick. Regards.
  12. mansii

    Modal Dialogbox disappearing when switching to other virtual desktop

    Strange. I did a test without any problem. Wouldn't you think that it is a compatibility problem?
  13. mansii

    Modal Dialogbox disappearing when switching to other virtual desktop

    Dear Rick, Sorry for the long silence. I setup Actual Windows Manager (the latest demo version) on my Vista PC, create such Modal Form (in VB Net 2005) and did a test. Using the default setting of the Actual Windows Manager, I didn't find any problem in switching to any other Virtual windows...
  14. mansii

    Modal Dialogbox disappearing when switching to other virtual desktop

    Seems fine to me, except that you put something in the dlgDatabase's lost focus or similar events. Another thing that crossed my mind is whether the dlgDatabase form has accept and cancel button set. Would you tell us more about the dlgDatabase form? Regards.
  15. mansii

    Modal Dialogbox disappearing when switching to other virtual desktop

    Hi Rick, Perhaps you could show us a piece of your code here. Regards.

Part and Inventory Search

Back
Top