dcsimg

Search:

Type: Posts; User: dbasnett

Page 1 of 13 1 2 3 4

Search: Search took 1.95 seconds.

  1. Thread: Web.config

    by dbasnett
    Replies
    1
    Views
    80

    Web.config

    What error, <error statusCode=???, is thrown? when the httpRuntime maxUrlLength is exceeded?
  2. Replies
    3
    Views
    182

    VS 2017 Re: Outlook Interop Mass Email

    This is internal and there aren't any restrictions that I am aware of.

    It looks like it has something to do with how fast and how many attachments(and size of attachments). I found this bit of...
  3. Replies
    3
    Views
    182

    VS 2017 Outlook Interop Mass Email

    I have an App that does mass emails. It uses a spreadsheet with an email column to accomplish this. It works fine except for...

    After some varying amounts of emails have been sent the Outbox...
  4. Replies
    29
    Views
    839

    Re: The problem with Dating

    If you have dates that must be stored as strings it is up to you to do so in a way that can't be confused. As you've seen dates like '1/10/2019' can be interpreted differently depending on the...
  5. Replies
    29
    Views
    839

    Re: The problem with Dating

    @BasicBasic To add to what si_ said. Did you copy the example I gave? Did it work unaltered?
  6. Replies
    29
    Views
    839

    Re: The problem with Dating

    Some testing with different cultures.


    Debug.WriteLine("")

    Dim dutch As New Globalization.CultureInfo("nl")
    Dim USA As New Globalization.CultureInfo("en-US")

    ...
  7. VS 2012 Re: Reading hex data from serial port.

    My $0.02


    Public Class Form1

    Private WithEvents SerialPort1 As New IO.Ports.SerialPort
    Private HaveData As New Threading.AutoResetEvent(False)
    Private InData As New...
  8. Re: Replace characters with another set of characters

    If I am not mistaken RichTextBox has a LoadFile??? method.
  9. Re: Replace characters with another set of characters

    Why make this hard? use IO.File.ReadAllText to read the file, replace the string(s), and IO.File.WriteAllText to write it back...
  10. Replies
    20
    Views
    580

    Re: Could anyone help me optimize this code.

    How do you envision this app being used? If a user is going to have this open for any period of time, looking for various nth primes then creating a list of primes seems the way to go. It could...
  11. Re: Serial Port will not send values greater than 0x3F????

    I agree with this.

    my $0.02...

    My experience has been to only use Read(Byte[], Int32, Int32) and Write(Byte[], Int32, Int32) methods, even if the data is characters. In the case of...
  12. Replies
    14
    Views
    499

    Re: Enums and boolean logic

    Change this

    If Not (e.State And ListViewItemStates.Selected) = 0 Then
    To

    If (e.State And ListViewItemStates.Checked) = ListViewItemStates.Checked Then

    If you are looking for selected.
  13. Re: Richtextbox RTF - I learned something

    The .Rtf and .Text properties are both strings. Why there is a difference seems unknown, but at least it is discussed and there is a workaround should anyone else have the same issue. I'll mark...
  14. Re: Richtextbox RTF - I learned something

    That is the only thing that makes sense, at least it explains the error. The documentation says that .Text and .Rtf are String Properties, though .Text is declared Overrides.

    What I ended up...
  15. Re: Richtextbox RTF - I learned something

    In the following rtb is a richtextbox created on a background thread, and rtbIN is part of the UI. When I assign the .Rtf property I get errors later in the code when I access rtb properties, e.g. ...
  16. Re: Richtextbox RTF - I learned something

    Not sure I understand that. I'll test the text property tomorrow. If I wasn't clear, the background RTB was created on the background thread. When I assigned the RTF property from the UI RTB I...
  17. [RESOLVED] Richtextbox RTF - I learned something

    Working on an application that reads RTF. In the past when working with Richtextboxes we have found that applications are faster using a RTB that mirrors a RTB on the UI. The mirror RTB is created...
  18. Replies
    7
    Views
    421

    VS 2019 Re: Assigning Default Text Value

    Put a Break on this
    UserInterval = ntrvl.Text
    in
    ntrvl.TextChanged

    and you will see why
  19. VS Code Re: [RESOLVED] Pass array to SQL Stored Procedure

    I considered that. For now all that it is used for is ID fields. Now that I know what to do I think I would create a different function for strings.
  20. VS Code Re: Pass array to SQL Stored Procedure

    Thanks for your help. I ended up with a table-valued function


    ALTER FUNCTION [NID_Split] (
    @inputVals VARCHAR(MAX),
    @delimiter CHAR(1)
    )
    RETURNS @output TABLE (splitval int)
    BEGIN...
  21. VS Code Re: Pass array to SQL Stored Procedure

    I ended up creating a string of numbers surrounded by ';'. It looks like this
    ;123;;456;;789;
    They are passed to the SPROC as NIDList
    The SPROC looks like this

    @NIDList VARCHAR(MAX)
    AS...
  22. Replies
    2
    Views
    419

    VS 2010 Re: How to make 7 Segment led display GUI?

    Have you searched the forum. I think I have seen this before.
  23. VS 2012 Re: Sort DataTable or DataView by Custom column

    What happens with my thing, that sounds bad ;), is that the .ToString method is being called, and not the ICompare interface.
  24. VS Code Re: Pass array to SQL Stored Procedure

    I'm not good with SQL. I am creating a stored procedure and don't know how to integrate the above into that.

    What I have is

    CREATE PROCEDURE [revision].[XNIDList]
    -- Add the parameters for...
  25. VS 2012 Re: Sort DataTable or DataView by Custom column

    The Class does implement IComparable. Yes I did try that.

    If I add the class instances to a list I can sort the list by using the .Sort method of the list, and that works.
  26. VS 2012 Sort DataTable or DataView by Custom column

    I have a table that has a column that is a class. How can I sort on that column.

    The class implements IComaparable and IEquatable and does sort if stored in a list.
  27. VS Code [RESOLVED] Pass array to SQL Stored Procedure

    I have a list of id's that I want to pass to a stored procedure and have that procedure find those id's. I need help on passing the list and the stored procedure.
    Thanks.
  28. Re: how to set up address-bit mode in serial port

    Can you share a link to the documentation for the micro-controller please?
  29. Replies
    35
    Views
    1,294

    Re: Why is my label not visible ?

    So the code posted in post#1 is in Form2? Where in Form2, which method?
  30. Replies
    4
    Views
    345

    VS 2017 Re: Binary literal formating

    Post the code showing the usage of this please.
  31. Replies
    29
    Views
    931

    Re: Why don't I see these PictureBoxes ?

    In almost all cases the default instance of a form should not be used.
  32. Replies
    29
    Views
    931

    Re: Why don't I see these PictureBoxes ?

    In your first example, because it is not interacting with the UI then it should not bother with the check.

    Yes, BeginInvoke can be used as an alternative. Suggest you read up both.

    The point...
  33. Replies
    29
    Views
    931

    Re: Why don't I see these PictureBoxes ?

    Create a new project. Add another form to that project. At this point he project should have two forms, Form1 and Form2.

    On Form1 add two button, use the default names. On Form2 add a label,...
  34. Replies
    29
    Views
    931

    Re: Why don't I see these PictureBoxes ?

    What does "doesn't always work either" mean? If you have a form application with methods that can be called from the UI and other threads, and those methods need to interact with the UI they can...
  35. Replies
    29
    Views
    931

    Re: Why don't I see these PictureBoxes ?

    Before the For loop get information about the forms location and size.


    Debug.WriteLine(Me.Location)
    Debug.WriteLine(Me.Size)


    Then in the For loop check 'pbx' size and...
  36. Re: [RESOLVED] VS 2017 What is the difference between varchar and nvarchar in SQL Dat

    What John said...

    See

    https://docs.microsoft.com/en-us/sql/t-sql/data-types/nchar-and-nvarchar-transact-sql?view=sql-server-2017

    and
    ...
  37. Re: What on earth is happening here ?

    You might find this helpful. This shows how to get the calling method name by using the CallerMemberName attribute.



    'add these
    'Imports System.Runtime
    'Imports...
  38. Replies
    1
    Views
    226

    VS 2017 Re: Reading nodes in XML file

    See if this approach helps.


    Dim xe As XElement
    'xe = XElement.Load(_mod_xml) 'to load from file / uri
    'for testing
    xe = <BACSDocument>
    <Data>...
  39. Replies
    3
    Views
    275

    Re: What's module and class in VB.NET 2008

    What a module is.

    What an object / class is.

    MSDN Search
  40. Re: [RESOLVED] VS 2017 checking if textbox dosnt starts with 05 at the beginning

    What if the textbox has less than 2 characters?
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width