How to properly export excel data to a listview using epplus?
I'm trying to export data from a .xlsx file to a Listview control where the date of the "Due Date" column falls between today's date and the next 10 days from today and below is my code (I'm using EPPlus library for excel file stuff): using…
Importing filtered excel data to a dgv using epplus & c#.
I've got a spreadsheet with 6 columns in the order "Party, Bill No., Bill Date, Amount, Due date, Remarks". I'm trying to filter data from this excel where the column Party is filtered by text in textbox & Remarks is blank and then add the…
Does a unit text need a Main( )
Dear All, I am a C# beginner. I copy from YouTUBE (https://www.youtube.com/watch?v=HYrXogLj7vg), it shows an error "Program does not contain a static 'Main' method suitable for an entry point". My question is does a unit text need a…
Convert multiple files in at a time in c#
First Of all :- I have listbox and button , I want to Drap 4 files in listbox and convert it at a time like batch converter. Code // FFMpegConverter converter = new FFMpegConverter();
Slowness in using printersettings.DefaultPageSettings
The application which is running as windows service is used for printing. If I use the Logon as "Local system account" then the below lines of code is taking more time which results in significant delay in printing. If use the Log On as domain…
Running Selenium Headless Tests on Outlook shows older version of outlook on Edge chromium browser
When I run selenium headless tests on outlook , the outlook UI chosen is an different version than running test in an non-headless mode in outlook using selenium c#. I also ran the test using chrome headless mode but it didn't attach the screen shot for…
Stream audio from server to client
Hi Would like some advice on how can I stream audio from the server to the client. It has to be ad hoc, for example, if the youtube or any audio is played on the server, the client should be able to hear the audio from the client pc. Any examples I…
Xamarin IOs IPA with Distribution ProvProfile failed
Hi, I'm working using Xamarin Forms 5.0.0.2012. The main problem is when I signed the IPA file with a distribution ProvProfile, nothing's work but show the app run and show the first screen. When I run in development mode, everything working coool. I…
Visual Studio 2019 taking longer time to build and debug unit tests
I am using visual studio 2019 enterprise version 16.11.3. I am facing few issues like loading the solutions are taking more time than expected and while building the solutions normally it will take 20-30 minutes for building but it took 3 hours for me…
How to fill and submit form
How do you programmatically select the date range and click on the download button in an app online?
What are the alternatives to Pos for .Net on .NET 6?
Unless I am wrong, it doesn't seem that .NET 6 supports POS for .NET. What are the alternatives to Pot for .NET,? It's unfortunate because I am developing a desktop app using WPF with .NET 6 and now I may have to downgrade to .NET framework
Assigning a cell value (dynamic url?) to NavigateUrl in GridView. Or making relative value/address - clickable/transfarable to sub-page
GridView allows to create a virtual HyperLinkField column that converts another column assigned to it, (and its cell values) into hyperlinks, but to NavigateUrl must be assigned a "predetermined" url address - however, in my case hyperlink (as…
Getting Error while passing session login page to master page in asp.net C#
I am Getting Error while passing session login page to master page in asp.net C#. i am using session in login page. when i am passing the same session value in master page, the value will not be triggering in master page. I am getting error…
What cause the difference in the Toolbox?
Dear All, When I include an existing project 'ObjectListView2012' to solutions, for some solutions there shows a choice 'ListViewCustom' (left side picture), for other solutions the is no 'ListViewCustom' (right side picture). What makes the…
Error while serializing
I have an error while this line is running XmlSerializer serializer = new XmlSerializer(typeof(Invoice)); Error text: invalidoperationexception you need to add xmlchoiceidentifierattribute in member TaxPointDate on lines: …
.NET Published App Crashes while calling Activex DLL method, works in Debug
Hi, We are building an integration with QuickBooks desktop (2021 Pro). Following their documentation, we added a reference to their ActiveX dll (Interop.QBFC15). Everything works well in debug, and even if you build a release and run it directly (without…
How can I save and load timer counter time ? I saved it wrong and now it's starting counting wrong.
At the top of the form : I'm not sure if I should set the seconds to 0 at the top or to 10800 because I want it to count back 3 hours. private int _elapsedSeconds = 10800; Then in form1 constructor : TimeToDownload(lblNextDownloadRadar); The…
join a PDF to multiple PDFs with c#
How about guys I need your help to program an application in c #. I have a folder that is constantly fed with documents and we must always add them manually, something that is complicated by the large number of files so I wanted to program something that…
Upgrading to .net 6.0 timer issue
I have upgraded my .net framework 4.7.2 project to .net6.0 using upgrade assistant after successfully upgrading I have rebuild and installed service in system I have created timer after each interval it writes to logfile when I stop service it stopped…
UpLoad pdf,tif, in filestream
Hi, I've created a database with filestream to upload the file pdf, TIF and another format (>50000 files). To upload one image we can do the code below SELECT @img = CAST(bulkcolumn AS VARBINARY(MAX)) FROM OPENROWSET( BULK 'C:\image.jpg',…