Search results for query: *

  • Users: Snowflake
  • Content: Threads
  • Order by date
  1. S

    .NET Regular Expression Regex Query

    Hi there, I need some assistance with a regex pattern. What I am trying to do is filter files based on a regex expression What the expression needs to do is find files that do not start with [f-z]\d{5} but do end in \.(dat|set) I did try [^[f-z]\d{5}]\.(dat|set) but unfortunately it did not...
  2. S

    Question how to detect mouse button state during DragDrop

    I am new to WPF and am having a few problems detecting whether the left or right button is pressed during a DragEnter event. I was expecting a MsgBox to appear but I get nothing. Thanks for any help XAML Code <Grid> <Button x:Name="btn1" Content="Button" HorizontalAlignment="Left"...
  3. S

    Question RichTextBox Highlighting Undo

    I have a small problem which I hope you can help me with I have a RichTextBox which contains a small amount of text entered by the user I have written the code to highlight certain words as they are being entered, similar to syntax highlighting The problem is that the RichTextBox undo history...
  4. S

    Question How to use SQL commands with DataSets

    What I want to do is load two tables from MS Access into VB.NET and modify the data they contain with SQL statements I have managed to copy the two tables into a dataset, but now I am stuck on how to run SQL commands on them Someone did say that if your data is in a dataset you cannot use SQL...
  5. S

    Question How to use a function from an unmanaged DLL

    Can anyone please tell me how to declare this unmanaged function in my VB.NET project, I have been at it for hours and I am getting nowhere:confused:. The integer's and even the struct I can probably manage, but I am having real problems with pointers and the callback. The function in the...
  6. S

    Question Calculating the largest value of A

    I am not sure if I have working on this too long, but I can not see a better way of finding the largest value of A, can you help? For your information The size of the form can change Grid is a 2 dimensional array of squares which are drawn onto the window Private Function CCC() As Short...
  7. S

    Question How to detect control characters in database fields

    What is the best way to detect and remove control characters (TAB,CR,LF) from fields in a database table?
  8. S

    Question Assistance required debugging an ArrayList

    I am trying to write some code to add string arrays (Sitem) into an arraylist (Slist), but for some reason all the items in the arraylist end up containing the same string array (Sitem) values. Text File excerpt Runner Lake 01-04-1994 09:43 Stalk Pool 03-04-1994 09:46 All Slist items contain...
Back
Top