User Profile

Collapse

Profile Sidebar

Collapse
!NoItAll
!NoItAll
Last Activity: May 19 '23, 02:04 PM
Joined: May 5 '06
Location: Madison, Wi
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Single machine two NICS one to LAN and one to DMZ

    Hi:
    I have a windows 10 machine that runs our server application on the local LAN. Now I need to put a gateway application in the DMZ and would like to avoid adding another machine. The gateway runs under Windows 10. The computer that runs our server on the LAN has two NICs. Can I run the gateway application and bind it to the second NIC connected to the DMZ? There will be an application running on the LAN side of this machine that connects...
    See more | Go to post

  • !NoItAll
    started a topic Access a single device on another subnet

    Access a single device on another subnet

    Due to circumstances beyond our control we have our system on one subnet (Subnet A). Almost all of the devices we need to access are either public - so are handled by the gateway, or on the same subnet. But...
    There are one or two devices on a different subnet (Subnet B). In most cases both subnets are managed by the same router, sometimes not (I realize this would make a big difference).
    How can I set it up so the one or two devices...
    See more | Go to post

  • It's been a long time since I wrote this post. There was a reason I didn't use the dataGridView at the time. It might not have been a good reason - but it was a reason... ;-)
    See more | Go to post

    Leave a comment:


  • Ok - first to answer your question...

    No - use a module. Put it in a folder common to all the projects in which you want to use them. When you add the module to the project(s) make sure you "Add as Link." Add as link is the same as adding it to your project, but it doesn't make a local copy. Instead it uses the one in your common folder. To add as link begin by adding it the way you normally do, but in the dialog where you...
    See more | Go to post

    Leave a comment:


  • Why/How two objects require Widening/Narrowing conversions

    I'm a bit lost...
    I have two objects implemented as UserControls (compiled as separate DLLs). Both have implemented a specific property that is, in itself, an object. I need to pass this object between the two UserControls. Both of these internal properties are created separately and contain properties named the same and are typed the same. One, however is serializable, while the other is not. One contains two methods that the other does...
    See more | Go to post

  • Extended UdpClient Class that adds WOL (Wake On Lan) Function

    I have some windows software that manages multiple Linux boxes.
    I wanted to add the ability to power up any of those boxes using WOL (Wake On Lan) so I wrote this UdpClient extension that adds an overloaded WakeFunction (see intellisense).
    This code was translated (and simplified) from some existing C# examples found in various places.

    Code:
    Imports System.Net.Sockets
    
    ''' <summary>
    ''' An
    ...
    See more | Go to post

  • Bridging two networks for only a few devices...

    I’m working with a station whose internal network is on a simple 192.168.1.X scheme. We'll call this Network A.
    However, there is another network (Network B) in the same building (same room even) with a few devices that Network A needs to access. This other network is currently air-gapped and is at a 10.32.13.x scheme.

    Is there a device that can securely bridge these networks and translate only the desired devices into 192.168.1...
    See more | Go to post

  • Why htop shows multiple processes while top shows only one

    I have an application (written by a contractor for me) that shows as a single process when I run top, but when I run htop it shows from 19 (under light load) up to 76 processes when under heavy load. I am assuming they are processes because each one, under htop, shows a unique PID. Under top there is only one PID.
    Many of the "processes" being shown by htop show 0.0 in the CPU% column - so I am wondering if this is highlighting...
    See more | Go to post

  • Creating User Control with two controls

    I am creating a user control. This user control actually has two user controls in it. One is hidden from the user and is only used by the "primary" user control.
    I cannot figure out how to make the primary UC the one that gets dropped onto the form.
    A little more explanation: The UC is a virtual scrolling timeline that shows images (up to 1440). Each image is in another UC that displays the image, a title, and has several...
    See more | Go to post

  • Well - more information...
    It actually is executing as it should, but the debugger simply does not step into it the way I expect it to. If I put a breakpoint inside of the ManageImageAndL atestFolders sub, it runs 8 times - however when stepping through the code it never steps onto the ManageImageAndL atestFolders sub!
    This seems like a Visual Studio bug to me. I've checked all of the Debugging options and find nothing obvious...
    See more | Go to post

    Leave a comment:


  • !NoItAll
    started a topic Why my For Each block does not work?

    Why my For Each block does not work?

    This one is really perplexing me...
    First some working stats...
    • Visual Studio 2015
    • Visual Basic .NET
    • Framework 4.6.1
    • Windows 10 x64
    I have a small codeblock
    Code:
    For Each src As CommonStructures.Source_Type In SourcesConfig.Sources.Source
        ManageImageAndLatestFolders(src, ActionEnum.Add)
    Next
    Intellesense indicates there are 8 elements of the SourcesConfig.S ources.Source object and that the types are...
    See more | Go to post
    Last edited by !NoItAll; Jan 5 '17, 02:55 PM. Reason: small clarification

  • Um - No. This sounds like code you, nor anyone has any legitimate need for.
    See more | Go to post

    Leave a comment:


  • !NoItAll
    replied to get Lengh video. as HH:MM:SS:FF
    FF is Frames and will vary depending upon the frame-rate of the video. Also - if working with 59.94 don't forget to account for drop-frame.
    See more | Go to post

    Leave a comment:


  • !NoItAll
    started a topic Creating a single row from two

    Creating a single row from two

    I have an SQL Query that works very well with one exception... (I guess you could say it doesn't work THAT well). I have it retrieving the information I need, but the data comes back in TWO rows and I need it in one.
    Here is my query:
    Code:
    SELECT 
    	AssignmentLink.ItemType,
    	AssignmentLink.UH,
    	AssignmentLink.ItemUH,
    	AssignmentLink.AssignmentUH,
    	Assignment.UH,
    	Assignment.Slug,
    ...
    See more | Go to post

  • Are you putting text in dynamically or are you putting the lines in through the IDE?
    I'd like to see your code...
    See more | Go to post

    Leave a comment:


  • Make a synchronous call using asynchronous function

    There appears to be lots of information about how to asynchronously implement synchronous functions - however I have the opposite problem and there is a dearth of information about it...
    I have a network lib I am using. All calls are asynchronous - that's good. However, I need to make SOME calls synchronously - in that I want the program (or at least the current thread) to stop and wait for the response (or time out). This is for things...
    See more | Go to post

  • Answering my own question now...
    The dates turn out to be frames-per-second since 1/1/1 with a test for leap-year offset. Frames Per Second = 30

    VB.Net code to decode is:
    Code:
        Private Function ENRTimeToDate(ENRTimeStamp As Double) As Date
            Const FRAMES_PER_SECOND As Double = 30D
            Const FRAMES_PER_DAY As Double = 2592000D
    
            ENRTimeStamp = ENRTimeStamp * 10000
    ...
    See more | Go to post

    Leave a comment:


  • Odd dates I need to process in an SQL database...

    Here is an example of a date that I have to process:

    189617489.97

    This is not a unix epoch (at least not the standard one that sets 0 at 1,1,1970).

    Has anyone seen this before. The decimal never goes more than three digits (e.g. 190615658.415) so it's not an Access style date where the number before the decimal is the date and the number after it is the time.
    I do know the system tracks to the...
    See more | Go to post

  • So I did find that, unless the program is being run as an administrator, then it will not have write permission. Unfortunately I get no errors because of the way I was trapping errors.
    I modified the code to do a test write to the folder inside a try/catch block and then warn the user that the application needs to run as an administrator. I will work on my installer logic to get the program installed to run as an administrator (if that's...
    See more | Go to post

    Leave a comment:


  • Thanks Luk3r!
    Do I do that in my code, or installer? This is a commercial program so I don't have individual access to users machines.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...