Home All Groups Group Topic Archive Search About

General .NET discussion

microsoft.public.dotnet.general
Score System.UnauthorizedAccessException: Access to the path "d:\inetpub\wwwroot\web.config" is denied.
job - 16 Sep 2006 8:10 AM - 3 messages
In a sharepoint setup using smartpart to load our user controls using enterprise blocks (data) we are getting some strange errors (logged to the event log). We dont get the error all the time. When we get the error CPU goes 100% ...
Score Events over remoting and security problem, related/not related, I don't know
ThunderMusic - 15 Sep 2006 7:39 PM - 3 messages
hi, I have 2 services running, one doing a job and the other monitoring the job is done and that the other service (the one doing the job) is still running. The thing is, the 1st service fire some events notifying other programs that ...
Score Job Oppurtunity - Web Developer - Louisville,KY - Permanent Position
Mukund - 15 Sep 2006 7:15 PM - 2 messages
Hello Guys, Please Let me know if anybody is interested in this position. Forward your resume to muk***@vsoftconsulting.com alongwith your salary and availability. I will call you for the next step of process Job Details Job Title: Sr. Web Developer ...
Score Component/Control using threads how can I do........
ThunderMusic - 15 Sep 2006 6:27 PM - 2 messages
Hi, I want to develop a component or a control(no UI, just like a timer or something)...  This component will have a thread running from it's constructor or from a start function until a stop function or the end of the ...
Score VS.2005 IDE Very slow, freezing, crashing.
Laurence - 15 Sep 2006 6:13 PM - 2 messages
I have a solution that I converted from VS.2003 to VS.2005. It is written in VB.NET. When I try to look at a form in the IDE, VS.2005 goes to sleep for about 60 seconds, before the form is completely shown and the IDE is again responsive. ...
Score Detect if Workstation is locked
ThunderMusic - 15 Sep 2006 4:54 PM - 15 messages
Hi, I want to detect in my C# app (can use iterop) if the workstation is locked. I've seen on the web people saying it's impossible except by looking if the Screensaver process is running. There must be a clean way of doing it ...
Score Is DoEvents a no-no?
Emby - 15 Sep 2006 4:48 PM - 2 messages
Back in VB6, there was "healthy debate" over whether DoEvents should be used, or it was just too evil  ;-) One can certainly argue that there is a need for a mechanism to have one routine yield the processor to another. For example, when a file open/save ...
Score Crystal Reports(.NET 1.1) - Setting Field Values at RunTime
C - 15 Sep 2006 1:43 PM - 2 messages
Hi, I have a Crystal Report with some text fields. I want to set the value of these at runtime. They will not be coming from a Database. Can I set these fields at runtime? How? ...
Score FlowLayoutPanel: howto change space between controls
cris.b - 15 Sep 2006 1:28 PM - 2 messages
There's a way to descrease the space between the controls managed in a FlowLayoutPanel? Or that space is fixed? Thank's in advice ...
Score Am i thinking correctly?? business objects inserting to database
Nemisis - 15 Sep 2006 10:47 AM - 2 messages
hi guys, Currently converting an old classic asp system to a OOP asp.net application.  We are building the new application using a 3 tier arcitecture and i was wondering about the following. I have a parent class, that when inserted, inserts a few child classes ...
Score How to deal with lots of small ASP.NET projects?
Burt - 15 Sep 2006 12:57 AM - 2 messages
We (IT) frequently have one off requests for one off processes, pages, etc (load a file into a db, compare data from two tables, place a text file on a number of shares, etc). What we end up with is a large number ...
Score ERRORS in ASP.NET 2.0 Migration in VS2005
SenthilVel - 14 Sep 2006 2:48 PM - 2 messages
Hi All I have problems when i convert my 1.1 ASPX web application to 2.0 using VS2005. My web application gets compiled fine in CLR1.1 and there is no problem with that. When i do the migration , i use the VS2005 wizard and follow the migration ...
Score Treeview (Basic question)
JayC - 14 Sep 2006 2:39 PM - 3 messages
hello all, New programmer to the .net world. I am working with VS.net 2005 using VB. So here goes.  I am trying to figure out how the treeview control works from a programming perspective.  I know how to populate it manually with the control properties. ...
Score parameter passing using url
bindurajeesh - 14 Sep 2006 2:35 PM - 4 messages
I want to open a crystal report using a viewer to do so and want to have my user click on a link to my webserver.  The problem is the report is based on a stored procedure that requires a parameter.  I want to have the value of ...
Score DataBinding to DataGridView AND TextBoxes?
Pieter - 14 Sep 2006 10:33 AM - 2 messages
Hi, My problem: When the cursor is on a given row in the DataGridView, the data in the row has to be shown in TextBoxes underneath the DataGridView. the user must be able to edit in the Datagridview, or in the textboxes. The text in these ...
Score Source Safe notes and VS.NET
John Bailo - 13 Sep 2006 6:38 PM - 3 messages
Using VS.NET 2003 and sourcesafe. When I check files into VSS using the client, it prompts me for a "note". However, in VS.NET, it does not prompt -- so I forget to put in a note for the change.   How can I configure VS.NET to prompt me for entering ...
Score converting byte[] to image file
Raghu Raman - 13 Sep 2006 3:56 PM - 4 messages
Hi i want to save the read the image file and show it on a image control of a mobile webform .But the mobile control does not support html images ,so i am forced to use the server image control to show the read image. ...
Score updated regex for email validation
Jim Dornbush - 13 Sep 2006 2:57 PM - 2 messages
Has anyone seen an updated regex expression from Microsoft for the email validation expression so that single quotes are allowed? I've been using the canned regex for emails, but recently been informed by a customer that the single quote is allowed as part of the email address (Mr. ...
Score Socket Exception: A non blocking socket operation could not be completed immediately.
Rollasoc - 13 Sep 2006 2:24 PM - 5 messages
Hi, We have a range of four products that can talk to our software (Written in C# & managed C++) via ethernet.  Using standard socket class. This has all been working fine for a long time now, under DotNet 1.1. ...
Score Inheritance to Interface??
Nemisis - 13 Sep 2006 1:11 PM - 3 messages
Hi guys, Still getting to grips with .NET 2.0, but i am getting alot better now then when i started out, for that thanks to everyone on here!! I have another question.  I have a SQL Table called Documents, consists ...
Score I'm searching for a development tool...
turghat - 13 Sep 2006 11:22 AM - 6 messages
Hi everyone. My company (19 people) works on small/medium projects. We develop, using .NET and Visual Studio, web or windows applications for business and educational organizations. We divide the projects in small groups... each one indipendent from others. What's my problem? ...
Score overriding a method of a different DLL
info@devdept.com - 13 Sep 2006 9:32 AM - 6 messages
Hi All, I am trying to override a method declared "public virtual void" of a different DLL. Creating a derived class and declaring it as "public override void" doesn't work. Where am I wrong? Thanks so much, Alberto ...
Score Error look up in .NET
Krish - 13 Sep 2006 8:46 AM - 2 messages
Hi All, I want to maintain a error lookup table (ErrorCode - Error Message) for my application. Can anyone suggest the best way to do it. One way would be to store it in a Database table. Is there any other ...
Score error with adodb.dll
Abby - 13 Sep 2006 3:07 AM - 2 messages
Hi All, I am working on a web application remotely. I joined recently so  I am not sure what the other guy did. When I try to open the project I get referencing problem with adodb.dll. I checked that adodb.dll was present in the bin ...
Score Losing contents of HttpContext.Current.Cache ???
Graham - 13 Sep 2006 1:30 AM - 2 messages
Here is the problem: In Application_Start() I am setting the cache thus: HttpContext.Current.Cache["MyObj"] = myObj; In a subsequent page request, I am accessing the cache thus: MyObj myObj = HttpContext.Current.Cache["MyObj"] as MyObj; Sometimes myObj is null. How can this be? ...
Score Last event
esha - 13 Sep 2006 12:37 AM - 6 messages
When Form is invoked with myForm.Show what is the last event of the form object? I have some code in TextChanged events of many TextBoxes and other controls populated with data from datatable via BindingSourse. I want to set the flag ...
Score PDF File help!
Ami - 13 Sep 2006 12:35 AM - 4 messages
Hi All I am using this code to open a PDF file and it works fine in Windows Server 2003, but not working in Windows XP and 2000. The Download box has Open, Save and Cancel option, but when I click Open option, it is not opening the file, instead, it is ...
Score VB or C#
esha - 13 Sep 2006 12:27 AM - 41 messages
I'm going to learn one of Framework based languages. I have a friend who knows VB 2005 and he could help me with lessons. But I know from other friends that C# is more popular and has higher demand. ...
Score VB to C# issue
Arvi - 12 Sep 2006 10:41 PM - 5 messages
Hi, im converting a VB web app to a C#. i have problem with the following line ds.Tables[0].Rows[ind].Item["taskid"] ERROR - 'System.Data.DataRow' does not contain a definition for 'Item' whats the alternate that i can use? ...
Score C# program to service
AzenAlex - 12 Sep 2006 9:18 PM - 7 messages
I have a fairly large application written in C# that i would now like to run as a service. Is there a simple way to do this? ...
Score Networking
Karen - 12 Sep 2006 7:15 PM - 2 messages
Help!  I ran the network wizard for my home computer, and I didn't want to do that.  How do I switch it back so its not on network?  I think Im having problems connecting to the internet through my wireless router because of it. ...
Score Dynamically generate Visio from .Net
Mike Logan - 12 Sep 2006 5:37 PM - 5 messages
I would like to dynamically create a Visio diagram from .Net.  I tried looking at the Visio SDK, but the samples are extremely convoluted for me to understand. Does someone have an example of creating a basic drawing with two shapes ...
Score OT: RegEx Help
Bob Johnson - 12 Sep 2006 5:29 PM - 2 messages
I need a RegEx expresson that validates a string containing 6 characters according to this criterion: First character must be alpha (A-Z) upper case only. Next 5 characters must each be an integer from 0 to 9. These would pass: G43879, A00009, K98765 ...
Score VS 2005 SP1??? where?
Rob R. Ainscough - 12 Sep 2006 5:26 PM - 12 messages
Trying to get more info on this, anyone?? [link] Has anyone seen "a more detailed schedule of external interim milestones...will be posted when it has been finalized."? Seeing as there is only 19 days left in Q3 this looks sorta like it isn't ...
Score Want to be Google? Check out this oss toolkit
John Bailo - 12 Sep 2006 4:56 PM - 7 messages
Take a look at the examples of this OSS javascript toolkit. [link] Not much you can't do!  And it implements a clean AJAX library as well! ...
Score Converting VB.Net code C#
Sai - 12 Sep 2006 4:17 PM - 3 messages
Hello, I am new to .Net world and I need some help in converting VB.Net code to C#. Public Overridable Property CaseSensitiveKeySort() As Boolean Get   Return _caseSensitiveKeySort End Get Set(ByVal Value As Boolean)   _caseSensitiveKeySort = Value End Set ...
Score Alternative to Exceptions
Saubz - 12 Sep 2006 3:40 PM - 3 messages
Hello.  I have an exception performance issue.  What I am doing is trying to cast a substring into an integer with CINT(string.substring(x,y)).  And if it doesn't work, I am catching the exception and then entering the substring ...
Score GUI for Charts
Fla - 12 Sep 2006 2:35 PM - 4 messages
Hi! I would like a suggestion about a graphic provider for Charts plotting in VBNET. I need to plot charts with more elegant graphic interface than VBNET default one; I also need to interact with the charts I will realize, i.e. plot datas ...
Score Environment.Exit in Win services
Freaky - 12 Sep 2006 8:58 AM - 2 messages
Hi, My exe file will start 4 different services. If the code encounters an Environment.Exit() while in execution, i see that, all the 4 services are stopped(crashed). But i want that particular service alone to stop. What can i do for this?.. ...
Score The request could not be submitted for background processing
xiangyap - 12 Sep 2006 6:39 AM - 3 messages
Hi all I've developed a Crystal Report in VS2005. I got the error message "The request could not be submitted for background processing" when I tried to load this report in my winform application. This error came out occasionally ...
Score dllimport - object reference not set to instance
cfennessy - 12 Sep 2006 5:54 AM - 5 messages
I am having problems when I run the following code. I get the error message that the Object reference not set to an instance of the object. Does anyone have any idea what I am doing wrong? I am trying to access unmanaged code in ...
Score loading app.config in treeview
vikram - 12 Sep 2006 5:52 AM - 2 messages
anyone have any code which reads current app.config and loads its value in tree view, using c#, 2.0 ? ...
Score How to remove rows from a DataTable without deleting form the database
Susan Mackay - 11 Sep 2006 10:57 PM - 8 messages
I have a data table that is connected to a database table with a data adapter in the 'standard' manner. However I want to be able to remove selected rows from the data table (i.e. no longer include them in the set that is displayed to the user) but I don't ...
Score The page cannot be found
rep - 11 Sep 2006 10:52 PM - 3 messages
Greetings! Apologies up front for this question.  Sure that it's been asked and answered a number of times.  I just couldn't find anything within the number of groups and wasn't sure which group to post to. ...
Score how to connect to remote system from the local system
Yoshitha - 11 Sep 2006 10:26 PM - 3 messages
Hi All I need to develop c#.net application in which i need to access  remote system from local system and can work on that remote system from local system. how such type of applications can be built in c#.net? ...
Score Managed to Unmanaged C++ Performance
MC-Advantica - 11 Sep 2006 8:08 PM - 2 messages
I am exposing a legacy unmanaged C++ class library and deciding whether to use COM or .NET approach.  I have a COM DLL containing the legacy (unmanaged) code, and a .NET class library containing the legacy code.    My initial ...
Score Remoting: displaying remote objects in a property Grid
Serge Bollaerts - 11 Sep 2006 7:14 PM - 2 messages
Hello, I'm testing remoting 2.0. I created a library, server and client project. The client project instantiates a remote object a display it in a property grid. Everything works fine excepted the property grid. I would like to know ...
Score Still trying to disable controls
RichG - 11 Sep 2006 4:31 PM - 3 messages
With the help of Cor Ligthert [MVP] in a pryor post I was able to make this sub:     Public Sub disableControls(ByVal frm As Form)         'this is to create a read only form that has active buttons ...
Score Problems compiling with vbc.exe due to the project namespace
sjt003 - 11 Sep 2006 3:26 PM - 4 messages
I have been developing web apps in Visual Studio 2003, but since the other developers in my office don't use Visual Studio, I may have to stop too unless there is an efficient way for them to compile the code outside of ...
Score Problem with CanFocus and SetFocus()
Brian - 11 Sep 2006 3:12 PM - 2 messages
I am running into a problem with the CanFocus property not allowing me to set the focus to a control.  The application is a Form which has a Panel and in the panel are a series of user controls.  Each of the user ...
Score lock (mutex) between services on multiple machines
Oleg.Ogurok - 11 Sep 2006 2:25 PM - 2 messages
Hi there, I have a .NET Windows Service which utilizes System.Threading.Timer and performs a task every 15 minutes. The task is performed on a shared database (e.g. querying, creation of records, etc.) I would like to install the service on 2 or more servers for redundancy ...
Score COM Servers in C#
RichF - 11 Sep 2006 2:21 PM - 2 messages
Hi, I have read about using regasm to "register" .net class libraries (.dll) so they could be used through COM clients.  However is it possible to create .net class libraries that are implemented as an out of proc servers (.exe) ? ...
Score SecurityExcepion inside DLL linked in an HTML tag OBJECT
Lambuz - 11 Sep 2006 1:01 PM - 3 messages
Hi there, I've got this strange problem. I've created a library of some assemblies and one of these (webclient.dll) is linked inside an html tag object by using this sintax: <OBJECT id="myID" classid="http:WebClient.dll#namespace.WebClientClass" ...
Score 3 tier x 4 tier, using an ORM
Bruce One - 11 Sep 2006 12:40 PM - 2 messages
My ORM is responsible to map my tables to data object classes, but then I face a big quizz: should I work with only this tier, putting all my complex algorithms in this same tier, or should I create another tier, above this ...
Score How to set Dealy to read xml file
Aryan - 11 Sep 2006 12:21 PM - 2 messages
Hi,    I have function which creates two xml files,after creation these xml's, I am calling another function which reads these xml files. Now this function is causing exception becuase data has not been read from xml file and stored in using by other control. I am looking out for ...
Score About IDisposable.Dispose()
Water Cooler v2 - 11 Sep 2006 9:00 AM - 7 messages
I heard from someone that we must not implement IDisposable for all classes. Can someone please tell me: 1. the reason why we must not implement IDisposable for all the classes we write. 2. what is the correct way of implementing IDisposable.Dispose? ...
Score Object ref. not set to an instance of an object
Freaky - 11 Sep 2006 5:49 AM - 8 messages
hi all, I get this error, when i try to execute a query in .NET. Also, this phenomena is not seen at all times; rareyl i get this - and to my dismay wen i get this error, .NET is actually executing statements in a ...
Score System.Management not installed either?
Ehsan - 10 Sep 2006 8:54 AM - 3 messages
Looks like the setup which is created by VS 2003 doesn't actually include al the necessary files that my app needs. My app uses WMI and works fine on all of our development machines. When I installed the app on Windows 2000 ...
Next »