Direkt zum Hauptbereich

Posts

Posts mit dem Label "c#" werden angezeigt.

Custom error page 404 @ stackoverflow

:D

open7x0client - the last

ClickOnce deployment is crapy! too sad that ms dropped the setup projekt type. whatever...: here is the latest and probably last version of my open7x0client. Major updates: MP4 target format - looks great on my android MP4 Tags are now written (filled with EPG Infos from vdr.info ) Batch encoding of multiple selected recordings - aim and forget ;) More guifeedback while indexing the box (still a hack) download it from here: http://seeland.biz/blog/m740/open7x0OneClickDeployment/publish.htm

Google 404 Custom Errorpage

Create Mp4 with C#

I found a way to encode to mp4 and h264 with mencodersharp. Videoparameter: -vf dsize=16/9,scale=-10:-1,harddup -of lavf -lavfopts format=mp4 -ovc x264 -sws 9 -x264encopts nocabac:level_idc=30:bframes=0:bitrate=512:threads=auto:turbo=1:global_header:threads=auto Audioparameter: -oac faac -faacopts mpeg=4:object=2:raw:br=128 This worked with an mpeg2ps stream as source. See http://code.google.com/p/mencoder-sharp for mencodersharp

Error TF254027: TFS Install and Language Restrictions in SQL Server (Express)

German windows 7 + German TFS 2012 Express setup = German Errormessage (Error TF254027: TFS Install and Language Restrictions in SQL Server (Express)) English Windows 7 + English TFS 2012 Express setup = Success German Windows 7 + English TFS 2012 Express setup = Success WTF ? read: http://www.microsofttranslator.com/bv.aspx?from=&to=en&a=http%3A%2F%2Fsocial.msdn.microsoft.com%2FForums%2Fes-ES%2Fvcses%2Fthread%2F6659406c-3fc5-4ddf-9904-ecbff723fc5b%2F or read: http://blogs.msdn.com/b/visualstudioalm/archive/2012/10/23/tfs-install-and-language-restrictions-in-sql-server-express.aspx i did not read and burned some time by setting up from cratch :|

Visual Studio Extensions in VS 2012

Free Extensions i use freqently: AnkSVN     is a SVN Client integrated in the solutionbrowser GhostDoc     Is a tool which creates commentstubs SHFB     Toolset to to create helpfiles of your code by pulling your coments Visual Achivments     socialices your programming Wix Toolset     ... most promising setupproject replacement (VS 2012 kicked the Setupproject)

Use self signed certificates, dynamic dns (and tfs express 2012)

