Let's say I have a window created and I'm interested on certain region in that window (say rect(10,10,300,300)) and want to somehow crop it and save as an image file. May I know how can I do this?
User 9123917
Posts
-
crop window region and save as image (win32) -
How to control the other app using Window APIhow about pressing a hotkey combination (eg: CTRL+S for save)?
-
How to control the other app using Window APIMay I know how can I take control of other app using my own program in vc++. Eg: do a "scroll up" in browser ; open MS Word and save; perform "next/previous" in window photo viewer.. etc
-
Hand Gesture Recognition SystemI'm currently given a project on hand gesture recognition. Some color markers will be put on the fingers for easy tracking. So, can anyone give some advice how should I continue for the next part which is to recognize the pre-processed output image which is now only consists of color from the color markers. How can I classified those pattern.
-
EPPLUS ExcelI got this error in my code: Cannot add part for the specified URI because it is already in the package At this line: var chart = xlSheets.Drawings.AddChart(dataSet.DataSetName, OfficeOpenXml.Drawing.Chart.eChartType.ColumnClustered); I am trying to create multiple sheets. Anyone know how to fix this? THANKS in advanced~
-
EPPLUS ExcelAnyone know how to set title for Xaxis and Yaxis? I can't find it.
-
EPPLUS excel percent formatIt's work! Thank you so much. :)
-
EPPLUS excel percent formatMay I know how can I convert a decimal (eg: 0.3333) to percent format. I have tried with this code: ws.Cells[1,1].Value = 0.3333; ws.Cells[1.1].Style.Numberformat.Format = "0%"; But this give me 33% instead of 33.33%
-
Save Excel FileHow can I save an Excel file which will prompt user to select where to save? What save mode should I use?
-
Server Error in '/' ApplicationNo. I think it might because of the server doesn't have excel library?? I have no idea how to fix this.
-
Server Error in '/' ApplicationError executing child request for new_Page.aspx. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: Error executing child request for new_Page.aspx. Source Error: Line 14: Server.Transfer("new_Page.aspx"); Above is the error found. It works fine in local host but not when I trying to run in on virtual directory. When I deleted the Export Excel Function in my page, the error gone. Microsoft.Office.Interop.Excel.Application xlApp = new Microsoft.Office.Interop.Excel.Application(); Microsoft.Office.Interop.Excel.Workbook xlWorkbook = xlApp.Workbooks.Add(Microsoft.Office.Interop.Excel.XlWBATemplate.xlWBATWorksheet); Microsoft.Office.Interop.Excel.Sheets xlSheets = null; Excel.Worksheet xlWorksheet = null; Anyone know how to fix this?
-
convert string to arrayAny idea how can I convert a string to array for the below example: string name = "John,Calvin,Steve"; convert to string [] arr = new string[] {"John","Calvin","Steve"};
-
Console App - Scheduled Task - Text FileWhen run with scheduled task, .exe run properly but it doesn't create text file as writen in codes. It run well and a text file create when I run it manually.
-
Console App - Scheduled Task - Text FileI have created a console app where it will finally create a text file. Everything run well when I run the program manually but not when I used scheduled task to run it. Anyone know the reason?
-
display both in console and text fileHow can I display everything at both the console and a txt file.
-
how to set the aspx text box value in console appLet's say I have a simple aspx page with a text box and a button. when the text box is filled and the button click, it will proceed to another page. Now I want to use console app to make it run auto. How can I do that?
-
web app automatedI have created some web applications and now I want to create 'something' so that it will run everything automatically. I have no idea how can I do this. Anyone can give some lead? Is it I have to create dll and exe file?
-
Delete Excel FileHow can I delete a specific Excel File in my own directory using C#?
-
advanced excelI have created an interface where user can chose the required data to be exported to excel. If in future, user select a new data to be exported which the new data is already included in the previous data, the excel file must not replace bt the current one. If the new data selected is not included in the previous data, the excel file should update the data instead of replace it. Any idea of how can I do that?
-
Excel line-column combination chart using C#.Can you show me example code? I have tried and got error. myChart.Series("Series 2").XAxisType = AxisType.Secondary;