Search:

Type: Posts; User: leadhead

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    456

    VS 2019 Re: Save Dang it!!! Windows Forms

    Ok, I'm dumb! Your suggestion helped me figure it out. My load_setting method was using the default configuration. I needed to specify that I am using the app.config...like I do in the save_settings...
  2. Replies
    2
    Views
    456

    VS 2019 [RESOLVED] Save Dang it!!! Windows Forms

    I am using appSettings in the app.config file as my settings/configuration file for my application

    I have a method to save a setting that looks like this:

    Public Sub Save_Setting(settingName...
  3. VS 2019 Re: Custom Configuration Autoload Key/Value as properties

    Ahh ok, I think I understand. I can still use mysettings as long as Read Only. So I only need to utilize the configuration manager when saving the setting to the config file.

    Thank you so much,...
  4. VS 2019 Re: Custom Configuration Autoload Key/Value as properties

    The application is also installed in a unique directory where we allow write permissions for the user. So writing to the main configuration file would be fine.
  5. VS 2019 [RESOLVED] Custom Configuration Autoload Key/Value as properties

    Good Afternoon,

    My boss is an immovable object and wants the app.exe config file to function as the ONLY configuration file. Microsoft is also an immovable object and will not allow the...
  6. VS 2019 Re: [RESOLVED] Specific options for a parameter in a method.

    I think I understand...if you select more than one item in the enum then the enum state will be the addition of all of the items? So you can test for if total number is 6 then you know Bar and Is...
  7. VS 2019 Re: Specific options for a parameter in a method.

    So ENUMS are like Midichlorians!

    Just kidding. This is exactly it. I even understood how enums worked when using such and such class, it just didnt occur to me that I could make my own.

    This...
  8. VS 2019 Re: Specific options for a parameter in a method.

    Dude I am like Luke Skywalker right now I have taken my first step into a larger world! ENUMS!!!!
  9. VS 2019 Re: Specific options for a parameter in a method.

    Yeah man!!! This is exactly what I am looking for! Simple! Thank you so much! I have never used an Enum before!
  10. VS 2019 [RESOLVED] Specific options for a parameter in a method.

    Good Morning!

    I have created a method that does AES 128 Encryption of a string using CTR Cipher mode. This same method also does decryption. In a method parameter I would like to specify whether I...
  11. Replies
    6
    Views
    1,340

    VS 2019 Re: C# Expression to VB

    Oh yup my bad!
  12. Replies
    6
    Views
    1,340

    VS 2019 Re: C# Expression to VB

    Yup that did it, thank you very much!
  13. Replies
    6
    Views
    1,340

    VS 2019 [RESOLVED] C# Expression to VB

    I ran across some C# code that I am duplicating in my VB project. Its pretty cool because it stores the incremented readbyte as integer in b while increment the readbyte and checking to see if it is...
  14. Re: WPF PrintDialog trivia question: What did the user click?

    Nevermind, I am am moron.

    I had a spot in my code where I was instantiating a new printdialog with the same variable name thus defaulting everything.

    printdialog.printqueue.fullname contains...
  15. WPF PrintDialog trivia question: What did the user click?

    My understanding of the dialog box is to collect input from the user. Therefore my understanding of a print dialog would be to figure out which printer the user selected for the proceeding print job....
  16. VS 2019 Re: Embed Button in WPF GridView Column Bind it?

    Ok so in my Xaml, I am attempting to apply a style trigger and setter on a listviewitem targettype. So if the mouse is hovering over the top of the listviewitem, it will set isselected to true.
    ...
  17. VS 2019 Embed Button in WPF GridView Column Bind it?

    Ok so I am making this mini task manager pop up dialog that lists open sessions and has the ability to kill them. I have 3 simple columns in a listview, the 3rd column I would like to be a button....
  18. Replies
    4
    Views
    717

    VS 2017 Re: Creating a command line utility program

    I figured it out. I just needed to make a console application and thats it. I did so and it worked perfectly. Sorry for wasting your time. Your post on the perpetual calender was very interesting...
  19. Replies
    4
    Views
    717

    VS 2017 Re: Creating a command line utility program

    Our company develops in an old database language called Filepro. Filepro was initially invented for Unix systems. In Unix people used to write scripts and mini C programs where filepro could execute...
  20. Replies
    4
    Views
    717

    VS 2017 Creating a command line utility program

    Good Morning

    I would like to create a windows command line utility that behaves like xcopy, robocopy, netsh etc.. where the stdin and stdout are redirected to the same command window that you...
  21. Replies
    4
    Views
    5,847

    Re: WPF Binding Custom Shortcut Keys.

    Thank you for your response. Yeah this is how I have been doing it in the past and it works great. I was trying to learn a new way to do it.
  22. Replies
    4
    Views
    5,847

    WPF Binding Custom Shortcut Keys.

    So I have an app that has buttons for Print and Save. Now I want to add ctrl +p and ctrl + s to perform the same functions. However, for printing my application has alot of code for custom print...
  23. Thread: C# conversion

    by leadhead
    Replies
    7
    Views
    1,299

    VS 2017 Re: C# conversion

    Ok, that makes alot more sense. The counter is the encryption salt that is being iterated through.
  24. Thread: C# conversion

    by leadhead
    Replies
    7
    Views
    1,299

    VS 2017 Re: C# conversion

    ahhh there we go! Thank You! So what am I doing? Just adding a byte to the byte array?
  25. Thread: C# conversion

    by leadhead
    Replies
    7
    Views
    1,299

    VS 2017 Re: C# conversion

    Oh wait, I tried that and intellesense does not like implicit conversion from byte() to integer. Which I dont think I want either. Is it just incrementing i2 do you think?
  26. Thread: C# conversion

    by leadhead
    Replies
    7
    Views
    1,299

    VS 2017 Re: C# conversion

    Oh that seems so simple! Thank you very much!
  27. Thread: C# conversion

    by leadhead
    Replies
    7
    Views
    1,299

    VS 2017 C# conversion

    I need a bit of help understanding how to write the same thing in VB from this c# code.

    counter is a byte array. I get that ++ means to increment, but is that possible to a byte array?...with a...
  28. VS 2017 Re: WPF Rotate Entire Window 90 Degrees

    Thanks for this. What you said got me over the hump.


    I initially had the window dimensions sized to the size of my "bar" (stack panel with buttons).

    I changed the size of my window to 800 x...
  29. VS 2017 [RESOLVED] WPF Rotate Entire Window 90 Degrees

    Good Afternoon,

    I am creating a "launcher bar" application that launches our other applications. I was thinking about putting a small button in the upper left hand corner that would rotate the bar...
  30. VS 2017 Re: Couple questions on app.config/app.exe.config files and using Configurationmanage

    Ok, perfect...So I just need to manually maintain app.config while developing and update and save to the copy with the code at runtime. Thank you so much for your help!
  31. VS 2017 [RESOLVED] Couple questions on app.config/app.exe.config files and using Configurationmanager cl

    Good Morning,

    So I have an app that due to the way its going to be used, I will need to use the Configurationmanager class in place of "my.settings" to save and load settings to and from my...
  32. VS 2017 Re: Copy Settings to Project 2-Can I do it this way?

    Ahhh ok, I think I found a clue if someone could verify this.

    According to this blog.

    Each value you want to use in your application is defined as simple name=value pairs and saved in special...
  33. VS 2017 Re: Copy Settings to Project 2-Can I do it this way?

    Ahhh ok, I think I found a clue if someone could verify this.

    According to this blog.

    Each value you want to use in your application is defined as simple name=value pairs and saved in special...
  34. VS 2017 Copy Settings to Project 2-Can I do it this way?

    Good Morning,

    I have project number 1 which is a Forms project that will serve as a launcher for our various applications. I also have project number 2 in the same solution that is a console...
  35. Replies
    5
    Views
    1,863

    VS 2017 Re: Console Application Startup Events

    Ok, so here is what I got.


    So I start with a Windows Forms app. This turned out well anyways because my boss wanted buttons that would launch different console sizes for our legacy database...
  36. Replies
    5
    Views
    1,863

    VS 2017 Re: Console Application Startup Events

    I see. Once the pointer is in Sub Main, the cmd.exe process is already initialized. By then its too late to change the registry settings with a startup event and have it take effect immediately.
    ...
  37. Replies
    5
    Views
    1,863

    VS 2017 Re: Console Application Startup Events

    Thank you.

    Unfortunately it doesnt appear that the linked code allows you to change the console font type and size.

    It will change the settings, but only for that user. Which is...
  38. Replies
    5
    Views
    1,863

    VS 2017 Console Application Startup Events

    Good Afternoon,

    I have a console application where I would like to first set the console environment before the console launches. In other project types, there is a vb file somewhere where you can...
  39. VS 2017 Re: WPF Printing Tutorial Need Assistance on c# Syntax to VB

    Thanks, that got me through to successfully sending the job to the printer. The Ctype cast was not needed. " Dim page1asaddchild As IAddChild = page1Content " worked perfectly!
  40. VS 2017 [RESOLVED] WPF Printing Tutorial Need Assistance on c# Syntax to VB

    Good Morning,

    I am trying to achieve mastery of WPF printing and the Flow Document. I found this tutorial that seems to make sense to me but like most places its written in C#. I just need a bit...
Results 1 to 40 of 106
Page 1 of 3 1 2 3



Click Here to Expand Forum to Full Width