Group:  .NET General / Allgemein ยป microsoft.public.dotnet.framework

Threads Replies Last Post
363 Pages: 1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  >>  
Invoke a program from inside a program
Hi all, What is the C# equivalent of a VB6 Shell command? I want to invoke Adobe Reader from within my C# program. Thank Jonathan ...
3 11/3/2008 5:39:57 PM
DataGridView: Set value for columns having NULL value while updating database
Hi, I have a typed dataset assigned to a DataGridView. There are some columns which can be null according to the table structure(this can't be changed under any circumstances). Now, when I am adding a new row using DataGridView, some columns remains NULL. I want to set the value of these columns to Zero (numeric 0) when updating the database. For this I tried to handle the RowChangi...
4 11/3/2008 1:30:42 PM
Caching in Forms application
I am wanting to use caching in a Windows Forms app. The help for the Cache class says: "The Cache class is not intended for use outside of ASP.NET applications. It was designed and tested for use in ASP.NET to provide caching for Web applications. In other types of applications, such as console applications or Windows Forms applications, ASP.NET caching might not work correctly." I have ...
5 11/3/2008 10:49:15 AM
virus removal problem
I have a virus and am unable to download any virus removal tools from the web. When I select "download" I get a mssg saying that my computer is infected, blah , blah, and if I select to proceed anyway, nothing happens. My only other options are to run a virus removal tool or to select the back button. The page recommending that I select to run the virus tool does not look authentic. The ...
3 11/3/2008 5:50:03 AM
Application design
Hi, This question could be very subjective but I am after a way to design this... I am developing in C#, .NET 2.0 Basically, I have data coming in from a mobile phone. This is sending a file to a webservice. The webservice will save the file to local disk and also send / receive messages from the mobile phone. This part is working fine, though wether I should have a multi-thread o...
11 11/1/2008 4:32:39 PM
Performing FTP operations in .NET through proxy server
Hi, We would like to perform upload as well as download operations on an FTP server external to our LAN through a .NET application. The operations should be performed through a proxy and hence the .NET application should be capable of using a proxy. The proxy server is an ISA server, which is an HTTP proxy. The .NET class FTPWebRequest has a property to which the proxy can be specified....
2 11/1/2008 4:19:25 PM
How to scroll a WebBrowser control?
Hi all. I have a form with a WebBrowser control on it, and I easily get it to display a certain web page by setting its Url property. However, the interesting part of the page is out of view, because it is located much further down the page (below the visible part displayed). So I need to programatically search for a specific word (or phrase) on the page and scroll that word (or phra...
3 11/1/2008 4:02:02 PM
Role Based Security
Hi NG, I am about to start development of the Security part of a big application. The requirements are that users must be assigned to roles and the roles then can be configured to access features. The features are a set of methods in C# which will be defined once before rollout. The assignment which roles can access those features are configurable in an xml file. I would like to u...
5 10/31/2008 3:26:33 PM
papersources and papersizes really slow on some systems.
On some systems, particularly Vista x64 systems, it takes forever (5 to 15 seconds if compiled for x64, 10-20 seconds if compiled for x86) to enumerate either the papersources or papersizes collection of a printersettings object. Almost all of that time is spent before the first iteration, that is, I guess it is setting up the enumerator. Once into the for loop, each subsequent iterati...
2 10/31/2008 12:07:01 PM
Multi-line strings in ResourceDictionary.xaml
Hello, For those, who read this newsgroup via the browser: I'm sorry about the repost, but the post does not appear to be on the newsgroup server, and that could be a reason that I've not received *any* replies. How do I specify a string with line breaks in a resource dictionary? Here is what I want: I'd like to put a string that contains line breaks (or other special entities), e.g...
6 10/31/2008 11:38:33 AM
Is framework having predefined partial classes?
Generally we can create parial classes in .net 2.0 version. As I understood that framework 2.0 (class library) shoud have partial classes. If it is there please list out some class names. Otherwise As I mentioned that partial classes are only supported by the framework2.0. thats it?...
6 10/30/2008 6:11:34 PM
Reveal a .net assembly as a COM component
I have just completed writing an api class library whch will allow third partys to connect to my main appliaction via the api's Interfaces. I have just been asked to revel the assembly as a com component. Whats required to do this ? Thanks in Advance...
2 10/30/2008 4:21:27 PM
Put Column Heading on 2 lines in Access
In Excel you can put your text on 2 lines and save paper when you print. Does anyone know if this can be done in Access 2007? Thanks....
2 10/30/2008 2:58:00 PM
DataSource
Hi, I use a List<object> as datasource to a DataGridView class. The datasource class looks like this: public class DataList : List<DataListItem> { ... } Is it possible to "remove" or omit some entities from the list temporary ?? Lets say i have 100 items in the list and they are sorted after their colors. The user then choose to remove some of the...
9 10/30/2008 8:19:23 AM
Custom sorting in GridView
Hi I want to implment cusotm sorting in gridview... Ive a dropdown box on my page where ive all the fields(columsn) to be sorted.. whenever hte user selects the value in the dropdown , the gridview should be sorted... As of now, whenever user selects a value in the dropdown , Im rebinding the grid with sorting applied.... but this is hittng the page performance... so Im thinking to ge...
2 10/30/2008 4:18:53 AM
Event handling
Hi all, I am currently writing an app for a mobile phone. (WM6) with Compact Framework, though this probably has no bearing on my question. I am building the app as a layered app. I have my main screen, but behind this, I have for example, a class that talks to the bluetooth device. So, for example... Form1.cs Here I have... Bluetooth bt = new Bluetooth(); bt.Connect(); /...
10 10/29/2008 6:55:33 PM
Why is my Console Application limiting itself to half the screen?
I have a Console Application, and when I do a "Start Without Debugging" to test it, everything works, but it will not allow me to make the window wider than half my screen. Even if I maximize it, it takes the full height, but only half the width. This is very annoying, because sometimes lines are longer than half the screen. Why is this, and is there any way to allow me to make it take u...
9 10/29/2008 6:40:40 PM
How to find OS version
'Environment.OSVersion' can be used to find OS version. However how to differentiate between windows XP (64 bit) and a windows 2K3 ? both shows major version 5 and minor version 2 . Also how to differentiate between Vista and windows 2K8? Thanks -mhnds...
4 10/28/2008 6:49:52 PM
Regex expression for numeric value with length check
Hi, I am horrible at regular expressions so I'm hoping this might be an easy one for someone else. I need to perform a check that a string contains all numbers and is between 1 and 9 characters long. I have the first part working, but can't get the length check to work. This is what I am using to perform the check to see if the string is all numeric. ^[0-9]*$ However I can't...
7 10/28/2008 5:40:39 PM
Outlook changing email format
I send out emails to approx 600 customers (20 at a time) with 1 or 2 pdf attachments and a message. I do this by creating and saving the email to drafts, then I highlight the message in the draft folder and click forward. This allows me not having to retype the message. The problem is the format of the message changes by doubling the attachments and the message is deleted. This only ...
2 10/28/2008 3:49:21 AM
Does Object Implement an Interface?
How can I tell if an object I have reference to implements a particular interface? class foo : Form { somemethod() { this.Controls.Add( new bar() ); } } class bar : Panel { public void LookParent() { if ( this.parentForm.GetType().ImplementsAnInterface( IMine) ) { string ok = "iok"; } } } As far as I know there is no...
3 10/27/2008 7:59:13 PM
Date.TryParse and AS/400 dates
Has anyone else run into this problem? I am pulling date values from an AS/400 DDS file via OleDb using an SQL statement. Sometimes (and there does not seem to be any rhyme or reason to this), when I do a Date.TryParse on a date field that is empty, I get the current date instead of Date.MinValue. Time is 12 AM, like it should be. Kind of throws off your validation when you're expecting 0...
2 10/27/2008 5:53:02 PM
Detecting ClickOnce installed applications
I would like my .net application to detect what ClickOnceinstalled applications the current user has installed. I have a set of applications that we have deployed to our users via ClickOnce. I would like to build a dash board application that detects what applications they have currently installed and offers shortcuts to launch them. I thought about writing my own registry entry and che...
1 10/27/2008 5:03:15 PM
Unexpected errors stating everything is ambiguous
I recently started recieving errors like: 'LeftNavigation' is ambiguous in the namespace 'nathansokalski_com_test'. (nathansokalski_com_test is the name of my project) I know what ambiguous means, but I am recieving this error for every class in my project, and I have made no changes to anything in the project other than add one class (the project used to compile). But even if I remove...
4 10/27/2008 11:58:51 AM
Assembly binding..
Hi, At the office I have had great experiences with Fuslogvw.exe. However I believe this tool requires either visual studio or an SDK installed on the computer. Say I wanted to debug an end-client application and I need to use fuslogvw I would be very relucant to install and then later uninstall an SDK just to use fuslogvw for a few minutes. Just wanted to know if there are any alternative...
2 10/27/2008 9:46:46 AM
363 Pages: 1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  >>  

Home | Search | Terms | Imprint
Newsgroups Reader