Search:

Type: Posts; User: dday9

Page 1 of 13 1 2 3 4

Search: Search took 0.97 seconds.

  1. Re: How to convert total minutes to time format?

    The first thing you should be concerned with is your form validation. You're prompting for the total number of minutes, but you're not validating that what the user typed in the TextBox is a valid...
  2. Re: how can i centere block eliminate using css1?

    To center a block element using CSS1, you will need to follow the CSS, Level 1 - Horizontal Formatting of Block Elements guideline. Specifically:


    Here is an example:

    <div></div>

    div {
    ...
  3. Replies
    4
    Views
    171

    Re: Help Nailing Down RegEx Pattern

    Unfortunately it isn't. I was trying to do this using RegEx because it appears to be a pattern that RegEx could match, but my RegEx isn't strong enough to build it out. Ultimately I wound up doing...
  4. Replies
    4
    Views
    171

    Re: Help Nailing Down RegEx Pattern

    Unfortunately I cannot match it with the pattern that is in the PartNum/CageNum (like using the hyphen) because that isn't a repeatable pattern. I suppose I will have to do the following:

    Match...
  5. Replies
    4
    Views
    171

    Help Nailing Down RegEx Pattern

    I have the following text:

    PR Number: 0082161694 NSN: 4820-01-606-6325 Value: $5000-10000
    Issued: 10/25/19 Agency: DCSC Bid #: 16167281
    SOL Number:...
  6. Replies
    5
    Views
    350

    Re: Regex Date Validation

    That's good to know, thank you kfcSmitty.
  7. Re: [RESOLVED] Need Help Understanding VB6 Functions

    My background is in VB.NET so I fee like I have a pretty good idea of the BASIC style syntax. What was throwing me off is that it looks like when Mid (or some other string function) was being...
  8. Re: Need Help Understanding VB6 Functions

    Thanks y'all. I'll go ahead and mark this resolved. I think that this may be an instance where if the client provides me with an example file, I can re-write it from scratch using the legacy code as...
  9. Re: Need Help Understanding VB6 Functions

    This is the entirety of the procedure (with indentation as it is in the file), with parts of it removed as to not reveal proprietary parts:

    Public Sub MakeAcessDB()

    Dim SQL As String
    Dim...
  10. [RESOLVED] Need Help Understanding VB6 Functions

    I'm doing a legacy conversion from VB6, but I'm having issues understanding some of this code.

    The first part that I don't understand is combining Trim with Mid with Like. The source code is:
    ...
  11. Thread: Post Race!

    by dday9
    Replies
    64,520
    Views
    5,099,479

    Re: Post Race!

    https://www.msn.com/en-us/news/us/zombie-cicadas-infected-with-mind-controlling-fungus-re-emerge/ar-BB17q1BP
  12. Thread: Post Race!

    by dday9
    Replies
    64,520
    Views
    5,099,479

    Re: Post Race!

    We have zombie cicadas now in case you didn't know.
  13. Replies
    125
    Views
    136,227

    Re: VB Classic (A True VB 7.0)

    I'm not as familiar with VB6 as I am with other languages, but something that I leverage (almost on a daily basis) are online compilers. This helps me when I need to test something simple or to...
  14. Replies
    5
    Views
    350

    Re: Regex Date Validation

    I would not try to reinvent the wheel. MomentJS is a reliable library that allows you to parse, validate, manipulate, and display dates/times in JavaScript.

    In this case, it would be as simple as:...
  15. Replies
    6
    Views
    287

    VS 2017 Re: Find a string with REGEX?

    No need for RegEx for a requirement this simple. Use the following three methods:

    String.StartsWith
    String.EndsWith
    String.Length

    In this case you want to check if the character length is...
  16. Replies
    22
    Views
    833

    Re: linq query to sum total items

    I built a library that converts JSON to an XDocument if that's more along the lines of what you want to do.
  17. Replies
    22
    Views
    833

    Re: linq query to sum total items

    Hmm, I always thought it stood for "plain ole C# object".
  18. Replies
    22
    Views
    833

    Re: linq query to sum total items

    Based on your code, I can infer that the incoming JSON looks like the following:

    {
    Values: [
    {
    "departureLocationName": "...",
    "arrivalLocationName": "...",...
  19. Replies
    22
    Views
    833

    Re: linq query to sum total items

    Edited the post to trim the leading whitespace from the code snippets.
  20. Re: [RESOLVED] JSON.parse error on some computers

    This is a good edge case to be aware of, I'm glad that you were able to resolve it.

    What confuses me is that a simple CORS definition shouldn't have any effect on what you're experiencing. I...
  21. Replies
    2
    Views
    334

    Re: Import from another page

    You could make a request to get the HTML of the separate web page, but there are some things to consider:

    If the separate web page exists on a different server, then you'll likely run into a...
  22. Re: Sample code for Paypal interface for shopping cart?

    I think that you're mistaken. I believe (though not 100%) that Paypal has third parties that have a shopping cart that is already integrated with Paypal.
  23. Replies
    1
    Views
    160

    VS 2017 Re: vb.net webbrowser dropdown list

    You should be able to get the select's value using the following:

    eokul.Document.GetElementById("ddl").GetAttribute("value")

    Here is the MSDN documentation on the GetAttribute method:...
  24. Re: Sample code for Paypal interface for shopping cart?

    Just to clarify, are you wanting to build a shopping cart or are you wanting to integrate paypal into your existing shopping cart feature?
  25. Re: Sample code for Paypal interface for shopping cart?

    That particular endpoint returns a web profile I believe. As far as when a REST request would be made, it all depends on when you need the data. Think of the process in events: do you need the data...
  26. Re: Sample code for Paypal interface for shopping cart?

    Are you familiar with submitting REST requests? Both Javascript and jQuery provide some method of submitting the request, though I find it simpler in jQuery.

    If not, that will be the first thing...
  27. Re: Sample code for Paypal interface for shopping cart?

    What technology are you using? JavaScript, jQuery, Angular, etc.?
  28. Thread: Post Race!

    by dday9
    Replies
    64,520
    Views
    5,099,479

    Re: Post Race!

    Or any kind of polkdotted sweater!!!
  29. Thread: Post Race!

    by dday9
    Replies
    64,520
    Views
    5,099,479

    Re: Post Race!

    Oh, no I don't have that :eek:
  30. Replies
    6
    Views
    243

    Re: [RESOLVED] Synatax of ADODB Recordset

    Yeah, the database's schema isn't exactly the best. For this particular table, SaleNum and SaleItem represent a composite primary key.
  31. Replies
    6
    Views
    243

    Re: Synatax of ADODB Recordset

    Ok, then it is probably safe to assume that it is returning the topmost record?
  32. Thread: Post Race!

    by dday9
    Replies
    64,520
    Views
    5,099,479

    Re: Post Race!

    Not sure what a UPS is (other than the delivery company).
  33. Replies
    6
    Views
    243

    [RESOLVED] Synatax of ADODB Recordset

    I'm currently in the process of implementing a legacy conversion from a VB6 application to an Angular/C# web application.

    We're lucky enough to be provided with the legacy source code, but even...
  34. Thread: Post Race!

    by dday9
    Replies
    64,520
    Views
    5,099,479

    Re: Post Race!

    We just got a new meter installed and for a couple of days our lights would flicker (in mid-day with no bad weather) and would sometimes go completely out for a few seconds at a time.
  35. Thread: Post Race!

    by dday9
    Replies
    64,520
    Views
    5,099,479

    Re: Post Race!

    So in this particular case, imagine a CRUD screen with multiple grids representing multiple entities. What they did was setup a controlarray for each CRUD button based on its entity, then from there...
  36. Thread: Post Race!

    by dday9
    Replies
    64,520
    Views
    5,099,479

    Re: Post Race!

    I'm working on a legacy conversion from VB6 desktop application to angular/c# web application.

    I find it tough to understand how people saw value in control arrays.
  37. Replies
    28
    Views
    861

    Re: Reading a value from file?

    Optionally you could create an unnecessary text-based user interface to handle this all for you:

    Module Program

    Private _filename As String = String.Empty
    Private _fileContents() As...
  38. Replies
    36
    Views
    5,293

    Re: WinForms Bootstrap Theme

    What about my suggestion from earlier, here: http://www.vbforums.com/showthread.php?873159-WinForms-Bootstrap-Theme&p=5485090&viewfull=1#post5485090


    It has the unintended side effect of losing...
  39. Thread: Post Race!

    by dday9
    Replies
    64,520
    Views
    5,099,479

    Re: Post Race!

    Gray Hound?
  40. Replies
    36
    Views
    5,293

    Re: WinForms Bootstrap Theme

    Mais bruh, you're good! I'm not burdened or annoyed. If you have a lot of effort put into your existing project but would like to switch from using these custom buttons to using a different button,...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width