all groups > dotnet general > october 2004 > threads for monday october 18
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
P/Invoke DLL-memory managment
Posted by Yves Dhondt at 10/18/2004 11:04:10 PM
Hello,
I'm looking for information about the loading/unloading of unmanaged dlls.
Using the debugger I think it works as follows : the unmanaged DLL is
loaded as soon as a call to one of it's functions is made. After that,
it's kept in memory till the last call to it (by the managed progra... more >>
scroll richtextbox
Posted by Dayne at 10/18/2004 8:53:01 PM
My form has a richtextbox control with two button ("up" and "down") . I need
to use those buttons to scroll the text in the richtextbox "page-by-page".
Any ideas?
... more >>
Get last write username
Posted by Victor Hadianto at 10/18/2004 8:23:05 PM
Hello,
Is it possible for me to get the last user who changed a particular file? Or
adding/removing/renaming file from the file system? I know that using
FileSystemWatcher and I can monitor for changes, and getting the last access
time/last write time but I have no luck in finding the user ... more >>
.NET dead in 2 Years ?
Posted by Didi H. at 10/18/2004 8:12:46 PM
Hi,
in our company we are currently thinking about to do new project in .NET.
I like this idea but there is another group that has a totally different
opinon.
Yesterday I got the following email, and I am wondering if it is true what
is said in this mail.
Here is the mail it is very long:
C... more >>
Bye Bye Microsoft Passport!
Posted by kalim1998 NO[at]SPAM yahoo.com at 10/18/2004 6:45:11 PM
It seems that Microsoft may be slowly phasing away Passport, which had
been one of the hyped components of the eroded dotnet hype....bye bye,
passport, we hardly knew ye! bwahahahbwahahaha!!!!!
http://www.dashes.com/anil/2004/10/17/wither_passport
"Microsoft hasn't talked much about Passport... more >>
using the InsertAt method of the DataRowCollection class
Posted by Derrick at 10/18/2004 6:35:05 PM
Hi all, I've been trying to understand exactly how to insert a newly created
DataRow into a DataRowCollection at a specified row value without much luck.
At first I was just appending the collection with the Add method. That
worked fine, but not the InsertAt method. It always inserts the ne... more >>
MailMessage Class
Posted by vineetbatta at 10/18/2004 6:01:02 PM
I am using MailMessage class of .NET framework .....
I have a scenerio in which i need to send mail to large number if users >
10,000 users.....
I know i can do ......
MailMessage msg = new MailMessage();
msg.To = x1@domain.com;x2@domain.com; // Semi colon seperated alias assigned.
Sm... more >>
Web Forms and Environment.GetSpecialFolder
Posted by Chandler Chao at 10/18/2004 3:53:03 PM
I am trying to get the path of a user's Personal folder from within a web form.
When I use the call:
Environment.GetFolderPath(Environment.SpecialFolder.Personal)
I get absolutely nothing back. When I query for Environment.UserName, it
returns ASPNET (which makes sense). The fact that th... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Removing a corrupt .NET 2.0 Beta
Posted by juanv NO[at]SPAM microsoft.com at 10/18/2004 3:11:04 PM
When I am try to remove a corrupt .NET 2,0 Beta. the controlPanel/AddRemove
programs wizard tells me that the file netfx.msi is not valid. I have
extracted the file from dotNetFx.exe from two different locations within MS
(I was told that there are two different versions), but both versions fa... more >>
Explosion of .NET programs?
Posted by Olaf Baeyens at 10/18/2004 3:00:12 PM
I have seen a lot of talk about .NET and C# and stuff, but so far I didn't
see any commercial programs yet.
Until know, I happen to stumble on some programs that seems to be a .NET
program and expects the .NET framework installed.
Is this .NET thing finally taking off? Or is it just sheer luck... more >>
read key/value pairs from delimited text file into collection?
Posted by Ron at 10/18/2004 2:15:03 PM
I have a text file with the following format (pipe delimited)
|column1=value|column2=value|column3=value|column4=value|...
|column1=value|column2=value|column3=value|column4=value|...
I have two questions.
1. Is this some new type of text file format and if so, what is the name of
it.... more >>
Visual .dot net 2005 status?
Posted by Vern at 10/18/2004 2:11:03 PM
If we were to develop an app that will be completed in the first half of
2005, should we use the visual studio 2005 beta, or stay with the 2003. 2005
has some nice features, but I'm wondering how soon they're thinking of taking
it out of the beta stage, and if a live business app can be moved... more >>
Strange Error Message
Posted by MrMike at 10/18/2004 1:59:03 PM
When I run the following UpdateCommand event I get the error: "Line 1:
Incorrect syntax near '?'." and the highlighted line is
"updateCommand.ExecuteNonQuery()". I've been troubleshooting this for 2
hours and have no clue what the problem is. Could someone please help me
understand what is... more >>
reloading app.config in Configuration Management Application Block ???
Posted by jbesad01 NO[at]SPAM yahoo.com at 10/18/2004 12:01:13 PM
I am planning on using the Configuration Management Application Block.
The Block reads the app.config file the first time it is used. What if
I want to add a new section/configSection and have the
ConfigurationManager class reload the new app.config settings. Can
this be done? I am not intereste... more >>
Resize Picture in ImageButton
Posted by Stanley J Mroczek at 10/18/2004 12:01:04 PM
I do i resize a ImageUrl Picture to show at 50 precent of its size?
the height is only a set not a precent.... more >>
Stream Writer
Posted by Charles A. Lackman at 10/18/2004 11:58:25 AM
Hello,
I have created a MemoryStream that is holding Binary Data. How do I get the
Data out of the Memory Stream into a file on my hard drive. All the
examples I have seen for a MemoryStream write the contents to the console.
Thanks
Chuck
... more >>
Error using Oracle ODP.NET from Web App on Windows 2003
Posted by John Kuhn at 10/18/2004 11:57:06 AM
What additional steps are needed to allow web apps to access oracle ODP.NET
resources under Windows Server 2003?
When using Oracle's ODP.NET (9.2.0.401) from a WebForm I get permission
errors when invoking oracle - System Error: Unable to load DLL (OraOps9.dll).
Impersonation fixes the err... more >>
Printing From .aspx pages.
Posted by owyn at 10/18/2004 11:47:02 AM
Our work group has migrated to the .NET environment from some differing back
grounds. I am the newest member of the group so I am stuck with the ASPX
pages. I am doing the code behind in C#. Our current users want to print the
data in the tables and data grids from the ASPX pages. This leads t... more >>
Where to find Windows Component Update disk for Visual
Posted by RichG at 10/18/2004 11:37:02 AM
We are trying to install Visual Studio.NET. The setup is asking for Windows
the Component Update disk for Visual Studio.NET CD. Since we are using the
the downloaded version of Enterprise.NET we do not have a CD.
I also looked in the DVDs we received with the Universial MSDN subscription
... more >>
ASP.Net project won't run
Posted by Helpless New Guy at 10/18/2004 11:32:09 AM
Hi,
I'm trying to open a ASP.net project that another developer within my
company developed, I'm able to build the project but when I try to run it
it gives me an error that says I need to be a member of the debug users
group. I had myself placed in the group and I'm also an admininstrator o... more >>
FileSystemWatcher getting Word temp file
Posted by zfeld at 10/18/2004 11:20:56 AM
My app is creating a word document which my app calls saveas() and saves it
to a given directory that is being watched by a fileSystemWatcher. The
problem is that the fileSystemEventHandler for creation is only called for
the temporary filed created by word which shows up as ~$documentName.doc... more >>
VB .Net "File in Use" on Loading JPG image into a picture box...
Posted by Bill N. at 10/18/2004 10:59:07 AM
Using VB .Net 2003 Standard Edition.
This simple form has a "File in Use" problem while the executable is running.
Created this simple program to make sure that I hadn't done something in my
code in the "real" project.
In the "real" project, One part of the program saves multiple images a... more >>
Customize VS.NET 2003 Project Paths
Posted by christopherkilmer NO[at]SPAM hotmail.com at 10/18/2004 10:33:05 AM
I would like to be able to customize the path structure that VS.NET
2003 creates for projects.
1. I'd like to be able to create a project without VS.NET creating a
folder for that project. I've already created a folder where I want
the project to go, however, VS.NET won't use the existing fo... more >>
Prevent code reuse
Posted by patrick t music-images dt nl at 10/18/2004 10:09:23 AM
Hi,
I'm evaluating Visual Studio and the .NET concept for his company, which
is currently using Borland C++ Builder.
Now I tried to create components/controls etc. in .NET and I can reuse
it very easily by adding the control to the toolbox. This is great and
more 'safe' to do than in Bor... more >>
Global.asax Session_OnEnd not firing
Posted by Phil Lamey at 10/18/2004 9:49:05 AM
Hi All,
I have the following code but for some reason I cannot get the Session_OnEnd
event to fire.
I am trying to limit the amount of connections a browser session can have.
Where the application is a virtual directory.
Any ideas?
------------
default.aspx.vb
Public Class WebFo... more >>
How to initialized variables
Posted by leotricaspio at 10/18/2004 9:25:08 AM
Hi,
This is a silly question.
When I'm debugging, I store textboxes values into global or module
variables. (C#)
But when I just start debugging, in the watch window I can see the previous
values of the variables, that I set the previous time I was debugging.
I now I can force dispose in t... more >>
Multithreading and ASP.net
Posted by nshathish NO[at]SPAM gmail.com at 10/18/2004 9:23:41 AM
Hai
i am trying to write a multithreading asp.net application
this is the code
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
If Not IsPostBack Then
Try
... more >>
Create DSN in setup
Posted by McCool at 10/18/2004 9:09:04 AM
How can I get the deployment project to setup a DSN pointing to an Access DB
after installation takes place?
Also, is there a way to kick off a vbs script after installation takes place
through the deployment project?
TIA
Brian... more >>
opening excel application thru vb.net
Posted by ST at 10/18/2004 8:25:07 AM
Hi, I'm having problems opening up excel thru my code. It will write and
saveas an excel file, but the application won't open on the user's computer,
excel seems to be hidden, because it shows up on the task manager. The
problem is, if this user tries to download the data more than once, it ... more >>
How to set up .exe.config during installation
Posted by policywatcher at 10/18/2004 7:25:21 AM
So I've been really good. I've written my nice shiny new app to use a
..config file.
I have code that is nicely reading (and updating as required) the settings
in the .config file, and the app is passing testing, fine.
All goes well, right up to the point where I want to make the install... more >>
Using .NET-created components
Posted by John Spiegel at 10/18/2004 7:17:52 AM
Hi all,
Like many of my questions, I'm working through a book's examples. Topic at
hand is component services and I'm trying to use a component built earlier
in the chapter that was built and registered. When I attempt to add a
reference to it in another project, it shows up as a COM object,... more >>
Inheritance
Posted by Nicoleta Taranu at 10/18/2004 6:13:05 AM
I have a problem with the inheritance.
I have a Base form with PUBLIC Component One Controls
C1Toolbar , Command Holder , some Command
All the commands are PUBLIC.
I have created another form which inherits from base form.
When i click in design mode on the inherited form the command button... more >>
For ASP .Net display use databind or implicit Response.Write (<%=
Posted by Mike at 10/18/2004 5:49:04 AM
For ASP .Net display of a protected value what's better <%# %> (with
DataBinding) or the ASP <%= %>?
Is one more efficent or is there no difference?
Thank you.... more >>
convert files to pdf format
Posted by Benjamin at 10/18/2004 2:17:03 AM
hi..
i would like to know if there is any components written in .NET that i can
use to convert any files (*.*) to .pdf format.
i have search the whole day looking for it..but all i could find is
conversion from the other way round. (pdf -> *.*) and also components for
editing and creating ... more >>
DNS Server Name?
Posted by John S at 10/18/2004 1:15:08 AM
How can I identify which DNS Server a machine is using in vb.net?
... more >>
|