Posts by Paulo Ferreira • 25 points
5 posts
-
0
votes2
answers30
viewsQ: Parameters of the Abels in Printpage
What parameters are possible to define the printing of Abels: The code I’m using is as follows:: e.Graphics.DrawString(label_nota_entrega.Text, new Font("Arial", 14, FontStyle.Bold), Brushes.Black,…
-
1
votes1
answer56
viewsQ: Rename files from a txt list
I am trying to develop a small program that allows me to rename a set of files (pdf type existing in a given directory and whose name is sequential: 001.pdf, 002.pdf, 003.pdf, etc.), using existing…
c#asked Paulo Ferreira 25 -
0
votes2
answers62
viewsQ: Search images across subdirectories
I need to search for images in all subdirectories and present them in one picturebox, but the code I currently have only allows me to search in a single folder and without filtering by file types…
c#asked Paulo Ferreira 25 -
0
votes3
answers162
viewsA: Program to rename files
Thank you all. I have already found the solution. The difficulty was in understanding Substring. string fileTitle = $"{fileName.Substring(0, 7)}{fileName.Substring(fileName.Length - 10, 10)}";…
-
1
votes3
answers162
viewsQ: Program to rename files
I am trying to develop a small program to rename lots of files (pdf, etc). Imagine that the default is "1250_F1_001A_E01-001A00.pdf" and at the end would get "1250_F1001A00.pdf", kept the first 7…