Use of GridView with EnableViewState="false"
Wed, 27 Aug 2008 12:21:19 +0200
Hello,
As most of my users use a slow WAN I always write aspx pages with
EnableViewState="false" to reduce the page size.
However, I remark that the RowCommand and the RowDeleting routines of my
GridView are not executed with EnableViewState="false", while they are with
EnableViewState="true".
Does anybo ...
|
Word Interop: Replacing text with table
Wed, 27 Aug 2008 12:14:39 +0200
Hi guys
I got the following code:
-------------------------------------------------------
Dim Word As New Microsoft.Office.Interop.Word.Application
Dim Document As Microsoft.Office.Interop.Word.Document
Document = Word.Documents.Open(Filename)
Dim myStoryRange As Microsoft.Office.Interop.Word.Range
...
|
My.settiings Setting dont read at Form load?
Wed, 27 Aug 2008 08:24:46 +0200
I have a setting called My.settings.firstrun set to True, set in the setting
manager. When i read this in the first form form_Load in a IF sentence it
always come out as false.
I have tried to change the setting from string to Boolean but no help.
...
|
Re: Booleans
Tue, 26 Aug 2008 23:02:18 -0700
Also note that STRdata = Nothing is True only if STRdata is Nothing.
STRdata = "" is True if STRdata is the empty string ("") or Nothing.
On Wed, 27 Aug 2008 10:54:18 +1000, "James Hahn" <jhahn@yahoo.com>
wrote:
>I think possibly that the debugger is confusing you.
>
>If you examine
> STRdata = Nothin ...
|
help renaming file
Tue, 26 Aug 2008 22:12:08 -0700 (PDT)
Hi, I'm hoping some one can help with some coding issues I'm having.
Below is some code I use to rename a file if it already exists in a
folder. As you can see I have 5 nested if loops which means that the
file can only be renamed 5 times. What I am having trouble with is a
recursive loop that allows an infinite ...
|
Why the *.db file can not be deleted?
Tue, 26 Aug 2008 19:33:01 -0700
I want to delete the *.db (thumbs cache) files located on "C:\Users\User
Name\AppData\Local\Microsoft\Windows\Explorer", i have taken owner the
permission, but unable to delete them using io.file.delete function, but the
CCleaner software can do it, why? thank you.
...
|
File Dialog Question
Tue, 26 Aug 2008 16:13:16 -0700 (PDT)
I have a short routine that writes to a wav file. The details of the
wav write file bit is not important. At present it put a file dialog
up and you type in a name for the file name and you save. Works fine.
Actually I want this to be much easier and fix the file name to say
file_name.wav instead of a dialog pop ...
|
|
|
Attach a custom method to a DataTable
Tue, 26 Aug 2008 17:20:00 -0500
I would like to override the DataTable.Rows.Contains() method to encapsulate
the DataTable's DefaultView's FindRows() method. It would be nice to be
able to test an array of alternate keys in addition to the primary key.
Questions:
* I'm assuming that I can do this in the XSD file's Designer.vb file. Is
...
|
Problem extending Object
26 Aug 2008 22:09:36 GMT
Hello,
I'm trying to add an extension to Object using VB. It shows up in the
intellisense for other kinds of reference objects, but not if the variable
is simply declared as Object.
It works without problems when I use C#, but not from within VB...any ideas
as to what is going on?
Imports System.Runtime ...
|
FolderBrowserDialog error
Tue, 26 Aug 2008 17:36:28 -0400
I figured this would be simple but I have a problem. The code below runs
fine from the debugger but when I run the exe I get an entry point error:
"The procedure entry point RtlDuplicateUnicodeString could not be located
inthe dymanic link library ntdll.dll."
Dim fbd As New FolderBrowserDialog
fbd.ShowDialo ...
|