all groups > vb.net > february 2007 > threads for friday february 16
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
Exception: Timeout expired
Posted by Dean Slindee at 2/16/2007 10:42:10 PM
"The timeout period elapsed prior to completion of the operation or the
server is not responding".
ExceptionType: System.Data.SqlClient.SqlException
Method: OnError
I am getting the above error message when calling a long running stored
procedure from a VS2005 WinForm application. Using Wi... more >>
Can't use Option Strick On
Posted by active at 2/16/2007 7:09:53 PM
When I try to code with Option Strict On I run into obstacles.
As a simple example, trying to read into a structure.
Below "List" is a structure that has been written to a file and now I'd like
to read it back.
FileGet(FileNum, List, ItemPos + 1)
I get
Option Strict On disallows nar... more >>
How change name of SplitterPanel within SplitContainer?
Posted by Ronald S. Cook at 2/16/2007 6:03:01 PM
At design time, how can I change the name of the SplitterPanels that are
children within my SplitContainer control?
I was able to name the SplitContainer splContainer, but I can't see how to
change the name of the panels. They are splContainer.Panel1 and
splContainer.Panel2... very annoyin... more >>
refer to a form's text box.text inside a SQL clause
Posted by giannis at 2/16/2007 5:03:24 PM
How can i refer to a form's textbox.text inside a SQL clause ?
I know how is that in Access* but at VB i receive error.
* SELECT FIELD1 FROM TABLE1
WHERE TABLE1.FIELD2=[FORMS]![TEXTBOX].[NAME]
... more >>
Can't update an Access database
Posted by Mrk Blackall at 2/16/2007 4:11:00 PM
Hi all,
This is my first attempt to update an access database in VB.Net 2005. It
goes broadly as follows (I have condensed it):
Dim MyConnection As New Data.OleDb.OleDbConnection
MyConnection.ConnectionString = ("Provider=Microsoft.Jet.OLEDB.4.0;
Data Source=c:\books.mdb"... more >>
List directory contents
Posted by ats NO[at]SPAM jbex at 2/16/2007 3:58:41 PM
Hope this is the correct group. I am looking to place a set of constantly
changing excel files in a directory on my web server. I want to display
these as a list of clickable links on a page. Are there any controls or
simple code out there to do this?
TIA
--
ats@jbex
I'm not gonna be t... more >>
vb.net xml xpath wildcards
Posted by marfi95 at 2/16/2007 3:19:52 PM
I'm just starting to learn xpath, so if I have the following xml
<Root>
<Data 1>
<Child 1></Child 1>
<Child 2></Child 2>
</Data 1>
<Data 2>
<Child 1></Child 1>
<Child 2></Child 2>
</Data 2>
</Root>
Is there an xpath expressio... more >>
Form submitting
Posted by Corinne at 2/16/2007 2:49:37 PM
Hi All,
Recently tried to move from asp to visual studio 2005.
I have a form and a button.
I want the button to call a function and change a few of the hidden fileds
value before the form is submitted.
In asp, I used to call a javascript function and then the form.submit()
function.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
2 ways to initialize, what's the difference?
Posted by Zytan at 2/16/2007 1:38:07 PM
What is the difference between these two lines?
Dim args As Object() = New Object() {strText}
Dim args As Object() = {strText}
args seems usuable from either, say, like so:
Me.Invoke(delegate, args)
Zytan
... more >>
Loading a Treeview from database, infinite sub nodes
Posted by Ben at 2/16/2007 1:37:46 PM
Hi
We have the below details:
Order_Base
CustomerNo, OrderNo, OrderItemNo.....
Order_Detail
OrderItemNo, ParentItemNo, Desc......
Order_Detail.ParentItemNo is a FK for Order_Base.OrderItemNo
There is also the ability for Order_Detail.ParentItemNo to relate to another
higher level ... more >>
Accesing and changing XML documents
Posted by Rodrigo Juarez at 2/16/2007 11:43:15 AM
Hi
I have the next xml config file and I need to read and write key values, for
example, change the value of hibernate.connection.connection_string
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="nhibernate"
type="System.Configuration.NameVa... more >>
Central Illinois
Posted by tod1d at 2/16/2007 11:33:14 AM
Hello,
I am a .NET software developer who recently moved from Phoenix,
Arizona where there was a very active .NET User Group to Normal/
Bloomington, Illinois where there doesn't appear to be any Microsoft
Software Development related user groups. Do any of you live in
Central Illinois? If so,... more >>
Windows Form Designer option to give me the VS2003 method?
Posted by active at 2/16/2007 11:22:22 AM
With VS2005 the windows form designer uses the files *.Designer.vb
I hope no one at MS is reading this because I know it will upset them to
know - I like the old way better!
I've been looking at the Options available for the Windows Form Designer and
do not see one that would give me the o... more >>
Global error handler
Posted by Rodrigo Juarez at 2/16/2007 10:59:13 AM
Hi
Microsoft Visual Studio 2005, Visual Basic and winforms application
I need a global error handler, where should I put that.
Any examples?
TIA
Rodrigo Juarez
... more >>
Error and close application
Posted by Rodrigo Juarez at 2/16/2007 10:58:00 AM
Hi
I'm using Visual Studio 2005 with visual basic, developing winforms
applications
I'm adding try catch blocks for error handling and I want to close the
application when I got an error.
Closing the form is not enough because there is a lot of forms open
TIA
Rodrigo Juarez
... more >>
Code Snippet Not Working
Posted by daokfella at 2/16/2007 10:55:43 AM
Hi all,
I've created a code snippet in VS 2005 and saved it in the proper
snippet folder. When I right-click and select Insert Snippet, I
navigation to My Code Snippets and it shows my snippet. However, when
I click my snippet, nothing happens. Has anybody else experienced
this? Inserting the... more >>
XML Namespaces
Posted by Lou at 2/16/2007 10:13:16 AM
I have been working on something very simple for days now argh!
In VB6 it was 4 lines of code in 5 minutes!
In VB .NET how do i parse this simple xml documenet.
I cant get a reference to any of the nodes.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <cap:alert xmlns:cap="http://... more >>
SOAP help -- parsing returned string
Posted by YYZ at 2/16/2007 10:02:07 AM
I've got a piece of code provided by a third party that we are trying
to integrate with. We are using VB 2003, and the code is supposed to
send a SOAP request to their servers and receive a message. All works
great, I just don't know what to do with the returned data in the
format it is in. I... more >>
Checking Controls for errors
Posted by Zim Babwe at 2/16/2007 9:10:23 AM
I am using the following to see if an error exists on any of my controls on
my Windows Form (VS 2005)
' Check to see if errors exist
'
For Each ctrl As Control In Me.Controls
If ErrorProvider1.GetError(ctrl) <> "" Then
invalidIn... more >>
make textbox active on showdialog
Posted by wanwan at 2/16/2007 7:16:36 AM
is there a way to have the keyboard cursor active in a textbox on
showdialog?
Thanks
... more >>
Programming - Best Practice
Posted by bigHairy at 2/16/2007 5:48:31 AM
Hello.
I have been teaching myself .NET over the last few months and have had
some success. I would like to ask a question though...
A number of examples I have followed have the following in their
finally statement
Try
......
Catch
......
Finally
If (Not IsNothing(dbConn)) Then
d... more >>
Running software on Dual or Quad core CPU
Posted by harry at 2/16/2007 12:00:00 AM
Just wondering, if one has Dual or Quad core CPU and one is running multiple
different programs, or multiple copies of the same program, does the
operating system (XP or 2003) run each individual program on seperate cores?
or does one need to do something when starting the programs on the comm... more >>
|