Click Once Deploy/Setup Project - deployment

im getting the following errors when i set ProjectProperties->Publish->Options->Publish Language to German:
Warning 1 Could not match culture 'de-DE' for item 'Windows Installer 3.1'. Using culture 'en' instead. ******
Warning 2 Could not match culture 'de-DE' for item '.NET Framework 3.5'. Using culture 'en' instead. *****
Im using German Vista, VS however is english.

You probably don't have the german versions of these two packages. They come along with Visual Studio, which in your case is English.
Look at the The ClickOnce User Interface section of this site . It gives you the details of what you can do to workaround this problem.

Related

How do I generate media files with names that contain blanks?

I have this in my .install4j file:
<mediaSets>
<windows ...
mediaFileName="${compiler:product.name} ${compiler:edition.name} Win32 ${compiler:sys.version}" ...>
<mediaSets>
The issue is with the name of the generated media file.
I get: Our-Product_Enterprise_Win32_6.0.36-SNAPSHOT.exe
I want: Our-Product Enterprise Win32 6.0.36-SNAPSHOT.exe
I switched off the "Convert dots to underscores" setting, which helped clean up the version number, but how do I prevent Install4J from replacing all blanks with underscores?
I could live with using some other character, but:
_ (underscore) is confusing since the name already has dashes in it (it should be possible to read out a name over the telephone).
- (dash) is even more confusing since there are more dashes in it.
~ (tilde) looks weird - the installer is seen by non-tech people, and I don't want to confuse them.
en-space and em-space might work, but could cause character set weirdness, particularly since we're building Linux and Windows installers (and maybe Mac installers in the future). I.e. I'll want to stick with ASCII-7 if at all possible.
Currently this is not possible. For 8.0.3, I have now implemented an option "Convert spaces to underscores" so you can disable the replacement.
Please contact support#ej-technologies.com to get a build where this is already implemented.

Idiomatic way to insert text from one application into another with GTK+ 3.0?

I'm working on an "emoji picker" (a.k.a. Unicode character palette). I've got the search and character history working but currently it just copies the character into the clipboard. Is there an idiomatic way to insert a selected character into the previously focused application from GTK+ 3.0?
For example, with xdotool, this is trivial to do from a shell: xdotool type --delay 50 "💩" will insert 💩.
I'm currently working in Vala but am comfortable with C documentation. If I need to use X11- or Wayland-specific APIs, that's fine, but pointing me to documentation for both would be great.

How to change auto-format for Transact-SQL code in Visual Studio 2017?

How do I stop Visual Studion 2017 form auto-formatting my T-SQL code and changing the case of keywords, functions, etc? I want to keep the code exactly as I type it. The only relevant option I see is under Editor - SQL Server Tools - IntelliSense - Casing for built-in functrion names, which does not seem to do anything (I changed it to Lower case, restarted the IDE, but it still converts them to upper case). I did not find anything relevant under the T-SQL90 and U-SQL, and I do not see any other T-SQL specific settings (I'd expect something like Transact-SQL, but there is no such option). Any idea?
Here is the first place which can't be easily found without using the search bar. Also, it's not language specific either unfortunately.
Search for 'format' and turn off 'format as you type' option
Here is the 2nd place I'm aware of
Search for 'pretty' and turn off reformatting
Hope this is helpful -- if you find a SQL specific way to avoid the annoyance please post a response to my answer.

SQL SERVER MANAGEMENT STUDIO: Highlight variables

Is there a way in SQL SERVER MANAGEMENT STUDIO to highlight all usage of variables when we click on a variable name?
It might not work in all cases, but I find that using the F2 button, which on my machine is mapped to 'View.EditLabel'. It allows me to highlight all of one 'type' things like aliases, variable names and others. Not perfect, but fits my purpose.
I still stand by the fact that it might not be perfect, but it does do what the original poster asked. If you want to see what this command is mapped to see the Options windows.
In the last version of SSMS (currently version 17.1), select the text and type CTRL + F .
No, there's not such feature on SSMS
This has been added in SSMS 2016.
Available for download from https://msdn.microsoft.com/en-us/library/mt238290.aspx

Run-time error '509': this command is not available- WordBasic for Word 2013

I have a macro code which has following line of Wordbasic call:
WordBasic.FormatFont Font:='Courier New', Points:=8
I have run the code, it gives runtime error 509 in this command in word 2013.
Whereas I have written individual macro in word 2013 for wordbasic.Formatfont, it ran absolutely fine. I don't know what is the issue behind it.
I don't find any rectifying way in google. Is there any other way to resolve wordBasic call in Microsoft Word 2013?
WordBasic returns an Automation object (Word.Basic) that includes methods available in Word version 6.0. It is obsolete. Use instead Visual Basic objects and methods.
WordBasic:
WordBasic.FormatFont Font:='Courier New', Points:=8
in VBA is
With Selection.Font
.Name = "Courier New"
.Size = 8
End With
This answer is not exactly what are you asking for, rather a workaround. But IMHO it is the best way - I suggest not to use WordBasic, use VBA. See Converting WordBasic Macros to Visual Basic at msdn.com.