Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 25 of 86
Search took 0.01 seconds.
Search: Posts Made By: disel2010
Forum: Classic ASP Databases April 25th, 2012, 09:12 AM
Replies: 7
Views: 5,404
Posted By disel2010
Hi, something like this should work: ...

Hi,

something like this should work:


<html>
<head>
<script language="javascript">
function passParamsByForm(prmName,prmVal)
{
Forum: Classic ASP Databases April 25th, 2012, 04:34 AM
Replies: 7
Views: 5,404
Posted By disel2010
Just wanted to add one option to Imar's list: ...

Just wanted to add one option to Imar's list:

4. submit a hidden form with javascripts
Forum: Classic ASP Basics April 17th, 2012, 04:41 AM
Replies: 3
Views: 2,151
Posted By disel2010
Hi, what you show looks about right...

Hi,

what you show looks about right actually..

Although strictly speaking you don't have a prepared statement yet (only when you add objCmd.Prepared = True you'll get a prepared or precompiled...
Forum: VB How-To March 29th, 2012, 03:05 AM
Replies: 2
Views: 1,548
Posted By disel2010
Hi, just parse the string to date and use...

Hi,


just parse the string to date and use the toString with a specific DateFormat afterwards.

There are actually hundred ways to do this, in one way it could look like this:

...
Forum: Excel VBA March 29th, 2012, 02:46 AM
Replies: 5
Views: 2,513
Posted By disel2010
Hi Justin, looks like you still need to...

Hi Justin,


looks like you still need to calculate your offset of GMT/UTC time.. (epoch time is defined as seconds since 1st January 1970 GMT/UTC midnight)

The DateAdd function can be used for...
Forum: Excel VBA March 23rd, 2012, 05:20 AM
Replies: 5
Views: 2,513
Posted By disel2010
Hi, looks like you're trying to convert...

Hi,


looks like you're trying to convert an epoch time to a DateTime value.

Since the unix time Epoch is actually the number of seconds since 1st January 1970 you could use the following...
Forum: Javascript How-To March 22nd, 2012, 06:30 AM
Replies: 1
Views: 1,116
Posted By disel2010
Post Hi, I have no clue yet how you are going to...

Hi,

I have no clue yet how you are going to programmatically resize your div... , but the way to go is to use separate css classes.

Your html could look like this:

<div class="Size1"...
Forum: Access VBA March 20th, 2012, 05:50 AM
Replies: 5
Views: 3,361
Posted By disel2010
Hi, there seem to be two remaining issues...

Hi,

there seem to be two remaining issues with your first loop:

1) The first issue is because you go from high to low array index...
Because by default a "for .. next" loop increases each...
Forum: Access VBA March 15th, 2012, 07:04 AM
Replies: 5
Views: 3,361
Posted By disel2010
At first sight, looks like your reference the...

At first sight, looks like your reference the array not the individual array elements..
I'd try changing that first. Your first array would become the following:

For i = UBound(FileArray) To...
Forum: SQL Language March 15th, 2012, 06:57 AM
Replies: 2
Views: 1,578
Posted By disel2010
Hi, in which database do you want to do...

Hi,

in which database do you want to do this?

As far as I know this transposing of rows to columns (or pivoting) is done different in each database.
If you're using Oracle, try to using the...
Forum: ASP.NET 3.5 Professionals March 15th, 2012, 06:36 AM
Replies: 1
Views: 1,267
Posted By disel2010
Hi, the name urllnk indeed does not exist in...

Hi,

