all groups > dotnet general > december 2003 > threads for thursday december 4
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
Datagrid Edit Column
Posted by don at 12/4/2003 11:15:10 PM
I will try again with this one.
I have a datagrid working fine in my ASP page and it is
editable using a edit/update/cancel column. All is well,
but I have a Total line at the end that I would not want
the user to edit, I have been trying to figure out how I
can get to the Edit link on t... more >>
Object creation
Posted by Vannela at 12/4/2003 10:57:11 PM
I create a instance of a .cs class
in this way
assume Class1.cs is my C# class file
i create a instance in this way
Class1 instance1=new Class1();
THEN IS THERE ANY WAY TO USE THIS INSTANCE VARIABLE TO
CREATE FOR DIFFERENT CLASS OBJECT
FOR EXAMPLE IF I HAVE GOT SOME OTHER CLASS Fil... more >>
How to work with Regex properly?
Posted by Evgeny Zoldin at 12/4/2003 9:59:14 PM
Hi ALL.
I would like to strip out all comments from some HTML source code. E.g.,
html = "__block 1__<!--....-->__block 2__<!--...-->__block 3__"
then call
Regex.Replace(sString, "<!--[^>]*-->", "") returns
"__block 1__block 3__"
, but I want to receive
"__block 1____block 2____... more >>
How to create COM exe server in NET
Posted by Volodia at 12/4/2003 9:54:39 PM
Hi
In VB6 it is very easy to create out proc server in ActiveX.exe project.
How to do that in .NET ?
If I understood properly - there are no ways to do that in .NET
It looks like by design?
Thanks,
Voloida.
... more >>
Problem with VS C++.NET Template!!
Posted by Ramon Guerrero at 12/4/2003 9:09:49 PM
This actually happened awhile back. Ive tried fixing it,
but just can't seem to get it. When i first got visual
studio i began to experiment with some of the
templates .NET offered. I would often view the code that
was generated. Well i clicked on the C++ template (TODO:
Wizard Desript... more >>
How does one *PROPERLY* print rendered HTML?
Posted by Hasani at 12/4/2003 8:27:44 PM
I tried using
webBrowser.ExecWB(SHDocVw.OLECMDID.OLECMDID_PRINT,
SHDocVw.OLECMDEXECOPT.OLECMDEXECOPT_PROMPTUSER)
but it returns asynchronously. Is there anyway I can know when the document
has finished printing when using webBrowser.ExecWB ?
I also tried using rundll32.exe with mshtml.dll b... more >>
howto recursively copy a folder ?
Posted by Antonio Lopez Arredondo at 12/4/2003 7:56:58 PM
hi all !!!
I need to copy a folder and its subfolders to another location; which class
should I use ?
could only find the System.IO.Directory.MOVE but don't know how to COPY.
thanks in advance,
ant
... more >>
numbers
Posted by freddy at 12/4/2003 6:00:23 PM
how can I display a set of numbers like this:
1 2 3 4 5 6 ...
instead of this
1
2
3
4
5
....
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Bugg when parsing string to int
Posted by Henke at 12/4/2003 5:54:58 PM
Is this a bug or is there a reason why it doesn't work.
int i = int.Parse("4 500");
I ask because this works:
double d = double.Parse("4 500.0");
Thanks!
/Henkr
... more >>
Icons for File Type associations
Posted by Eric at 12/4/2003 5:25:48 PM
I want to use embedded icon resources for my file type associations, but
only the app.ico seems to show up when I go to choose the icons in the
setup File Types editor.
The same thing when I try to use Windows Explorer to view embedded icons in
my compiled EXE.
Does anyone know how to co... more >>
Another dumb question about text boxes in a Web app...
Posted by Coleen at 12/4/2003 5:01:23 PM
I have a multiline text box that I only want to allow the user to type 500
characters in. I set the maxlength to 500, but I can type more than 500
characters in it. Is there a way to set the max length programmatically?
TIA
Coleen
... more >>
Newbie: .NET and sound?
Posted by Ralf at 12/4/2003 4:17:51 PM
Does the .NET Framwork support any kind of sound/wave output and input?
I didn't see any. Am i wrong?
Thanks in advance
Ralf
... more >>
Server Error - ASP.Net
Posted by Tony at 12/4/2003 4:03:47 PM
Error message 401.3 You do not have permission to view
this directory or page using the credientials you supplied
(access denied due to ACLs). Ask the web server's
administrator to give you access.
Regards,
Tony... more >>
WEBDAV server in C#
Posted by Steve Drake at 12/4/2003 2:16:54 PM
All,
I need to write a WEBDAV server, I think I can manage to write one that uses
TCPIP sockets but I need it to support windows authentication (like IIS
does)
Were do I start? I have read a little and people are say it cannot be done
with HTTPHandlers or HTTPModules as these map to applica... more >>
Can not run 1.0 application in .NET 1.1
Posted by Yi at 12/4/2003 11:25:14 AM
Hello,
I have a console application that is compiled with VB.NET
1.0. On a machine that has a .NET 1.1 framework, when I
run the application, it gives an error
message "c:\winnt\microsoft.net\framework\v1.0.3705
\mscorwks.dll could not be loaded".
It is right that there is no such dll o... more >>
VS 2002 and framework 1.1?
Posted by Jan Eliasen at 12/4/2003 11:05:37 AM
Hi
I have VS2002 installed and I have .NET framework 1.0 and 1.1
installed. I need to develop something in .NET framework 1.1 - Is this
possible with VS2002? Can I change which framework it uses?
If not, can VS2003 coexist with VS2002? mean, can I have both
installed at the same time and a... more >>
Impersonation from a windows service
Posted by Leo at 12/4/2003 10:34:17 AM
Hi,
I Need to access some files in a directory on server B
from a windows service (written in VB.NET) running on
server A (localsystem account).
How can I impersonate a user with sufficient rights on
server B from within the service running on server A so I
can access the files on ser... more >>
Microsoft Application Blocks for .Net - Logging Block
Posted by Karuppasamy at 12/4/2003 10:12:15 AM
Hi
I am trying to use the Logging Module provided by Microsoft Application Blocks for .Net .
I installed everything as per the Instructions given in the 'Development Using the Logging Block'.
But when i am trying to run the sample, i am getting the following error in the Event Viwer.
... more >>
DirectoryEntries.Find Method get Exception from HRESULT: 0x80005008 or NullReferenceException
Posted by idiot at 12/4/2003 9:40:35 AM
public DirectoryEntry Find(string, string) method get Exception from
HRESULT: 0x80005008
public DirectoryEntry Find(string); method get NullReferenceException
source code :
string strSchema = "IIsWebVirtualDir";
string strRootSubPath = "/W3SVC/1/Root";
DirectoryEntry deRoot= new D... more >>
Design/Run Time User Control Container
Posted by Nick Moore at 12/4/2003 9:11:31 AM
This may be the wrong newsgroup for this question. I'm
trying to develop a container control inherited from a
panel that I can 'Roll Up' and 'Roll down' on a button
click. The component is to be available from the
toolbox. The first time I dragged the control from the
toolbox onto a for... more >>
BUG: Refactoring code
Posted by discussion NO[at]SPAM discussion.microsoft.com at 12/4/2003 9:09:52 AM
Hi,
Refactoring a winform causes problems if moving this form to a
subdirectory in the same project.
What is the workaround for this and will this be fixed in future?
Thanks
/BOB
... more >>
Determining whether a DropDownList has changed...
Posted by barnold NO[at]SPAM txfb-ins.com at 12/4/2003 8:28:35 AM
I have a problem that I figured would be relatively common, but have
been unable to find any information on it as of yet. I have a page
that contains two DropDownList controls, with the second being
dependent on the value of the first. My DropDownList control
definitions look like this:
<as... more >>
Problems w/ VS
Posted by Capt Bob at 12/4/2003 7:35:23 AM
I had VS.Net on my machine and it had some problems launching the
applications through the IDE. I tried uninstalling it and the program hung.
Now I cannot reinstall because the MS installation program hangs each time
in the same place. Do anyone know if there are any newsgroup I can look
towards... more >>
Read assembly information ???
Posted by serge calderara at 12/4/2003 6:43:20 AM
Dear all,
I need to read certain assembly information from an
application.
I do not want to add the reference to those assembly
inside my application.
I have in my application a browse button whcih is able to
point to the folder where assembly are located.
Then I need to fetch inform... more >>
finding a row number in a datatable for a column value
Posted by dappledore NO[at]SPAM kagi.com at 12/4/2003 2:42:46 AM
hi,
I can do the above with the following code, but there must be more
efficient and easier way to do ? I have seen the find on the dataview
but i dont want to have to sort the view is there another way?
Dim i As Int16
Dim itemNO as string
For i = 0 To auctionList.Rows.Count - ... more >>
clone a datagrid
Posted by felix666007_no_solicitation NO[at]SPAM yahoo.com at 12/4/2003 1:50:33 AM
Is it possible to clone a datagrid?
I've created a datagrid on my aspx page, editing various attributes,
adding columns, etc. I would like to, in code, create an arbitrary
number of these datagrids. Any ideas?
I thought that perhaps I should createa a separate "web user control".
I added m... more >>
VS version 7.0
Posted by Tushar at 12/4/2003 12:17:43 AM
i have version 7.0 of the studio
with it i cannot open new versions of VS solutions
says "Not a valid solution"
when i open the sl in Text pad I see
Microsoft Visual Studio Solution File, Format Version 8.00
what i wanted to know if anyone had figured a way to
change these files to vers... more >>
|