Search:

Type: Posts; User: Dnereb

Page 1 of 13 1 2 3 4

Search: Search took 0.23 seconds.

  1. Re: VB.NET : Algorithm for images comparison

    You don't need an algoritm, you need to define a threshold both in color diffrence and pixel position.

    as an thought example;
    The pixel your'e comparing should not be compared only by the on the...
  2. Replies
    4
    Views
    1,372

    4.0 Re: Winfows Forms scrollbars

    Yes, you need to override the paint event and take care of how the scroll bar looks yourself.
    Having said so, getting it look and work just the way you want it to be is quite a pain
  3. Re: Stored procedure takes twice as long to run than select statement......

    So the simple answer is:
    creating and filling a temp table and retriving the data from the temp table
    Takes far more time then retrieving the data at once.. from the original table.

    It's kind a...
  4. Re: Looking for recommendations: How to share data between 2 programs

    Maybe,

    this isn't usefull
    But I would use a server as go between.
    The application creasting the data would send it through e wabservice to a server.
    On the server a database is installed.
    and...
  5. Access front end MSSQL Backend and a trigger inserting on another table.

    Hi All,

    I'm trying to solve an issue.

    The basic situation is like this:
    There's an Access front-end and it inserts a record on a MSSql Back-end database with a Integer as identity. But the...
  6. Re: Enforce interface implementation on propperty

    Hi FunkyDexter,

    No, IExposedObject is the interface that's implemented. But you did set me on the right way for an escape route



    Public Property ObjectToExpose As IObjecttoExpose Implements...
  7. Replies
    5
    Views
    1,804

    VS 2010 Re: How to delete Computer Object in AD

    Hi,

    to help people to help you, maybe you should explain AD before using it.

    Furthermore just getting another users credentials is not possible, running something as administrator is possible...
  8. Enforce interface implementation on propperty

    Hi All,

    I'm in a situation I need to Expose an object.
    the object I need to expose in a namespace I'm not allowed to reference directly as the application is modular and the module can be loaded...
  9. Replies
    8
    Views
    13,290

    Re: Prevent Focus on textbox in code

    Hi dbasnett,

    Thx for your thoughts

    I'm in a user control to be used on many forms.
    In essence this control must be usable just like a normal textbox drop on the form and bind to data or...
  10. Replies
    3
    Views
    918

    Re: Is .NET Copy Local Good???

    Hi mnxford

    .Net requires the .Net Framwork you can't roll out a .net application without a framwork installed on the client computer.
    As the JIT compiler is part of the framework.
    If a dll is...
  11. Replies
    5
    Views
    1,037

    Re: append text to each item in list(of T)

    The basic thing you have to do is



    For Each itm In List

    itm.propertyToAlter = "added prefix to: " & itm.ProppertyToAlter

    Next
  12. Replies
    8
    Views
    13,290

    Re: Prevent Focus on textbox in code

    Was running along the same line. and as Usual things are a bit more complicated then MSDN let's you believe

    The problem I'm not able to solve is if a form has zero controls that can recieve focus,...
  13. Replies
    8
    Views
    13,290

    Re: Prevent Focus on textbox in code

    I want that because it's standard behavior for a textbox.
    You can't focus on a disabled textbox. But I want to keep the forecolor black for readabilty reasons.
    normal disabled textboxes are hard...
  14. Replies
    8
    Views
    13,290

    Re: Prevent Focus on textbox in code

    Hi techgnome


    some users have the right to edit tekst others don't
    sometimes entry's are locked by other users
    sometimes the object is locked due to it's status.

    and it's normal to show data...
  15. Replies
    8
    Views
    13,290

    Prevent Focus on textbox in code

    Hi all,

    I'm inheriting from a textbox, to amongst many other things alter the enabled behavior for a textbox in my application because "vissually impared" users can't read the grayed out text...
  16. Replies
    1
    Views
    717

    VS 2012 Re: Show 2 unrelate tables in datagridview

    Just do a Union of these tables in your select statement to fill your dataset.
  17. Replies
    2
    Views
    3,557

    Re: Showing Excel sheet preview in .Net App

    Thx!

    I've red the articles and a lot off the linked pages as well.

    Final conclusion:
    To ensure forward compatibility with Excel 2007 and onwards use a third party control. :(

    But it made me...
  18. VS 2010 Re: Check for a certain phrase in a sentence.

    Pretty simple... on the fly:


    Dim Sentence As String = "I'm looking for a phrase."
    Dim lookup As String = "a phrase"

    If Sentence.ToUpper.Length >...
  19. Replies
    9
    Views
    1,060

    VS 2010 Re: Using excel with vb

    Search "createobject getobject Excel" on this forum
    and "latebound Excel" as well

    these will start you off for sure.
  20. Replies
    2
    Views
    3,557

    Showing Excel sheet preview in .Net App

    Hi All,

    I was wondering if anyone already done this. And off course How?
    I'm working on a project to get several departments incoorperating the same budgetting systematic. Yeah hell is pretty...
  21. VS 2010 Re: Index all words textfile starting with specific character

    Hi Radje...

    Go regular expressions....
    You will get these matches. To construct the correct Regex: http://www.regexlib.com/
  22. Replies
    7
    Views
    1,160

    Re: question about loops and arrays

    I suspect this is the problem:
    stateabbr = statec
    if StateAbbr is a combobox you should rewrite it like StateAbbr.datasource= statec
  23. Replies
    3
    Views
    689

    VS 2010 Re: Detecting A Certain Sound

    if it´s about a specific digitized sequence in to find in a digitized sound, yes...

    If it´s like detecting a cry for help in a recording nope, even proffesional systems fail to distinquish between...
  24. Replies
    20
    Views
    15,113

    Re: Visual Basic Program- Count Letters

    What about this.... far less limnited in use...


    Private Function OccurenceInText(ByVal Text As String, ByVal SearchPatern As String) As Integer

    Dim Result As Integer

    If...
  25. Re: Private MyString as string - To many should i move to a class?

    As always your final setup depends on your needs.

    If your application is just a few controls and only in one language a class is sufficient.
    If you have a modular setup or 50+ controls.. a...
  26. Replies
    12
    Views
    14,393

    VS 2008 Re: .NET fixed length strings

    your soul can be redemed with this code:


    Dim S(8) As Char
    S = "01234567".ToCharArray

    and I'll tell you a secret as well.
    A string is a byte array as well. For each character two bytes are...
  27. Replies
    17
    Views
    21,741

    Re: Adding working days to date

    Google gave his as first result:
    google
  28. Replies
    1
    Views
    676

    VS 2008 Re: Comparing combobox to database field

    use a bindigsource...

    Place one om your form and use the datatable as it's source.

    Set the datasources for all comboboxes to the bindingsource and select which column you want to display. and...
  29. Replies
    13
    Views
    1,565

    Re: VB.NET version of this code

    As a really obvious solution: You can add a C# project and write the code in that project :)

    Maybe reading the value of PTR in VB.Net will give the value of the referenced object. I suspect using...
  30. Replies
    13
    Views
    2,878

    Re: Concurrency violation: UpdateCommand

    Hi,

    It wouldn't suprise me if this problem arrises if there's no primary key, or a
    primary key using multiple columns and you're altering one of these columns.

    This is one of the reasons why...
  31. Replies
    3
    Views
    629

    VS 2010 Re: FindDifference in image

    I prefer a graphical result.

    Place a button and a picturebox on a form
    and past this code in the form.


    Imports System.Drawing.Imaging


    Public Class Form1
  32. Replies
    10
    Views
    807

    Re: how to structure my code properly?

    I used the plural form of transaction. And added the comment about using a try catch in SQL.

    now imagine this:

    a transaction is used inside the loop.

    While(there's data to process)
    ...
  33. Replies
    10
    Views
    807

    Re: how to structure my code properly?

    I doubt you will encounter duplicate errors...
    if the try catch is outside the loop. why an error raised will stop the loop and no new errors will occur.

    But I wonder what do you want to achieve?...
  34. Replies
    2
    Views
    667

    VS 2008 Re: Minor Deployment glitch

    If you right click your setup project and select view => filesystem
    you will see the standard folders like User's Desktop

    The top item is "File system on Target machine".
    Right click and select...
  35. Replies
    13
    Views
    1,565

    Re: VB.NET version of this code

    Hi,

    Maybe this will work.

    Sub test()

    Dim Ptr As Integer
    Dim Lptr As Int64
    Dim I As Integer = 2
  36. Replies
    13
    Views
    1,565

    Re: VB.NET version of this code

    I'll have to search a bit if this is till possible in VB.Net, giving a pointer was possible in VB6.0

    but it's bedtime for me now.
    So if nobody has answered this same time tomorrow I'll get back...
  37. Replies
    8
    Views
    7,887

    VS 2005 Re: Key-value pair in combobox?

    I Would define another object if you need to select a panel...




    Public Class ObjectSelection
    Property Text as String
    Property Value as Object
    end class
  38. Replies
    8
    Views
    7,887

    VS 2005 Re: Key-value pair in combobox?

    HI, it can be done without Ctype()

    first the class and interface have to be build because the datasource selector of a bindingsource uses reflection to find objects.

    open the properties of the...
  39. Replies
    13
    Views
    1,565

    Re: VB.NET version of this code

    IN VB.Net the Pointer/adress is not exposed.
    byt if you declare an argument byref it will always use a reference pointer

    So your function could be

    Private Sub MyFunction ( Byref ArrayItem as...
  40. VS 2005 Re: Help stop MonthCalendar from blinking when selecting start date

    you could try at the start
    Me.SuspendLayout()

    and at the end of the sub
    Me.resumeLayout(False)
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width