Home All Groups Group Topic Archive Search About

General .NET discussion

microsoft.public.dotnet.general
Score Why the results of debug and release version is different.
bantamweight - 9 Sep 2006 5:51 PM - 4 messages
Hi, I create a project with vs2005 (both c++ and c# are used, sames the problem is about c++) and it working well in Debug version but the result is wrong in Release version. I checked again and again and no ...
Score Event Monitoring.
jay_kbvt - 9 Sep 2006 12:37 PM - 4 messages
Hi, Is there any way out that I can log copy/cut-paste events....? Thanks & Regards, Jaydeep. ...
Score IList and IList<>
nicolas.rolland - 9 Sep 2006 10:53 AM - 7 messages
Would anyone know the reson why IList<T> does not implements IList ?? This results in strange behaviours, like typeof(IList).IsAssignableFrom(typeof(List<string>))  --> true typeof(IList).IsAssignableFrom(typeof(IList<string>))  --> false ...
Score f8 Shortcut Gone From Debug Toolbar
Greg P. - 9 Sep 2006 4:27 AM - 3 messages
I've lost my F8 shortcut on my Debug tool bar?  I have no idea how or how to reset it.  I evern did a repair install off of my dvd and still it didn't come back?  I can go into the keyboard short cuts and If I try to assign F8 ...
Score How to manage SQL Server 2005 objects from framework 1.1
ABN - 8 Sep 2006 9:34 PM - 3 messages
Hi, I want to access and manage SQL Server 2005 objects from .NET framework 1.1. Is there any object model (either managed or COM component) which I can use? SQL Management Objects (SMO) is there, but it is for framework 2.0. ...
Score Atlas how to question
benthanger@online.nospam - 8 Sep 2006 8:57 PM - 2 messages
This is just a how to question that I'm hoping someone can answer.  Is there anyway to update the page cashe after performing a partial page update using atlas so that if someone leaves the page and then presses the back button the ...
Score Hosting ASP .NET Applications On A Windows Media Server...
Jason Richmeier - 8 Sep 2006 8:27 PM - 4 messages
I looked for a more appropriate newsgroup for this question but I didn't see much of anything (something more specific to Windows Media Services). I have a server with Windows Media Services.  When I try to establish an ASP ...
Score How does ASP.NET work?
mctodd333 - 8 Sep 2006 5:57 PM - 5 messages
Hello,   I'm currently designing a new programming language for the .NET Framework and would like to be able to use that language in ASP.NET pages. However, I don't know anything about ASP.NET or how .aspx pages ...
Score Compile error: Make sure that the class defined in this code file.
Larry Epn - 8 Sep 2006 4:20 PM - 2 messages
I've created a project from Microsoft's "club.vsi".  I don't want inline code so I've separated all aspx and ascx pages into code-behind pages.  I'm compiling the project and continue to get this error: ...
Score Crystal Reports Export to PDF First page is Backwards
richardsayre - 8 Sep 2006 2:04 PM - 2 messages
I am generating PDF reports using the CrystalDecisions.CrystalReports.Engine.ReportDocument object. For some reason, the first page of the generated report is backwards. The rest of the report is fine.  This only occurs with PDF's.  The RTF ...
Score Webservices - the way to go...?
ChrisM - 8 Sep 2006 9:40 AM - 6 messages
Hi, I have written a stand alone WinForms application with an MS Access back-end for the (small)company I work for. They are now talking about moving a part of their operations into a second site 50 miles away from the main one. ...
Score Changing the default path of a windows service
RMB - 8 Sep 2006 4:57 AM - 2 messages
Environment: VS.Net 2003 FW 1.1 VB.Net I have an application that uses reflection to load external assemblies.  The external assemblies reside in the same folder as the application exe. When I run the application as a normal windows application, the external assemblies ...
Score Magnetic forms in C#
mickeymicks - 8 Sep 2006 1:49 AM - 3 messages
Has anyone tried to do magnetic forms in c# already? Basically i want to emulate the behaviour of Winamp, wherein the forms get magnetized to each other. I've seen this done in some components thru delphi. I started to do it manually mostly using Move event of a form.. ...
Score Turning off .NET security
NormD - 7 Sep 2006 9:06 PM - 5 messages
I am running Windows XP, and IE version 6.0.2900 on my desktop. It has the ..Net Framework Service Pack 1 installed on it. Security was turned off on the machine using "CASPOL -s off". A .Net windows application has been deployed ...
Score In .NET, how do I...
MC-Advantica - 7 Sep 2006 9:03 PM - 2 messages
I need to write an application (i.e., an EXE) that exposes an API that another application/process (likely a web service) can make calls to; what technology(s) approaches should I be looking at.  I'm new to .NET; I ...
Score intellesence in web.config
Jerry C - 7 Sep 2006 5:39 PM - 3 messages
I am not getting intellesence in web.config any ideas. Visual Studio 2005, framework 2 , visual basic Thank you ...
Score C# FTP Client
Arvi - 7 Sep 2006 4:41 PM - 7 messages
Hi, i need to write a application which gets the parameter of a file name and reads the file. the file has a list of paramters like ftp name, username, password, passivemode, etc and then it has to do a ftp transaction depending on the content of a file. ...
Score VB.NET 2005 System.Net.Mail Problem
Tim - 7 Sep 2006 3:49 PM - 3 messages
I am trying to send a simple mail message using windows forms in VB.NET 2005. When executing the code, I get a general 'Configuration system failed to initialize' error message when the code instatiates a new MailMessage object (see below) My form has the following code: ...
Score Adding Value to Dropdownlist
Mike - 7 Sep 2006 2:49 PM - 6 messages
In ASP.NET 2.0 I have a dropdownlist populated from a sqldatasource. The dropdownlist values are successfully populated from a database table. I would like to add the value "Select Company" which will be the selected value when the page loads. I attempted to use the code below to add "Select Company" ...
Score Write to event log
Jerry C - 7 Sep 2006 2:38 PM - 5 messages
I am trying to write to the event log with the My.Log.WriteEntry("MyMessage") The call does nothing. I think that I need to set up the Listeners in the config file. Is there any information on how to set up the listener for the ...
Score Putting list of objects into a datagridview
Tolgan - 7 Sep 2006 1:49 PM - 3 messages
I have an object class "Person" say, with various public properties including say "Name" and "Salary" I have several person objects that I have created by some method outside the scope of this discussion. I want to setup a datagridview with each row corresponding to one person ...
Score Windows dictionary
Jørgen Sørensen - 7 Sep 2006 12:09 PM - 2 messages
Hi I write freeware applications i .Net For documentation and user instruction I need a dictionary of Windows terms. E.g. What is "Control Panel" called in French? I could use this dictionary in English, German, French, and Danish (as I am ...
Score Print out contents of a hashtable
Water Cooler v2 - 7 Sep 2006 11:21 AM - 5 messages
I can't believe I've stumbled on a simple problem such as this. After all these years, that too. Anyway, it goes that I just realized that I could not iterate through my hashtable and print out its contents. On further probing, I realized ...
Score .NET 2.0 WebBrowser control - Security settings..
JM - 7 Sep 2006 10:26 AM - 2 messages
I am using the WebBrowser control in .NET 2.0 Windows based application. I want to use the default IE security settings, privacy settings etc. Is there a way by which I can achieve this ? Thanks in advance JM ...
Score automatic redirect
Siva - 7 Sep 2006 10:01 AM - 2 messages
Hi, Can somebody help me in getting me a code for automatic redirection. I have a message box in my project. If somebody post a message, after clicking the submit button a thankyou.aspx page will appear. After 5 seconds this page should redirect to my home page (index.aspx). ...
Score background color of tabs in tabcontrol
Jean Paul Mertens - 7 Sep 2006 9:07 AM - 4 messages
Hello, Is there a way to change the background color of the tabs in a tabcontrol (there where the name of the tab is and where you click to change to an other tab) I don't see any property or member where I can manipulate the ...
Score Implementing INotifyPropertyChanged with indexed properties
Gokul - 7 Sep 2006 8:31 AM - 2 messages
Hi, I'm using indexed properties in an object which acts as the binding source. How can I implement INotifyPropertyChanged for that object so that when the indexed property is updated, binding target is updated? To be more specific please find the code below.. ...
Score 香港IT界超级溅人 -> Dan
hkhellhkhell - 7 Sep 2006 5:53 AM - 2 messages
香港IT界超级溅人 -> Dan 在香港一间IT公司名叫Advanced Telesoft, 有个程序员叫阿Dan, 平时扮cool, 背後插你, 在老板面前数你不是, 践踏你的技术. 第一, 作为一个男人, 根本无可能做出数臭人家的事, 这个是小女人所为. 第二, 为何你只数臭新入来的员工, 不是怕得罪高层是甚麽 第叁, 你只懂asp.net, 你不说给我知做asp.net会变成电脑高手, 所以你根本无资格笑人 第四, 人家入来工作只有一个月, 平日和你都无两句, 你又知人家技术好不好? 第五, 人家是内地程序员, 你就开口英文闭口英文, 家家听不明白, 你就在老板面前说他是个废人, 你身为中国人, 少许中国编程术语都不懂, 还讲人? 第六, 支持台独, 话台湾电脑书印刷精美, 内地书是垃圾, 最过份的就是说希望陈水扁独立, 反攻内地. 请内地程序员forward此文, 多谢 ...
Score encrypting app.config values
vikram - 7 Sep 2006 5:28 AM - 2 messages
How can we encrypt app.comfig keys in .net 2003 ? Thanks ...
Score RichEdit box in ASP.Net C#
Jayender - 7 Sep 2006 5:01 AM - 4 messages
Hi, I need to know about Rich editbox in ASP.Net with C#, is there anything that can help me out on this issue..? waiting for ur reply, Cheers, Jay ...
Score DllImport - Timer
Ralf - 7 Sep 2006 12:46 AM - 6 messages
Hi! The C# version of CreateWaitableTimer and SetWaitableTimer should be System.Threading.Timer. 1. Can this timer wake the system from standby / hibernate? I miss the parameter "fResume". It is true, if the system should be restored. BOOL WINAPI SetWaitableTimer( ...
Score ASP.NET Worker Process Memory Growing
Pablo Bianco SE - 6 Sep 2006 11:11 PM - 2 messages
Hi everyone, I am new in this group. I have a question and would like to have some support. A customer is experiencing memory problems with the asp.net worker process. The have an application installed on Windows 2003 Server (IIS6). We the ...
Score Multiple versions of dotnet
Rick Elcessor - 6 Sep 2006 10:32 PM - 4 messages
If I develop an app in 2.0 and install it on a machine running an existing app on 1.1, both versions are installed on the machine. Are there any possibilities of version conflicts between the two apps? Does the 2.0 ...
Score What are the best .NET blogs?
JT - 6 Sep 2006 6:36 PM - 2 messages
Which software blogs do you monitor?  I'm looking for those that are updated at least weekly if not daily and provide great information. Additionally and software security related blogs would be great to know about too. Thx... ...
Score Send email through mapi
sentiboy - 6 Sep 2006 5:39 PM - 4 messages
I am using the following code for sending email through mapi in VS 2005 environment:     Public objSession As New MSMAPI.MAPISession     Public objMessage As New MSMAPI.MAPIMessages     objSession.DownLoadMail = False     objSession.UserName = "MyUsername" ...
Score Books about forms and controls
MikeB - 6 Sep 2006 4:26 PM - 2 messages
I'm at university and have a course on Visual Basic. I have two books: Visual Basic 2005 by Willis (WROX) Visual Basic 2005: The Language by Balena (Microsoft publishing) Yet in neither of these books are there any mention of the visual ...
Score VS 2003 & VS 2005 on one machine
shil - 6 Sep 2006 3:48 PM - 8 messages
Can I have both 1.1 and 2.0 frameworks installed on same machine? I have 2005 already, for some reason I had to install 2003. When I try to create a new project in 2003, I get an error as below: ...
Score Multiple DBMS Support
maryewhite via DotNetMonster.com - 6 Sep 2006 3:27 PM - 2 messages
I am in the process of designing a windows application that must support multiple DBMS (MS Access, SQL Server, Oracle, etc.).  The user will be able to open, create, and save as from the file menu.  I am contemplating using an ...
Score InvalidCastException when casting object returned from web service
Jim S - 6 Sep 2006 2:19 PM - 3 messages
I have a .net framework 2.0 client (Pocket PC) and a .net 2.0 webservice that communicate on the same LAN.  The Pocket PC has no problem consuming strings returned from the web service methoeds but I’m unable to receive and a custom ...
Score Visual Basic 2005 Training
Underwood - 6 Sep 2006 12:43 PM - 3 messages
Our organization has been looking into Course 2565 [link] for Visual Basic 2005 development. It has come to our attention that the 2565 course is geared toward use with Visual Studio .NET 2003 which is ...
Score Adding module to a project w/o creating a copy
yoav.benyosef@gmail.com - 6 Sep 2006 11:59 AM - 3 messages
Hello, In VB6 it was possible to keep a single copy of a VB module and share it between many projects. Can it be done in VSDN2005? Currently each time I add an existing module a fresh copy of this module is created in ...
Score Adding custom control to "personal-names" catagory in toolbox
esakal - 6 Sep 2006 11:23 AM - 2 messages
Hello, I created several control. i want that when the user add them to the toolbox they will appear under custom name catagory (for example : "Sakal controls"). what is the attribute that i need to use? Thanks, Eran. ...
Score Send Mail Using SMTP
Max - 6 Sep 2006 7:44 AM - 5 messages
hi I am using System.Web.Mail.MailMessage with System.Web.Mail.SmtpMail to send mail. now the my question is, Is it compulsory to add fields smtpauthenticate, sendusername and sendpassword fields to MailMessage Object????. mm.Fields.Add("[link]", ...
Score C# Image
LT.Ang - 6 Sep 2006 12:11 AM - 5 messages
I am developing an application that possibly opens very large images - bmp, jpeg, tiff. I have 2 questions: Language: C#, VS .NET 2003. 1. When the program opens a BMP image, the amount of memory used seems to be larger for BMP files than JPEGs with the same pixel dimensions. For example, ...
Score 90-Day Evaluation expiration?
Joe - 5 Sep 2006 9:04 PM - 4 messages
I am developing a Pocket PC application using eMbedded Visual C++ 4.0. Microsoft has Visual Studio 2005 Professional 90-Day Trial available that I would like to look into, but their website does not say what happens after the 90 Days has expired. ...
Score XML Serialization of internal members
ThunderMusic - 5 Sep 2006 7:20 PM - 2 messages
Hi, I have a class that must be serialized. One of it's properties cannot be serialized so I mark it with [XmlIgnore] and replace it with a property I serialize "manually" (I put the elements in an array). I don't want the ...
Score Store ArrayList as Settings Object
Michael Slattery - 5 Sep 2006 6:44 PM - 4 messages
Hello, I see quite a few questions, but no valid responses to the question... How do I store an ArrayList of items in a Properties file via the GUI? I am able to select the System.Collections.ArrayList type, but I'm unable to ...
Score convert the System.currentTimeMillis
Ahmed ALZikan - 5 Sep 2006 6:01 PM - 3 messages
Dear Gent        can help me convert the System.currentTimeMillis to VB.Net code , i tried system.DateTime.Now.Ticks what is not even close. ...
Score VB equivalent in Studio 2005 - FollowHyperlink (opening files)
df - 5 Sep 2006 4:06 PM - 4 messages
In the old days of Visual Basic for Applications, I successfully opened a file (of any file type: .dwg .pdf .doc etc) in its own application using: ActiveWorkbook.FollowHyperlink Address:=filepath, NewWindow:=True I don't want to read/write the file, nor to display FileDialog, I just want ...
Score Oracle, Dataset Designer, and Transactions
maltobelli - 5 Sep 2006 3:39 PM - 3 messages
I am building a windows forms app using VS2005 and the dataset designer to connect to an Oracle backend.  So far this has worked quickly and easily for me to finish the app within the given timeframe. I would love to add transactioning to some of the calls to add robustness.  ...
Score Is there any exception to handle these ?
rene.rugerio[at]gmail.com - 5 Sep 2006 3:35 PM - 2 messages
Hello Im facing serious issues here ! I have this atomic transaction scope, which in in charge to do the retry pattern for a certain custom component within an orchestration. Is there any way to catch the exception when the retry attempts are ...
Score Embedding windows forms in IE
Pini - 5 Sep 2006 3:24 PM - 5 messages
Hi all, I have a massive windows application that refernces a lot of assemblies and doing a lot of DAL anf IO operations. I want to expose this application to the interner so that a user can access it using a web browser. ...
Score Listbox only posts data for selected items
BillAtWork - 5 Sep 2006 1:30 PM - 2 messages
Hi, I have a listbox (in a user control) which has items add/removed via javascript (i.e. an "add item" link which uses a popup selection screen to add items and a "remove item" link which deletes any selected row(s)). ...
Score Exporting Html pages.
Daniel - 5 Sep 2006 1:01 PM - 2 messages
Hi,       We are working on a web app, where there is a export options for csv, pdf and html. Here when the export button is clicked for exporting as html "File Download" dialog window pops uo with open, save and ...
Score Conflicting properties from interface and abstract class
machinesofgod - 5 Sep 2006 11:54 AM - 2 messages
Hi, I have a class that implements the ICollection interface and subclasses the PropertyDescriptor class. The problem is that both the interface and base class are expecting an implementation of the IsReadOnly property. I have tried qualifying the property names with the interface ...
Score MidStmtStr
karmalax - 5 Sep 2006 8:25 AM - 2 messages
I would like to know what this function is intended to do. Many thanks ...
Score Creating multiple output files. (EXE and DLLs)
ChrisM - 5 Sep 2006 8:24 AM - 3 messages
Hi, I have a C# project that is currently a standalone application. (It compiles to create a single EXE file). A new project that I have now been given to work on needs to be a separate application, but it could share some of the functionality of the other ...
Score Migrate app under Vista advise ???
serge calderara - 5 Sep 2006 5:55 AM - 6 messages
Dear all, We have one product runing under windows 2000 . This product is based on different VB5 executable accessing local access database. In addition we there are able to send data over network using socket with TCP. MOving to vista is one of our preoccupation. ...
Score form appearance problem
Yoshitha - 4 Sep 2006 6:40 PM - 3 messages
I've an windows application developed using vb.net( vs2003) and i'm testing this application on windows xp professional. my application is having only one form the size of the form is height : 1030 width  : 753 and this form is having lot of controls on it (panel, textbox, lables, ...
Score Exception weirdness in VS 2005
CharlesA - 4 Sep 2006 12:16 PM - 5 messages
Hi folks, I'm working on code from Herb Schildt's book in which he says that an exception can be thrown by one method and caught by another class ExcTest     {         public static void genException() ...
Score Socket Error on instantiation
OJ - 4 Sep 2006 11:27 AM - 3 messages
Hi, I am using windows xp sp 2 and VS2005 Express editions. Whenever I create a new socket in either VB or C# using the following code... VB Private client As New Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp) C# ...
Score are assignments always atomic?
Roberto Orsini - 4 Sep 2006 10:03 AM - 2 messages
Hi, my question is: are variable assignments always atomic? I reckon they are for most primitive data types and class references. What about decimals? And structs? Thanks. ...
Score Error in Windows service
Karthikeyan.T.S - 4 Sep 2006 7:50 AM - 10 messages
Hi, I am getting a error when I try to start a Windows Service. The error is "The XYZ service on local computer started and then stopped.Some services stop automatically if they have no work to do,for example, the performance ...
Score Problemb for DllImport
reshm.shah - 4 Sep 2006 6:50 AM - 3 messages
I want to use one dll written in VC++ 6.0 I written all code for dllimort & declare the extern function to be called. But i am getting the Error particular Dll is not loaded What else i cam do? ...
Score DataSource/DataBind
ThunderMusic - 4 Sep 2006 3:08 AM - 8 messages
Hi, This question probably went back a couple of times, but I didn't find anything about it on google, so I ask here... What is the best way to use the DataSource/DataBind pattern in a class? I would like the user to be able to set a data source and I'd like my class to ...
Score monitoring files in-use with Process
Carlos - 4 Sep 2006 1:54 AM - 2 messages
hello, I need to know if a file is being used by some application.  Using System.Diagnostics.Process I cannot obtain all the archives opened in applications mdi (for example Word).  Since I can do it? ...
Score Aggregation in C#
Bruce One - 3 Sep 2006 11:44 PM - 8 messages
In C#, how would people implement a relationship between Customer class and Request class, considering a customer may have 0-n requests and a request must belong to 1 and only 1 customer...? Would about the following options? OPTION 1 ...
Score Problem installing vs 2003 sp1
John - 3 Sep 2006 10:26 PM - 4 messages
Hi I have downloaded the VS7.1sp1-KB918007-X86.exe file but when I try to install it, it runs for a while and asks for license confirmation etc. but then comes up with a dialog asking for the location of vs_setup.exe file. I ...
Score Immediate Command
Larry Rebich - 3 Sep 2006 10:00 PM - 8 messages
In VB6 I could enter an immediate command to, for example, determine the value of a variable. Is there some why to do this in VB 2005? Something like: ?sUserName would return: "Joe Blow" Thanks, Larry Rebich ...
Score Console.Write vs Debug.Print
Larry Rebich - 3 Sep 2006 9:57 PM - 6 messages
I notice a lot of VB 2005 samples use Console.Write instead of Debug.Print. How do I view the Console.Write output. In what window? Larry Rebich ...
Score What does the [Flags] attribute actually do?
martin - 3 Sep 2006 8:07 PM - 2 messages
Hi, I have used bitfields in C before and I understand all the AND/OR operations etc. While learning C# I was told to mark all by "bitfield enums" with the [Flags] attribute. Do why? Exactly what does this attribute do? ...
Score detect if IE is open/running from visual studio setup project
mjobbe - 3 Sep 2006 4:27 PM - 2 messages
Hi, I'm creating an MSI for a client app using a Visual Studio Setup Project.  I'm trying to detect if Internet Explorer is running on the target computer before I start the installation.  How do I go about ...
Next » 2 3 4 5 6 7 8 9 10