Quantcast
Channel: Change Colors with .txt file.
Browsing all 7 articles
Browse latest View live

Change Colors with .txt file.

but how would I incorporate that into my code?Just combine the two bits of code you already have:Dim lines() As String = System.IO.File.ReadAllLines("Colors.TXT")Panel1.BackColor =...

View Article



Change Colors with .txt file.

Hello,This functionality is built into Win-form apps. Select a control, select properties, selectApplicationsSettings property, select (PropertyBinding), press the [...] button, se;ect the property...

View Article

Change Colors with .txt file.

but how would I incorporate that into my code?Nathaniel Washburn N-Soft Developer

View Article

Change Colors with .txt file.

But how would I get them from the txt file?You could use the File.ReadAllLines Method.-- Andrew

View Article

Change Colors with .txt file.

But how would I get them from the txt file?Dim lines = (file.txt line1, file.txt line2)? What would be the right code?Nathaniel Washburn N-Soft Developer

View Article


Change Colors with .txt file.

Imagine that linesOfColours is the text you got from the file, then...Dim linesOfColours = {"DarkTurquoise", "Red"}Panel1.BackColor = Color.FromName(linesOfColours(0))' an alternative which uses HTML...

View Article

Change Colors with .txt file.

Hey there, is there any way to change the colors of controls in a forms application by loading a .txt file? Like, if the file was this:DarkTurquoise Red Then Panel1's backcolor would be darkturquoise...

View Article
Browsing all 7 articles
Browse latest View live




Latest Images