Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Showing results 1 to 25 of 50
Search took 0.01 seconds.
Search: Posts Made By: Bill Crawley
Forum: C# 4.0 aka C# 2010 General Discussion April 11th, 2011, 05:43 AM
Replies: 1
Views: 1,609
Posted By Bill Crawley
Ok, got to the bottom of it. In the client I...

Ok, got to the bottom of it. In the client I needed to remove the use of 'Using' the client now doesn't stay attached to the windows service.
Forum: C# 4.0 aka C# 2010 General Discussion April 8th, 2011, 09:07 AM
Replies: 1
Views: 1,609
Posted By Bill Crawley
Detaching the client from long running processes

Hi All,

I originally wrote a standard c#4.0 web app, however because the client was designed essentially to run a batch process I was receiving time out issues because the batch process can take...
Forum: ASP.NET 2.0 Professional July 12th, 2007, 09:55 AM
Replies: 0
Views: 1,224
Posted By Bill Crawley
wizard control

Hi All,

I originally posted http://www.codeguru.com/forum/showthread.php?t=428232

The link gives a background to the problem. Having not got anywhere I have gone back to basics and still no...
Forum: Pro Visual Basic 2005 March 21st, 2007, 06:19 AM
Replies: 0
Views: 1,320
Posted By Bill Crawley
Multi-threading issue

Hi All,

I have the following code. The code itself seems to work in that the thread is created and run, however when the thread hit's a line of code 'RaiseEvent' this does not get through to the...
Forum: Pro VB Databases March 16th, 2007, 07:24 AM
Replies: 1
Views: 1,205
Posted By Bill Crawley
iden = Convert.ToInt32(comd.ExecuteScalar()) ...

iden = Convert.ToInt32(comd.ExecuteScalar())
comd.ExecuteNonQuery()

Both of the above lines perform the insert statement. You need to decide If you are going to ExecuteScalar or ExecuteNonQuery.
Forum: VB Databases Basics March 14th, 2007, 08:41 AM
Replies: 1
Views: 906
Posted By Bill Crawley
You need to set the object command type to say if...

You need to set the object command type to say if it is either a stored proc or a text command that is going to be run to start with. If your going to use a stored proc, then the commandtext needs to...
Forum: ASP.NET 2.0 Basics February 28th, 2007, 11:32 AM
Replies: 8
Views: 1,521
Posted By Bill Crawley
hi, I tried your suggestion, but it didnt like...

hi, I tried your suggestion, but it didnt like it. However, I've changed it to this and it works.

Dim cs As ClientScriptManager = Page.ClientScript
Dim sJavaScript As String = ""
sJavaScript =...
Forum: ASP.NET 2.0 Basics February 28th, 2007, 11:06 AM
Replies: 8
Views: 1,521
Posted By Bill Crawley
Hi dParsons, it's nearly working, but this...

Hi dParsons,

it's nearly working, but this the compiler doesnt like

sJavaScript += Page.GetPostBackEventReference(this.btn);

searching the web, it appears that under asp2.0...
Forum: ASP.NET 2.0 Basics February 28th, 2007, 07:32 AM
Replies: 0
Views: 1,108
Posted By Bill Crawley
Event Handling

Using VB.Net 2.0 I'm having trouble refreshing a webform after an event has been raised.

On the aspx page I have async=true
I then have a Button and a Label in a form with method set to post.
...
Forum: ASP.NET 2.0 Basics February 28th, 2007, 02:22 AM
Replies: 8
Views: 1,521
Posted By Bill Crawley
Hi dparsons, Sorry you are correct in what I am...

Hi dparsons, Sorry you are correct in what I am trying to achieve. Should I place the javescript in a function and call it on the onclick event?
Forum: ASP.NET 2.0 Basics February 27th, 2007, 11:39 AM
Replies: 8
Views: 1,521
Posted By Bill Crawley
Ok thanks, you've pointed me in the right...

Ok thanks, you've pointed me in the right direction. I've placed an onclickclient event and then created the following:

<script type="text/VBscript">
sub DisableMe()
btnCapture.Enabled = false...
Forum: ASP.NET 2.0 Basics February 27th, 2007, 10:33 AM
Replies: 8
Views: 1,521
Posted By Bill Crawley
page not refreshing

Hi All,

