all groups > dotnet general > june 2004 > threads for friday june 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
Noob Question: Why raise envents instead of executing event code?
Posted by (Pete Cresswell) at 6/18/2004 10:00:01 PM
I've been perusing a "real-life" application and notice that for instance, in a
button's Click() event, they don't write the processing code. Instead, they
raise an event like AddNewRecord and then put the coding that would have been in
the click event in the AddNewRecord event handler.
It s... more >>
OOP Failed?
Posted by Bharat Sharma at 6/18/2004 8:21:19 PM
Hello All Wise Persons.
I don't know wheather my question is okay or i need to
revisit my OOP fundamentals. AS we have read till now in
OOP that Every Parent Class can see and execute the
Methodas of the object it points to (be it the object of
self or the derived class). However in case ... more >>
Need Documentation for Visual Studio .net 2003
Posted by Steve Howard at 6/18/2004 4:59:53 PM
After a lot of hassles I just installed Visual Studio .net 2003 from a
student MSDNAA download.
I get to the part where I am supposed to install "Product documentation" and
I keep getting prompted for MSDN disc 1. All I have is the installation
files that were downloaded/unzipped and these do ... more >>
Algorithm problem
Posted by cody at 6/18/2004 3:57:54 PM
I have to write an algorithm with must ensure that objects are put in
buckets (which are always 4 in size).
The objects have two properties: A and B. It is not allowed that in a bucket
are objects with the same A or B value. But there can be more than one
object with A = null or B = null in the ... more >>
Dynamically add or modify attributes?
Posted by Mark Friedman at 6/18/2004 3:54:53 PM
Is there any way to dynamically add or modify the custom attributes on an
assembly (and any of its elements) from code running in that assembly? Note
that I'm not interested in writing out the assembly and reloading it
(although if I had to do something like that to implement what I want I
coul... more >>
Legal or Scam??
Posted by Debbie Erickson at 6/18/2004 2:44:02 PM
Lately I've been getting lots of spam, selling cheap software. The website was oemsoftwarehouse.com. They supposedly were selling oem software of Borland's Delphi and Microsoft's Visual Studio. They said it was only $60 for Delphi 7 Enterprise, but Borland sells it for over $2,500 USD! I don't k... more >>
.net development using Virtual PC
Posted by Lou L at 6/18/2004 1:34:01 PM
Are there any known issues for developing using Virtual PC. We're using it on a XP Pro system, with a Virtual PC Session being Windows 2003 Server running Sql Server? Our insert statements are inserting 5 times on the Server. Yet doing the exact same thing from a standalone workstation works fine... more >>
error that was recorded to event log
Posted by TS at 6/18/2004 11:46:10 AM
I have an error that I can't figure out how it happens. I have a windows app
that has been running on a box in production. Starting 3 days ago, and
everyday since, this error is recorded to the app event log. Can anyone tell
me what might of happened - Server config change?
The description for... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Help with cause of error please
Posted by harry at 6/18/2004 11:38:00 AM
Hi
This error appears from time to time either when my VB.NET program starts or
at some time during runtime. It is absolutely inconsistent. I change nothing
in my code and yet after I restart the program the error may or may not
appear again until some unknopwn future time. Sometimes the error... more >>
dotnet apps running over CSNW
Posted by Lorin McCaffrey at 6/18/2004 10:55:01 AM
I have found that .NET applications made up from multiple assemblies do not run from file servers if Microsoft Client Service for NetWare is used to access the file server. When you try to do so, you invariably get a System.IO.FileLoadException with an error message such as "Can not access file <as... more >>
Run DOS Commands without DOS Window Popping Up
Posted by ViRtUaLpCwHiZ at 6/18/2004 10:51:02 AM
These lines of code:
Imports System.Diagnostics.Process
Start("subst I: D:\FakeFolder1")
Will start the DOS command subst, but the problem is the DOS window will popup temporarily. This looks unprofessional in my application, and I was wondering how I could stil run the command without the D... more >>
VBS help
Posted by Aaron at 6/18/2004 9:37:51 AM
I hope this is the right place to post this.
I would like to write a VBS script that scans through my IIS log(text file)
for an ip address and copy and paste that line into a new file.
so if I open the new file all i would it is activity from that ip address.
Thanks for your help
Aaron
... more >>
newbie wants to read textfile
Posted by Jurgen Oerlemans at 6/18/2004 9:22:14 AM
Hello, probably a simple one:
I want to store some settings to a textfile so they are default when the
user re-opens the program.
For this I need to read the text file.
I tried to use the example-code from msdn which I pasted under a
commandbutton :
Imports System ----> Syntax... more >>
OOP class question
Posted by mychevworld NO[at]SPAM yahoo.com at 6/18/2004 9:15:08 AM
I have a function in one class that I have discovered I need in
another class also. What is the best way to do this? Create a 3rd
class and inherit it in the 1st two?
Thanks
Mike... more >>
Shortcut target with spaces in file name
Posted by md at 6/18/2004 8:32:20 AM
Hi everybody -
I am writing an application to change the target and start in folder in
shortcuts. I am using Mattias Sjögren's ShellLink library (thanks!) but I
found a problem I was hoping someone knows a solution for. I don't think
it's a problem with Mattias's code, but it appears to happen... more >>
working with IHTMLDocument and friends
Posted by Chris at 6/18/2004 7:52:37 AM
Hi, I need to get the following VB6 code to work in .NET:
'/////
Dim doc As MSHTML.HTMLDocument
....
doc.getElementsByName("username").Item(0).Value = sn
doc.getElementsByName("password").Item(0).Value = pass
doc.getElementsByName("savepwd").Item(0).Checked = "yes"
'\\\\\
I got as far as t... more >>
Does .Net allow code and object reusage for web?
Posted by Duane Phillips at 6/18/2004 7:33:28 AM
Greetings.
Can an app be developed in .Net to deploy like local installed apps, and
then later reuse that code and object set to deploy on a web server?
I have read a little about WEB vs. RICH vs. SMART in .Net. Still vague as
to what path(s) to pursue.
Background:
We have an existing... more >>
Excel PageBreaks from .Net
Posted by Bill S at 6/18/2004 5:46:01 AM
Has anyone created HPageBreaks or VPageBreaks from their Application for Excel. I use Excel as my reporting tool for all of my Applications, and have been trying to add a new or move an existing pagebreak. But can not get code to work correctly. I have pasted some code that works up to the page br... more >>
ResourceManager is unable to load resources in satellite assemblies
Posted by nea NO[at]SPAM orgconsult.no at 6/18/2004 5:25:28 AM
Hello
I hope someone is able to help me with this frustrating problem.
I have a C# web project in Visual Studio .NET 2003. I want to support
Swedish and Norwegian texts and have put the texts in resource files
(.resx).
I build the project from the IDE without errors. A main assembly
(con... more >>
[C#] Calling several processes in a same dos window
Posted by w.monthard at 6/18/2004 2:22:05 AM
Hi,
here is my trouble:
I need to call 2 différents processes in a same dos window,
the first one is needed for the 2nd, and I have to pass several different
arguments to the 2nd.
My problem is that there are as many dos windows as calls to
"myProcess.start()", and I don't know how to do ...... more >>
Urgent - Unistall error when deleting from GAC
Posted by Naresh at 6/18/2004 12:13:01 AM
I have Windows 2000 advanced server with SP4 installed. I also have Biztalk Server 2004 installed. I am using VS.NET 2003. I create any class library without setting any additional external references in my project. Once I install the resulting dll into the GAC everythings ok. But after this it does... more >>
|