Geeks With Blogs
Brian Biales because blogging is just the easiest way to remember things
I was very happy with Intellisense in SQL Management Studio 2008, it worked great. So I was very surprised to have so many issues with it when I installed the 2012 version. First of all, it seems to take forever for it to load/cache database objects that used to be available almost instantly. With the 2012 version I can open a new query window and start ......

I’ve been fighting this issue for a long time, and just the other day discovered the solution to my problem. Here is the issue… My laptop is connected to my home / work / internet via its wireless (WiFi) adapter. But I test trunk mounted modems that plug into the Ethernet port. These often use “private” APN’s, and have no access to the internet. But ......

Do you write stored procedures that might be used by others? And those others may or may not have already started a transaction? And your SP does several things, but if any of them fail, you have to undo them all and return with a code indicating it failed? Well, I have written such code, and it wasn’t working right until I finally figured out how to ......

I have a need for a highly responsive web page that must at least appear to be "pushed" information from the server as it happens, much like you'd see with an HTTP protocol based chat window. The client will utilize JavaScript, and will use JQuery and its UI plugins, and will use its AJAX support to call the requests that will only return when there ......

For those who do not mix .NET C# code with legacy DLL's that use char* pointers on a regular basis, the process to convert the strings one way or the other is non-obvious. This is not a comprehensive article on the topic at all, but rather an example of something that took me some time to go find, maybe it will save someone else the time. I am utilizing ......

A client is using Openfire IM for their users, and would like some custom queries to audit user conversations (which are stored by Openfire in tables in the SQL Server database). Because Openfire supports multiple database servers and multiple platforms, the designers chose to store all date/time stamps in the database as 15 character strings, which ......

My Wordpress emails were being rejected by my ISP's SMTP server. I fixed this by editing wordpress\wp-includes\plugg... in the wp_mail() function, the following line: // Set to use PHP's mail() $phpmailer->IsMail(); Which uses the PHP mail feature, To the following: // Set to use SMTP mail() $phpmailer->IsSMTP(); $phpmailer->Host='localh... ......

I was speaking with a colleague earlier today about a potential threading issue in his code. I suggested serializing access to his object to ensure two threads are not using it at the same time, as that could corrupt the processing. Being a relative “old-timer” who’s largest mutithreading applications were written in Visual C++ v 5 and 6, I remember ......

I just found a great post at SQL Tips by Namwar Rizvi - TSQL Function to convert decimal to Hex, Octal or any other base (http://sqltips.wordpress.c... with a great, simple function to convert any integer into a string of characters in any base from 2 through 36. Here it is, the comments include his post text, giving original credit for this algorithm ......

[Update: 4/21/09] I did get this to work finally. This article clued me in: http://www.4guysfromrolla.c... It turns out the server.CreateObject() method takes only one parameter, the name of the object. But the global CreateObject function takes two parameters. The second parameter being the server on which the object should be ......

I've been bothered by this for a little while now. I reboot my laptop, it connects to my router (WLAN), gets its address (as well as the DNS server's address) via DHCP. But the machine cannot resolve any names. Vista reports my LAN is "local only". Diagnostics say the DNS is not working. I used Wireshark, and discovered that when I try to resolve a ......

Ok, so this probably doesn't happen often, where some code doesn't know on what server or database it is operating on, but needs to know this information... To be honest, I created this as I was able to logon to someone's DotNetNuke site as an admin, but did not have direct access to the website files. The site owner asked where the database resided. ......

Most resizing logic is either geared toward running the application in different resolutions, or in keeping a control proportionately placed on a page or with reference to other controls. The Dock feature is great for handling a lot of your resizing needs as well. But I've found a solution to a different resizing problem that I'll bet others have run ......

I discovered an interesting issue while decorating an EventTopic subscription in my ModuleController for one of my modules. The decoration was like this: [EventSubscription(EventTop... ThreadOption.UserInterface)... void OnMsgReceived(object sender, EventArgs<Msg> ev) The event is fired on a non-UI thread, and I disovered ......

First, what happened: I can’t believe it, but my home machine was actually hacked into this weekend. I had installed RealVNC 4.1.1 some time ago, so I could access my machine from afar, although frankly I use RDC much more often, as it is more secure. I just never turned VNC off… Well, I sure should have. See this link for information about the vulnerability ......

Copyright © Brian Biales | Powered by: GeeksWithBlogs.net | Join free