all groups > dotnet general > july 2005 > threads for wednesday july 27
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
Declaring p/invokes different ways?
Posted by smurf75 at 7/27/2005 10:11:02 PM
Hi!
I'd like for someone to please explain something about p/invoking that i
havent managed to find out else where.
I believe that following two snippets both are p/invokes?
<DllImport("rapi.dll", CharSet:=CharSet.Unicode)> _
Private Shared Function CeRapiUninit() As Integer
... more >>
win2k3 sp1 causes System.Net.WebClient.OpenRead to throw WebExcept
Posted by ptass at 7/27/2005 8:09:02 PM
Hi
I've installed win2k3 sp1 on a machine where an openRead on any given file
was previously working. After installation, I get a webException as follows...
..message "An exception occurred during a webclient request"
.._Hresult = "-2146233079"
.._COMPlusExceptionCode ="-532459699"
Sorr... more >>
mouse events when the mouse is on a "child control"
Posted by red at 7/27/2005 6:15:06 PM
mouse events when the mouse is on a "child control"
hi everyone;
my problem:
I have a userControl
in this usercontrol, I have a child control (a button)
when the mouse moves over the userControl, I can detect the movement using
MouseMove event.
the problem is when the mouse is on the chi... more >>
Stack trace
Posted by JP at 7/27/2005 5:27:02 PM
I managed to get error checking does in my application. In using the
Exception object I can get all the information I need about the error like
the line # where the exception occurred. IS there a way I can have it also
return my the physical line of code at that line number in the StackTrace a... more >>
object oriented question - pass dataset to a class and back
Posted by Andrew Carlson at 7/27/2005 3:22:03 PM
I have a class that performs a few methods on a dataset. That dataset then
fills a grid on a form. What I would like to do is to assign a particular
dataset to the class at runtime.
For instance, if I have 5 datasets named dataset1 through dataset5, how can
I call the class from my form, p... more >>
using Global asax for error trapping
Posted by JP at 7/27/2005 12:36:03 PM
I need to be able to trap errors at the application level. I added this code
to the Global.asax file. The code I wrote is supposed to get the last error
that was generated and write to the event log as well as fire up my email
class and generate an email to send me the error. But no matter wha... more >>
Question About Config Manager
Posted by Ed at 7/27/2005 12:28:12 PM
I'm relatively new to C# .Net (just as a warning ;-)).
I'm wanting to do two different builds of my .Net app, one for the full
retail the other for a simple trial that has a few nag screens and some
limitations on features.
I've set it up in my configuration manager in VS2003 to have one r... more >>
EL Caching Block and Dispose
Posted by Chris Dunaway at 7/27/2005 12:24:20 PM
If I place objects into the cached that implement an IDispose, are they
automatically disposed when removed? Looking at the code it doesn't
appear so. How can I handle this? Anyone with a suggestion?
Chris
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Dot Net Newbie
Posted by Andy G at 7/27/2005 10:49:02 AM
I need to create a shell listview with additional columns in it.
The additional columns would each contain a check box and one or more
columns would contain a drop down combo box. I know I can accomplish this
functionality by creating the component from scratch. However, I would like
to know ... more >>
dotnet tool
Posted by Wendy Elizabeth at 7/27/2005 10:21:08 AM
I am basically new to using Visual Basic.NET.
I wrote a Visual Basic.NET web application that will allow users to enter
data. Once this data is entered, I put the data into one big long string to
pass the information to a mainframe system. This is way the mainframe system
expects the data.... more >>
Determine dynamically assigned port of accepted server socket
Posted by Jason at 7/27/2005 10:01:03 AM
After a server accepts a client connection on a certain port, a new socket is
created on the server on a system managed dynamic port to handle the
connection. Please confirm this.
If so, how can I get the number of the dynamic port in the server (in server
code)? Using LocalEndPoint.Port ... more >>
Speech - SASDK
Posted by BrewskiAtBellSouth at 7/27/2005 9:11:02 AM
Is it my imagination or is the stuff in the SASDK overly complex? For
example, let's say I'd like to have a one page web application where I enter
a name into a text box and have the application read the name back to me when
I click a button on the page ("Hello World" for SASDK). Seems like th... more >>
Granting write access for file system to aspnet on Windows 2003 Se
Posted by Prasad Patil at 7/27/2005 3:29:03 AM
hi,
I have a ASP.NET / C# web based intranet application, i need to create excel
files on the server in the folder. I always get a access denied error from
the web application on the server. The server is a windows 2003 server with
ASP.NET 1.1, I tried the setting mentioned in the link
"h... more >>
How to check system default browser?
Posted by Tee at 7/27/2005 12:00:00 AM
Hi,
I need to open a .xml file with system default browser.
But whenever I open the file using Process.Start, it will open the default
program that handles .xml.
Anyone knows how to detect the default browser so I can use it to open the
..xml?
Thanks,
Tee
... more >>
number of Columns in DataGrid (not DataSource!)
Posted by DraguVaso at 7/27/2005 12:00:00 AM
Hi,
I need a function that gives me the number of Columns shown in a DataGrid.
So I don't need to know the number of columns shown in tha DataSource,
because this number can be completely something else than the number of
columns defined in the currently active TableStyle!
I currently use D... more >>
|