i have a problem, i wanted to shorten filepath to my image
xlWorkSheet.Shapes.AddPicture("C:\\Users\my.name\\source\\repos\test\test\\Resource\\dog.jpg", Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoCTrue, Left4+10, Top4+12, -1, -1);
to be something like this
xlWorkSheet.Shapes.AddPicture("\\Resource\\dog.jpg", Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoCTrue, Left4+10, Top4+12, -1, -1)
i need to change it because my program will be used on different computers so users will not have the same filepath