When outputting a query to Excel several long numbers are being converted to scientific notation. Is there anyway to programmatically force Excel to not convert these numbers to scientific notation?
e.g.
1935489801623778
becomes
1.93549E+15
I've tried putting a ' in front of the number which...
Using a script I am attempting to create a computer account in Active
Directory and then setup an ACL on that account after it has been created.
While I can create the account when I try to apply an ACL to it I receive the
following error: "Active Directory: General access denied error."
I...
I am attempting to utilize the new cfdocument tag, but everytime I do I receive the error: "The document has no pages." I've widdled my code down to the most basic possible (only 3 lines) and am still receieving the error. I am running CFMX7. Any thoughts?
Code:
<cfdocument format="pdf">...
In my application.cfm I load up a ColdFusion component for AD LDAP interaction. Loading the component in the below manner in CFMX6.1 causes no problems, but in CFMX7 gives this error:
My code:
119 : <!--- load an ldap cfc into application scope --->
120 : <cfif not...
I am working with LDAP to create computer accounts in Active Directory. While, I am able to create computer accounts that can be joined to the domain I have not yet been able to figure out how to set that accounts access control entry (ACE). There are plenty of examples of how to do this...
I am creating objects in Active Directory using an LDAP connection. Once the object is created I want only certain users to be able to join each particular object to the domain. Meaning that just because you have rights to join the domain you can't join a specific object unless you have been...
I have written a ColdFusion component to interact through LDAP with Active Directory. The component is working great and I am getting the functionality I need from it.
However, I am building an additional method by which I plan to enumerate all of the OU objects in AD. While I recursively...
On some pages I have reason for adding a watermark, but those pages will not always require said watermark. As such I would like to dynamically add a style attribute to the body tag with JavaScript. I've written the below code to add the style attribute to a page's body tag, but I don't get my...
I am writing a ColdFusion component for LDAP Active Directory interactions for my company. This is my first ColdFusion component and I want to ensure that I get the init (initialization) function done correctly. Essentially, I am looking for an okay that I have not violated a best practice or...
I am verifying data in a text field with an onchange event. After the user puts in a machine name I check to verify that said machine actually exists (DB call). This works great except I don't like the user experience in a specific instance and I am wondering if anyone has any ideas on how to...
While the below code works I cannot help but think there is a cleaner way of doing this. The below query would eventually result in @represented_org being set to 10800. As I said this code works for orgs 00001 through xxxxx, but I just feel like it could be tightened up. Any help would be...
I have a batch job that runs that is querying data from SQL Server. I am then emailing the output of that query to a customer. Presently we are emailing a | delimited list, however the customer would prefer a tab delimited list. I have attempted using a char(9) in place of '|' but with no...
I've written several functions similar to the one below, which work quickly and efficently. However, this particular function runs incredibly slow when a large set of data is thrown against it. There are indexes on all of the keyed columns that I am working with. Is there something here that...
I've created an object of HTMLTable. I am dynamically adding rows w/ cells to the table. I would now like to place this HTMLTable object on my page. In what way do I do this? Any thoughts would be most appreciated.
I've written a piece function that is supposed to delete a particular row in table based on the id of that row. For some reason beyond my comprehension the below code deletes multiple rows from my table but not the one I am interested in deleting. Why is this? What am I missing?
function...
I am trying to make the below function more generic. Presently, I have set it up so I can call it by passing it an HtmlInputText object and the name of the class I want to switch to. However, I'd like to configure this function to work for any object; any thoughts on how to accomplish this...
I am using the CFLDAP tag to access information from Active Directory (AD) on our corporate intranet. Users are authenticated to our application using SPNEGO. We do not store the users password when they authenticate though we do capture their account name. Because we do not have the users...
I have a page where I am opening a window to perform a ping and then returning those results to the page the user is presently on. This action is performed through a combination of JavaScript and ColdFusion. While, the actual method of pinging and returning the results to the screen works just...
I am working with a combination of ColdFusion and JavaScript to perform a ping for a customer requested app (tried to disuade them from this, but they were adamant). Presently I am performing the ping by creating a list of ip addresses to ping and providing the customer with a checkbox next to...
I am working with a combination of ColdFusion and JavaScript to perform a ping for a customer requested app (tried to disuade them from this, but they were adamant). Presently I am performing the ping by creating a list of ip addresses to ping and providing the customer with a checkbox next to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.