Search:

Type: Posts; User: JuggaloBrotha

Page 1 of 13 1 2 3 4

Search: Search took 0.87 seconds.

  1. Replies
    16
    Views
    2,321

    Re: Stupid Things Developers Do

    I eat pizza while coding all the time, I just use a fork.
  2. Re: New Printer (Recommendation needed)

    I've got a Brother duplex printer and haven't had issues with it once the 4 years I've been using it so far. The price seems to have doubled since March of last year though, which is a bummer:...
  3. Replies
    4
    Views
    1,009

    Re: File Attributes

    As passel has mentioned if you use Xor it will toggle the attribute on/off but there's a bit more to it than that.

    The underlying mechanism for the Attributes property is bitwise operations on an...
  4. Replies
    12
    Views
    1,182

    Re: T-SQL RegEx problem

    Honestly I think you'd be better off making a .Net sql function that accepts 2 strings and returns a boolean for whether it contains the regex pattern and attaching the dll to your server, then just...
  5. Replies
    11
    Views
    10,447

    Re: How i generate unique id ?

    Here's a quick and dirty class I came up with that generates id's:Option Explicit On
    Option Strict On
    Option Infer Off

    Public Class GenerateID

    Private m_Characters As String
    Private...
  6. Replies
    11
    Views
    10,447

    Re: How i generate unique id ?

    Given what Shaggy was suggesting, how would you begin to accomplish this?
    I'll help with a list of steps suggested:
    1. Load letters & numbers into a list (I would suggest a List(Of String) )
    2....
  7. Replies
    20
    Views
    1,509

    Re: Run on older .net

    20 comments later and I just now realized we've all been focusing on what Framework(s) he should target to get the maximum probability of his program being able to run on end machines, but we don't...
  8. Replies
    20
    Views
    1,509

    Re: Run on older .net

    The biggest issue I'm seeing with his posts is he's got too wide of a range of machine and framework versions to support.
    Really what it comes down to is there are 2 categories going on here, the...
  9. Replies
    20
    Views
    1,509

    Re: Run on older .net

    The 4.0 Framework goes back to WinXP, which covers any PC made 2002 and newer.
  10. Replies
    4
    Views
    616

    Re: Creating Folders

    Also, why are you using the root of the C:?
    Would be better to either use the user's profile Path.GetTempPath() (which maps to %AppData%\Local\Temp) or if it's a file that should be shared between...
  11. Re: Compact and Repair Access Database using C# ?

    I've done this with vb.net (easily can do it in C#):
    Dim jro As New JRO.JetEngine
    jro.CompactDatabase(SourceConnString, DestConnString)

    You have to import the Interop.JRO.dll in your project, no...
  12. Re: Compact and Repair Access Database using C# ?

    I've done this with vb.net (easily can do it in C#):
    Dim jro As New JRO.JetEngine
    jro.CompactDatabase(SourceConnString, DestConnString)

    You have to import the Interop.JRO.dll in your project, no...
  13. Replies
    4
    Views
    1,598

    VS 2017 Re: Scan files and folders

    Check out the FileSystemWatcher Class (System.IO) | Microsoft Docs
  14. Replies
    21
    Views
    3,190

    Re: Printing help

    I don't see anything to do with printing in your code here, can you post the code you have so we can help troubleshoot it?
  15. Replies
    9
    Views
    1,762

    Re: Run cmd.exe and execute command

    From what I can see with the ProcessStartInfo class you'll want to call cmd.exe as the FileName, whatever args you need in the Arguments property, and to have it request elevated rights (runas admin)...
  16. Replies
    21
    Views
    3,190

    Re: Printing help

    Might want to check out a tutorial: An Absolute Beginner's Guide to Printing in .NET - CodeProject
  17. Re: How to make a Windows Forms app run in the background.

    You'll want to use the BackgroundWorker component, have the report generating code happen in the DoWork() event and after you gather the criteria on the form you simply store it in variables and call...
  18. Replies
    1
    Views
    1,899

    PHP User Warning

    Whenever I reply to a thread I'm getting this error message:
    168387

    My reply still shows up in the thread just fine, but I still see those messages which reads:
    PHP User Warning:...
  19. VS 2019 Re: Visual Basic ... trouble with writing to a file

    That's because you put this into your project that you shouldn't have:Namespace My
    Friend Class Computer
    Public Shared Property FileSystem As Object
    End Class
    End NamespaceIf you...
  20. Replies
    7
    Views
    820

    Re: Problem read extension files

    I was suggesting this:
    For Each fullpath As String In IO.Directory.GetFiles(MyFolderPath)Becomes this:For Each fullpath As String In IO.Directory.GetFiles(MyFolderPath, TextBox2.Text)
  21. Replies
    7
    Views
    820

    Re: Problem read extension files

    Actually your code doesn't traverse subfolders either, handling subfolders is easily do-able and you would usually use a sub routine that makes a recursive call for each subfolder found and I don't...
  22. Replies
    7
    Views
    820

    Re: Problem read extension files

    First thing I see is this line:'iterate through all files in the MyFolderPath
    For Each fullpath As String In IO.Directory.GetFiles(MyFolderPath)You're not using the "text to find" textbox value for...
  23. Replies
    5
    Views
    2,922

    Re: Using a new TTF (not installed)

    If you use an installer (MSI installer from Microsoft or something else that's free like Inno) allows you to include font(s) to install as part of the install process.
    You can include font(s) that...
  24. Re: [RESOLVED] Opening a file when having partial name and the extension

    How where you having trouble inserting into the database?

    For the record, reading a csv file to insert the rows into the database or scanning the hard drive and inserting the records directly will...
  25. Re: [RESOLVED] Opening a file when having partial name and the extension

    Or have the same process that makes that csv file interact with the database directly.
  26. Re: Opening a file when having partial name and the extension

    Scanning file names on the system is notoriously slow, though with SSD drives the speeds are vastly improved but don't expect those drives to be used in servers.
    That being said I can think of three...
  27. VS 2015 Re: Removing an object from a form

    Every container (forms, panels, groupboxes, etc) all have a Controls collection, simply remove it from the collection and it's not part of the form. Personally I would remove it from the collection...
  28. Replies
    25
    Views
    3,114

    Poll: Re: Which way is yours?

    I do this often enough I've gotten used to seeing it.
    It comes in handy when I have a series of functions that each return a Boolean, this allows them to run through till it finds the one that...
  29. Replies
    25
    Views
    3,114

    Poll: Re: Which way is yours?

    I vote #8 (needs to be added):

    Select Case True
    Case c
    i += 1
    End Select
  30. Re: Help Needed modifying a small Windows Sales Tax calculator app

    Honestly this is just a couple of calculations, should be pretty easy to remake this and have the new program have a spot where you can enter the sales tax percent.
    I could probably make a .Net app...
  31. Re: Change Exe Icon Dynamically - "Me is not valid within a module"

    Short and simple all you really need is an ApplicationContext and NotifyIcon. I have my project set to run as a "Windows Forms Application" and it's set to use "Sub Main" as the Startup...
  32. Replies
    4
    Views
    687

    VS 2017 Re: Filepath

    If they are part of the project, you could use the SolutionExplorer window inside visual studio to move them to a new folder inside the project and VS will physically move them in the windows folder...
  33. Re: Change Exe Icon Dynamically - "Me is not valid within a module"

    Sounds like what you're really after is a console program that when ran will display an icon in the system tray (NotificationIcon) that will display either the RightHandIcon or LeftHandIcon based on...
  34. Re: Change Exe Icon Dynamically - "Me is not valid within a module"

    That icon is only set when compiled, so you would have to write a program that would compile your console program on the fly to dynamically change the icon, that means you would have to deploy the...
  35. Replies
    3
    Views
    1,615

    VS 2012 Re: PGP Encryption

    I remember 5 or 6 years ago they added commandline support to their desktop encryption program, you should be able to invoke it and pass it the parameters needed to encrypt or decrypt file(s).
  36. Replies
    127
    Views
    14,110

    Re: Windows 10 fixed

    I've had similar, not Win10 forcing a reboot when I'm in the middle of using it (I have the active hours set) though.

    We connect to our work computers remotely using LogMeIn, so our work systems...
  37. Replies
    3
    Views
    989

    Re: If a second screen isn't there

    Personally I would have the code set to do something if there is a 2nd (or more) monitors or do something else if there's only the 1 monitorIf Screen.AllScreens.Count = 1 Then
    'Do something if...
  38. VS 2015 Re: Open folder as a solution in Visual Studio

    What you've been handed is called a "website" which is a type of VS project where there is no solution (.sln) or project (.vbproj) files, what you need to do is open Visual Studio and click File ->...
  39. Re: Should Google be regulated by the government?

    I don't think Google should be regulated unless Amazon, Apple, & Microsoft are all equally regulated too.
    Also as an American our President Trump is an abomination who should never have been allowed...
  40. Replies
    11
    Views
    2,133

    Re: Removing duplicates

    What database system are you using?

    In Sql Server and Amazon Redshift you can use Row_Number Over (Partition By <field(s)> Order By <field(s)>) then use the Where clause to filter by that row...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width