the name urllnk indeed does not exist in the current context because you need to declare urllink either as a public property or protected variable with page scope.
public string urllnk {...
Forum: Access VBA February 29th, 2012, 02:42 PM
Replies: 2
Views: 7,890
Posted By disel2010
Hi, to be sure to work with the full path...

Hi,

to be sure to work with the full path for the file, try using
objF1.Path
Forum: Classic ASP Databases February 29th, 2012, 05:34 AM
Replies: 5
Views: 8,242
Posted By disel2010
Hi, on second read I noticed that you're...

Hi,

on second read I noticed that you're trying to call an Oracle function, not a procedure. Your errror could thus be the result of not handling the return type...

This sounds like you
-...
Forum: Classic ASP Databases February 27th, 2012, 04:54 AM
Replies: 5
Views: 8,242
Posted By disel2010
Hi, it's been a long time since I've done...

Hi,


it's been a long time since I've done that, but looking at some old code it's basically
> creating an ADO command
> add the stored procedure call to this ADO command
> add each parameter...
Forum: Classic ASP Professional February 14th, 2012, 10:16 AM
Replies: 7
Views: 13,036
Posted By disel2010
HI, it might not be the issue your having...

HI,

it might not be the issue your having but depending on what you use to send your mail, you might need to install CDO 1.2.1 yourselves...

See here for download:...
Forum: ASP.NET 4 General Discussion February 11th, 2012, 07:01 AM
Replies: 0
Views: 1,360
Posted By disel2010
MCTS 70-515 "self-paced training kit" or Wrox alternative ?

Hi all,


could anyone tell me how much the Microsoft MCTS 70-562 and MCTS 70-515 "self-paced training kit" books differ? (Actually wondering which chapters are new.)

I'm planning on renewing...
Forum: Access VBA February 10th, 2012, 05:13 AM
Replies: 4
Views: 841
Posted By disel2010
Hi Ray, I think it's because you are calling...

Hi Ray,

I think it's because you are calling Me.BCSP etc. and not the recordset..

What do you see when you put a breakpoint and step into the code?

At first sight, this is how I would...
Forum: Access VBA February 9th, 2012, 05:16 AM
Replies: 4
Views: 841
Posted By disel2010
Not sure, but it puzzles me a bit why you call...

Not sure, but it puzzles me a bit why you call Me.BCSP, Me.BCSPAdd, Me.BCSPNo, etcetera..

Give it a try using rstA("BCSP"), rstA("BCSPAdd"), rstA("BCSPNo"), ...


In addition, it's strange...
Forum: Access VBA February 7th, 2012, 08:21 AM
Replies: 4
Views: 3,448
Posted By disel2010
Nice, thanks for sharing. Just curious...

Nice,

thanks for sharing.

Just curious now which file explorer you're using in access vba.

I was thinking of Application.FileDialog but this doesn't have an InitialDirectory param (and...
Forum: Access VBA February 6th, 2012, 10:49 AM
Replies: 4
Views: 3,448
Posted By disel2010
I don't think you can. You can easily...

I don't think you can.

You can easily specify a folderlocation with InitialFileName but there is no special folder or environment variable for "My Computer".
Forum: ASP.NET 4 General Discussion February 3rd, 2012, 11:08 AM
Replies: 5
Views: 2,759
Posted By disel2010
Hi, after you have added the reference to...

Hi,

after you have added the reference to Oracle.DataAccesss.dll you'll probably want to change your connectionstring to one that works wit the Oracle Data Provider.
I usually use the following...
Forum: Javascript February 3rd, 2012, 06:02 AM
Replies: 3
Views: 1,616
Posted By disel2010
Hi Avenger, it sure can be used on the...

Hi Avenger,

it sure can be used on the server-side too.

One of the more recent (and hyped) server-side javascript environments is Node.js, "An event-driven I/O server-side JavaScript...
Forum: SQL Language February 1st, 2012, 06:47 AM
Replies: 2
Views: 1,712
Posted By disel2010
Hi, check out this previous thread to see...

Hi,

check out this previous thread to see why you cannot use a Case statement like that in the where clause:
http://p2p.wrox.com/sql-server-2000/35645-case-statement-where-clause-logic.html

I...
Forum: Oracle ASP January 10th, 2012, 09:55 AM
Replies: 2
Views: 21,997
Posted By disel2010
Hi, you should be able to insert two date...

Hi,

you should be able to insert two date fields in one insert statement.
Perhaps the order of your table fields is not matching up with the order you have in the insert statement?
Try...
Forum: Javascript December 22nd, 2011, 06:25 AM
Replies: 1
Views: 973
Posted By disel2010
Hi, two things. first, to declare a...

Hi,

two things.

first, to declare a variable in vbscript you have to use the "Dim" keyword.
Second, in vbscript you must declare a variable first before using it.
So either on two lines or...
Showing results 1 to 25 of 86

 


All times are GMT -4. The time now is 12:33 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.