I'm trying to use SQL Server Profiler (2005) to track down some application performance problems. One of the calls being made is to a table-valued user-defined function. This function wraps a select that joins several tables together.
In SQL Server Profiler, the call to the UDF is logged. However, the select that underlies the UDF isn't being…
I'm interested in trying out distributed version control systems. git sounds promising, but I saw a note somewhere for the Windows port of git that says "don't use non-ASCII filenames". I can't find that now, but there is this link. It's put me off git for now, but I don't know if the other options are any better.
Support for non-ASCII…
We are in the process of testing different options for sending faxes from within our C# code (receiving faxes is not necessary). One of those options is to use FAXCOMEXLib.
Without surprise, I've had pretty good success sending out black & white faxes with FAXCOMExLib. But we also have a requirement to support sending color…
I am pulling a timestamp from a feed and it gives 12 digits (1269088723811). When I convert it, it comes out as
1901-12-13 20:45:52,
but if I put the timestamp into http://www.epochconverter.com/ it comes out as
Sat, 20 Mar 2010 12:38:43 GMT, which is the correct time.
epochconverter.com mentions that it maybe in…
Is it possible to hide one specific application using cocoa?
I know you can hide all other applications using the following code
[[NSWorkspace sharedWorkspace] performSelectorOnMainThread:@selector(hideOtherApplications) withObject:NULL waitUntilDone:NO];
But is it possible to hide just one specific application say…
How does the use of components in .NET differ to pre-.NET?
I see the differences as:
.NET components don't have to be centrally registered on a machine and can merely be invoked at run-time from a specified location
if .NET components are 'registered' in the GAC, problems asociated with different versions of the…
Having an issue with some PDF files not displaying properly in our iPad app. I have come to the conclusion that we are needing to standardize by "converting" PDF to PDF. I have successfully processed this using ImageMagick to convert the PDF to PNG (resized), and then pushing the PNG(s) back into a PDF. However,…
If a run-time error occur in a VB6 app, does this mean Error handling has been turned off by use of the On Error Goto 0 statement?
Can this assumption be made? Or are there are other circumstances in which a run-time error could occur?
If an error has been handled by either a Resume Next or a Goto then…
In an ASP.NET 3.5 VB web app, I successfully manage to cache an object containing several personal details such as name, address, etc. One of the items is CreditNum which I'd like to change in the cache on the fly. Is there a way to access this directly in the cache or do I have to destroy and rebuild…
In the XHTML for a page I have:-
<asp:Button ID="bookNowButton" runat="server" CssClass="bookNowButton"
OnClientClick="showHideLoggedInDiv('<%=bookingFormDiv.ClientID%>')" />
This breaks. I need the correct syntax or method to insert the bookingFormDiv.ClientID into the…
Two models (Rails 2.3.8):
User; username & disabled properties; User has_one :profile
Profile; full_name & hidden properties
I am trying to create a named_scope that eliminate the disabled=1 and hidden=1 User-Profiles. The User model is usually used in conjunction with the Profile…
If you have
using XXXX.YYYY;
at the top of a C# file, do you need to include that assembly in the References part of the project?
What is the difference?
I have two models:
class Employee < ActiveRecord::Base
has_many :projects
end
class Project < ActiveRecord::Base
acts_as_taggable_on :skills, :roles
end
I would like to find Employees using the tags associated with their projects. The geokit-rails plugin supports a similar…
If I use this class to do a
SELECT * FROM ...
statement against a database, what method or variable of this class should I use just to give me a dump of the output from the SQL statement?
Hi,
I have a scenario where I want to dynamically add words of text to a container so that it forms a paragraph of text which is wrapped neatly according to the size of the parent container. Each text element will have differing formatting, and will have differing user interaction…
Is there a way to use a LINQ expression to request a Count query from the Netflix oData service?
The Netflix documentation shows that you can return counts by appending $count to a request for a collection, but a URL like this:
http://netflix.cloudapp.net/Catalog/Genres/$count
…
I'm having difficulty getting OpenId authentication working with Authlogic. It appears that the problem arose with changes to the open_id_authentication plugin. From what I've read so far, one needs to switch from using gems to using plugins.
Here's what I done thus far to get…
What is my best option for converting plain text links within a string into anchor tags?
Say for example I have "I went and searched on http://www.google.com/ today". I would want to change that to "I went and searched on http://www.google.com/ today".
The method will need to…
I've read various sources but I'm unsure how to implement them into my code. I was wondering if somebody could give me a quick hand with it? Once I've been shown how to do it once in my code I'll be able to pick it up I think! This is from an AJAX autocomplete I found on the…
I have been having problems with this. I think this should be pretty simple but I cannot seem to get it to work. I want a new image to appear when rolling over my facebook button. Thanks for your help!
<p align="right">
<a…
I have a VB6 app which brings up a form by invoking a .NET DLL, but the problem is that this form takes almost 5 seconds to appear after a menu item in the VB6 app is selected. How can I speed this up?
I'm thinking that one possible solution is…