Check some domain at no-ip.org (dyndns.com is anyoing complicate to get some free dyndns service) Create a self signed certificate and set the commonname to the reserved hostname from no-ip.org  e.g with the visual studio consol tool makecert: C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>makecert -r -n "CN=whatever.no-ip.org" -pe -ss my Export it from your certificatestore (command mmc -> add snip-in -> certificates -> personal certificates -> all tasks -> export... -> you will get a pfx-file Import it at your webserver import it at your client (start IE as admin -> browse to site with unsigned certificate -> ignore warning -> install certifcate -> choose location -> trusted root certificates) Works great in combinatio...

VLC, DVB Stream & Teletext

have not noticed that vlc can view teletext from a dvb stream. retro! yeah!

Wating for Debugger to attach - android emulator

I tried to debug my app on the emulator and found following errormessage after some debugsessions. Errormessage: Waiting for Debugger Application ExtremeCoolApplication (process biz.seeland.ExtremeCoolApp) is waiting for the debugger to attach. [Force Close] Solution: Set "Wipe Date" once in "Run" -> "Run Configuration..."

Wlan Webcam à la Android

Last time i sat on a laptop without webcam an wanted to make a videocall. I searched for a solution to connect my andorid camera to my pc and found two solutions: IP Webcam DroidCam Wireless Webcam Both need some additional software at the pc to present some common webcaminterface to your voip or im software and both are advertisefundet. Dont know if there is a advertisefree verion of IP Webcam but there is a "pro" version of DroidCam Wireless Webcam which is free of the timelimit. I decidet to test DroidCam longer because the software which is needed on the PC worked out of box (at least with skype), while the software of IP Webcam (option 2) crashed.

Thunderbird, Google & Android

Google pro & con... decide yourself if you wanna present your data to google. The fact is: Its realy easy to get your contacts, calender and mails synced over the air with google without any mony. Just add this three addons to have your calender and contacts synced. Contacts: http://hogi.sakura.ne.jp/en/index.rhtml Calendar: http://www.mozilla.org/projects/calendar Calendar & Google: https://addons.mozilla.org/de/thunderbird/addon/provider-for-google-calendar/

offline E-Card reader

Built an e-Card chipcard ( http://www.chipkarte.at http://de.wikipedia.org/wiki/E-card_(Chipkarte) ) offlinereader based only on .net code .... using http://www.codeproject.com/KB/smart/SmartcardFmwk.aspx . Until now i am able to read Social insurance number, Brithdate, First-, Lastname and Sex.

Get your HelloWorld deployed on your Device

1. Check if your Device is known by your android-Sdk: C:\Program Files (x86)\Android\android-sdk\platform-tools>adb devices adb server is out of date.  killing... * daemon started successfully * List of devices attached SH17123123123    device If you just see C:\Program Files (x86)\Android\android-sdk\platform-tools>adb devices List of devices attached without any listed device you propably missed installing the driver from your phonemanufacture. In my case there was just on download at http://www.htc.com/europe/help/htc-wildfire-s/index.page?#download (htc.com -> help -> select your device -> News & Dowload -> HTC Sync Set Phone into debugmode: Set up your device to allow installation of non-Market applications. On the device, go to Settings > Applications and enable Unknown sources . Turn on "USB Debugging" o...

Setup Android Devenviroment @ win7

Mainstream Android Devoloping: Get Android SDK http://developer.android.com/sdk/index.html Get JDK http://www.oracle.com/technetwork/java/javase/downloads/index.html Get Eclipse http://www.eclipse.org/downloads/ Add ADT Plugins to Eclipse https://dl-ssl.google.com/android/eclipse/ Others: Developing with IntelliJ: They are missing a GUI-Wysiwyg-Designer... maybe http://www.droiddraw.org/ would help... http://wiki.jetbrains.net/intellij/Developing_Android_applications_in_IntelliJ_IDEA#Creating_Elements_of_Your_Application Developiong with Netbeans: ... is also missing a Wysiwygtool but there might be some in future: http://kenai.com/projects/android-gui

Andoiddevelopment Error: Emulator] invalid command-line parameter: Files.

Errorsolution: [2011-09-22 09:46:52 - Emulator] invalid command-line parameter: Files. [2011-09-22 09:46:52 - Emulator] Hint: use '@foo' to launch a virtual device named 'foo'. [2011-09-22 09:46:52 - Emulator] please use -help for more information If this shows up you have to correct the path of the Android SDK location: ... its some bug of some component which has a problem with pahts with blanks... In my case (Win64) in Eclipse: Window -> Preferences -> Android -> SDK Location: "C:\PROGRA~2\Android\android-sdk" ( http://stackoverflow.com/questions/6638713/android-emulator-is-not-starting-showing-invalid-command-line-parameter )

Developers Developers Developers

Convert Text to Image: http://www.codeproject.com/Tips/184102/Convert-Text-to-Image.aspx Do Smart coding using Code Snippets in .NET: http://www.codeproject.com/Tips/183939/Do-Smart-coding-using-Code-Snippets-in-NET.aspx Extension Methods in C#: http://www.codeproject.com/Tips/183800/Extension-Methods-in-Csharp.aspx#alternate2 Convert LINQ to Entity Result to a DataTable: http://www.codeproject.com/Tips/184675/Convert-LINQ-to-Entity-Result-to-a-DataTable.aspx#alternate1 Fine demo for using Systetray with winforms: http://www.codeproject.com/Articles/185513/Personal-Schedule-Management-Tool.aspx How to store custom objects in web.config: http://www.codeproject.com/Articles/184716/How-to-store-custom-objects-in-web-config.aspx

c# & rs232

wrote quick hack for reading and writing through rs232 / serialport http://seeland.biz/blog/WindowsFormsApplicationSerialPort.7z

DropBox / Live Mesh 2011

so what is the difference? Live Mesh gives you the possibility to sync files without restriction in the sum of size of all files. you can choose to sync files without using the online space. SkyDrive is the name of the online space, which is 5GB big. Syncing without using SkyDrive is only done when the systems (microsoft call it devices) are online at the same time. So if your systems are never online at the same time your files will never be synced. Keep in mind: Microsoft stopped support for Windows XP (Live Mesh Beta supported xp, but will shut down in 03/2011), but they support MacOSX (>10.5): http://explore.live.com/windows-live-2011-system-requirements If you chosse DropBox you are limited to the size of the online space, which is initial 2GB big. Advantage: you can sync with mobile devices and windows xp, linux, MacOS, Android, Blackbarry, Iphone, Ipad, ... And the best: There are free ressources for developer in multiple languages. https://www.dropbox.com/developers/releases...

Fwd: Nav4All navigation shut down by Navteq

Nav4All gets down. -------- Original-Nachricht -------- Betreff: Nav4All navigation shut down by Navteq Datum: Mon, 1 Feb 2010 20:50:04 +0100 Von: Nav4All <noreply@nav4all.com> An: bugYourself@gmx.at.local Amsterdam, The Netherlands, 28-01-2010 16:30 GMT+1 Subject: Nav4All navigation shut down by Navteq Letter to 27,625,631 Nav4All navigation customers Dear Customers, It is with the deepest regret that we hereby notify you that the global navigation of Nav4All and the Tracking & Tracing will go offline in 3 days. The reason for the same is that the data licence agreement with Navteq (a 100% Nokia subsidiary) was not extended, in a totally unexpected manner. It is not possible to implement data from another supplier in our Nav4All systems within the short term. The Nav4All navigation system was developed for Navteq data. Nav4All has therefore been constrained to stop...