Search:
Type: Posts; User: leadhead
Search:
Search took 0.01 seconds.
-
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...
-
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...
-
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,...
-
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.
-
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...
-
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...
-
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...
-
Dude I am like Luke Skywalker right now I have taken my first step into a larger world! ENUMS!!!!
-
Yeah man!!! This is exactly what I am looking for! Simple! Thank you so much! I have never used an Enum before!
-
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...
-
-
Yup that did it, thank you very much!
-
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...
-
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...
-
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....
-
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.
...
-
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....
-
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...
-
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...
-
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...
-
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.
-
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...
-
Ok, that makes alot more sense. The counter is the encryption salt that is being iterated through.
-
ahhh there we go! Thank You! So what am I doing? Just adding a byte to the byte array?
-
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?
-
Oh that seems so simple! Thank you very much!
-
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...
-
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...
-
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...
-
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!
-
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...
-
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...
-
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...
-
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...
-
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...
-
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.
...
-
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...
-
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...
-
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!
-
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...
|
Click Here to Expand Forum to Full Width
|