all groups > dotnet framework > october 2005
Filter by week: 1 2 3 4 5
Panel
Posted by Charles A. Lackman at 10/31/2005 9:26:47 PM
Hello,
Is there a way to catch the scroll event inside a panel? When the user
changes the scroll poition, I need to know.
Any assistance will be greatly appreciated.
Thanks,
Chuck
... more >>
Going back from VS2005 BETA to VS 2003 possible?
Posted by Roger at 10/31/2005 8:10:44 PM
I was trying the VS2005 Beta c# development. It has now expired. I have
VS2003, is there any way of tranferring
the code (specifically the form design) into VS2003, or is is a manual job.
I suppose its taught me never to try a Beta again!
(And another thing, although I have uninstalled th... more >>
Synctoy & Winfx v3b2 does not work w/ .net Framework v2
Posted by shalutha at 10/31/2005 6:56:02 PM
I just installed .net framework redistributable v2 (uninstalled v1, v1.1, and
v2 beta)and now synctoy program and office redation add-in does not work.
Winfx runtime component sept ctp v3 beta 2 won't reinstall either.
Any fixes for these problems? Thanks.... more >>
Display probelm on .NET apps
Posted by Adam Pedder at 10/31/2005 5:51:56 PM
I have a client with a wierd problem with win32 .NET apps. Basically the
forms do not render properly. Dialog boxes stretch, and grow each time the
app is run
It is a bit hard to explain so I've pasted a screen shot here of Sage
Financial Forcasting, but it occurs on all .NET apps:
http://www... more >>
FileSystemWatcher and USB Drives
Posted by Rick Mutzke at 10/31/2005 5:38:03 PM
Hello,
Can someone please confirm whether or not I can use this class to basically
watch for the insertion of a USB drive? I'm suspecting not. If I try to
create a FileSystemWatcher on a drive/folder that doesn't exist, I get an
unrecoverable exception. Any information would be greatly a... more >>
Extending network protocols in .Net 1.1
Posted by Frater at 10/31/2005 4:56:01 PM
Hey guys, sorry if this is the wrong area to post but I couldn't find a more
specific one which fit the topic.
I've recently been looking to implement some basic ftp features into an
application i'm writing for my company, so in my search for information on
the topic I came across a code sa... more >>
how to encode/decode files like outlook
Posted by Abraham Andres Luna at 10/31/2005 2:07:43 PM
can anyone point me to a tutorial on how to encode files like outlook
encodes attachments
i want to encode all the attachments and save it to an sql table. then
decode when i need it. thank you.
... more >>
parsing of a formatted currency string
Posted by shriop at 10/31/2005 1:01:45 PM
I'm looking for a nifty way of parsing a numeric value back out of a
previously formatted currency string. Even if it's long winded
involving grabbing symbols from the current locale. I'm trying to build
some functionality for other developers to be able to read in data from
flat files, and I do... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
monitor a directory
Posted by Abraham Andres Luna at 10/31/2005 9:46:34 AM
anyone know of any tutorials that explain how to monitor a directory so i
can copy a file when it is created. thank you
... more >>
get dc of a bitmap
Posted by climax! at 10/31/2005 9:32:37 AM
Hi!
I am writing a custom scrollbar which will be partly transparent(for a
PDA - so cf.net, .net has a gethdc() method) Everthing runs ok, I
imported some functions from the gdi(like transparentimage() etc)...
but i can't find a way to get a DC from a Bitmap object(loaded from
resources) whic... more >>
App Domain
Posted by silva.sergiomanuel NO[at]SPAM gmail.com at 10/31/2005 9:26:38 AM
Hi,
Can my AppDomain ApplicationBase be something like
"http://www.mysite.com/dllstorage/" ?
When some dll was not found in applicationbase, does subfolders
will be checked automatically?
like "http://www.mysite.com/dllstorate/internal/somefile.dll"
Thanks in advance
... more >>
All my windows close when I try to close just one
Posted by Crystal at 10/31/2005 8:19:14 AM
I have windows XP so I'm using IE 6.0 I just started having this problem..I
dont know what happened...When I have more than one window open...and I go to
close one..they all close...like I'll click on the "x" or even go to "file"
to "exit" and all my windows will close..Did I accidentally rese... more >>
vbc
Posted by David Chipping at 10/31/2005 4:59:12 AM
I have run into the following situation, of which I don't understand
and would appreciate someone filling me in on hopefully an obvious
detail im looking over:
A compilation example (that compiles) that imports System but does not
reference System.dll:
vbc /rootnamespace:xxx /target:library... more >>
.NET 2.0 & VS2005 beta2
Posted by Lloyd Dupont at 10/31/2005 12:00:00 AM
I have VS2005 beta 2 (final release is not out there yet to buy).
And I just downloaded the final release of the .NET 2.0 SDK & Runtime.
I was thinking to install them, but when I click on the MSI it tolds me that
I must uninstall the .NET 2.0 beta 2 runtime & sdk (and a few other things
as ... more >>
memory requirement & .NET performance wonderment...
Posted by Lloyd Dupont at 10/31/2005 12:00:00 AM
I just stumbled on a forum were people were saying they were porting old
native C++ app to winform/C#/.NET
and they experienced:
- drop in performance
- huge memory consumption.
Someone was saying this:
========
Recently I ported to C# a small transmatch cirquit design C++ application I
wr... more >>
Attributes: I want my setter to be protected or private
Posted by Flipje at 10/31/2005 12:00:00 AM
In my view, there is a major drawback to using attributes: the getter and
the setter have identical protection levels. But I usually want the getter
to be public and the setter to be protected or even private.
Example: I would have liked this to be possible:
int Thingy
{
public get {... more >>
ansi to bytes
Posted by Abraham Andres Luna at 10/31/2005 12:00:00 AM
with the framework i can getbytes from utf8 and others using
asciiencoding.getbytes
what method or class do i use the getbytes from an ansi character file
... more >>
Compile with Nant for .net 2 and 1.1?
Posted by W. Jordan at 10/31/2005 12:00:00 AM
Hello,
I have gotten both .net 2.0 and 1.1 on my machine.
I use Nant to build my applications. Any Nant users here can
tell me how I can instruct Nant to build with the 2.0 compiler
or the 1.1 compiler? Currently it uses .net 2.0 compiler only...
I can't find out how to switch to 1.1 without ... more >>
WMI issue on windows 2000 (only) after upgrade to 2.0 RTM
Posted by Robert at 10/30/2005 7:35:01 PM
I have an application where i am receiving the following error:
The type initializer for 'System.Management.ManagementBaseObject' threw an
exception
The same application is running fine on 3 other windows 2003 servers but not
on a windows 2000 server.
Also it was working fine until i mo... more >>
Difference between ways of Object creation
Posted by Tom at 10/30/2005 6:57:01 PM
Hi Friends
Would like to know what's the difference between creating an object like this:
1) Dim Obj As New aspftp.ASPTFP
And this:
2) Dim Obj As aspftp.ASPFTP
Obj = CreateObject("aspftp.ASPFTP")
Reason I ask is number 1 works for me, but number 2 fails with this error:
"Cannot creat... more >>
How do you do multiple GETs with HttpWebRequest with keep-alive?
Posted by uncaged at 10/30/2005 6:20:01 PM
How do you use HttpWebRequest for a GET method? I get POST, and I can see
how to do one GET, since the URL is provided in WebRequest.Create, but for
keep-alive, how do you change the URL for each request on the same connection?
... more >>
Initialization Vector for 3DES
Posted by katzky at 10/30/2005 8:44:05 AM
I have written a simple cryptography utility using VS2005 that enccrypts
strings or files using RSA or 3DES. I have no idea how to deal with
remembering the initialization vector [iv] when using 3DES. I currently
generate the IV using the RNGCryptoServiceProvider I then write the IV, in
pl... more >>
Download timeout error
Posted by news.microsoft.com at 10/30/2005 12:00:00 AM
I experienced the following exception occasionally, which happens when the
program downloads the image data from the Web site. The program first
downloads some bytes successfully, and then waits for 5 minutes. At last, it
reports "The operation has timed-out". I must declare that this problem
... more >>
VS 2005 RTM but Framework 2.0 BETA ??
Posted by andrewcw at 10/29/2005 7:55:03 AM
I am confused because I see a framework 2.0 Beta to download - If I download
the RTM VS 2005 - then use the 2.0 Beta - then is it likely I will need to
deploy Beta 2,0 to client machines ??... and the expected date for the non
Beta 2.0 is ??
--
Andrew... more >>
WinForms client for a web app
Posted by leodippolito NO[at]SPAM gmail.com at 10/29/2005 5:12:38 AM
Sirs,
I have a web application running and I am planning to write a WinForms
client, so that customers can choose to access the application with a
browser or the WinForms client.
My ASP.NET application has some layers:
Presentation (aspx + codebehind)
Business Logic Layer
Metadata (my... more >>
Using c# without Microsoft Visual studio
Posted by icqboy1987 NO[at]SPAM hotmail.com at 10/29/2005 1:00:03 AM
hi,
I'm an 18 y/o student, and never used c# before, (i do have experince in
java and vb-6). I heard about the great features of c#, the problem is i
could never afford Visual Studio.
1) Is it possible to just download the ".NET Framework 2.0 Software
Development Kit (SDK)" and use a regu... more >>
[FCL 1.1] Missing assemblies
Posted by Andrea Raimondi at 10/29/2005 12:00:00 AM
Hello,
I just noticed that I have available 21 System.* assemblies and I'm
fairly sure they ought to be more than that :-P
Will the "Repair" option work in order to get the sys assemblies
straight again?
What other options do I have to fix this situation?
TIA,
Andrew... more >>
Is there an equivalent to the ADSI NameTranslate function in the .NET Framework class libraries?
Posted by Stephen Walch at 10/28/2005 6:43:21 PM
I want to convert DN to windows login names (DOMAIN\loginname). Is this
burried in System.DirectoryServices or somewhere else?
Thanks!
... more >>
list vs bindinglist
Posted by param NO[at]SPAM community.nospam at 10/28/2005 4:58:53 PM
Hi all,
I am developing a bunch of custom business objects and to hold collections I
am using the BindingList(of ) generic collection. Now I know that will come
useful if I want to directly bind that data to databound controls. If I dont
ever have such a need, would I see a significant perf... more >>
Hotfix for .NET Framework 1.1
Posted by Andrew Jenssen at 10/28/2005 4:13:22 PM
Visual Studio.NET 2003 came with Framework 1.1 on the installation
CD. There is a "hotfix" out for Framework 1.1 . If this hotfix is installed,
would it interfere with Visual Studio or the running of apps built with
Framework 1.1 that didn't have the hotfix?
Jenssey... more >>
Web.config Help
Posted by Peter Avalos at 10/28/2005 2:58:09 PM
I am trying to configure a set of access rules for a subfolder in my
project. The folder is a subfolder in the application folder and cannot
read the dll file in the application's bin folder. How do I propertly tell
the compiler in the Web.config file used in the sub folder where to find the... more >>
Asynchronous calls within a callback?
Posted by uncaged at 10/28/2005 1:19:36 PM
In the .NET 2.0 example for HttpWebRequest.BeginGetResponse(), in the
RespCallback function, after EndGetResponse(), it gets the stream and starts
reading from it asynchronously. I'm wondering why. Since it's already
happening in a callback function, wouldn't it be just as good to do the rea... more >>
Installing .NET 2.0 Runtime via GPO
Posted by Michael D. Ober at 10/28/2005 1:13:48 PM
Can I just extract the files from the dotnetfx.exe program and have a GPO
policy to install on each computer during reboot? There is a single MSI
file in the extration.
Thanks,
Mike Ober.
... more >>
OnPaint Is not being called
Posted by forkunal NO[at]SPAM gmail.com at 10/28/2005 12:02:29 PM
I have made a class(Pin), derived from UserControl which implements its
own interface. To do so its OnPaint must obviously be called. This
Control is a part of another control(Gate) which acts as a container
for Pin. The problem is that the function Pin.OnPaint() is never
called. I had a similia... more >>
How do I get HTML output from XslCompiledTransform in 2.0?
Posted by lwickland at 10/28/2005 8:45:05 AM
How do I get HTML output from the new in 2.0 XslCompiledTransform?
The XslCompiledTransform class has a read only OutputMethod property. The
XslCompiledTransform.Transform() method takes an XmlWriter, which has an
XmlSettings object with a read only OutputMethod property. At runtime
XslCo... more >>
Generate MSI file which runs without admin rights.
Posted by hans at 10/28/2005 6:27:34 AM
Hallo!
Is there a way to generate a .msi File for distribution from Microsoft
Visual Studio .NET 2003 which runs without having admin rights?
Thanx,
Hans
... more >>
using System.Management to get volume info on a specific drive
Posted by TT (Tom Tempelaere) at 10/28/2005 3:01:03 AM
Hi people,
I saw several code samples that first enumerate all drives using a query
with the ManagementObjectSearcher class:
<code>
ManagementObjectSearcher query = new ManagementObjectSearcher("SELECT * From
Win32_LogicalDisk ");
ManagementObjectCollection queryCollection = query.Get();... more >>
very strange handler AxWebBrowser1.DocumentComplete
Posted by Zabby at 10/28/2005 2:34:05 AM
hi,
i want to do following:
Private Sub AxWebBrowser1_DocumentCompleteEventHandler(ByVal sender As
Object, ByVal e As AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent)
Handles AxWebBrowser1.DocumentComplete
Label7.Text = "LOAD DOC " & Now
doc = AxWebBrowser1.Document
... more >>
Documentation tool for VB .Net 2.0
Posted by Sameer Mowade at 10/28/2005 12:00:00 AM
Is there any Documentation tool available for visual studion 2005.
I have googled for it but does not find anything.
Thanks in advance
... more >>
Serialization
Posted by Bagger at 10/27/2005 10:31:01 PM
I want to serialize an object in VB.Net and store the data in SQL Server
2000, and be able to retrieve and deserialize it later. Can anyone explain
how I can do that? Specifically, how do I insert a stream into a database
field? What data type should the field be? Image? This seems like i... more >>
how to get PRINTERS NAMES ?
Posted by pamelafluente NO[at]SPAM libero.it at 10/27/2005 5:53:35 PM
I need to load all the available printers
- including network ones - in a combobox.
Would anybody so kind as to show me how to do it? Thank you
-Pamela
... more >>
conditionally compile "Try" section of exception handling
Posted by Chirag at 10/27/2005 11:14:24 AM
I will soon be working on a embedded device using .NET Compact
Framework where performance is a major issues. Therefore, I would like
the ability to disable exceptions at compile time. I use the below
approach to conditionally compile the "Throw" part of the exception
handling. Is there any eleg... more >>
running csc from command prompt - csc.exe file not found
Posted by Steve Richter at 10/27/2005 10:51:48 AM
just installed .net framework 1.1 sdk on a PC at work. I would like to
run csc.exe to compile a C# source file.
In the command prompt box I navigate to the directory that holds the c#
..cs source file. then I enter the csc.exe command string to compile
the source file and the error is file CS... more >>
TIF files only half height?
Posted by NetRacer at 10/27/2005 8:50:10 AM
Hi,
I'm loading graphics into a PictureBox using then Image.FromFile method. If
the Image is a TIF file it get's only half the height. The whole Image is
displayed (not cut off somewhere) but it looks squeezed. The TIFs are
documents received by fax and encoded by "Group 3 Fax Encoding" (as... more >>
Parse a string
Posted by Viraptor at 10/27/2005 8:13:15 AM
Hello
How can I parse a string, which format I know, to elements. (in c#, not
using a regexp)
For example - it will be "number text = number text". Is there a faster
way to do it than getting string from start to IndexOf(" "), parsing to
number, getting next part to the next space, .....
I'm l... more >>
Cannot READ a file being used by another process
Posted by Woody at 10/27/2005 7:48:23 AM
I try to open a file that is opened and used by win32service for
logging purposes in c#
The following code line
StreamReader sr = new StreamReader(filename);
gets an exception:
The process cannot access the file 'XX' because it is being used by
another process.
I can open the file usi... more >>
Lab Files for Hands On Labs on TechEd 05 DVDs
Posted by RobinB at 10/27/2005 6:48:05 AM
I am looking at trying out some of the ASP.Net 2.0 based hands on labs from
the TechEd 2005 DVDs but most of them use a database called MyComics which I
cannot seem to find on any of the DVDs or on the web. Can anyone point me in
the right direction so I get get the necessary lab files that g... more >>
Workflow package error in VS2005 when loading it, after installati
Posted by mickster at 10/27/2005 5:18:02 AM
Hi there, I get the following error after I installed MS Workflow
Foundation for VS2005. It Happens when I load up VS2005. Any ideas..
Warning 1 The "System.Workflow.ComponentModel.Compiler.CompileWorkflowTask"
task could not be loaded from the assembly System.Workflow.ComponentModel,
Ver... more >>
VS 2003 debugger problem
Posted by Marius Horak at 10/27/2005 4:12:47 AM
Hi,
Our technical support people decided that all PCs will have an
automatic Windows update.
The first such update was yesterday.
Today my global error handler (Application.ThreadException) does not
work any more.
In VS Debug mode the program stops at the error line with
Break/Continue.
In... more >>
What are RptProj, rdl and rds files ?
Posted by Santhosh A Nagendra at 10/27/2005 12:00:00 AM
Hello,
We have project files in .Net with the extensions as
xxx.rptproj , xxx.rptproj.user, xxx.sln , yyy.rdl, yyy.rdl.data and zzz.rds
files
I would like to know what are these files and what type of project it is. I
tried to open in VS.Net and Visual studio but did not open. Do i need to
i... more >>
|