Creating a Custom Enumerator in a Base Class
Fri, 19 Sep 2008 13:59:48 +0100
I have a base class MyBaseClass, and several classes that inherit from it:
MyClass1, MyClass2, etc.
The base class implements IEnumerable(Of IMyBaseClassRow). The base class
has a DataTable object that contains different data depending on which of
MyClass1, MyClass2 are instantiated.
I want to be able to ...
|
How to check = in enumeration
Fri, 19 Sep 2008 12:06:01 +0100
I am using the NotifyFilters enumeration type. In 'integer' the values
are ored together, and I can use AND to check for equality like so
If bNotifyFilter And NotifyFilters.Attributes Then
However, when option strict is on this does not work, any ideas?
...
|
Error Saving Configuration
Fri, 19 Sep 2008 03:54:01 -0700
Hi all,
i have app.windows .NET that open an app.config from a Windows service for
modify values. The app.config of service uses EntLibrary Exceptionhandling
and Logging.
My code for modify app.config of service using my WinForms App:
Dim rutaConfig As String = Me.tbRutaConfigServicioBase.Text
'// ...
|
How to get the company name in digital sign for a file?
Fri, 19 Sep 2008 16:19:59 +0800
I want to get the the company name in digital sign for a file, but not the
company name in file properties, is there a sample? thank you.
...
|
ping an ip Address
Fri, 19 Sep 2008 00:27:36 -0700
Is it possible, without any 3rd party tools to simply ping an ip address,
and get back if the ping was sucessfull.
Thanks
...
|
Extract Icon
Thu, 18 Sep 2008 19:08:01 -0700
Hi
I am looking for a way to extraxt an icon from a .exe file an save it as an
icon not a bitmap or jpeg to a file?
The code below extracts the icon but only as a bitmap
PictureBox1.Image =
Drawing.Icon.ExtractAssociatedIcon("file.exe").ToBitmap
The problem is I need the icon not the bitmap.
T ...
|
find first occurence of multiple characters
Thu, 18 Sep 2008 17:06:57 -0700
I have a filename that I want to extract the 1st set of numbers up to either
a ".", "-", "_" or "~" and make that an int.
Or I guess easier just take all the values that are 0-9 up to the 1st non
number value.
So that if I have a value 449231.xml or 449231~1.xml or 449231-1a.xml, I
want to get the 449231 ...
|
|
|
Re: What am I doing wrong??
Thu, 18 Sep 2008 16:33:59 -0700 (PDT)
Oh yes, I forgot the !!!!PREFS part on the error message, I did that
part by hand and not a copy/paste
On Sep 18, 7:32 pm, Jason <paul...@excite.com> wrote:
> What?
>
> On Sep 18, 7:01 pm, "Family Tree Mike"
>
> <FamilyTreeM...@ThisOldHouse.com> wrote:
> > But yoru code refers to \\server\all\sets\!!!!!P ...
|
Can an MDI child close and MDI parent?
Thu, 18 Sep 2008 14:06:01 -0700
I've got a situation in a VB 2003 Windows application with an MDI form and a
child form. In certain situations, when the child is closed by the user, I
also want to close the MDI parent. Is there a way to close the MDI parent
with code in the child form?
In the MDI child form, I have tried:
me.MDIP ...
|
A project that doesn't switch to release mode
Thu, 18 Sep 2008 14:00:25 -0700 (PDT)
Hi All,
I'm experiencing a strange behaviour in VB.NET 2005.
My solution contains 4 Projects. When I want to compile a release
version, I go to the Configuration Manager and change the Active
Solution Configuration to Release. I see all my project in the list
changing to Release.
However 1 of them (it's a cl ...
|