I have a page that simply has a button on it. In the button click event of the aspx.vb I attempt to disable the button before calling a procedure. The button does not disable until it's...
Forum: Pro VB 6 July 12th, 2004, 06:00 AM
Replies: 1
Views: 2,795
Posted By Bill Crawley
true dbgrid pro 6

I have the following code:
with truegrid
For i = 0 To .VisibleRows - 1

If .IsSelected(i) Then
If .Columns(9).Text = "Master" Then
iCount = iCount + 1
End If
End If
Next
Forum: VB How-To December 23rd, 2003, 08:29 AM
Replies: 1
Views: 941
Posted By Bill Crawley
Presumably you are passing the complete recordset...

Presumably you are passing the complete recordset to the new form. Use the Index property of the listbox as a pointer to the record in the recordset by setting the recordset's absoluteposition...
Forum: VB How-To December 23rd, 2003, 08:26 AM
Replies: 3
Views: 3,069
Posted By Bill Crawley
check out the media control, but chances are you...

check out the media control, but chances are you will have to use the DirectX api
Forum: Beginning VB 6 December 22nd, 2003, 07:21 AM
Replies: 2
Views: 2,052
Posted By Bill Crawley
First of all in your vb project you need to go to...

First of all in your vb project you need to go to tools/refrences and select the microsoft scripting runtime. This will allow you to open the file and read a line at a time.

Something like:

Dim...
Forum: Pro VB Databases December 22nd, 2003, 05:59 AM
Replies: 1
Views: 2,996
Posted By Bill Crawley
Is the error coming from VB or Oracle?. Check the...

Is the error coming from VB or Oracle?. Check the ADODB.Errors collection and see what's in there. The begintrans and committrans, need's to reside in the Stored procedure and Not VB.

You also...
Forum: Pro VB Databases December 18th, 2003, 07:36 AM
Replies: 1
Views: 1,461
Posted By Bill Crawley
What type of card is it? Magstrip or smart card,...

What type of card is it? Magstrip or smart card, it also depends on whether the card readers are USB or serial. more information is needed.
Forum: VB Components December 18th, 2003, 07:32 AM
Replies: 1
Views: 3,619
Posted By Bill Crawley
If you look at the documentation that comes with...

If you look at the documentation that comes with Crystal 9 (I do not use crystal 9), there should be a list of runtime files that are needed. Usually you have to include these into the setup program...
Forum: VB Components December 18th, 2003, 07:25 AM
Replies: 2
Views: 1,391
Posted By Bill Crawley
You can also use post using xml to a backend...

You can also use post using xml to a backend message router. such as:

set xmlHttp = server.CreateObject("MSXML2.xmlHttp")
xmlHttp.Open "POST", "http://devmessagertr:190/router.aspx", False...
Forum: VB Components December 18th, 2003, 07:22 AM
Replies: 2
Views: 1,391
Posted By Bill Crawley
You need to introduce events/callbacks into your...

You need to introduce events/callbacks into your component. Check out the coffee project example on MSDN
Forum: VB Components December 18th, 2003, 07:21 AM
Replies: 2
Views: 13,857
Posted By Bill Crawley
error accessing the system registry sounds as...

error accessing the system registry sounds as though you do not have write access to the Registry. Make sure you have sufficient rights. You then get the 429 error, presumably because of the earlier...
Forum: Beginning VB 6 December 16th, 2003, 11:40 AM
Replies: 3
Views: 5,544
Posted By Bill Crawley
do somthing like: sql = "insert into mytable...

do somthing like:
sql = "insert into mytable (field1,field2) values ('x',9)"
conn.execute sql
Forum: VB Databases Basics December 15th, 2003, 07:54 AM
Replies: 1
Views: 2,111
Posted By Bill Crawley
before you open the recordset set the cursor type...

before you open the recordset set the cursor type

myRecordset.CursorType = adOpenDynamic
Forum: VB Databases Basics December 15th, 2003, 07:50 AM
Replies: 1
Views: 1,171
Posted By Bill Crawley
dim MyVariable 'code here to set myVariable ...

dim MyVariable

'code here to set myVariable

then

mySQL = "select * from table where colA = " & myVariable (numeric)
mySQL = "select * from table where colA = '" & myVariable & "'" (string)
Showing results 1 to 25 of 50

 




Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.