Home All Groups Group Topic Archive Search About

General .NET discussion

microsoft.public.dotnet.general
Score dynamically finding what functions have a specific attribute
Stedak - 29 Jul 2006 11:41 PM - 2 messages
We have a WinForm application that we would like to add security to. We would also like to set up a configuration utility that would make it easier to assign or remove rights. When using code access security is there a way to create a list of ...
Score Saving an image from the browser
Nathan Sokalski - 29 Jul 2006 10:02 PM - 4 messages
I am using ASP.NET, VB.NET, and GDI+ to dynamically create images for webpages. When I right-click on the dynamically created image to try to save it to my hard drive, which I send as ImageFormat.Gif, my browser (Internet ...
Score trouble with Master-Details list
brian.newman@wpafb.af.mil - 29 Jul 2006 1:53 PM - 2 messages
I'm trying to link a gridview to another gridview in a Master-Details architecture.  But the Details list isn't filtering like it is suppossed to.  It will show all items on page load and it won't remove ...
Score VBA to VB
Striker - 29 Jul 2006 1:12 PM - 13 messages
I have never used VB, so sorry for the novice questions.  I have a very small app in vba that only uses excel as a place to put a button and some code that I need to move to VB.  Now it seems soemone who uses it does not ...
Score Development environment / tools
Hari Shankar - 29 Jul 2006 11:26 AM - 4 messages
Hi I need to develop user interface similar to car radio in windows. for that i am looking for a programming language and/or development environment which can help me in achieving the same. I have the following in mind ...
Score beginner: what technologies to learn?
RAM - 29 Jul 2006 9:47 AM - 3 messages
Hello, I decided to become .NET developer. I want to programme database applications with ASP.NET interface. I would like to ask you a question: what technologies I should learn? I think that I should consider: ..NET 2.0, C#, ASP.NET, ADO.NET, SQL Server 2005, T-SQL,  HTML/XHTML, ...
Score Is this possible
Chris - 29 Jul 2006 6:07 AM - 2 messages
Hi, How can I copy a print job from a queue? Also where can I find information on getting my program to appear in the printers and faxes list in windows as if it is a printer driver like some common pdf converters? ...
Score The application failed to initialize properly (0xc0000005).
Jason Bell - 29 Jul 2006 5:10 AM - 2 messages
I've been developing with the .net framework 2.0 since it's release with no problems.  It has suddenly stopped working. When I try to execute any .net application a popup with the following error appears twice in succession: ...
Score How to open an existing project?
g4356 - 29 Jul 2006 2:58 AM - 5 messages
Hi, A new baby question: I downloaded a dot net project and saved it to my local disk. When I tried to open this project, a message popped up: "Unable to open web project "test/myfirstweb"/ The file path "D:\dnet\webproj\myfirstweb\home" does not correspond to the URL ...
Score Book to program stock chart
Zarf - 29 Jul 2006 2:13 AM - 4 messages
I search a book on how to program stock chart in vb net thank you. ...
Score How to get My Project Assembly GUID?
Rob R. Ainscough - 28 Jul 2006 9:14 PM - 3 messages
I tried the following and it does provide a GUID, but not the GUID listed in the My Project ... Assembly Info button.         Dim myAss As [Assembly]         myAss = [Assembly].GetEntryAssembly ...
Score .NET Web Application Performance
Yoav Shtainman - 28 Jul 2006 8:31 PM - 3 messages
I combined several application projects into one large project for ease of management and control. My previous application was a collection of small independent projects. Can this change affect the performance of the application? It is a .NET Web application using SQL Server back end ...
Score How to properly place controls on a ContenPlaceHolder
namewitheldbyrequest - 28 Jul 2006 8:20 PM - 2 messages
When I create a web form in VS 2005 I have a problem. I created a MasterPage with a ContentPlaceHolder object on it. Then I created a detail page that refrenced the Master Page. When I drag controls onto the ControlPlaceHolder on the Detail page, the controls end up at the ...
Score Multiple instance with Arguments
bhu - 28 Jul 2006 6:48 PM - 2 messages
Can any one please let me know how to to run Multiple instance of a exe with Argument. but only one instance per argument. any ideas ? thanks bhu ...
Score error when open aspx files in VS 2003..
maya - 28 Jul 2006 4:53 PM - 2 messages
when I try to open .aspx files in VS 2003, I get this alert:    The file could not be opened into the Web Forms designer    [although have set up so files open in edit/code mode.. ...
Score How many AppDomains ....
billr - 28 Jul 2006 4:33 PM - 2 messages
hi there, I hope that someone will be able to shed some light on little old confused me. We are developing an application which will be deployed onto a Terminal Server machine. The application will be used concurrently by multiple users. ...
Score The CLR has been unable to transition...for 60 seconds....
Rob R. Ainscough - 28 Jul 2006 4:22 PM - 8 messages
I get this A LOT while I'm stepping thru my code in Debug mode. "The CLR has been unable to transition from COM context 0x1a0348 to COM context 0x1a04b8 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or ...
Score Single or multiple assemblies in big apps?
Claudio Pacciarini - 28 Jul 2006 3:36 PM - 4 messages
Hi everyone, I have a question about .NET code sharing and reuse, and also about application design best practices / guidelines. Currently, we have many different .NET projects in source depot. Although they are different, in some of them we share C# code by referencing source ...
Score System.Collection!!!!!
Bruce One - 28 Jul 2006 3:35 PM - 3 messages
What is the dif between System.Collections.ICollection and System.Collections.Generic.ICollection ? When would I use one and another? ...
Score Where can I get SQLDMO
Larry Rebich - 28 Jul 2006 2:55 PM - 2 messages
I don't seem to have SQLDMO after installing SQL Server 2005 Standard Edition. Is there an SDK or something that provides SQLDMO? Thanks and Cheers, Larry Rebich ...
Score Biz-talk.............
gujarsachin2001@gmail.com - 28 Jul 2006 1:04 PM - 2 messages
Hey , can anybody give me information abt biz-talk or any exact link please...... thx. Sachin. ...
Score Biz-talk.............
gujarsachin2001@gmail.com - 28 Jul 2006 1:04 PM - 2 messages
Hey , can anybody give me information abt biz-talk or any exact link please...... thx. Sachin. ...
Score Regarding Excel
Sheshadrinath R - 28 Jul 2006 12:41 PM - 2 messages
Hi,    I am doing a Windows Application in VB.NET. In the source code, I want to know the installation of Excel in the system. If Excel is not installed, then I want to give a message saying 'Excel not installed' and to stop further ...
Score Productivity tools
Bruce One - 28 Jul 2006 11:35 AM - 5 messages
Fellows, Does anyone know tools (for free :) ) that do something like Refactor and CodeRush (DevExpress) do ? ...
Score IIS 5.1 security
Durga - 28 Jul 2006 11:17 AM - 4 messages
Hi all,         I have IIS 5.1 and dotnet 2003. I want to provide 100% secutity to IIS. It should not affect by hackers.         How can I do this? ...
Score Setup
Massimo - 28 Jul 2006 10:16 AM - 3 messages
Is it possible to create a SQL SERVER database and an ODBC connection during setup? If yes, could you tell me how or tell me where can I read information about? Thanks, Massimo ...
Score MSDN Library VS 2006 Juli (Disc 3619) - Instalation failed
Herbert Lukas - 28 Jul 2006 7:35 AM - 6 messages
Hi, during the setup of german MSDN library VS 2006 juli (Disc 3619) the VS 2005 DVD was requested. I inserted both VS 2005 DVD German (Disc 3185) and English (Disc 3070) without success. Herbert ...
Score Need Regular Expression Help
Lee Grissom - 28 Jul 2006 3:22 AM - 4 messages
I want to parse the following string into 3 parts per match.  I almost got it, but my expression has a flaw in it. I tried this, but didn't quite work the way I expect on the second match b/c ...
Score Type of member ... is not CLS-compliant
e_man_online - 27 Jul 2006 10:33 PM - 2 messages
Hi, I get the following warning when building a VB .NET 2.0 project: "Type of member 'CrystalReportViewer1' is not CLS-compliant" What can I do to make the class CrystalReportViewer CLS compliant? Why is this class not compliant? Your help with this will be greatly appreciated. ...
Score TreeView Question
Ron M. Newman - 27 Jul 2006 8:50 PM - 2 messages
Hi, I have a living UI treeView element. I need to push a button and begin adding nodes to it recursively. There are a lot of nodes to add to the tree. My questions is: is there a mechanism by which I can cause the tree to not ...
Score What is this statement mean?
Teeravee Sirinapasawasdee - 27 Jul 2006 8:15 PM - 4 messages
I found this method code in Enterprise Library 2.0 and I really don't have idea what does it mean. public virtual void SetParameterValue(DbCommand command, string parameterName, object value)         {             command.Parameters[BuildParameterName(parameterName)].Value = (value == ...
Score Exceptions break the application even within try...catch... Why?
ThunderMusic - 27 Jul 2006 8:14 PM - 4 messages
Hi, I use remoting in a Windows app...  this remoting call a ServerA and using ServerA get an object (marshaled) from ServerB...  if I call a method on the object gotten from ServerB and this ServerB has shut down it's service, I ...
Score Session problem with ASPX
Steph - 27 Jul 2006 3:17 PM - 4 messages
Hi, I am a programmer and I have a question about a ASP.NET peace of code. I have a program that has a session timeout of 2 minutes configured in Web.config file: <sessionState             mode="InProc" ...
Score Log4Next vs Enterprise Library Log AppBlock
Bruce One - 27 Jul 2006 1:56 PM - 8 messages
I am coupling an object for logging in our app... Ive seen Log4Next is indeed a good choice, besides being free... On the other hand, there seems to be a proven platform for log avaliable in EntLibrary App Block. Any suggestions, opinions or ideas what could be a better choice (other ...
Score Mail headers: smtpclient problem
fhtino - 27 Jul 2006 9:13 AM - 3 messages
Hello, I'm trying to create an email message with particular headers. A piece of code: SmtpClient smtp = new SmtpClient("192.168.x.y"); MailMessage msg = new MailMessage("from@xxxxxxx", "to@xxxxxx", "TEST", ""); msg.Headers.Add("Content-Type", "application/pkcs7-mime; ...
Score XSLT and browser differences...(Mozzie err. and they dunno)
Neal - 27 Jul 2006 8:11 AM - 7 messages
Hi All, I wrote a TOC treeview using xml and xslt, with help from this forum and MSDN help(thanks) Great in IE 6.  (expect IE 5 as well, articles were circa 2000) However, Mozilla FireFox (latest), gives me the following  error. ...
Score Active Directory Throws An Error
rkaushik - 27 Jul 2006 4:46 AM - 2 messages
Hi, I am using this code(.NET2.0 ) to create the user on the domain Controller  which is installed on my machine:   try {   DirectoryEntry objUsers = new DirectoryEntry   ("LDAP://localhost/OU=Alcatel,DC=alcatalnsit,DC=com"); DirectoryEntry objNewUser = objUsers.Children.Add("CN=" +  ...
Score TEXT field truncate to 255 symbols ?!?!?!
Toma Marinov - 26 Jul 2006 10:56 PM - 2 messages
Hello ! I"m trying to insert large string (more than 1000) into TEXT field in SQL Server but it truncate the data to 255 symbols. Is there any other way to insert large string into TEXT field without using WRITETEXT and UPDATETEXT? ...
Score Save DataSet in a Text File with Positions
bhu - 26 Jul 2006 10:07 PM - 2 messages
Hi I want to retrieve data from the database and save it to txt File with positions. Let us Say 3 columns are got, i have to save at say  3-8 the first column , 9-15 2nd Column,  16-29  3nd Column. ...
Score My.Computer.Network.Ping Bug
Joseph Karpinski - 26 Jul 2006 8:01 PM - 3 messages
Hi, When I learned about My.Computer.Network.Ping in VB.Net 2005, I used it in a program that pings a list of servers. Something like:   Threshold = CInt(txtThreshold.Text)   If My.Computer.Network.Ping(selectedServer, Threshold) Then ...
Score Decorator pattern - adding values dynamically
Doug - 26 Jul 2006 6:40 PM - 6 messages
I am looking at using the decorator pattern to create a rudimentary stored proc generator but am unsure about something.  For each class that identifies a part of the stored proc, what if I want to add a value dynamically.  I'm including some code to show what I mean.  This ...
Score Screen blanking under w2k.
LarryT - 26 Jul 2006 5:09 PM - 3 messages
I have a couple of .net applications (not written by me) which cause the entire screen to go "blank" (e.g. black) immediately after strating the applications.  The screen remains blanked for 2-4 seconds, during which time the mouse cursor appears as a large white square block.  After the 2-4 ...
Score # active connections in Sql 2000
John Bailo - 26 Jul 2006 4:21 PM - 5 messages
How do I monitor the number of open connections in Sql 2000? including ones opened by ADO and .NET processes? ...
Score How to access Internet Explorer page from external app
Jim S - 26 Jul 2006 3:04 PM - 3 messages
Is there a way in .Net or via interop (com etc.) for an external application (a .net winform for example) to read the html contents (or the DOM) of a running instance or internet explorer?  I trying to write a timer app that ...
Score How do you get around this?
Water Cooler v2 - 26 Jul 2006 2:42 PM - 7 messages
Sorry for the stupid question, but I've been there and done that. Just that just now I have forgotten it for the moment. It happens when you're in a totally different rut of thought. Bail me out here. ...
Score Problem registering a component.
automation_mark - 26 Jul 2006 2:16 PM - 4 messages
I am having a problem registering a component using regasm. The following error appears C:\Windows\microsoft.NET\Framework\v2.0.50727\RegAsm.exe is not a valid Win32 application. Any suggestions to the reason for this message. Thx Mark ...
Score Brackets around variables
Lou - 26 Jul 2006 12:59 PM - 4 messages
I see brackets in variable names in the help files code examples. What do they mean example [text} Delegate Sub SetTextCallback(ByVal [text] As String) ...
Score Good OO design (lack of friend modifier)
cody - 26 Jul 2006 12:51 PM - 11 messages
Hi! I have a class Customer which contains Contacts in a ContactsCollection. class Customer {     ...     public ContactsCollection Contacts     {     get {...}     } } class Contact {     ...     Contact(Customer cust) ...
Score how to dynamically create web controls without placeholder
Dica - 26 Jul 2006 12:41 PM - 5 messages
i need to dynamically add a web control to a page without using placeHolder. i'm looping through all the files in a folder and creating a table row as string for each file. the contol is to be nested in that row as follows: ...
Score Line drawing algorithm
rakesh.Mysore - 26 Jul 2006 7:47 AM - 5 messages
Can any one please suggest me a algorithm to draw horizontal and vertical line between two points (a right angled line, not a slant line). ...
Score How to register custom control....
gujarsachin2001@gmail.com - 26 Jul 2006 5:07 AM - 2 messages
Hey can anybody pls tell me how to register custom control in GAC or in Assembly. Thx. Sachin ...
Score Hating to kick a dead dog, but let me ask another typedef / data dictionary question...
Bailey.Hudson - 26 Jul 2006 4:08 AM - 4 messages
C# is supposed to be an improvement over C++, and I've read a zillion debates on using "using", no "typedef", no "include" to no avail. So how can I implement data dictionary-like functionality in C#?  I must ...
Score Can WinCE & Pocket PC support the "AsyncCallback"?
James Wong - 26 Jul 2006 2:00 AM - 5 messages
Hi, Can WinCE & Pocket PC support the "AsyncCallback"? ...
Score Mono Project
Bruce One - 26 Jul 2006 1:00 AM - 2 messages
Is Mono Project a realistic thing? I mean, should I believe in a close time we will be able to develop in C# for Windows environment, as well as for Linux? My question resides on the fact that a lot of potencial customers around ...
Score DevExpress products
Bruce One - 25 Jul 2006 11:08 PM - 2 messages
I am evaluating some products to buy and increment our productivity. DevExpress seems to have good products. Actually we already XtraReports license. Who araound here uses some of their products? What r the good and bad points? Thanks to all !!! ...
Score How to perform an Asynchronous Insert
dba123 - 25 Jul 2006 10:21 PM - 2 messages
I need to perform Asynchronous Inserts using DAAB.  So far I have a method which does an insert but how can I do this Asyncronously so that it does not affect the load on our public production website?  This question is wide open ...
Score Concurrency violation: the UpdateCommand affected 0 records
Miriam - 25 Jul 2006 8:15 PM - 2 messages
Hello, I got the error "Concurrency violation: the UpdateCommand affected 0 records" while updating some records in the Windows Application. I am using VB.net in VS 2003 and the backend is Access (2000) database. My Code is just like as the following, ...
Score ORM Options!!!!
Bruce One - 25 Jul 2006 8:05 PM - 5 messages
What ORM mappers do people use around here? I know some: EasyObjects (its a good one) EntitySpaces (its another good one) XPO (DevExpress, seems to be good, though I never used) LLBgen (Never used) NHibernate (seems to be complicated to make it first work and use) ...
Score searching for files in Windows...
maya - 25 Jul 2006 5:57 PM - 2 messages
let's see if I get better luck here, I posted this question in another ng, but got no responses.. I'm at work, where my machine has .NET Framework running in Windows Server 2003 Standard Ed.. when I'm viewing contents of any folder that contains aspx files (and ...
Score GridView vs. DataGrid
Melanie Peterson - 25 Jul 2006 3:47 PM - 2 messages
What's the equivalent in GridView of the DataGrid e.Item.Cells(2).Text (where e is DataGridCommandEventArgs)? Thanks much ...
Score Crystal Reports: How to select data source from a referenced assembly in "Database Expert" window?
john - 25 Jul 2006 2:53 PM - 3 messages
Hi to All, Our all data source object are defined in a separate assembly than UI. When I start designing a new Crystal Report a dialog pops up and asks for data source. Unfortunately it lists only the datasets and objects from the ...
Score Can the height of a list box be changed
Kasey - 25 Jul 2006 2:40 PM - 2 messages
Is the only way to change a list box height is by changing the font size? ...
Score Emoticon program
Nikkitababe - 25 Jul 2006 2:04 PM - 3 messages
Hi all .. I was stupid enough to accept an emoticon program from a friend via msn messenger .. it has loaded a toolbar of emoticons into my messenger chat window and I can't get it off via all normal methods .. any ideas plzzz peeps ...
Score Embedding localized resources
cold80 - 25 Jul 2006 1:32 PM - 2 messages
I'm trying to understand how VS 2005 and the .NET Framework 2.0 can be used for a localized application. I've read a lot of messages, posts and guides but I can find a straight answer. I would like to write a ...
Score verfying user's email address
Mike - 25 Jul 2006 1:03 PM - 2 messages
Hi all, I need to verify that the supplied email address is valid or not. So, here's my situation: - In my <profile> area, I created <isVerified> property. - Suppose a new user has been created. I set the profile.isverified to false. ...
Score warning on accessing shared method
iamahulk - 25 Jul 2006 12:21 PM - 2 messages
Why do I get a warning: Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated When accessing a shared method in the framework. (for example) If Control.MouseButtons = MouseButtons.None Then.... ...
Score The service started and then stopped...
cashdeskmac - 25 Jul 2006 10:36 AM - 3 messages
I have created and installed a Windows service which hosts a remote object for chat clients.  The installation went fine, but when I try to start the service in the Services tool it says: "The service started and then stopped.  ...
Score xmlns......
gujarsachin2001@gmail.com - 25 Jul 2006 6:10 AM - 3 messages
hey hi again, I just wann know what is xmlns . thx Sachin. ...
Score What's the difference between dispose() and GC.collect()
George Shui - 25 Jul 2006 2:03 AM - 3 messages
I use webBrowser to open a Word document, when I use  this.webBrowser.dispose(), the WinWord Process end. while I use  this.webBrowser = null, GC.Collect() , the WinWord Process still alive. I want to ask what's the difference between them. ...
Score Truncated ouput
jwray - 24 Jul 2006 10:04 PM - 2 messages
Hello all, I am working on an app that will scan the domain and get the OS and write the output to a file. Everything works except the file writing. It seems to write in blocks of 50 or so machines then waits then another 50. This is fine ...
Score Updating 1.0 to 1.1
Jeff Gottesfeld - 24 Jul 2006 8:00 PM - 3 messages
I am trying to update .NET Framework from 1.0 to 1.1. The problem is that any attempt to run the updater fails. I tried to download the updater and run it locally and it still fails. Is this knowledge article, ...
Score Image is ambiguous imported from name space or types
netmeister - 24 Jul 2006 6:16 PM - 2 messages
Using VB.net in the Page_Load Sub I'm trying to create a dynamic Navigation control nothing fancy, nothing tricky. I dim some variables (below)        Dim tb As Table         Dim row As TableRow ...
Score Filecopy to network share
Michel Smit - 24 Jul 2006 5:59 PM - 4 messages
Hello, I have a question. We have a webserver in a domain, DomainA, and a webserver in a DMZ with local users and groups only. I'm trying to copy a file from the DomainA webserver to the DMZ webserver. ...
Score StreamReader reads an extra 1,024 bytes...
lord.zoltar - 24 Jul 2006 2:50 PM - 10 messages
Hi, I'm having some trouble with a StreamReader. I use a System.IO.StreamReader to read a text file and then print it. If the user has selected a range of pages starting past the first page, I have to make the StreamReader jump to some point in the file. ...
Score http-equiv="refresh"
Oren - 24 Jul 2006 1:15 PM - 2 messages
Hi, I need to know how much time has left from this meta: <meta id="ref" http-equiv="refresh" content="300;url="/> any idea ? ...
Score Again Difference ........
gujarsachin2001@gmail.com - 24 Jul 2006 12:05 PM - 2 messages
hey, Pls anybody tell me what is the difference between enableviewstate and enableviewstateMac properties.........Why we r using both of these in web form. Sachin. ...
Score Windows Update .net 1.1 Service Pack 1 install issues
ncoathup.news - 24 Jul 2006 11:48 AM - 2 messages
Hi I am continually reminded that I have the .net 1.1 Service Pack 1 downloaded and available to install by Windows Update.  However, it continually fails to install when selected. I already have .net 2.0 successfully installed, so I don't think that I ...
Score difference betwen....................
gujarsachin2001@gmail.com - 24 Jul 2006 10:23 AM - 2 messages
Hey ,    can anybody tell me what is the difference between server.transfer and server.Execute. ...
Score Prevent The Cruelty
preventthecruelty - 24 Jul 2006 9:10 AM - 3 messages
Please excuse this offtopic post but I am trying to spread awareness of atrocities being commited to animals.  If you love animals as I do, please help prevent the cruelty by boycotting IAMS and EUKANUBA products for their inhumane treatment of animals.  Please spread the ...
Score sending e-mail from .Net app with MS exchange server
Michel Posseth [MCP] - 24 Jul 2006 7:33 AM - 9 messages
Hi  does someone has experience with this ?? i have made a lot of apps in the past that were capable of sending e-mails the server i then talked to was a Linux SMTP server and it worked great ...
Score Calculation of Date in VB.NET
Niyazi - 24 Jul 2006 6:41 AM - 3 messages
Hi everyone, I have a sql table that has 5 column as: cl1Month - cl1_3Month - cl3_6Month - cl6_12Month - clMoreThan12Month Now I have to date and I have to find the differences and check as month and put into one of the above column. ...
Score Socket Performance vs Direct communication
pawan - 24 Jul 2006 4:37 AM - 3 messages
Hi While performance/stress testing my application (a COM+ Server component) we drive the transaction to the component via a Socket Server app, listening to a port and passing the incomming transactions to the COM+ application. The Socket App then returns the response back ...
Score write delegate & callback in dll
James Wong - 24 Jul 2006 3:44 AM - 6 messages
hi, I want to write some delegate function to the DLL. How can I output the value to my main program? (Do not output the value to the UI) Any good idea for this program? Thanks~ For example, Public Class clsCallBackAdd ...
Score Scheduled exec
Mike - 23 Jul 2006 12:06 PM - 4 messages
Hi all, In my recent project (using ASP.NET 2.0 and MSSQL), I need to scheduled a certain operation to be executed, for example, on beginning of a month. Is there anyway to do this on server-side, either on ASP.NET side or SQL Server side? ...
Score DataGridView binding problem with custom collection
Stuart - 23 Jul 2006 9:57 AM - 5 messages
I hope someone can shed some light on an error I've been experiencing for sometime now, but can no longer continue to ignore :-( I've created a custom entity class which implements IEditableObject.  I have then created a custom collection for this custom entity which naturally ...
Score Using FileWatch?
Rudy - 23 Jul 2006 2:44 AM - 4 messages
Hello all! This is what I want to do, looking the for the best way to do this. I have a text file that gets created and placed in a folder. I would like to have  a watch for that file when it pops in that folder.  But I would alway ...
Next »