Home All Groups Group Topic Archive Search About

General .NET discussion

microsoft.public.dotnet.general
Score Specifying masterpage in web.config?
Ben R. - 23 Dec 2006 3:54 PM - 9 messages
Hi, WHen I specify my master page in the page's @Page directive, no problems. However, when I put it ias an attribute in Web.config's page element, the designer fails. It just says "Error Creating Control - Content. Content ...
Score Unable to view photos
Simon - 23 Dec 2006 2:58 AM - 2 messages
I have some photos i have downloaded from a camera that i can see but when i select them it says "drawing failed" and comes up blank . If you could help i would appreciate it. Thankyou ...
Score Generate ordered list of alphanumeric strings in .NET (C#)
dohyohdohyoh - 22 Dec 2006 11:41 PM - 9 messages
I have a programming question to generate an ordered list of alphanumeric strings of length 4. two alphabets rest numberst, etc. EG 0000-9999 then A000-Z999 then AA00 to ZZ99 then AAA0 - ZZZ9 then AAAA - ZZZZ ...
Score .NET libraries you use
Marco Shaw - 22 Dec 2006 1:34 PM - 5 messages
What's your favorite 3rd party .NET library?  I've found some online for NNTP, Bluetooth, serial ports, for example.  I'm just looking for some other libraries out there that people find useful. Just trying to learn more about .NET. ...
Score Visual Studio 2005 - Diagram
Magnus Flisberg - 22 Dec 2006 8:52 AM - 2 messages
Best programmer, I have a file with alot of numbers. Example: 10%, 30%, 99% and so on. I want to draw a simple graph and also use time. How do I manage this in Visual Studio? either C# or vb.net. Any start ideas? Maybe make a ...
Score Subscriber Downloads???
AlBruAn - 22 Dec 2006 5:08 AM - 2 messages
I have a Universal Subscription to MSDN that won't expire for another two months; nonetheless, I'm unable to navigate to the subscriber download page at MSDN. I've found a couple of links to subscriber downloads, but clicking ...
Score your favorite VB 2005 book?
www.douglassdavis.com - 22 Dec 2006 2:57 AM - 11 messages
I'm looking for advice here, and I would really appreciate it if you could help. Is there a VB 2005 book that you like and would recommend (and why)? Would you consider it good for beginners to programming, intermediate, ...
Score Caspol -s off in .NET 2.0 error
Chester - 22 Dec 2006 2:28 AM - 8 messages
Hi All, We are doing development using remote login to distanced development machines. As our profile is local, when we want to do build in the remote machine, it takes long time. So in .NET 1.1 we used to switch off the CAS and ...
Score Draw and fill path using c# and NOT XAML
moondaddy - 22 Dec 2006 12:33 AM - 4 messages
I need to create some shapes using c# but all the examples I see are in XAML. For example how would I create this in c#? <Path Data="M 20,60 C 60,20 100,60 150,60 " Stroke="Black" ...
Score Error importing key - object already exists.
Alun Jones - 21 Dec 2006 7:06 PM - 3 messages
I'm getting the above error in a dialog box from Visual Studio 2005 when trying to sign an assembly using a PFX file, and would like to know how to resolve the problem. Background: The PFX file has been used for code-signing before (to sign an InfoPath ...
Score 3rd Party UI controls for .Net 2.0 ... any comments/suggestion?
David Hauer - 21 Dec 2006 5:19 PM - 4 messages
Hi, I am evaluating 3rd party user interface controls (Grid, Treeview, Explorer bar, Ribbons, and common controls like checked-combo box, calender etc). I have 3 contenders:     Infragistics (Window Suit for 2.0)     Dev Express (6.0 for framework 2.0) ...
Score Text From Another (Application) Window...
Jason Richmeier - 21 Dec 2006 5:04 PM - 2 messages
I think this issue has been posted at a number of locations on the internet but I have yet to find a satisfactory answer. I would like to be able to grab the (selected) text of another application window to use for processing.  For example, if I type "ABC" into another ...
Score beginner: weakest sides of .NET?
R.A.M. - 21 Dec 2006 4:16 PM - 7 messages
Hello, I am learning .NET 3.0 and I have such question: what are, in your opinion, the weakest sides of .NET technology? Thanks for your opinions. /RAM/ ...
Score VS 2005 Service Pack 1 - details
Dwight - 21 Dec 2006 1:34 PM - 4 messages
Is there a file or link that details what SP 1 fixes and adds? All I can find is general summary information. Thanks ...
Score PDF conversion
Nicol - 21 Dec 2006 12:24 PM - 3 messages
Hi, My requirement is to change "text" content to pdf format and to store in oracle database. But i don't want to create a pdf file in server side every time i need and then to read from it and to write to oracle. ...
Score Urgent help needed : Strange error !!!
calderara - 21 Dec 2006 10:53 AM - 6 messages
Dear all, I have a windows application which works perfectly well on my developement platform. When deplyoing it I get an error : "Exception has been thrown by the target of an invocation" By placing log entry point I figured out that it fails executing the ...
Score ASP.NET 2.0: Page loaded twice on debug.
Tomás Martínez - 21 Dec 2006 8:41 AM - 4 messages
Hi, I recently converted an ASP.NET project for framework 2.0. I never had any problem using VS 2003 but today, debugging a page, I get surprised when I saw that once debugged the last line, it was automatically debugged another time ...
Score String Comparsion on Different Locale Machine
Asim Qazi - 21 Dec 2006 6:41 AM - 4 messages
Hi     i m using     string szServerType = "Windows";     if(szServerType.ToUpper() == "WINDOWS")     {             //do some thing     } ...
Score Help with VB.NET Combobox
Scott Lam - 21 Dec 2006 5:27 AM - 7 messages
Hi, Is there any way to access the values (not display names)of a combobox ? For example: combo1.DataSource = dataset1.tables(0) combo1.DisplayMember = "Name" combo1.ValueMember = "ID" I want to iterate thru the values of the combobox inside my code , but ...
Score Supress Alternating Row Style for Specific Data Grid Column?
Daniel Manes - 20 Dec 2006 9:49 PM - 4 messages
My DataGridView is set up like this: * Main row background color = white * Alternating row background color = light gray I also have a read-only (non-editable) column I want to show up as solid dark gray (i.e., no alternating row colors), but it shows up as ...
Score Software Design Question: Properties and Functions
pbd22 - 20 Dec 2006 9:25 PM - 4 messages
Hi. I have recently been working with FTP using microsofts clsFTP class. I have been attempting to alter the clsFTP.Upload method to get the number of bytes as they are being sent in addition to sending the actual file. ...
Score ClickOnce and Sms
Fred - 20 Dec 2006 9:18 PM - 2 messages
Hello, My organization has a requirement that initial deployment of applications must be done via SMS.  However, applications after that point can be auto-updating.  If given the choice I would go completely with ClickOnce, however that decision is not entirely up to me.  How can I leverage SMS ...
Score Dev Direct's December 2006 Developer Tool News
jmays - 20 Dec 2006 7:57 PM - 2 messages
[link] Dev Direct provides an authoritative and up-to-date catalog of 1000's of developer tools and software components. The products that we list can help you to reduce delivery times, improve quality and cut costs. ...
Score Compile error
AlBruAn - 20 Dec 2006 7:49 PM - 2 messages
While trying to build a library for a new project, I get the following error: The type 'Library.User' must be convertible to 'Library.ICloneableIdentity' in order to use it as parameter 'T' in the generic type or method 'Library.BusinessBase.ProjectBusinessBase<T>' ...
Score Detecting .NET Framework 2.0 runtime env.
Ron M. Newman - 20 Dec 2006 7:45 PM - 5 messages
Hi, You install a .NET 2.0 winforms application on a machine that doesn't have the 2.0 redistributables and then run it. How do you elegantly detect that and warn your users? Any way to avoid ugly uncontrollable error boxes? ...
Score Create custom rectangle UI Element
moondaddy - 20 Dec 2006 6:36 PM - 6 messages
I want to create a custom UI element which will be a custom rectangle object in a c# XAML application.  I'm new to XAML and c# as most of my experience has been using vb with sql.  I'm building a simple Visio type app where I ...
Score For Microsoft Partners and Customers Who Can't Download or Access MSDN2...
clintonG - 20 Dec 2006 5:22 PM - 9 messages
To all Microsoft partners and customers who have been unable to download recently or access ASP.NET documentation from the msdn2 website and for all of those customers who have been lied to and misled by some of the sleazy ...
Score IDataErrorInfo - Custom ErrorProvider icon
Naveen - 20 Dec 2006 4:44 PM - 3 messages
Hi, My business objects all inherit from a base CommonEntity, which implements the IDataErrorInfo interface to catch databinding errors. Everything works great and the flashy red error icons show up as expected on my UI views if there is a validation error. ...
Score Implementing a window
e_yossi - 20 Dec 2006 2:48 PM - 2 messages
Hi, Does anyone have an idea or reference about the implementation of a windows Form? I'm intrested in the idea of how a form visualization data saved while other form is covers part of it. meaning:  if Form B is in front and "covers" part ...
Score Calling System.Diagnostics.Trace.WriteLine from a Windows Service
Michael Evenson - 20 Dec 2006 12:36 PM - 11 messages
I need to send meesages to DebugView from within an application that is written as a Windows Services. I put the calls to System.Diagnostics.Trace.WriteLine () in my code, and I know I'm executing the line because at the same time I am also writing the message to the Event ...
Score Reconciling changes in the DataTable
Job Lot - 20 Dec 2006 11:53 AM - 3 messages
How can I reconcile changes between two data table and create a subset of those changes. I have two data tables with same schema which gets populated from two different xml files. I want to get hold of missing & changed rows in ...
Score Running installed application asks for MSI
Pieter - 20 Dec 2006 9:26 AM - 2 messages
Hi, Two VB.NET Windows Forms (2.0) applications had the same behaviour when they were run the first time by a user: after clicking on the shortcut, the location of the MSI-file is asked, and a part of the installation is ...
Score VS Failed to publish one button (worked well before)
Jean Paul Mertens - 20 Dec 2006 9:20 AM - 3 messages
Hello, I tried to publish my windows app for one button deployment but got this error --------------------- Error 5 SignTool reported an error 'Failed to sign bin\Release\WindowsPortaal.publish\\setup.exe. SignTool Error: ISignedCode::Sign returned error: 0x80880253 The signer's certificate is not valid for signing. ...
Score Other Language
HELLO $$$ - 20 Dec 2006 8:49 AM - 6 messages
Hello every one. I am beginner and finished learning C++ , as a native language and as CLR(.NET). Now suppose I want to learn other Language. What Language do you recommend to learn so that I can design a good project ...
Score Firebird DB with .Net
Krish - 20 Dec 2006 5:38 AM - 3 messages
Hi I am validating using the firebird Embedded DB with .NET. has anyone used it with .NET and would like to share his/her experiences about the same? Kris ...
Score How to cast Boolean[] to Object[]
fj - 20 Dec 2006 4:57 AM - 2 messages
I use reflection to get a property from an object. The property is always an array of a basic datatype. I only care about the first item and get the string value. //obj is the object I want to get a property value from. ...
Score PLEASE ... Fatal error when compiling Windows.Forms application
Pierre - 20 Dec 2006 2:20 AM - 2 messages
Hello, I have an simle application that uses a referenced library of my own.  It's been a year now that I have no problems until a few days.  Here is the details of my problem: The library referenced by the main application compiles properly.  When I ...
Score Using Web.config's <system.web><pages><controls><add /></controls></pages></system.web> To Register
Nathan Sokalski - 20 Dec 2006 2:02 AM - 6 messages
My Web.config file contains the following section to register some of my UserControls: <pages>   <controls>     <add tagPrefix="NATE" tagName="Banner" src="~/Banner.ascx"/>     <add tagPrefix="NATE" tagName="Navigation" src="~/Navigation.ascx"/> ...
Score Help with inataling Update Rollup 2.
Foamer - 20 Dec 2006 1:19 AM - 2 messages
Heres what I need help with. I have Windows XP, with Media Center 2005, but when I go to install the Update Rollup 2 it says that I have Media Center 2002 and the closes! Van anyone help me with this! ...
Score net 3 replaces net 1?
kOOk - 20 Dec 2006 12:26 AM - 9 messages
i saw a recent post that said .net framework 3 also contains 2?  how about 1?  i've searched the documentation and google groups and can't find the answer. TIA ...
Score HELP with Webclient and simultaneous threads
Ezequiel - 19 Dec 2006 10:14 PM - 3 messages
Hi, I´m coding an application that is able to download various mp3 files at the same time. For each mp3 download i´m using a thread. Each thread uses System.net.WebClient. If i try to download 3 files at the same time,  2 of them starts ...
Score Audio App
James - 19 Dec 2006 8:50 PM - 2 messages
I'm looking to write a simple application that will record whatever the output of my speakers is, to any type of audio format.  Don't care if it's MP3/WAV/WMA/FLAC/whatever.  Gut feeling tells me this isn't as simple as it ...
Score How to print a PDF file in .NET?
Fir5tSight - 19 Dec 2006 7:34 PM - 4 messages
Hi All, I have a class defined for PDF file. I have a method called "Print" that should print this PDF file:         override public void Print()         { ...
Score Add/remove stored procedures in .NET project
Fir5tSight - 19 Dec 2006 7:25 PM - 3 messages
Hi, I'll need to replace an existing stored procedure (let's call it old_SP), with a new one (let's call it new_SP) in a Visual Studio .NET project. Here's what I did: 1) Open "Dataset.xsd" to display the tables with their columns for the ...
Score How do I make a drop-down list auto drop down?
mscertified - 19 Dec 2006 6:14 PM - 2 messages
I want to have a drop-down list display on my web form already dropped down, i.e. as though the user had clicked the down arrow. How do I do that? ...
Score PIVOT TABLE IN C# 2.0
Prasad - 19 Dec 2006 4:14 PM - 2 messages
Hi, I need to create a Pivot Table in C# 2.0, any ideas or suggestions would be of great help Thanks! Prasad ...
Score Help!!
Lyon - 19 Dec 2006 2:28 PM - 3 messages
Hi everyone: I have 20 threads  and each creats a file in the same directory, respectively. However, because the threads are not synchronized, and only some of the 20 threads creat the file in the directory successfully. How can I make sure that the 20 threads are able to creat the files in ...
Score Windows Service or Console application
Krish - 19 Dec 2006 12:13 PM - 7 messages
I want to develop and application that run periodically in the server machine. Now Should I go for a windows service or just create a Console application and schedule it using the windows Task Scheduler. What are the advantages and disadvantages of each approach. ...
Score Send / receive errors plus timeout errors in oulook 2003
Hedlitebunny - 19 Dec 2006 9:52 AM - 2 messages
Hi all.  i keep receiving send / receive errors when using outloook.  I have asked my ISP to confirm my settings are ok and they say they are and suggest it may be an anti virus program issue. The errors are 8004210A & B. I use ...
Score Technical advice needed regarding polling the database
Nadia Amir - 19 Dec 2006 6:44 AM - 2 messages
I have a database which is very frequently updated .I want an option that user can specify that after how many minutes he/she wants to see those changes . Like a mechanism which would do   1.. Poll database after a user defined period and then bring those changes ...
Score Writing Application for Windows CE
Tedmond - 19 Dec 2006 6:40 AM - 3 messages
Dear all, I would like to know what I need for writing application for win CE.  I am using Visual Studio .NET 2003.  Is that ok for compiling win CE program?  Or I need a special verion of .NET studio for creating CE program? ...
Score .Net 1.1 vs 2.0
Rich Douglass - 18 Dec 2006 10:21 PM - 6 messages
Hi, Last week I installed .Net 2.0 on a machine that already had 1.1 installed on it. Upon completion of that, my application started misbehaving. In the debugger, I found that my message hook no longer seems to run ...
Score shared memory IPC
Dan - 18 Dec 2006 10:17 PM - 4 messages
Dear all I would like to achive IPC through two procesess by using the shared memory aproach. I did some research but could not find an apropriate example that would describe that. There are few that are trying to talk about the ...
Score Whats the best group for .net 3.0 and xaml questions
moondaddy - 18 Dec 2006 7:19 PM - 10 messages
What's the best group to search and post xaml questions? ...
Score Bind integer to image for a column in grid
Fir5tSight - 18 Dec 2006 4:34 PM - 3 messages
Hi All, I have a column defined as integer indicating a status. For instance, "1" is pass and will display a green light, while "2" is fail and should display a red light. I use a stored procedure to get the columns in the grid. I have two ...
Score External file configuration
Vladimir Knezevic - 18 Dec 2006 1:14 PM - 6 messages
Is it possible to include external .config file in .NET 2.0 applications? If it, how can it be done? Before, when I used Enterprise Library Configuration Block, it could be done easily. I could just define configuration section in web.config or app.config ...
Score How to get the ContentPlaceHolders IList of a MasterPage
TZ - 18 Dec 2006 1:00 PM - 3 messages
Hi to all, Many Thanks in advance... Well, everything starts with a Page. Let's say PageA When I try to access : PageA.Master.ContentPlaceHolders I logicaly receive : "...is not accessible in this context because it is 'Protected'. This is expected, and that is why I created the following code ...
Score ActiveX & IE interaction
Mercdev - 18 Dec 2006 12:42 PM - 6 messages
I have an ActiveX control inherited from UserControl. This control is hosted in IE(version 6 or later). How i can navigate IE from this control.     I know that i need to obtain IWebBrowser2 interface and work with it, ...
Score Setting Wait cursor without a reference to main form.
info@devdept.com - 18 Dec 2006 8:54 AM - 13 messages
Hi All, I am trying to set the hourglass cursor inside a class that has nothing to do with MainForm class and I don't want to pass a reference to MainForm. How can I set the current cursor to Hourglass and then back to arrow? ...
Score How to avoid redundant case statements in a stored procedure
Fir5tSight - 18 Dec 2006 2:30 AM - 7 messages
Hi All, I have a "SELECT" statement in a stored procedure that looks like the follows: -------------------------------------------------------------------------------------------------------------- SELECT     CASE WHEN ( ri.Status NOT LIKE '%COMPLETE%' )             -- report not ...
Score .net 2.0 SP1 or .net 2.1
Alejandro Kwiatkowski - 18 Dec 2006 2:09 AM - 6 messages
Any dates for .net 2.0 SP1 or .net 2.1? ...
Score Using Insertion Strings and Message Files when writing to event lo
Michael Blumenthal, MCSE, MCAD, MCDBA - 17 Dec 2006 8:32 PM - 2 messages
I am writing a .NET 1.1 C# windows service that writes to a dedicated event log (not the application event log, but one that I created). I want to make full use of all the fields in an event log record - category, ...
Score Web Service Question
Ryan Smith - 17 Dec 2006 8:26 PM - 2 messages
I have a web service that I have written and can't seem to get it working properly.  I have a function that is exposed as a WebMethod() that is working great.  The problem is that i have several variables that need to be set ...
Score Asp.Net Equilivant of Me.Name
Larry Rebich - 17 Dec 2006 4:25 PM - 2 messages
Is there an Asp.Net equilvant of VB6's Me.Name? And hopefully it will contain the path of the page. What I want to do is use the name as the return page from a called page. I'd ...
Score Balloon Question
Nubie - 17 Dec 2006 11:40 AM - 2 messages
why is the balloon not disappearing after 1 second?     Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click         icoFormIcon.BalloonTipIcon = ToolTipIcon.Info         icoFormIcon.BalloonTipText = "Test" ...
Score Auto Logoff
Smithers - 17 Dec 2006 9:39 AM - 6 messages
Using .NET 2.0... How can I cause Windows Forms application to shut itself down after a period (say 15 minutes) of [no user activity]? Specifically, I'm wanting some options for detecting that the user is somehow using the application (either ...
Next »