Home All Groups Group Topic Archive Search About

Visual C# .NET

microsoft.public.dotnet.languages.csharp
Score Error while creating a method that returns an Array
Khurram - 22 Jul 2006 11:41 PM - 3 messages
Hi, Get the following error when trying to create a method that returns a one-dimentional array. You must implement a default accessor on System.Array because it inherits from ICollection. Below is how I am writing the method. public Array Diagnosis(DataSet assessmentData) ...
Score Text Width/Height problem.
mehdi_mousavi - 22 Jul 2006 11:26 PM - 7 messages
Hi folks, Consider a text containing 200 characters (more or less) including and/or excluding the CR/LF within. I would like to compute the height of this text whenever it's width is limited by X pixels! i.e., what's ...
Score Combobox Autocomplete
David Tilman - 22 Jul 2006 9:03 PM - 2 messages
I'm working with C# in Visual Studio 2005. I have a combobox with AutoCompleteSource = ListItems and DropDownStyle = DropDown. I want users to be able to type in the combobox and the control to autocomplete (Append AutoCompleteMode), but have their options limited to the control's ListItems. ...
Score autoplay copy file whilst app running via a USB drive
Richard Steele - 22 Jul 2006 7:11 PM - 4 messages
Hi Does anyone have an API wrappers for the [link] When a usb flash drive is connected, i want to automatically copy a mdb file ...
Score Convert srting "(192)"
Robert Bravery - 22 Jul 2006 4:36 PM - 5 messages
HI all, I have imported string data that contains numerical values. The negatives are reporesented in round braces () as in (192) representing -192. How can I convert thin string into a negative number while converting other numbers as positive numerical data ...
Score .NET 2.0 Generics and type casting
Kris - 22 Jul 2006 4:12 PM - 3 messages
Hi, I am trying to create a new generic class and am having trouble casting a generic type to a specific type.  For example,     public class MyClass<T> where T : MyItemClass, new()     { ...
Score Simulate Mouse Click
Abhishek - 22 Jul 2006 4:01 PM - 5 messages
Hi, I have a activex web browser embedded in a windows form and on a click of a form button i need the mouse to go the position for example 100, 100 and click the link that will be there on that position. ...
Score How ro create a global variable in Csharp
Deecrypt - 22 Jul 2006 3:52 PM - 6 messages
Hi, I would like to pickup a value from a textbox and make it available to be used by every method within a class.  I havent done anything like this since VB 6.  Any suggestions? Cheers Khurram ...
Score Bold text in a messagebox
Robert Bravery - 22 Jul 2006 3:44 PM - 4 messages
Hi all, Can I make part of a text bold in a messagebox Thanks Robert ...
Score DataAdapter.Fill() Misses out on one row of data
Deecrypt - 22 Jul 2006 2:34 PM - 2 messages
My issue is that I am communicating data between a website and a webservice using datasets.  The datasets created by filling the datasets with results of queries using the DataAdapter.  My problem is that for some reason, the fill method seems to miss out on exactly one ...
Score list<T>.contains to find elements
Robert Bravery - 22 Jul 2006 1:24 PM - 2 messages
Hi all, How can I use the contains method to find a partial value in a list eg if I have a list that contains "I love my Dog" "I hate the mouse" and I want to know if the list contains the partial string "Dog" ...
Score Socket migration problem 2003 --> 2005
Fab - 22 Jul 2006 1:24 PM - 5 messages
Hi, The code below perfectly works with VS 2003. When i use it with VS 2005, the application hangs (the processor is up to 100% and nothing else happens). The code : int port = System.Convert.ToInt16(strPort); mainSocket = new Socket(AdressFamily.InterNetwork, SocketType.Stream, ...
Score Formatting text in RichTextBox
Mystique - 22 Jul 2006 1:09 PM - 3 messages
Hello Is there any way to format text with tags (something like html tags) in a RichTextBox? Something similar to this: string aStr; aStr = "<b>this is bold</b> this is normal"; richTextBox1.Text = aStr; Regards, ...
Score Weird NumericUpDown Problem... probably bug in .NET framework?
Stephan Zaubzer - 22 Jul 2006 11:22 AM - 3 messages
Hi all, I encountered a problem with NumericUpDown yesterday and managed to reproduce the error with a very easy examle. I have a Windows Application with only one Form, which contains only one NumericUpDown control and nothing else. This is the only code I wrote: (everything else was done with the ...
Score Foreach loop
Robert Bravery - 22 Jul 2006 10:14 AM - 8 messages
HI all, If I have a foreach loop, is there a way to tell what number of itteration I am on during each loop Thanks Robert ...
Score SQL Reader Again
Saurabh - 22 Jul 2006 9:16 AM - 10 messages
Hi, I am getting the below mentioned error when I try to update a table Exception: Unable to update Person records Exception : System.Data.SqlClient.SqlException: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding. ...
Score .NET 2.0 Generics and type casting
Kris Jennings - 22 Jul 2006 1:51 AM - 9 messages
Hi, I am trying to create a new generic class and am having trouble casting a generic type to a specific type.  For example,     public class MyClass<T> where T : MyItemClass, new()     { ...
Score Why my menu items are not showing the underscore (hot key)?
Pucca - 22 Jul 2006 1:40 AM - 9 messages
I put "&" in front of the letter that I want underscored but why it doesn't show up at run time?  It's showing up at the design window though. ...
Score Marshalling a struct (which contains a union and the union contains a struct ... also all the member
jsshah - 22 Jul 2006 1:35 AM - 2 messages
Hi I want to marshal following Win32 struct into .NEt class or struct as I want to call a native dll function from a Csharp code. The win32 struct ----------------------- typedef struct _FILE_OBJECT_ID_BUFFER {     BYTE ObjectId[16];     union ...
Score ComClass() absent in C# why?
Alvin Bruney [MVP] - 22 Jul 2006 1:33 AM - 7 messages
Before I go shooting my mouth I'd like to find out why a new language like C# does not have the ComClass attribute that is available in Visual Basic. For context, the absence of the ComClass attribute in C# makes writing ...
Score NotImplementedException when I use IADsContainer.Count
Pucca - 22 Jul 2006 1:23 AM - 3 messages
I'm getting NotImplementedException  when I tried to get the Count property from the IContianer object iconComputers.  What does this error mean?  How can I correct this problem?  Thanks. //deGlobalComputers is a DirectoryEntry .                     IADsContainer iconComputers = ...
Score setting default page
Jessica Weiner - 22 Jul 2006 12:51 AM - 2 messages
I have a website at the following URL: [link] This works fine however I want it to default to login.aspx whenever someone goes to this URL: [link] ...
Score Context menu
Chris Saunders - 21 Jul 2006 11:20 PM - 2 messages
I'm developing a Windows Forms application and have added a context menu to the main form.  The main form has a tool strip and when running the application the context menu appears if I right click over the tool strip.  I would like for it to appear ...
Score force uninstall .NET Windows Service
John A Grandy - 21 Jul 2006 10:37 PM - 2 messages
I have a server with a custom .NET Windows Service installed.  The folder containing the service's .exe and .dll files is long gone. I need to uninstall the service. InstallUtil.exe /u "<service name>" does not work. ...
Score Assign Property value using Reflection
Andrew Robinson - 21 Jul 2006 9:58 PM - 7 messages
assuming that I have a class public class MyClass {     public string FirstName {         get {...}         set {...}     } } how can I assign the FirstName property using reflection on a generic class ...
Score compiler error msg..
maya - 21 Jul 2006 9:37 PM - 4 messages
am following "asp.NET Unleashed", by Stephen Walther (a SAMS book.. covers .net 1.1 though..) on one of his examples (ch 2) am getting compilation error..  code: <script Runat="Server"> void ChangeBox1( object s, EventArgs e ) { ...
Score Use exceptions for input validation...
redefined.horizons - 21 Jul 2006 9:19 PM - 4 messages
I'm new to C#, (coming from a Java programming background), and I have a question about the correct use of exceptions. My book "Programming C#" by O'Reilly says the following in Chapter 11, "Handling Exceptions", on page 245: ...
Score Generic collections and inheritance
Lars - 21 Jul 2006 8:31 PM - 15 messages
Hi, I have a base class holding a generic list that needs to be accessed by both the base class and its subclasses. What is the best solution to this? I am fairly new to generics, but I am aware of that fact ...
Score method being called to quickly?
Kevin Blount - 21 Jul 2006 7:57 PM - 3 messages
I have a situation where I think I'm calling a method too quickly, but I'm not sure a) how to prove that theory and b) slow it down if I'm right. Here's the code: CODEFILE.ASPX.CS ...
Score Getting intellisense in XML files from a C# DLL
avanti - 21 Jul 2006 7:50 PM - 3 messages
Hi, I am developing an application where the scripts are written in the XML files. The application parses them and creates required CS files and runs them. The application has set of APIs that are used in the XML scripts. ...
Score Memory allocation for value types...
veera sekhar kota - 21 Jul 2006 6:45 PM - 3 messages
Im wondering how & where the memory is allocating for int i; and int i=new int(); Thanks, Veera. ...
Score Problem with Substing - Index and length must refer to a location
Gidi - 21 Jul 2006 6:34 PM - 3 messages
Hello, I've a strange problem with substring function. I'm geting a string from my SQL DataBase and i want to split it to two substings. here is what i do: if(temp.Length>80 && temp.Length<=160) ...
Score "Cannot access a disposed object"
Rajat Tandon - 21 Jul 2006 6:13 PM - 3 messages
Hi, I have a grid which is continuously updating by the data from a external event. When I close the form on which the grid is placed, then it gives the error message ... "Can not access a disposed object". I understand that it is because as soon as the form is closed it will in ...
Score Memory allocation of structs?
veera sekhar kota - 21 Jul 2006 5:34 PM - 5 messages
I read structs are stored at stack area or inline-heap based objects. What is meant by inline-heap based objects? I didnt get that. Thanks, Veera. ...
Score XMLSerialize class definition
Joe - 21 Jul 2006 4:59 PM - 12 messages
I know I've seen this before but I can't remember how to serialize a class with it's definition. For example I want each class to serialize not only with it's fields' values but the fields data type as well. ...
Score Image comparison tool
bcutting - 21 Jul 2006 4:51 PM - 8 messages
I am looking for a way to take a large number of images and find matches among them.   These images may not be exact replicas.  Images may have been resized, cropped, faded, color corrected, etc. Approach 1 ...
Score dynamic enum creation
Steve Teeples - 21 Jul 2006 4:30 PM - 5 messages
Given this definition of an enum: enum MyEnum { [Description("This is a descripiton of D1")] d1=1, [Description("This is a description of D2")] d2=2 } Is there a way to dynamically create this same enum at runtime?  I want to ...
Score DataBinding
Peter Morris [Droopy eyes software] - 21 Jul 2006 4:03 PM - 4 messages
If I execute the following line     DataGrid1.Dispose(); it will commit all user changes being made via databinding.  I'd like to know how I can commit all user changes to all controls within a form without ...
Score Amazing failures in C# ???
schaf - 21 Jul 2006 3:06 PM - 4 messages
Hi NG ! In my application I have some amazing failures detected. Maybe you can help to solve my confusion. 1.) Why the following code does not return the same result ? Dns.GetHostName(); \\PCname and ns.GetHostByAddress(<LocalIPAddress>).HostName; \\PCname inclusive the ...
Score NDoc 2.0 Alpha available for download
Chris Nahr - 21 Jul 2006 2:41 PM - 3 messages
Since NDoc 2.0 is unlikely to be released in the near future, if ever, I've decided to post the current alpha version on my website: [link] Download and enjoy.  It works quite well, but remember that I can't ...
Score SelectedIndex not firing
scott blood - 21 Jul 2006 2:36 PM - 3 messages
Hello, Can someone help me out here before i go bald or turn to drink to solve all my problems. I have a text box on a WebForm that when text is entered and the user moves away from the control, the postback occours which then replaces the TextBox ...
Score Using com object in .NET
Brad Coble - 21 Jul 2006 12:36 PM - 5 messages
I have an activex control that is used in an old app originally written in VB6. It works good. I updated the VB6 app to VB.net. Got it working, sort of. The activex control uses withevents and fires an event when there is ...
Score Why seal a class
Michael C - 21 Jul 2006 12:32 PM - 33 messages
I want to inherit from Bitmap to add a property but I can't because it's sealed. Is there any reason to seal a class? Thanks, Michael ...
Score How to implement a PrintRange functionnality in my PrintDocument ?
bp - 21 Jul 2006 12:07 PM - 3 messages
Hi, I try to use my own PreviewDialog with a PrinPreviewControl, to preview a document of type MyPrintDocument, and I want to implement the PrintRange functionnality (print some pages between 2 values). I noticed that we can specified the PrintRange, FromPage and ToPage ...
Score How to delete a SQL Server record (descending from another record of the same table) with a C# appli
polocar - 21 Jul 2006 10:42 AM - 7 messages
Hi, I'm writing a program in Visual C# 2005 Professional Edition. This program connects to a SQL Server 2005 database called "Generations" (in which there is only one table, called "Generations"), and it allows the user to add, edit and delete the ...
Score DataGridView row selection
Lennart - 21 Jul 2006 10:27 AM - 3 messages
Hi I have a DataGridView on a Form filled with data from a DataTable.  When I Load this form I want to select a row in the DataGridView depending on a selected Primary Key index; How do I do this? ...
Score Threading question
arun.hallan - 21 Jul 2006 9:59 AM - 4 messages
I've read up on threading but it's confusing me somewhat. The functionality i need is as so: I have my main method which calls two other methods in two different classes. Each of these methods involves waiting for database operation to occur, ...
Score Reading extended file attributes and properties
Paul Hale - 21 Jul 2006 9:53 AM - 3 messages
Hi, I have a c# application that I would like to read in a “somewebsite.url” file and extract the “Web document > URL:” property for use in my app. Can anybody give me any pointers on how this can be done please? ...
Score Check if a method has been overridden?
Allan Ebdrup - 21 Jul 2006 9:29 AM - 9 messages
I'm writing some code where I have have a class that implements 4 methods (class A) I only want to call these methods from the base class if they have been overridden in a sub class (Class B) I guess I could have some properties ...
Score SQL trigger -> C# program
Gregi - 21 Jul 2006 9:25 AM - 2 messages
Hello, I'm using VS2005 and SQL 2005. Is it possible for a SQL trigger to immediately raise an event in my C# program? Actually it's C++/CLI, but it's easy to translate C# -> C++/CLI, so any help ...
Score Need help with Creating Icon Handlers
Jmc - 21 Jul 2006 9:09 AM - 3 messages
Hi I need some help with implementing Custom Icon Handlers using c#. I want to show special icons(that I generate) for various file extentions. Lets say for example that I want all bmp images to have the image as an ...
Score Enum Flags comparison
Christian.Wall - 21 Jul 2006 8:38 AM - 5 messages
Hello, I've got the following enum: [Flags] public enum MyStates {   None = 0   Saved = 1   New = 2   Changed = 4   Deleted = 8   Moved = 16 } .... Now I create two variables: MyStates aValue = MyStates.Changed | MyStates.Moved | MyStates.New ...
Score Multiple MainMenu objects with some MenuItem objects shared
polocar - 21 Jul 2006 8:02 AM - 3 messages
Hi, I'm writing a program using Visual C# 2005 Professional Edition, and I was trying to assign multiple MainMenu objects (one by one, of course) to the same Form (let's suppose 2 MainMenu objects). It is possible (and it's my case) that these 2 MainMenu objects use ...
Score Simple question about converting an integer into a byte
news.microsoft.com - 21 Jul 2006 7:52 AM - 4 messages
Hello, I'm a VB.NET guy converting a C# app to VB.NET and ran into an issue. Steping through both the C# and VB.NET apps i get identical results but for one section. Notes: bit_buffer = 360 and bArray is an array of bytes going into these ...
Score image in richtextbox
johansaton - 21 Jul 2006 7:49 AM - 4 messages
Hi, How can i use an image in a richtextbox in a Windows Form application written in C#? I have a richtextbox with print facilitities and i need to be able to print the text and an image. ...
Score Convert date() to DateTime format
Ryan Ramsey - 21 Jul 2006 6:38 AM - 2 messages
I am trying to convert a value returned from the date() function in php 5.0 to a format .NET can use.     DateTime dt_now = DateTime.Now;     DateTime dt_last = new DateTime(Convert.ToInt32(dkpLast[0][1])); ...
Score (Key press event origin) Is any key phisically pressed?
Kürþat - 21 Jul 2006 6:12 AM - 4 messages
Hi, Is it possible to know whether a keyboard message is generated by a phisical key press or an application.  If possible, how? Thanks in advance. ...
Score How to propagate an Event up to the MainForm?
RickL - 21 Jul 2006 5:11 AM - 2 messages
Hi, I'm developing a C# Windows Form app, which contains 2 UserControls in the MainForm.  One of the UserControls contains a number of layers as shown in the following hierarcy:                  MainForm ...
Score Modeling of Lookup Values and ORM
Nate - 21 Jul 2006 4:18 AM - 2 messages
Modeling of Lookup Values and ORM I know this is not the correct forum for object design patterns, but I haven't found any design related newsgroups. Scenario: Customers (table) ----------------- CustomerID Name CustomerTypeID .... other properties ... CustomerTypes (table) --------------------- CustomerTypeID Type =================================================== So, if I am modeling a customer entity, how do I represent the Type of the ...
Score C# MS Word SQL Server 2000
Jason Huang - 21 Jul 2006 2:20 AM - 2 messages
Hi, In my C# Windows Form project, how do I save a client's Word document into our SQL Server 2000 database? Would someone please show me an example? Thanks for help. Jason ...
Score Beginning C#
Michael D. Ober - 21 Jul 2006 1:45 AM - 4 messages
I am attempting to learn C# and have run into a fundamental type casting problem for input strings.  After reviewing the VS 2005 documentation, I am obviously missing simple type conversion operators - specifically, string (textbox input values) to numbers of various types.  In C++ this would be ...
Score compilation error: The type is defined in an assembly that is not referenced
Omatase - 21 Jul 2006 1:01 AM - 2 messages
Here is my code: CDO.Message iMessage = new CDO.MessageClass(); string sFrom; string sDate; iMessage.DataSource.Open(bstrURLItem,null, ADODB.ConnectModeEnum.adModeRead, ADODB.RecordCreateOptionsEnum.adFailIfNotExists, ADODB.RecordOpenOptionsEnum.adOpenSource,"",""); Here is the compilation error: The type 'ADODB.ConnectModeEnum' is defined in an assembly that is not ...
Score Reference a Form Instance From Static Class
Jordan S. - 21 Jul 2006 12:03 AM - 2 messages
I have a .NET 2.0 Windows Forms application that processes thousands of rows returned via a DataReader. The processing takes place in a static class. I would like for the processing logic to update information displayed in a specific form instance. How can get a reference to the form instance from ...
Score Help with using Win32 API setupapi.dll in C#
Michael - 20 Jul 2006 10:57 PM - 4 messages
Hi all, I'm trying to figure out how to use setupapi.dll in C#, specifically the SetupDiCallClassInstaller function. I'm trying to develop a test suite which tests drivers and part of this suite is checking whether devices can be successfully disabled and enabled. ...
Score Does anyone know how to stack tooptip messages?
DBC User - 20 Jul 2006 9:36 PM - 4 messages
I have an app, which is a tray Icon program, I am using the baloontooltip to show the message and is working good. What I would like to know is, it is possible to stack messages as it comes instead ...
Score Attribute
Andrew Robinson - 20 Jul 2006 8:52 PM - 5 messages
I have created some custom attributes to help me map container objects to my back end SQL server. These contain object are decorated with my attributes. I am using the following code to read the attribute and its values but how ...
Score can I add a new name-pair to an existing cookie?
Kevin Blount - 20 Jul 2006 8:13 PM - 3 messages
I have an issue with trying to add a new name-pair to an existing cookie. Here's what I want to do: page1 - adds "loggedin=true" to cookie "Communities" adds "member_id=100" to cookie "Communities" page2 - adds "banner=1" to cookie "Communities" ...
Score Monitoring output from service
RobKinney1 - 20 Jul 2006 7:58 PM - 5 messages
Hello, For security reasons, we need to start overhauling our old C++ applications to run as services instead of applications running on the admin account.  I am re-writing these programs using C# now. If I make a service out of ProcessApplicationA, how do I monitor what ...
Score Showing baloon message from tray icon
DBC User - 20 Jul 2006 7:32 PM - 3 messages
Hello, Does any one know a better way to show baloon message from tray icon program? I have seen 2 projects in CodeProject and they are good but is it possible to do this not going through the WIN API? ...
Score Please help Crystal Reports Question
BrianDH - 20 Jul 2006 7:29 PM - 2 messages
C# Windows Application. I am creating a CR and them printing the report via the PrintToPrinter().  The problem is the CR that is created in the temp directory is not removed after the application closes. So I added the CR.Close() event after the print command. ...
Score create class with dynamic properties
davidw - 20 Jul 2006 7:26 PM - 2 messages
I found it seems there is a way to create a class with dynamic properties, I don't really need define each property? In ASP.NET, Profile is created with all profile items in web.config as its properties, I found it has code like this: ...
Score Adding a nullable datetime column to a datatable does not work
GG - 20 Jul 2006 7:11 PM - 6 messages
I am trying to add a nullable datetime column to a datatable fails. I am getting exception   DataSet does not support System.Nullable<>. None of these works dtSearchFromData.Columns.Add( new DataColumn( "StartDate",                 typeof( DateTime? ) ) ); ...
Score Printer paper height and width
Claudio - 20 Jul 2006 6:42 PM - 2 messages
how do I get the paper height and width of the default printer? ...
Score DataImageUrlFormatString!
Vai2000 - 20 Jul 2006 5:23 PM - 2 messages
I have a grid view and an imageField on it. I want to add some JavaScript on the image mouseover and mouseout events.... How do I go about it? This aint working!!!!! DataImageUrlFormatString="images/{0}.jpg id=365 width=150 height=120 ...
Score Passing object as parameter such as RichTextBox
MarkusR - 20 Jul 2006 5:12 PM - 3 messages
Good day, I am basically writing a generic namespace with various helper classes. I don't want to add the calling form to the referrences. Example of what I am trying to do. Please let me know if i am going in ...
Score Threading
Doug - 20 Jul 2006 4:42 PM - 5 messages
Hi, I am looking to write my first application that will use threading.  I understand the concept but am not that familiar with the details of how to make this work in code.  Does anyone have any suggestions on some ...
Score Sychronization domain: what is it?
Joe - 20 Jul 2006 4:18 PM - 2 messages
Hello All: I have been researching the WaitOne method and don't understand what the second param is for.  It is a boolean value that determines "whether to exit the synchronization domain before the wait."  What does this mean? ...
Score Delete a read-only file
schaf - 20 Jul 2006 4:11 PM - 2 messages
Hi ! I have a simple question. I have to delete a read-only file within my application. I do it by removing the read-only flag before I delete the file. Is it possible to do in a easier way ? ...
Score Good practice when waiting for an event
arun.hallan - 20 Jul 2006 4:03 PM - 2 messages
I need the following functionality. public Object RunValuation {      run process that writes to database      check the database every second to check if results are ready      when results are ready, retrieve them and return object with data ...
Score Equivalent of Err.Raise in C#
Ramya A - 20 Jul 2006 4:02 PM - 4 messages
This could be a real dumb question but what is the equivalent of VB script's Err.Raise in C#? Thank You Ramya ...
Score Horrible bug in VS.net 2003 - please confirm
Michael Bray - 20 Jul 2006 3:43 PM - 15 messages
Please, someone verify that this isn't just my system with this error...  The problem is that VS.net can't properly store large 'long' values for control properties..   I'm guessing the threshold is actually if they are ...
Score Serviced Components & SOAP
Pete Wittig - 20 Jul 2006 3:29 PM - 4 messages
Hi, I have an assembly with two serviced components.  It has been registered using regsvcs.exe and is SOAP enabled.  I can see a WSDL link for both components in my browser when I open it to http://localhost/<appname>/default.aspx. ...
Score wrapper for API
cody - 20 Jul 2006 3:25 PM - 2 messages
I'd like to write a wrapper for a C++ API, so that I can use this in my ..NET application, can anyone point me in the right direction for information on how to do this? ...
Score Replace registry data with app.config
newscorrespondent - 20 Jul 2006 3:19 PM - 3 messages
Is there an MSDN article that I can't find on replacing the registry calls (Registrykey.GetValue, Registrykey.SetValue) with the calls to get and put the same data in app.config? Thanks Tom ...
Score Searching For Close Variations
Jordan S. - 20 Jul 2006 2:46 PM - 5 messages
Using .NET 2.0 (C#) I'm writing a small app that will have a "Person" class that exposes FirstName and LastName properties. At runtime, a "People" collection will be populated with a few thousand "Person" objects. I want to provide users with the ability to search for people by FirstName ...
Score Image saved as File is locked
JezB - 20 Jul 2006 2:30 PM - 7 messages
I have an Image object (i) which I want to write to a file. This does work but when I later try to do something with this file I get errors, because I think the file is still 'locked'. I have to restart the application before ...
Score PropertyGrid and CheckedListBox
Steve Teeples - 20 Jul 2006 2:24 PM - 7 messages
Can someone show me an example of how to place a "CheckedListBox" property within a PropertyGrid? ...
Score DbConnection
Roy - 20 Jul 2006 2:01 PM - 3 messages
I created my own DbConnection class using System; using System.Data; using System.Data.Common; using System.Xml; namespace MyNS {     public sealed class MyConnection : DbConnection, ICloneable     {        // code implement DbConnection and ICloneable ...
Score soap service in stanalone app
Rob Frohwein - 20 Jul 2006 1:41 PM - 2 messages
Hi, In an C# appl I need a soap service to be called by other (unix systems) In Visual Studio .NET it seems only possible to create a soap service as an .asmx  file to be used in IIS. ...
Score I want to access an ASP remotely page WITHOUT using the ASPNET account
KevinGreen24 - 20 Jul 2006 1:35 PM - 2 messages
Hello, I'm a software engineer at a company that's trying to engineer a multi-tenant report environment and we need to identify which company is trying to access our report server. So basically if our report server is on a computer called "COMP", and the windows username of the ...
Score Object serialization with read-only members
Hans-Jürgen Philippi - 20 Jul 2006 1:16 PM - 6 messages
Hi Group, I've defined a class with an 'ID' property, which is a GUID that is created at the time of the very first object instance creation. This member is not included when I serialize an object instance to XML, since it is read-only. ...
Score need c# 2.0 ebooks.
nyinyithann - 20 Jul 2006 12:57 PM - 2 messages
Hello, i need c# 2.0 books. Could u pls tell me how can i get c#  2.0 free ebooks online? Best wishes, NNT ...
Score COM in C#
Aleksey - 20 Jul 2006 12:44 PM - 3 messages
Hi, all! Can anybody explain me how can I create COM server in C#? Thanks a lot ...
Score printing labels
dfetrow410@hotmail.com - 20 Jul 2006 12:30 PM - 3 messages
In a windows form. Is there some code out there that will allow me to print labels? Dave ...
Score Constructors
Peter Morris [Droopy eyes software] - 20 Jul 2006 12:15 PM - 69 messages
I have an object persistence framework I have written, this framework expects every object to descend ultimately from PersistentObject and to have a constructor (ObjectSpace objectSpace) so that objects may be recreated. PersistentObject's constructor will do something like this ...
Score SQL Query Syntax Error
Deecrypt - 20 Jul 2006 10:36 AM - 3 messages
Hi, I hope Im posting in the right newsgroup.  I am trying to insert the result of the below SQL query in my Access 2003 table.  All the fields in this table are of type Number.  I'm picking up the value of a dropdownlist box and ...
Score Unpacking xml. How do i best do this?
Jens Jensen - 20 Jul 2006 10:15 AM - 3 messages
Hello, I'm calling a webservice that returns data packed in an xml file.( System.Xml.XmlNode) I wrote the webservice myself. But users are not very experienced with xml. I'm therefore tempted to provide a general purpuse dll (.net assembly) that ...
Score Detecting screen resolution changes!
Lee - 20 Jul 2006 9:28 AM - 2 messages
Hi, How can i do this with C# and .NET 2 ? thanks in advance lee ...
Score Modify Login To Add Third Required Field
Andrew Hayes - 20 Jul 2006 9:23 AM - 2 messages
I've setup a test C#.NET web app that correctly uses Membership with the Login, LoginView and LoginState controls in Visual Studio 2005. I've tested it thoroughly and it all works as expected, with the User Name and Password. ...
Score EDITITEMTEMPLATE FINDCONTROL PROBLEM
Savas Ates - 20 Jul 2006 8:53 AM - 4 messages
My aim is  showing product availability   in a dropdown by checking the database issues and let user to change its value... The Error : ideefixesatisc.DataTextField = "Stokta Yok" Object reference not set to an instance of an object. ...
Next »