desktop-application

Setting mailto: protocol handler programmatically in Windows 8

一世执手 提交于 2019-12-04 11:43:52
Before Windows 8, the method of adding a mailto: protocol handler was straightforward (as outlined here Register Windows program with the mailto protocol programmatically ) As of Windows 8, the old method no longer works. It would seem that Win8 enforces the following key: HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\URLAssociations\‌​MAILTO\UserChoice . It also appears the ProgID of the selected app is hashed and can't be forged, at least not that I can tell. Does anyone have a working method for this, or can point me at a utility class/code that'll outline how to

How to measure desktop applicaton usage by users? [closed]

我怕爱的太早我们不能终老 提交于 2019-12-04 09:31:06
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . I've wrote a app in c# .NET 3.5. People download it and use. I would like to know how many users do this and how many installed it. How to do this? 回答1: Disclaimer: I work for the company that has created the

how List<string> become AutoCompleteStringCollection

时光总嘲笑我的痴心妄想 提交于 2019-12-04 07:42:36
I have list, i want to convert it to autoCompleteStringCollection.. And I don't want use foreach. _textbox.AutoCompleteMode = AutoCompleteMode.Append; _textbox.AutoCompleteSource = AutoCompleteSource.CustomSource; _textbox.AutoCompleteCustomSource = user.GetNameUsers() as AutoCompleteStringCollection; Note user.GetNameUsers() is list. Code doesn't work, it become null. Thank you _textbox.AutoCompleteMode = AutoCompleteMode.Append; _textbox.AutoCompleteSource = AutoCompleteSource.CustomSource; var autoComplete = new AutoCompleteStringCollection(); autoComplete.AddRange(user.GetNameUsers()

One-Click application moving from Windows Forms to WPF

守給你的承諾、 提交于 2019-12-04 07:25:15
I have a Windows Forms application that I recently re-wrote in WPF , and I need to release it to my end users. I'd like to be able to have the users go to the ClickOnce install point for the WPF application and have their Windows Forms application removed, so they don't have both on their machine. What's the best way (read: easiest for users) of accomplishing this? I have thought about creating an prerequisite command line to detect the old version and uninstall, but I would like to avoid having to write something like that where it only gets run once. RobinDotNet I think you actually SHOULD

Advertise in WPF application?

痞子三分冷 提交于 2019-12-04 06:55:32
Is that possible? I know that services like Google Ads prohibit advertising in desktop applications. Is there a service that supports the WPF/.NET? First,adsense being not allowed to be used in desktop apps , You can look for other advertising networks. There are other ad networks like amazon associates , .. etc . You can search for them according to the domains ex: banking, retails . You can look for/contact them for their terms and conditions on desktop usage. And not all of them would provide you an API for .Net. If amazon is allowed for desktop usage: Look into this API Secondly , w.r.t

How to bundle a third party binary with Electron?

核能气质少年 提交于 2019-12-04 06:07:40
I am still new to the electron ecosystem and desktop development in general but what I wish to do is to interface with a third party, open source application that comes bundled in with my software. First, I am unsure on what the package options to distribute should be. Is it customary to have two downloads, one for users that already have the third party binary installed, and another one that includes it? Also how do I go about actually packaging, and installing the binary? Should this be an option on my package.json? What kind of script should I execute? Are there any npm modules to

How to run desktop application with database locally without installing any database Server?

强颜欢笑 提交于 2019-12-04 04:51:33
I wanted to create a desktop application with database, am using Visual Studio 2013 and C# , Can anybody suggest me what server I used to create my database, in order to run my application in my client's system locally with out installing any database server in client's system [ie, with out installing MsSql server or MySql server or Acess], I want my app works properly when installing my own application's exe file ? And Now am using MSSQL server with my application , Is there any way run this application in client's system locally with out installing MSSQL Server? [my application front end

DataGridView ToolTipText not showing

不想你离开。 提交于 2019-12-04 02:35:55
I have data bound DataGridView in a desktop app with columns that have their ToolTipText property set, yet no tool tip is displayed when I hover over grid view (cells or cell headers). The ShowCellToolTips property of the grid view is true , and I have verified using break points that it is not changed programmatically before I mouse over. I have tried creating a CellToolTipTextNeeded event handler to see what the tool tip text was, but the event handler is never called. Is there anything I have missed? Thanks, Rob Edit: We're using framework 2.0. It appears from your question that you set the

Detect first time user in java app

亡梦爱人 提交于 2019-12-04 01:32:36
问题 I want my java desktop application to know if the user is running it for the first time on that pc. Since the jar-file might be shared between users i don't want to write to a file inside the jar-file. There are obviously a lot of ways to do this but what would you recommend? (It has to be cross-platform). thanks 回答1: Try to use Preferences and its systemRoot() or userRoot() methods to obtain system-wide or user-specific preferences. 回答2: I would recommend using the users home directory where

HTTP request from a C# desktop application to a Siteminder-protected server

╄→尐↘猪︶ㄣ 提交于 2019-12-04 00:11:41
I have developed a C# desktop application which makes HTTPS requests to the customers' servers ( usually Documentum/SharePoint/Alfresco/NemakiWare/etc HTTPS-based servers ). Several customers have asked us to support their servers which are protected by CA SSO ( new name of Siteminder ). QUESTION: What do I need to do to allow my application to send HTTPS requests (and receive responses) with CA SSO-protected servers? I have developed NTLM-SSO support for our C# desktop application and it works well, but I am not sure about how to proceed for CA SSO. I have asked the same question on the CA