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 IamaSherpa 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. woyler

    Using column description as column header instead of column name

    Sorry, misread the question. My fingers were more anxious than my eyes.
  2. woyler

    send keypress with mouse event

    Almost, I am doing a touchscreen application that utilizes the listbox control. The user may select one or more items, sometimes in a consecutive order, sometimes not. I would like to have it so the user can drag down the list and select all items touched without having to touch/remove, touch...
  3. woyler

    Using column description as column header instead of column name

    After you set the datasource and set your bindings, you can change the column attributes... YourGrid.Columns(0).HeaderText = "MyDescription" YourGrid.Columns(0).Width = 100
  4. woyler

    send keypress with mouse event

    Hi All, Anyone know how to mimic a keypress within the mousedown event? When the user left clicks the mouse on a listbox, I want to add a CTRL press with it.
  5. woyler

    Encoding.Default.GetString

    ZmrAbdulla, Thank you for the responses. But I think my point is being missed. The underlying question is how the decode method handles empty byte elements in an array. It is not coming through as a space. It is an empty sting, or ASCII NULL (ascii value is 0). you cannot do a replace on...
  6. woyler

    Delete row in Datagrid using checkboxes

    What exactly is the issue you are running into? Can you post your code up to this point?
  7. woyler

    Probem with WHERE only in code

    Just a suggestion that you should look toward datasets and datareaders, and move away from the recordsets BOF/EOF. It is faster , cleaner and more robust.
  8. woyler

    Catching Exceptions

    Try; System.Reflection.MethodBase.GetCurrentMethod.Name
  9. woyler

    SqlException was unhandled - search sql db from textbox

    It is your SQL structure; try, Dim ad As String = "Select * from Iss_Res where " & _ "Issue LIKE '%" & Text & "%' OR Resolution LIKE '%" & Text & "%'"
  10. woyler

    Encoding.Default.GetString

    I have. As well as any other string manipulation I could think of. Even after a Trim, the Length of the string variable always equals that of the original array declaration. In this cae 30. so using the example above; dim s_Artist AS String = Encoding.Default.GetString(b_Artist, 0...
  11. woyler

    Encoding.Default.GetString

    That is my point. None of those characters exists in the string. The issue is the fact that the empty bytes are at the end of the returned string. The only way around it I have found is to check the value of each byte in the array until I find the first empty byte. Then redim and preserve...
  12. woyler

    Encoding.Default.GetString

    I thought the GetString method removed the empty bytes from the array. Guess not.
  13. woyler

    Encoding.Default.GetString

    Hi all, When using the GetString method to decode bytes into a string, I am having an issue where the string is incomplete. The decode works fine and the return string can be used as a value into a textbox or messagebox, but not for reference to a file path or anything of that nature. I am...
  14. woyler

    Windows Service

    It is best not to use the timer control. You should delare the timer; Public tmrRun As New System.Timers.Timer() Protected Overrides Sub OnStart(ByVal args() As String) tmrRun.Interval = 60000 tmrRun.Enabled = True 'add the code to handle the tick event AddHandler...
  15. woyler

    Suspended status

    The solution is to disable parallel query execution. http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/Q_22850924.html
  16. woyler

    Suspended status

    It happens regardless of the credentials. I initially was using a readonly SQL account. I have tested the scenario with the sa account and have the same results.
  17. woyler

    Suspended status

    Thanks for the response Paul. Unfortunatly , I dont follow your question. The issue occurs regardless of the credentials I am using with RS.
  18. woyler

    Suspended status

    Hi All, Using SQL Server 2005 w/ SP2 I have a simple select query with a parameterized WHERE clause that in Management Studio runs nearly instantly, everytime. Using the same login, when I run the same query using SQL RS the results (only 6 rows) takes upwards of 5 minutes. If I look at the...
  19. woyler

    DNS A record timestamp

    Hi all, Is there anyway to see the creation timestamp on the resource record (A record) in DNS? I need to troubleshoot a scavenge issue. thanks Bill
  20. woyler

    View RR timestamp

    I did not see the DNS forum. I will post there. If there is a mod, can you delete this please? regards

Part and Inventory Search

Back
Top