all groups > dotnet framework > march 2005 > threads for wednesday march 30
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
Easy Question.
Posted by patang at 3/30/2005 11:41:02 PM
I have an Access database which has one table called Employee. When I display
all the records of the table in a datagrid, everything is fine. However when
I put the WHERE clause for a a Join_Date field (which is Date/Time field) the
the records are not filtered as if there is no WHERE clause:
... more >>
Icon with EXE
Posted by 11Oppidan at 3/30/2005 9:33:31 PM
Hi,
How can I get my Release build .exe file to have an user defined icon
instead of the default exe box, so for example if a copy was on on my
desktop my exe would display my icon. I have included the icon within the
project but this doesn't seem make any difference...
Many thanks for ... more >>
C# Pocket PC creating Dialogue boxes
Posted by Greg at 3/30/2005 9:31:10 PM
How do I create dialogue boxes using C# and hte .net compact framework? I
want it to appear after the user does file connect.
Thanks... more >>
Interop.Shell32.dll
Posted by Z at 3/30/2005 7:21:03 PM
Hi,
A I use shell functions in my C# project, I need to add a reference to
shell32.dll. When I browse to shell32.dll and add it as a reference to my
project a file called Interop.Shell32.dll is created in the directory of the
executable. When I delete this file, the program crashes (as expe... more >>
Query Timeout
Posted by David de Passos at 3/30/2005 5:03:48 PM
How Can Set a Query Timeout and Catch the error when the time elapsed.
--
Cumprimentos,
David de Passos
--------------------------------------------------------------
RCSOFT, Lda.
E-Mail: passos@rcsoft.pt
Móvel: +351 966931639
Telefone: +351 239708708
Fax: +351 239708701
Tel. Direct... more >>
System.Timers.Timer bug : timer fires immediately/continously
Posted by felix at 3/30/2005 4:54:36 PM
In my application I have code something like:
protected System.Threading.Timer timer;
// called once on application boot
Init()
{
DateTime dueTime = DateTime.Now.AddDays(1); // in 24 hours
TimeSpan period = new TimeSpan(1, 0, 0, 0); // one day
timer = new System.Threading.Timer(
new S... more >>
Are attributes inherited?
Posted by David Laub at 3/30/2005 4:25:30 PM
If I have the following code
[MyAttr]
class XYZ
{
}
class InheritXYZ : XYZ
{
}
Is the [MyAttr] attribute defined for class XYZ automatically also defined
for class InheritXYZ (because InheritXYZ is inherited from XYZ)
... more >>
Will .net 1.0 resources work in 2.0?
Posted by James Gockel at 3/30/2005 4:08:38 PM
I have an old DVD that I got along time ago, that was when the .net 1 beta
came out. The resources CD.
I'm wondering if any resources or programs or sdks that are on the dvd or cd
can still apply to 2.0...
I'm entering back into the programming field, and am trying to learn C# in
the .net 2.... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Sortable Custom Collections
Posted by David Young at 3/30/2005 4:00:28 PM
First of all Yes, I know it's possible and have implemented it before.
Using c#, Ive created several base class objects, many of which can belong
to collections. I've written the collection classes, i've inherited from
CollectionsBase and have written the necessary methods to make it
enumerable... more >>
.NET Framework 1.1 SP 1
Posted by Jazzkat at 3/30/2005 2:57:33 PM
Hi Folks,
I have downloaded the .Net Framework SP 1 and during the installation I get
the following message:
"An unhandled exception of type
'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
Additional information: Exception has been thrown by the target of an
invoca... more >>
How would I get a method name from the calling assembly?
Posted by kevingabbert NO[at]SPAM gmail.com at 3/30/2005 12:00:12 PM
I was very happy to find:
System.Reflection.MethodBase.GetCurrentMethod.Name
however, I have an errorhandler in another dll, which means, when it is
called, I need to find out what function raised the error to begin
with. so far I have been using the above and passing it to the
errorhandler.... more >>
Timed out waiting for a program to execute.
Posted by Reddy at 3/30/2005 8:49:03 AM
I am recieving this error on few pages. They are running fine on dev server.
It's only happening production for few pages.
I searched internet and it seems lot of people have this problem. But none
provided the solution.
Thanks
Reddy
Timed out waiting for a program to execute. The c... more >>
How can a client detect a close on the server?
Posted by Molder at 3/30/2005 7:47:02 AM
I am programming a server and a client for a PLC that runs under WinCE .NET
4.2pro.
I want to detect on client side when the server does a close.
So far I tried it like this:
(Client)
I put the actual socket into a fdset and check it with select for
WRITEability.
Is this correct?? ... more >>
SELECT STATEMENT
Posted by patang at 3/30/2005 7:01:06 AM
I am displaying the records from a table in a grid. The simpel SELECT
statement works fine. However, I have to use this select statement
select right("00000" + Column1,2), column2, column3 FROM mytable
This does not work. I mean it is not showing the 0000's in the first column.
The above ... more >>
String.Format
Posted by Arne at 3/30/2005 6:41:05 AM
How can space fill a string to a fixed format?
It is easy with a number
RecordBase = String.Format("{0:000000}" ,storeid);
But not easy with a string
ponumber = String.Format("{0:GGGGGGGGGGGG}",ponumber);
The line above doesn't seem to work.... more >>
Can I run it without .NET framework?
Posted by alessio1946 NO[at]SPAM tiscali.it at 3/30/2005 4:22:46 AM
I know I can't run an exe file created using VS.NET into a PC in
which is not installed .NET framework.
I know also that this happen because the executable really contain
MSIL pseudo code.
Well, I've created a simple application using .NET VC++ and MFC
linked as a static library. I... more >>
Release Date of .NET 2.0
Posted by Ammar at 3/30/2005 3:55:04 AM
did any body know the Release Date of .NET 2.0 ?... more >>
psftp.exe
Posted by Julia at 3/30/2005 3:25:03 AM
Hi,
how can I call the psftp.exe from c# code? I need to get a file from another
computer...
Where can I find an example of this problem?
Thanks... more >>
Newbie: Clarification between ".Net Framework 1.1" and "ASP.NET 1.
Posted by charliewest at 3/30/2005 2:45:02 AM
I had thought that i had ASP.NET 1.1 installed on my machine. However, when
trying to open an ASP.NET project via VS .NET 2003, i get a warning that my
machine currently supports ASP.NET 1.0, and that if i open my project the
ASP.NET 1.1 specific code will not work.
I do have the .Net Fram... more >>
Create an application packet
Posted by djake NO[at]SPAM excite.it at 3/30/2005 2:00:46 AM
Hi,
using the old Visual Studio 6 I remember I could create a setup
program for my application using the wizard inside the IDE for VB, and
using installshield for VC.
But now I'm using .NET framework. How can i create a setup program
for my applications? (both for VC and VB)
Thank... more >>
HTTPWebRequest Memory Leak
Posted by JS at 3/30/2005 12:49:03 AM
Hi
We have a simple application that uses web request to pull information
accross the web and put it in a database. However, we have noticed a memory
leak. What happens is that with each request the Nonpaged memory is slowly
used up on the server until there are no resources left causing ot... more >>
recommendations needed for using xsd schema in a class library
Posted by wh1974 at 3/30/2005 12:48:21 AM
I need to move some code which at present is residing in some .aspx
codebehind files into a separate class library.
One of the functions makes use of an xml schema to create the structure
for a DataSet object which is returned to the caller. Currently the
schema is stored in an .xsd file which... more >>
|