I'm building a data access layer in Excel VBA and having trouble returning a recordset. The Execute() function in my class is definitely retrieving a row from the database, but doesn't seem to be returning anything.
The following function is contained in a class called DataAccessLayer. The class contains functions Connect and Disconnect which…
I have two data tables set up in a Master-Details configuration with a relation "Ticket_CallSegments" between them. I also have two Binding Sources and a Data Grid View configured like this
(Init Code)
//
// dgvTickets
//
this.dgvTickets.AllowUserToAddRows = false;
this.dgvTickets.AllowUserToDeleteRows = false;…
I am working on a project to deploy a project via clickonce. The website where these files are housed will only accept HTTPS traffic and if you attempt to connect via HTTP, our siteminder agent will redirect you to a HTTPS login form. We cannot disable the siteminder agent or enable HTTP for security reasons.
In…
How many characters are allowed to be in the subject line of Internet email?
I had a scan of The RFC for email but could not see specifically how long it was allowed to be.
I have a colleague that wants to programmatically validate for it.
If there is no formal limit, what is a good length in practice to suggest?…
I am trying to get xdebug working with eclipse (3.5) / php (on xampp windows 7). I have verified xdebug is enabled in php - I have the fancy output and my phpinfo shows all the xdebug stuff. I have remote debug on, and typed in the lan ip address on my eclipse machine.
When I tell eclipse to debug, it launches…
I have just installed the lastest RC of VS2010, which for me represents a shift from VS2008. A new comment formatting feature that I was looking forward to appears to be missing.
About 6 months ago I read a Scott Gu blog post that mentioned a new VS2010 feature that would format /// style method comment blocks…
I've just about got the jPicker script working flawlessly in my app. However, the value it returns contains 8 digits. Example: 212ebcff
Is there a preset variable that forces jPicker to return a 6 digit hex value?
I have a Websphere Portal application containing several portlets for which I'm currently working on some changes.
A week ago, the WAR file produced by Rational Application Developer could be installed on the Portal server with no problems.
Yesterday I made some seemingly minor changes to two JSP files and…
I have noticed that after awhile of debug/tweakcode/debug etc that eventually Silverlight starts to crash all of my browsers (i.e. doesn't matter which i fire, they all just crash). If i then go to a site that has Silverlight, it works fine? so it has something to do with debugger + Silverlight not getting…
I am populating a select menu with getJSON. I am wondering if there's a way that I can use jQuery's .each function to bring in these values?
Surely there must be an easier way to accomplish this...maybe?
PHP file:
<?php
$queryMonth = "SELECT monthID, month FROM months";
$result =…
I feel as if this should be very simple, but it's behaving strangely.
I have 3 entities, with a relationship as such
Entity A <-- Entity B <<-- Entity C
I have an NSFetchedResults controller and I'm trying to filter the results of Entity A using the following predicate.
…
I've got a unit test project using NUnit. When I add the mspec (machine.specifications) assembly to the references, both ReSharper and TestDriven.Net stop running the NUnit tests and only run the mspec tests.
Is there a way or setting that allows both NUnit & mspec tests to…
Hi -
I am searching for a command-line tool (or XSLT technique, or C# code that can be made into a command-line tool, etc) for Windows that will do XML pretty-printing. Specifically, I want one that has the ability to put attributes one-to-a-line, something like:
…
Is it possible to have Rhino use a newer implementation of JS than 1.7?
Do we have to wait for mozilla to do this, or is there a community project that has taken the lead?
Thanks.
What is the most appropriate .Net exception type for when you have a class which must have its collection property initialised with at least one item?
I'm thinking that it would be an ArgumentOutOfRangeException but is there something more appropriate based on a…
All,
LowDown: I am trying to create a Document Viewer in WPF.
The layout is this: Left side is a full list box. On the right side is a Collection or an Items control. Inside the items control will be a collection of the "selected documents" in the list box. …
I have a "restaurants" table with a "name" column. I've defined the following index:
indexes "REPLACE(UPPER(restaurants.name), 'THE ', '')", :as => :restaurant_name, :sortable => true
... because I want to sort the restaurant names without respect to…
Hello.
I am having trouble getting my project to link to the Boost (version 1.37.0) Filesystem lib file in Microsoft Visual C++ 2008 Express Edition. The Filesystem library is not a header-only library. I have been following the Getting Started on Windows…
I have an IIS 6 server hosting a website that is authenticated with NTLM. I would like to turn on anonymous access to most resources, such as css, icons, and javascript. I noticed, using Fiddler, that an NTLM handshake is occuring for all resources pulled…
I am wondering if there is any difference in regards to performance between the following
SELECT ... FROM ... WHERE someFIELD IN(1,2,3,4)
SELECT ... FROM ... WHERE someFIELD between 0 AND 5
SELECT ... FROM ... WHERE someFIELD = 1 OR someFIELD = 2 OR…
I've started using the XmlnsDefinition attribute to tie together some CLR namespaces into a single xmlns for convenience in XAML.
Unfortunately, it seems that this only works when using foreign assemblies. If I have a XAML file in the same assembly as…
We have an old legacy application we need to automate.
It uses MDI Windows.
We're using UIAutomation and I can succesfully get the appropriate AutomationElement for each MDI Child window.
What I cannot do is bring that element into focus.
Here is…
I'm trying to run some funtions in the background of a PoSh script. The job never completes, but works fine when called normall. I've narrowed the problem down to the following line:
This line works fine:
$ws = New-WebServiceProxy …
UPDATE
I have reverted back to Jquery 1.3.2 and everything is working, not sure what the problem is/was as I have not changed anything else apart of the jquery and ui library versions.
UPDATE END
I having an issue with the JQuery UI…