User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 332,692 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,401 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our advertiser:
Showing results 1 to 32 of 32
Search took 0.01 seconds.
Posts Made By: cmhampton
Forum: ColdFusion 14 Days Ago
Replies: 1
Views: 284
Posted By cmhampton
Re: Where to purchase

Honestly, there are a lot of legal and logistic issues with setting up your own newsletter app (blacklists, spam laws etc...).

A quick Google search returned these results (can't vouch for how well...
Forum: ColdFusion 23 Days Ago
Replies: 4
Views: 584
Posted By cmhampton
Re: insert loop

I'll have a look at it tomorrow and see if I can help.
Forum: ColdFusion 28 Days Ago
Replies: 4
Views: 584
Posted By cmhampton
Re: insert loop

One thing to check is to cfdump the form structure and make sure that the data from the form is correct.


<cfdump var="#form#">


Do you have any <cfset> statements that could be over-writing the...
Forum: ASP.NET 29 Days Ago
Replies: 2
Views: 176
Posted By cmhampton
Re: Data Class works on local debug, but not on hosted server.

Thanks for the feedback. It turns out that it was actually a problem on the server. I talked to the person in charge of our hosting servers and he said that the folder was configured as an app...
Forum: ASP.NET 30 Days Ago
Replies: 2
Views: 176
Posted By cmhampton
Data Class works on local debug, but not on hosted server.

I have a data layer class built with the dataset designer that I have added as a reference (compiled dll) in a project. When I run the app locally from Visual Studio, it runs just fine. However...
Forum: ColdFusion Apr 10th, 2008
Replies: 1
Views: 440
Posted By cmhampton
Re: survey code not working

The group attribute of cfquery is one of the most unknown and under-appreciated pieces of the entire language. It's so incredibly simple to use it's a wonder more people aren't told about it.

I...
Forum: ColdFusion Apr 10th, 2008
Replies: 2
Views: 551
Posted By cmhampton
Re: Automate undisabled a “submit button”?

You need to use a javascript function for this:


function ChangeButtonStatus()
{
if (document.getElementById("Text").value.length > 0)
{
document.getElementById("submit").disabled =...
Forum: ColdFusion Apr 3rd, 2008
Replies: 1
Views: 431
Posted By cmhampton
Re: How to secure files, without active directories

I'm not sure if this will work, but create an application.cfm file in the pdf folder that has user authentication code. I believe that the CF processor will read this file before it sends the pdf to...
Forum: ColdFusion Mar 31st, 2008
Replies: 2
Views: 763
Posted By cmhampton
Re: <cfinput type="checkbox"> Validation

You need to specify a value for each one.

For instance:


<cfinput type="checkbox" name="gender" value="Male" checked>
</label></td>
<td>Female</td>
<td><label>
...
Forum: ColdFusion Mar 28th, 2008
Replies: 2
Views: 618
Posted By cmhampton
Re: <cfquery> Undefined

First of all, please don't name your query cool.recordCount. RecordCount is a property of the query object. Name it something like qryCool.

Secondly, you're missing a </cfif> tag. You have two...
Forum: ColdFusion Mar 25th, 2008
Replies: 2
Views: 458
Posted By cmhampton
Re: Remote Image Cache

I'm not sure I understand what you're getting at.

You're storing thumbnail images on another server? That has nothing to do with CF. The CF server won't load the images, the client does. So...
Forum: MS SQL Mar 25th, 2008
Replies: 3
Views: 612
Posted By cmhampton
Re: can we get the position of record while retriving records in sql server 2003

Are you using a cursor?

If so, you could always create a counter variable and increment it each time through the loop. Is this done through an application, or the query window? If it's done in a...
Forum: MS SQL Mar 24th, 2008
Replies: 1
Views: 422
Posted By cmhampton
Re: Errors installing a database from a backup

In the Restore Database window, on the Options screen, check the first option 'Overwrite the existing database'.

BTW, are you restoring from a .bak file? Or the .mdf? If you are restoring from the...
Forum: MS SQL Mar 24th, 2008
Replies: 2
Views: 510
Posted By cmhampton
Re: looping in SQL Server2005

Not sure if this is what you are looking for:


DECLARE tempCursor CURSOR FOR SELECT col3 FROM table1 WHERE col2 = @col2
OPEN tempCursor
DECLARE @value As int --or whatever your datatype is

FETCH...
Forum: ColdFusion Mar 24th, 2008
Replies: 1
Views: 504
Posted By cmhampton
Re: Using cfcheck!

I'm not sure I understand what you are looking for. Can you please post some code?
Forum: ColdFusion Mar 24th, 2008
Replies: 1
Views: 459
Posted By cmhampton
Re: Listing items only from an specific range

<cfquery name="disp_news_arti_curr" datasource="#Request.MainDSN#" CACHEDWITHIN="#CreateTimeSpan(1,0,0,0)#">
SELECT
id_news_arti,
url,
name_pub,
...
Forum: ColdFusion Mar 18th, 2008
Replies: 3
Views: 555
Posted By cmhampton
Re: cfloops

Glad to help. Let me know if you have any other questions.
Forum: ColdFusion Mar 18th, 2008
Replies: 1
Views: 1,153
Posted By cmhampton
Re: Form with Image Link/Javascript Issue

When you view the page in a browser, what's the source look like? Can you post that?

Also, have you checked to see if the GetProduct.ProductLink element has the data you need? You can do a cfdump...
Forum: ColdFusion Mar 18th, 2008
Replies: 3
Views: 555
Posted By cmhampton
Re: cfloops

Are you outputting from a query?

If so you can use the group attribute of the cfoutput tag. Here's an example:


<cfoutput query="queryname" group="title">
#Title#
<cfoutput>
#SubTitle#<br...
Forum: ColdFusion Mar 7th, 2008
Replies: 1
Views: 755
Posted By cmhampton
Re: Undefined Element Error

You may have already figured this out, but the first thing that comes to mind is that your query has been cached for 4 hours. Because it's a stored procedure and not an inline query, CF will not...
Forum: ASP.NET Mar 7th, 2008
Replies: 9
Views: 285
Posted By cmhampton
Re: Queryable Collections

Thanks for the help. The method is only taking 14 hundredths of a second anyway, so I wasn't too worried about time savings. The way I'm doing it just seemed counter-intuitive. I kept telling...
Forum: ASP.NET Mar 7th, 2008
Replies: 9
Views: 285
Posted By cmhampton
Re: Queryable Collections

Here's the whole function:


'Create default xml objects
Dim xmlQuestionnaireData As New XmlDocument()
Dim elForm As XmlElement
Dim elPage As XmlElement
Dim elPages As XmlElement
Dim elQuestionnaire...
Forum: ASP.NET Mar 7th, 2008
Replies: 10
Views: 438
Posted By cmhampton
Re: search data base

Is the database hosted on the same network? If so, it's just a matter of connection strings. If it is not, and it's not publicly available across the internet, they need to have a web service...
Forum: ASP.NET Mar 7th, 2008
Replies: 2
Views: 213
Posted By cmhampton
Re: Search Text to Create Links

Regular Expressions should do the trick for this.


//Find the quotation marks in the string
Regex regEx = new Regex("[\"]");
MatchCollection mc = regEx.Matches(string);

//Remove them
foreach (Match...
Forum: ASP.NET Mar 7th, 2008
Replies: 9
Views: 285
Posted By cmhampton
Re: Queryable Collections

Was this supposed to be in another thread? My question has nothing to do with query strings.
Forum: Community Introductions Mar 7th, 2008
Replies: 7
Views: 198
Posted By cmhampton
Re: Greetings

Thank you everyone!
Forum: ASP.NET Mar 6th, 2008
Replies: 9
Views: 285
Posted By cmhampton
Queryable Collections

Does anyone know how to create queryable collections in VB without using LINQ? I am working on creating a dynamic questionnaire system and need some help. Here's some background:

The system needs...
Forum: ASP.NET Feb 29th, 2008
Replies: 4
Views: 624
Posted By cmhampton
Re: Problem using String.Format inside Request.Form

I'll have to try it. I'd rather do it that way but I couldn't get it to work. Thanks!
Forum: ASP.NET Feb 29th, 2008
Replies: 4
Views: 624
Posted By cmhampton
Re: Problem using String.Format inside Request.Form

Thank you for the suggestion, but the problem lies in the fact that this takes place in a button_click event, and therefore before the Page_Init(), so the controls aren't available yet.

I did find a...
Forum: Community Introductions Feb 28th, 2008
Replies: 7
Views: 198
Posted By cmhampton
Greetings

Hello everyone.

My name is Chris and I'm a C# developer switching to VB for a new job. I have about 8 years experience in Web Development with a strong background in SQL, as well as graphic...
Forum: ASP.NET Feb 28th, 2008
Replies: 3
Views: 469
Posted By cmhampton
Re: Is it possible to login using windows authentication

Is this an Active Directory based network? If so, it sounds like you are looking for ADSI. Try looking at this article to get you started. http://www.4guysfromrolla.com/webtech/LearnMore/adsi.asp
Forum: ASP.NET Feb 28th, 2008
Replies: 4
Views: 624
Posted By cmhampton
Help Problem using String.Format inside Request.Form

I'm having trouble with finding a checkbox control on a page. I have a repeater that creates a list of items with checkboxes (so I can activate/deactivate them). The checkboxes are named as follows...
Showing results 1 to 32 of 32

 
All times are GMT -4. The time now is 5:06 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC