Home All Groups Group Topic Archive Search About

General .NET discussion

microsoft.public.dotnet.general
Score .NET "Footprint" on Client Machines
Felipe - 15 Apr 2006 5:05 PM - 2 messages
What comprises the [entire footprint] on computers hosting non trivial.NET Windows Forms applications? Specifically, suppose I have developed a .NET 2.0 Windows Forms client and I've included a bunch of 3rd party controls - say, from Infragistics. What ...
Score Using Flash 8 in Visual Studios 2005?
Monty - 15 Apr 2006 4:04 PM - 2 messages
Hi, I am new to both VS 2005 and Flash 8.  I love the potential of Flash and would like to use it in VS 2005.  Is this posible?  Thank you, Monty ...
Score Installation on WIN98
Girish - 15 Apr 2006 11:27 AM - 4 messages
Is it possible to install .Net framework 2.0 on a Win98SE system? I have created an app in VB2005 and included ADODB, .NET framework but it does not install on a WIn98Se system. However it does install on a Win2K ...
Score Help in ASP.NET membership DB
Mike - 15 Apr 2006 8:30 AM - 3 messages
Hi guys, After successfully creating all objects of my ASP.NET membership db to my hosted server, I tried to run a from that registers a user. I got following error: EXECUTE permission denied on object 'aspnet_CheckSchemaVersion', database 'fancy_CollMembers', owner 'dbo' ...
Score Outlook MSG file reading
Dmitry Akselrod - 14 Apr 2006 10:39 PM - 8 messages
Hello everyone, I am attempting to extract some header information from typical Microsoft Outlook MSG files in VB.NET.  I am not after a complete message or attachments that may be enclosed.  I am particularly interested in the ...
Score Why did this compile?
John A. Bailo - 14 Apr 2006 9:00 PM - 6 messages
I got interrupted while changing a c# app, and left this statement in: if(clearSource)     this. Where clearSource is a bool.   There was nothing after this, just a period -- I had meant to add a method, but I didn't. ...
Score diff betn VS2000 - VS2003 - VS2005
Ashok - 14 Apr 2006 6:28 PM - 4 messages
Hi All i m new to this group. Can you give me difference between Visual Studio 2000 and Visual Studio 2003 and Visual Studio 2005? Thanks ...
Score How do I fill a datagrid with data using DAO
RichG - 14 Apr 2006 5:33 PM - 5 messages
We have an old app that uses DAO 3.51 with VB5. I need to attach the table in that .MDB to a datagrid in .net.  The table will be one or two columns wide.  Is there a piece of code some where that I ...
Score How to unzip a .zip file (created with winzip) in C#-URGENT
SDRoy - 14 Apr 2006 4:42 PM - 4 messages
Hello Can someone tell me how I can unzip a .zip file in C#. The zip file is already there and I just need to unzip..not zip and unzip. ...
Score Generic collection casting
cylt - 14 Apr 2006 2:35 PM - 3 messages
Hi, I would like to have something like that : IList<IUser> list2 = list1 as IList<IUser>; where list1 is a generic collection of User ( IList list1<User>=new List<User>() ) and where User implement the interface IUser. ...
Score Problem with framework or with windows??
tasiekk - 14 Apr 2006 10:24 AM - 2 messages
I have problem with access keys. In two diffrent pages in tabcontrol i have two buttons with same access keys. In my comp it dont work. access key for 1st button works but with second dont. But in few other comps ...
Score Resolution Problem
Charles A. Lackman - 13 Apr 2006 9:53 PM - 3 messages
Hello, I have been working with Visual Studio.net for a few years now and just recently come to a problem.  Up until now I have created all my programs to be resolution specific.  Most of them are written to run at 800 X 600, ...
Score Creating COM Components in VB.NET
sameer - 13 Apr 2006 9:20 PM - 3 messages
Hi all , I was interviewing this girl and she said "I have create COM components in VB.net all the time and i create these ActiveX componenents in VB.net and register them using the GAC registering utility", now as far as i know this is not a possiblity at all since i have ...
Score Regular Expressions in C#
LordHog - 13 Apr 2006 9:00 PM - 4 messages
Hello all,   I am attempting to create a small scripting application to be used during testing. I extract the commands from the script file I was going to tokenize the each line as one of the requirements is there one ...
Score Windows Service Installation Issue...
Jason Richmeier - 13 Apr 2006 6:39 PM - 7 messages
I have encountered a problem with the installation of a Windows service.  I know I have done this in the past so I am at a loss as to what I might be doing wrong. When I create a setup project for a Windows Service project, build and then ...
Score Triggering an event from a listbox
amber - 13 Apr 2006 5:20 PM - 2 messages
Hello, How can I capture data in a listbox that occurs BEFORE the selected item switches from one item to another? myListbox.validating triggers after the user has left the listbox. myListBox.selectedIndexChanged doesn't trigger until after the user has ...
Score n-Tier and separation of UI from business logic?
Rob R. Ainscough - 13 Apr 2006 4:56 PM - 8 messages
I understand and implement the concept (as best I can), BUT what I would like to know -- how is it possible to completely remove the UI from business logic?  "UI references business logic, but business logic should never reference UI." ...
Score Antivirus / Internet security blocking communication with web service
Jared - 13 Apr 2006 4:55 PM - 5 messages
I've got an app that requires communication with a remote web service. I've had customer reports of the "underlying connection was closed" error, and I assume this to indicate they've got Internet security software running that's blocking the connection. ...
Score Insufficient system resources exist to complete the requested service
bostonnole - 13 Apr 2006 3:11 PM - 3 messages
I am getting this WinIOError "Insufficient system resources exist to complete the requested service" when I try to execute the following code in an ASP.NET 1.1 application uploading a very large file (140 MB).  Server is Windows 2003 Standard (SP1) with 1 GB memory running ...
Score Confused about printing, pagebounds, and printer resolution
Chris Dunaway - 13 Apr 2006 2:44 PM - 2 messages
When using PrintDocument to print something, if I check the PageBounds property of the PrintPageEventArgs object, it shows the rectangle to be 850 x 1100, or 100 dpi.  But when I check the value of the PrintDocument.PrinterSettings.DefaultPageSettings.PrinterResolution.X ...
Score Datagrid datarelation
lekhacnair - 13 Apr 2006 1:23 PM - 8 messages
Hello, I am stuck with my datagrid datarelation. My code looks like this:             Dim Case_Details As New DataTable             Case_Details = data1.Tables(0) ...
Score convert Byte() to string
Peter Schmitz - 13 Apr 2006 1:05 PM - 3 messages
Hi, how can I convert a 1-dimensional array of type byte() to string under VB.net? Greetings, Peter ...
Score IPC with non-interactive service
Andreas - 13 Apr 2006 11:43 AM - 2 messages
Hi, I'm developing a non-interactive C++ windows service (as support for interactive services will run out...) that shall communicate with a .net application on the local host. What's the best way this can be done? I've thought of window messages (by FindWindow, SendMessage, etc.) - but ...
Score Streaming media and SQL Server 2005
Manuel Alves - 13 Apr 2006 10:21 AM - 6 messages
Hi, Is it possible to store media files (like windows .wmv) on SQL Server 2005 and stream it back to the client via media server (not just download it)? Regards, Manuel Alves ...
Score How to develop web application using vs.net
dotnet - 13 Apr 2006 9:40 AM - 2 messages
Hi, I need to develop web application using vs.net I've started with asp.net I've books for asp.net and C#.  But any book or sites deal only with note pad. How do I learn how to use vs.net to develop web application using ...
Score "Cross-thread operation not valid" without threading!!
Pieter Coucke - 13 Apr 2006 9:08 AM - 4 messages
Hi, In my VB.NET 2005 application I'm generating and sending emails using the outlook-object model (2003). When a mail is Send (MailObject_Send), I raise an event in a global class, that is caught by all my forms that than refresh ...
Score Failed to partially bind to "System.String,
jiabin - 13 Apr 2006 5:48 AM - 3 messages
Hi, I got an exception with the message below, when I'm trying to start my application. "Could not load a type. Failed to partially bind to "System.String, mscorlib". " I did a search on the net, and found no clue. ...
Score .NET Windows Forms Application VS MS Access client Application
Jordan S. - 12 Apr 2006 11:09 PM - 23 messages
SQL Server will be used as the back-end database to a non trivial client application. In question is the choice of client application: I need to be able to speak intelligently about when one client (MS Access vs ..NET Windows Forms) would be preferred over the other. While I have some ...
Score Retrieving "Created By" and "Modified By" properties of a file
EYIII - 12 Apr 2006 10:33 PM - 4 messages
Is it possible to retrieve the "created by" identity and "modified by" identity for a file (e.g. word doc, .pdf, report, etc) using .NET? ...
Score Convert Emails and word documents to TIF
ScottL - 12 Apr 2006 9:55 PM - 2 messages
I have been looking for a control to convert both msg file formats and word documents to tif images via a .NET control or an ActiveX control. I have yet to find anything that will convert both formats. Does anyone have any suggestions? ...
Score All the king's horses and all the king's men.......
Jim Hubbard - 12 Apr 2006 8:29 PM - 57 messages
It seems that Microsoft is valiantly trying to undo the harm it has done to itself by destroying VB6 in favor of the more bloated, less-RAD, less-user friendly, less-productive VB.Net. In fact, it is now giving away it's ebook "" in an effort to draw more ...
Score Secure Replacement for Access Written in VB
Mad_Gerbil - 12 Apr 2006 6:42 PM - 3 messages
Scenario: We have several SQL 2000 servers that our employees use by linking tables through Access XP.  They have read only access to several tables and views – they also write their own views to get the data in a form that is useful for ...
Score simple, unsolved issue
Newbie - 12 Apr 2006 6:01 PM - 2 messages
Hi all, Just want to comment on this thread. Seems like every discussion about this matter (setting up DB provider for membership) and all the samples/references given by some MVPs always refering to LOCALHOST in their solution. Aren't they all forget that people build an ASP.NET appl are plans to host their appl in an commercial hosting provider, whom most of them can't afford the fancy of dedicated servers - most of them hosts on shared hosting, like me,  so they just CAN'T touch or tweak or reconfigure the IIS, or run the aspnet_regsql.exe utility from within their Control Panel. ...
Score EventWaitHandle - UnauthorizedAccessException
Kristoffer Persson - 12 Apr 2006 3:12 PM - 6 messages
Hi all! I'm trying to use a named EventWaitHandle to signal events between processes that run on the same computer. One of them is a service running as SYSTEM and the other one is a normal user. Creating the handle seems to be no problem, ...
Score How are you protecting your dot net apps from reverse engineering?
Robert Johnson - 12 Apr 2006 2:50 PM - 9 messages
Hi all. I was wondering if you are just relying on the dotfuscator that is included in VS2005 or do you use another method to protect your apps from reverse engineering? TIA Robert ...
Score database connection loss
Martin B - 12 Apr 2006 2:46 PM - 4 messages
Hallo! I'm working with C# .NET 2.0, implementing Client/Server Applications which are connecting via Network to SQL-Server or Oracle Databases. To stay independent from the underlaying Database I use System.Data.Common.DBConnection and .DBCommand. How can I keep aware from connection losses (network not availeable, ...
Score How to get multiple selected rows
Steve - 12 Apr 2006 1:14 PM - 2 messages
I have a datagrid, which I can highlight multiple rows in.  How can I find out, programmitcally which rows are highlighted? If I step into the code, and do a Quick Watch on the browser I found this: ((System.Windows.Forms.DataGridRow)(((System.Windows.Forms.DataGrid)(dgWork)).DataGridRows[0])).selected ...
Score VS2005 IDE Status bar question
CMM - 12 Apr 2006 4:58 AM - 10 messages
This might be common knowledge... but, what does this animated icon in the VS2005 IDE mean? ([link])  it's a VS icon... animated... slowly blowing up). I've personally never noticed it ...
Score HELP! With HttpRuntime.Cache
Bishop - 12 Apr 2006 12:45 AM - 2 messages
I have googled to try and find an answer to this issue, but everything I found beats around the bush. I have a web service that calls a DLL. In the DLL, I want to cache the small table data into server cache rather than hit the DB each time, since the data does ...
Score Windows Application Timeout
WB - 12 Apr 2006 12:37 AM - 3 messages
Hi, I have a Windows Application in C# that has some long-running codes. When I tried to run the program in debug mode, it eventually gave an error: Timeout expired. The timeout period elapsed prior to completion of the ...
Score sending mails bounced to address different from sender address
SharpSmith - 11 Apr 2006 8:52 PM - 3 messages
hi all i have a very specific question regarding emails sending and googling doesn't help me is a way exists to send email using .NET framework (System.Web.Mail or something else) and have the "from" address to be X ...
Score Displaying customer data
helpful sql - 11 Apr 2006 8:37 PM - 3 messages
Hi all,    I need to design a solution that will display customer data from Sql Server tables in an Internet Explorer tab of a third party app, e.g. the third party app has a tab that can display web pages. ...
Score ListView FocusedItem
Dave - 11 Apr 2006 7:37 PM - 3 messages
When converting VB6 ListView code to DotNet, what do you do to replace the ListView.FocusedItem object, specifically I want to reference ListView.FocusedItem.Top Thanks Dave ...
Score VB.NET and creating text file
VJ - 11 Apr 2006 6:10 PM - 3 messages
Hi, I want to create a text file in the following format: Name=yyy Amount=zzz and so on. The file is key-value pair and each pair appears on next line. Now part of the data comes  from the grid whereas rest I pick up from the ...
Score NETWORKING Wireless Pro Laptop to Wireless Home Network
JCB19 - 11 Apr 2006 4:49 PM - 3 messages
I need help networking my HP DV4000 laptop to my home network.   I have wireless home network with 3 computers using Linksys Wireless G  The laptop has built in wireless capability.  I want to network the laptop to the ...
Score Property binding
VictorH - 11 Apr 2006 4:10 PM - 3 messages
..Net has this great abillity of binding controls direct to user settings. I've made an user control that has a Text property, but when I use the browse box in the property binding of the control, Text is not mentioned. ...
Score Code conversion
Sai - 11 Apr 2006 3:25 PM - 3 messages
Hi I am new to .Net, I have a code in VB.Net and would like to convert that to c#. Could any one please help me as I have tried the tool "developfusion" web site but its of no luck. ...
Score Element 'Element Name Here' is not a known element. This can occur if there is a compilation error i
M Noreen - 11 Apr 2006 3:20 PM - 4 messages
I'm unable to build a web project that has a custom .NET control that I downloaded (from:  [link]) I'm running VS 2005, ASP.NET 2.0 on my local development box.  I created a ...
Score intellisense problems
Slim - 11 Apr 2006 3:00 PM - 3 messages
I installed VS 2003. but intelligence has problems. it works in the class, it works in the form for HTML, it works in the form for client script, but dose not work in server script on the forms. any help? ...
Score How to stop print spooler from replacing command characters ?
Junior - 11 Apr 2006 2:56 PM - 2 messages
Hi guys. I need to make some ASC commands get to the printer, but it seems to me the printer spooler strips them off and puts another character in their place. I noticed there's this 'Font selection' tab in printer properties, ...
Score open source polling software
engwar - 11 Apr 2006 2:34 PM - 2 messages
Is anyone aware of any freely available software written in a .Net language for adding polling features to an existing website? I'm looking for just a polling component and not interested in installing something like DotNetNuke just to get polling. ...
Score how can I minimize web page in asp.net
Sukh - 11 Apr 2006 2:06 PM - 7 messages
I want to minimize page programmatically  in asp.net. following code is working fine with winform. is there any way i can do it in asp.net this.WindowState = System.Windows.Forms.FormWindowState.Minimized; Can any one has any idea ...
Score Error connectiong to database
helpful sql - 11 Apr 2006 1:52 PM - 5 messages
Hi,    I am designing a webpage with the DbNetGrid control on it. I am folloing its documentation and using the following connection string to connect the grid control to a database: 'Provider=SQLOLEDB;Driver={SQL Server};Server=(local);Database=pubs;Trusted_Connection=yes;' ...
Score Newbie to .NETdevelopment - where to start?
harry - 11 Apr 2006 10:10 AM - 3 messages
Can anyone point me in the right direction to start .NET The situation is this, I am a experienced J2EE developer who wants to familiarize himself at a development level (& of course improve my CV content). I have used Visual Basic 6 & Visual C++ for many years but not for ...
Score Creating a LinkLabel Programmatically
Terrance - 11 Apr 2006 10:02 AM - 3 messages
Can someone please help with a problem that I'm having? I'm trying to create a linklabel in VB.NET 2003 at runtime when a user clicks a button. The app looks in a path for .doc and .pdf files and creates a linklabel for each file ...
Score Default "can grow" properity
welles.lo - 11 Apr 2006 6:00 AM - 2 messages
Hi all, I found that the default "can grow" in Crystal Reports 10 is different from the one in Crystal Report 9. In version 9, when "can grow" is disable, the words in the field are chopped off and doesn't not warp around to the next line. ...
Score e.hasmorepages???????????
Brenton Garman - 11 Apr 2006 3:35 AM - 2 messages
hello all..... I can currently print out only one page with the following code...(note it lacks the e.hasmorepages=false) Private Sub PrintToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PrintToolStripButton.Click         'Print file from the ToolStrip ...
Score NetAdvantage code samples?
Jim Hubbard - 11 Apr 2006 2:31 AM - 11 messages
I purchased Infragistics NetAdvantage 2006 Volume 1 CLR 2.0 and was mildly shocked to see no sample apps included that showed the code/settings required to replicate the UI components shown in the screenshot galleries on their website. Did I miss something? ...
Score Authentication Problem
Newbie - 11 Apr 2006 1:03 AM - 2 messages
Hi all, I'm hosted my ASP.NET 2.0 on an .NET 2.0 enabled shared hosting provider. I tried the user registration page and it returns following error: "An error has occurred while establishing a connection to the server". ...
Score Web controls no show in codebehind
eric.carmody - 10 Apr 2006 11:42 PM - 3 messages
Hello, Using Visual 2003, in the ASPX designer. I drop a table from the toolbox onto the form. Then I want to add a radio button(s) into cells of the table; it won't let me  Why does the ...
Score Accessing .NET assemblies from classic ASP/VBScript?
joshbeall - 10 Apr 2006 6:51 PM - 6 messages
Hi All, I'm wondering if there is any way to access .NET assemblies from classic ASP/VBScript? We have a legacy app that was written using classic ASP and VBScript, and there's a new facility that one of our developers did in .NET that ...
Score Open Printers Folder
Paul - 10 Apr 2006 5:53 PM - 3 messages
How do you open the Printers folder from code in VB.NET? ...
Score I must be missing something
AdamH - 10 Apr 2006 5:51 PM - 3 messages
Not sure what I am missing. We have started a new project and for the past month and a half have not seen more than 3 qualified .NET engineers, Seems that most of the people out there now days have moved to Java ( SF Bay Area ). ...
Score Computer's Workgroup or Domain Name
Spyder - 10 Apr 2006 4:16 PM - 7 messages
When you go to "MyComputer" and get properties and select "Computer Name", you get the Domain or Workgroup a computer belongs to. I have looked thru MSDN library, the Internet, the Registry and in all files on my computer and cannot find how to retrieve this information in VB.Net ...
Score Random Access stream access in C#
Gary Bond - 10 Apr 2006 12:15 PM - 24 messages
Hi All, I am a bit stuck with a project: Specifically, when making a database like engine in 'the old days', I would have wrapped a record class with a stream class, so I could have a file of records on disc, such that I could always ...
Score How to access Windows Service on a network?
ABN - 10 Apr 2006 9:16 AM - 2 messages
I am having multiple machines on a network (like a server farm). Each of them is having a Windows service running. I want to check the status of the service on each of these machines. How can i do this? ...
Score looping through checkboxes
Demonicpagan - 10 Apr 2006 8:36 AM - 2 messages
I have this form where I am trying to place items from checked boxes into a text box.  An image of what this form looks like is at [link] Here is some code I have done for the first 2 check boxes, name and ...
Score log4net in console app
Vikram - 10 Apr 2006 6:57 AM - 3 messages
I am using log4net in a vb.net console application. But its not working. I have added congif setting in app.config file also No error is generated but app. does not write to log file. app.config file: <?xml version="1.0" encoding="utf-8" ?> ...
Score trackbar and double values
martins - 9 Apr 2006 9:49 PM - 2 messages
hi how can I configure/set the trackbar control in order to scroll between decimal values i.e. between 0.5 and 1 for example How can I do this ? ...
Score Empty Toolbox in Visual Studio.NET 2003!
Emily - 9 Apr 2006 4:15 PM - 5 messages
I've installed Visual Studio.NET 2003. Everything seems fine except that the Toolbox is always empty. Not Button, no Textbox, nothing. Any advice on how to add the controls to the Toolbox? Thanks! ...
Score Language settings problem
PawelSokolowski - 9 Apr 2006 12:56 PM - 2 messages
Hi all, C++, .NET 2003. I have created an application that I want to distribute in 4 languages. This is static MFC with no DLLs, every language has its own build configuration. I have 4 String Tables, with adequate language settings. ...
Score Error Visual studio 2005 error 1402
tomkarachris - 9 Apr 2006 8:56 AM - 2 messages
i try instal visual studio      and i get    Error 1402.Could not open key: HKEY_LOCAL_MACHINE\Software\Classes\ITIR.CmdInt.4\CLSID.   Verify that you have sufficient access to that key, or contact your support ...
Score WinForm Progress Update
WB - 9 Apr 2006 7:16 AM - 4 messages
Hi, I'm building my first Windows application using C#. My Windows application sends newsletter to our subscribers by email. Our newsletter is sort of "customized" so my application has to build the newsletter for each individual subscriber before sending it out. Now the ...
Next »