Click here to Skip to main content
15,922,533 members
Home / Discussions / C#
   

C#

 
GeneralRe: I need to convert a the string of a Text box to a Value Pin
glennPattonWork39-May-24 7:06
professionalglennPattonWork39-May-24 7:06 
GeneralRe: I need to convert a the string of a Text box to a Value Pin
jeron19-May-24 6:58
jeron19-May-24 6:58 
GeneralRe: I need to convert a the string of a Text box to a Value Pin
glennPattonWork39-May-24 7:10
professionalglennPattonWork39-May-24 7:10 
GeneralRe: I need to convert a the string of a Text box to a Value Pin
jeron19-May-24 6:05
jeron19-May-24 6:05 
GeneralRe: I need to convert a the string of a Text box to a Value Pin
glennPattonWork39-May-24 6:58
professionalglennPattonWork39-May-24 6:58 
GeneralRe: I need to convert a the string of a Text box to a Value Pin
jeron19-May-24 7:19
jeron19-May-24 7:19 
QuestionCommand Line Arguments For IrfanView using C# WinForm Pin
Member 143542147-May-24 8:50
Member 143542147-May-24 8:50 
AnswerRe: Command Line Arguments For IrfanView using C# WinForm Pin
Dave Kreskowiak7-May-24 14:55
mveDave Kreskowiak7-May-24 14:55 
I don't know why newbs always insist on breaking up what should be a single string into a bunch of string concatenations, making it harder to debug your code. You can do this all in one string:
C#
args = $"{file1} /jpg_rotate=(3,1,0,1,0,0,0,0) /killmesoftly";


Take a closer look at your uncommented code:
C#
args = " " + file1 + " " + "/jpg_rotate=(3,1,0,1,0,0,0,0)" + "/killmesoftly";

This will result in an arguments string that looks like this:
[file1] //jpg_rotate=(3,1,0,1,0,0,0,0)/killmesoftly

Notice there is no space before the /killmosoftly switch. That will probably generate an error for the Irfan command.


modified 7-May-24 23:37pm.

GeneralRe: Command Line Arguments For IrfanView using C# WinForm Pin
Member 143542148-May-24 4:03
Member 143542148-May-24 4:03 
GeneralRe: Command Line Arguments For IrfanView using C# WinForm Pin
Dave Kreskowiak8-May-24 6:37
mveDave Kreskowiak8-May-24 6:37 
AnswerRe: Command Line Arguments For IrfanView using C# WinForm Pin
Peter_in_27807-May-24 17:29
professionalPeter_in_27807-May-24 17:29 
GeneralRe: Command Line Arguments For IrfanView using C# WinForm Pin
Member 143542148-May-24 4:06
Member 143542148-May-24 4:06 
QuestionCommunication "Server / Service" for older .NET Framework application Pin
HobbyProggy5-May-24 23:13
professionalHobbyProggy5-May-24 23:13 
AnswerRe: Communication "Server / Service" for older .NET Framework application Pin
jschell6-May-24 15:01
jschell6-May-24 15:01 
GeneralRe: Communication "Server / Service" for older .NET Framework application Pin
HobbyProggy7-May-24 21:49
professionalHobbyProggy7-May-24 21:49 
AnswerRe: Communication "Server / Service" for older .NET Framework application Pin
Richard Deeming6-May-24 21:36
mveRichard Deeming6-May-24 21:36 
GeneralRe: Communication "Server / Service" for older .NET Framework application Pin
HobbyProggy7-May-24 21:55
professionalHobbyProggy7-May-24 21:55 
GeneralRe: Communication "Server / Service" for older .NET Framework application Pin
Richard Deeming7-May-24 22:32
mveRichard Deeming7-May-24 22:32 
GeneralRe: Communication "Server / Service" for older .NET Framework application Pin
HobbyProggy7-May-24 23:46
professionalHobbyProggy7-May-24 23:46 
AnswerRe: Communication "Server / Service" for older .NET Framework application Pin
lmoelleb8-May-24 7:08
lmoelleb8-May-24 7:08 
GeneralRe: Communication "Server / Service" for older .NET Framework application Pin
jschell11-May-24 9:50
jschell11-May-24 9:50 
QuestionCould not load file or assembly from package installed from nuget Pin
Member 156340714-May-24 20:20
Member 156340714-May-24 20:20 
AnswerRe: Could not load file or assembly from package installed from nuget Pin
OriginalGriff5-May-24 3:28
mveOriginalGriff5-May-24 3:28 
GeneralRe: Could not load file or assembly from package installed from nuget Pin
Member 156340715-May-24 12:31
Member 156340715-May-24 12:31 
GeneralRe: Could not load file or assembly from package installed from nuget Pin
OriginalGriff5-May-24 19:04
mveOriginalGriff5-May-24 19:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.