all groups > dotnet general > august 2003 > threads for saturday august 23
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 29 30 31
* SHGetFileInfo is a pin in the ass *
Posted by Mario at 8/23/2003 10:01:03 PM
Hi dear programmer,
I'm trying to get associate file type descriptions; for instance "music.mp3"
should return "MP3 audio file (mp3)".
I'm using SHGetFileInfo:
Imports System.Runtime.InteropServices
Private Structure SHFILEINFO
Public hIcon As IntPtr
Public iIcon As Integer
... more >>
how to dynamically allocate and advertise port numbers by name
Posted by B or T at 8/23/2003 7:46:32 PM
How do you dynamically allocate a port number (assured that it is not
already in use), and advertise it (by name or ID)?
Every book I come across seems to hard code/configure a specific port
number. This obviously won't work in general, if different applications try
to grab the same ports, or... more >>
What's your opinion RegEx Gurus?
Posted by Ali Eghtebas at 8/23/2003 6:02:43 PM
Hi,
I've made this regex to catch the start of a valid multiline comment such as
"/*" in e.g. T-SQL code.
"(?<=^(?:[^'\r]*'[^'\r]*')*?[^'\r]*)(?<!^(?:[^'\r]*'[^'\r]*')*?--.*)/\*.*?$"
With Multiline option on.
As we know the T-SQL single line comment starts with a "--" and the string
charac... more >>
GAC & seeing the assembly...
Posted by Scott M. at 8/23/2003 3:46:28 PM
Is it true that even if an assembly is added to the GAC, it won't show up on
the standard .NET assembly reference list?
If so, how can you get a global assembly to show up automatically in the
..NET references list?
... more >>
how long does it take...
Posted by Brian Henry at 8/23/2003 12:41:23 PM
I purchased a copy of VS.NET 2003 professional and installed it on a
computer to test it and forgot about activation, i want to move it to the
real computer, but of course its activated on the other one. How long does
it take before the activation wears out? I know that windows activation runs
o... more >>
Sending data with post back.
Posted by Jim Mitchell at 8/23/2003 12:30:50 PM
Am I correct to assume that any changes to a control's properties or changes
to a ViewState("Name") are not available until after the Page_Load fires?
If so, how can you set a flag in a control event so that you can take action
on postback?
I have the following code..... The window.alert ... more >>
Getting File Path
Posted by Hugh McLaughlin at 8/23/2003 11:57:42 AM
Hello Everyone and thanks for your help in advance. I am
working on an application that uses as helper class to
determine if an image file exists. If the file exists,
the path to the image is returned. Otherwise, a "Picture
not found" path is returned. I have that part workin
well. How... more >>
cross-platform
Posted by Timothy V at 8/23/2003 10:53:40 AM
Hi,
People often say that the .NET Framework is cross-platform. Does this mean
linux and macOS?
Thank you in advance,
Timothy.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
PDF, DOC, RTF File parser
Posted by harryfk NO[at]SPAM yahoo.co.uk at 8/23/2003 8:48:20 AM
I need to read resumes from PDF, DOC, RTF and text file and fill in
the relevent fields in database.
My application is based on dotnetnuke (asp.net)
can anyone help me if something is available.... more >>
Passing ByRef and ByVal VB.NET
Posted by Andy Read at 8/23/2003 8:00:54 AM
Dear all,
I thought I understood passing parameters ByVal and ByRef but I
clearly don't! If I define a simple class
of:
Public Class Person
Public Name as String
Public Age as Integer
End Class
Then pass a person object to a method 'ByVal'
Public Sub ChangePerson(By... more >>
|