|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual C# .NETmicrosoft.public.dotnet.languages.csharp
Interop Question with Unmanaged C++
Zach -
10 Jun 2006 9:03 PM - 2 messages
I have both an unmanaged DLL written in C++, and a Windows Forms application from which I'm trying to use the services of the unmanaged DLL. I seem to have everything set up correctly, but I'd really like ...
MessageBox and Ok Cancel question
Avi G -
10 Jun 2006 8:21 PM - 2 messages
Hi, i've this code private void Esc_close_application_Click(object sender, System.EventArgs e) { MessageBox.Show("Are you sure?", "Exit", ...
Connect to a SQL database
Claudia Fong -
10 Jun 2006 6:04 PM - 3 messages
Hello everybody, I'm connecting my C# application with a SQL databse, it's my first time, usually I use access database. I have a question: I want to load the data of my db into the combo box when the the form load. ...
checkbox weird Problem
M.Selvakumar -
10 Jun 2006 1:27 PM - 3 messages
Hi, I have a weird problem in checkbox.In my page, When i move mouse from one textbox to other suddenly the chechbox's text is selected and the typed chracters are attached to the checkbox text.For example, if the ...
PLZ HELP ME
k_kris4u -
10 Jun 2006 11:56 AM - 4 messages
I am geeting following errors.while running my project.plz respond asap its urgent! thak u Operator '==' cannot be applied to operands of type 'int' and 'object' Cannot implicitly convert type 'System.Web.UI.Control' to 'System.Web.UI.WebControls.DataGrid' ...
How do I split this String?
Saurabh -
10 Jun 2006 10:44 AM - 7 messages
Hi everyone, I am looking for some expert advise to get me out of trouble. I am looking for a solution in C# which will allow me to split the below string in the format provided. The String.Split() allows only a single char as a delimiter.So I cannot use that as well. ...
RegEx for validate domain values
luca.milan -
10 Jun 2006 10:39 AM - 5 messages
Hi, have a problem with this regex: ^(?<target>order|customer)@(?<action>view|save|delete)$ With this options: order@view, order@save, order@delete or customer work fine, but with the target: order or customer fails. I need match all domain values (order,customer and so... order@view, ...
C# web application socket
Rain -
10 Jun 2006 10:11 AM - 2 messages
Hi, I've been solving this problem for a week already, can anybody help me with this? I made a asp web application using C#, i have a client/server(TCP) setup and it works perfectly when i tested it with a windows app but when i tried it in ...
Exception of type System.StackOverflowException was thrown. PROBLEM
Savas Ates -
10 Jun 2006 9:52 AM - 2 messages
I want to change my controls in my class I have the following code. All the code in my _default page class How can i solve it ? public class antu:_default { public void GetHolder() ...
FIFO Text Control
Dinsdale -
10 Jun 2006 7:12 AM - 6 messages
I have an application that recieves text data via external input (i.e. serial) and displays it on the screen (we use carraige return as a delimiter). At this point I use a regular old text box and when the ...
I am not sure how to interpret this...
Henry -
10 Jun 2006 5:26 AM - 3 messages
I am trying to work my way through a textbook on web services. I was running a help page and got this error message. To me it is vague. Not knowing the code well enough I am not sure which data element it is talking ...
Application Manifest document
Steve Teeples -
9 Jun 2006 10:51 PM - 2 messages
Can an application manifest document be added to a C# application? If so, can it be done from within the IDE of Visual Studio 2005? I want to customize my application's security level ("Administrator level") and believe it has to be done from within this manifest file that is to be ...
Flickering with tab control
CP Developer -
9 Jun 2006 9:26 PM - 5 messages
I have a tab control in my application, and any time I mouse over or off of a tab, it flickers. It looks like it is redrawing it (albeit slowly) each time one of these mouse events are raised. I would like to eliminate this flicker, but I am not sure what might be ...
[Proposal] Named and Optional Parameters with Default Values
cody -
9 Jun 2006 8:57 PM - 15 messages
I got a similar idea a couple of months ago, but now this one will require no change to the clr, is relatively easy to implement and would be a great addition to C# 3.0 :) so here we go.. ...
General Database Question - Tables in Classes - Appended
Jim Stools -
9 Jun 2006 8:53 PM - 5 messages
Forget the re-post I had my clock set 12 hours earlier Hopefully this will make some sense.. I have a database that has around 50 tables - I thought about putting each table in a class and the data connection in a class then I could manage the (tables) classes with one data ...
shorthand for T
Dan Holmes -
9 Jun 2006 8:32 PM - 5 messages
Suppose i have this code: int value = 0; // TODO: Initialize to an appropriate value Parameter<int> target = new Parameter<int>(value); Assert.AreEqual<int> is there a way i can save "int" in a variable or something so i can make ...
Language detection
Michael Brown -
9 Jun 2006 8:27 PM - 4 messages
Hi there. I need to detect what languages are supported by an application using the VS automation IDE (for a VS add-in). Unfortunately, I can't seem to find any clean way of doing this other than searching for all (embedded) ...
String.Concat vs String.Format
ramadu -
9 Jun 2006 8:25 PM - 18 messages
I know its a sin to use strings, lets skip that part... Which of these is faster and uses less memory? String.Format("SomeValue='{0}'", m_Value); or String.Concat("SomeValue='", m_Value, "'"); - ramadu ...
Syntax question and String Comparison
Dinsdale -
9 Jun 2006 8:11 PM - 18 messages
I would like to compare a string value to a pre-determined list of other strings. Is there a simple way to do this in one statements like this: if(strMystring.ToUpper() == ("STRING1"| "STRING2"| "STRINGX")) {} This syntax doesn't work (and in fact I'm not quite sure what this ...
PLS HELP: Using events in inherited classes
MuZZy -
9 Jun 2006 7:33 PM - 3 messages
Hi, Consider i have this code: // --------------------------------------------------------------------- public delegate void DoSearchEventHandler(Form f, DoSearchEventArgs e); public class DoSearchEventArgs { public String m_sIDColumn; public String m_sQuery; public DoSearchEventArgs(String sQuery, String sIDColumn) { ...
How to get the real system date
Mike9900 -
9 Jun 2006 6:59 PM - 12 messages
How can I get the real system date/time if the user fakes the date, for example by setting the system date back. ...
Flash SWF in Windows Forms
agileconsultancy -
9 Jun 2006 6:46 PM - 2 messages
Hi, I have a Flash Swf file which is continuously updated in terms of data, from the DB using Actiona Script and aspx calls. Well, the question can surely consider only a simple SWF file moslty. I developed it for Web Applications(asp .net 2.0) and it's working fine ...
Filtering auto-generated code from "Treat Warnings as Errors" and "XML Comments"
Skip Sailors -
9 Jun 2006 5:55 PM - 2 messages
I want code I write to have XML comments that are correct and I want the compiler to fail to build is I mess up a comment, but I don't want generated code to cause a build failure. Is there a way (in VS 2003, especially) to ...
Copy Stream
Vai2000 -
9 Jun 2006 5:46 PM - 2 messages
Hi All, I have a class in which one member is Stream. I initialize this member with a local value of a stream. Foo o=new Foo(); o.Stream=localStream; doesn't seems to work. Will I have to do a DEEP Copy? Incase how should I ...
How to read config file?
Brett Romero -
9 Jun 2006 5:30 PM - 4 messages
I'd like to use some of the techniques discussed here for reading a config file in .NET 2.0: [link] Here's my app.config content: <?xml version="1.0" encoding="utf-8" ?> ...
Windows Service with Microsoft Office PIA assembly
sokolo -
9 Jun 2006 4:58 PM - 4 messages
Hello, I wrote a windows service application however it is not working. The service is supposed to enter a new task every 5 sec within Microsoft Outlook. Here is the code for application: public partial class CheckAccountsService : ServiceBase { ...
If this is obsolete in Fr V2 what replaces it?
Bob -
9 Jun 2006 4:30 PM - 2 messages
[ System.ComponentModel.Description("Contents in Rtf format"), RecommendedAsConfigurable(true), Category("Data"), Bindable(true), Editor(typeof(Design.RichTextBoxExtendedRtfEditor),typeof(System.Drawing.Design.UITypeEditor)), ] Can't figure out what code to use to replace the stuff above. Can anyone help Thanks in advance ...
How can I do this with generics please
Mike Davies -
9 Jun 2006 4:25 PM - 3 messages
Hi, I want to do this but can;t figure it out! :-( Can I even do it? public static T Get4Bytes<T>( byte [] ptr , ref int Index) { uint ui = 0; ...
FW2.0 and FW1.1 on the same machine... can I switch from one to another?
Giulio Petrucci -
9 Jun 2006 4:17 PM - 5 messages
Hello everybody, I have installed both FW2.0 and FW1.1 on my machine. I started working on ..NET technology just 4 months ago, and I've always been using the 2.0 but for my last work my boss told me to check if it can run also on machine ...
A theory question regarding XML
Henry -
9 Jun 2006 4:09 PM - 5 messages
I know it is possible to store dynamic propterties for applications in XML files. The app.config and the web.config files can be used to store AppSettings... I am just wondering how far one can go with this technique. ...
Where to store application expiration date in a trial app
Mike9900 -
9 Jun 2006 3:59 PM - 11 messages
Hello, I would like to store application expiration date in a file and store that file in a secure place, so the application can access the file for all the users on that computer. IsolatedStorage is a good technique but it is for the each user only and is ...
Split Multiple XML Documents from a Single File
Matt -
9 Jun 2006 3:41 PM - 3 messages
I have a client that transmits a file to us with many XML documents enclosed. The problem is that each is a different format and may have different encodings as they contain information from many different countries. We can handle all the different documents when they are split into single files and we currently have a cluge to do this. ...
Control handle under the mouse cursor
Danny -
9 Jun 2006 3:41 PM - 3 messages
Hi I need to get the handle to the windows control that is directly below the mouse. This must work on any windows application, win32 and dotnet forms. The reason is I would like to highlight the window's bounderies if possible, ...
Disable Checkbox in TreeView control
James Lennon -
9 Jun 2006 2:21 PM - 4 messages
Does anyone know how to disable a single check box in a Windows Forms TreeView control. ...
Using glyphs in C#
rancidpunx -
9 Jun 2006 12:12 PM - 6 messages
Hi! I want to do kind of an easy thing, but i don't now HOW: I have a lot of buttons, i want to place glyphs on them! Unfortunately, i didn't found kind of a "glyph-property", so i don't ...
Collections in .NET (C#)
mitch -
9 Jun 2006 11:26 AM - 8 messages
if pc is a collection object (i.e. derives from CollectionBase) and contains objects which have a GetX() accesser and I do the followingtwo things: p = pc[0]; for(int n = 0; n < 100000000; n++) { double x = p.Getx(); ...
Drag and Drop Outlook Mail Message
daveward10 -
9 Jun 2006 10:49 AM - 4 messages
I want to be able to drag and drop an Outlook mail message (Outlook 2003) onto a windows form (C# 2003) so that my application can then save the file (in the same was as if I were to drag and drop on the desktop). Anyone able ...
How to detect if the mouse is inactive?
Iosy -
9 Jun 2006 9:49 AM - 4 messages
Hi all, I'm working in a application where I need to detect when the mouse is inactive outside my form. I mean, I want to detect if the mouse hasn't move in the last X seconds (2 por example) and in case that it hasn't, ...
why TcpClient.GetStream(), not just a property? Will exception go away next time?
Ryan Liu -
9 Jun 2006 9:07 AM - 3 messages
Hi, Why TcpClient has a method TcpClient.GetStream(), not just a read only property? By implementing it as a method, does that mean, each time GetStream() could return a different stream? In other words, is that safe I only call ...
Knowing UI Thread
Tommaso Caldarola -
9 Jun 2006 9:01 AM - 8 messages
How to I can know the UI thread? I need to do a switch context before to read/write some data. Inviato da X-Privat.Org - Registrazione gratuita [link] ...
cast selected value to this.owner... this is a tough one...
Lars Erik Nes -
9 Jun 2006 7:50 AM - 3 messages
Hi I can't get this to work. I have a CustomerForm which display data from several tables in datagridviews. In another form (opened from CustomerForm), called NewCallForm, i have a listview with data (same data as for the CustomerForm). When i click in this ...
Creating a TextBox Control
Dinesh -
9 Jun 2006 7:26 AM - 2 messages
Hi I want an approach(Procedures - steps - logic) on creating a textbox control. In detail, how should i go for the Painting , handling the key inputs for that control.... I dont want to implement all of the textbox functioalities.But a good ...
Page_load event executing twice
puja -
9 Jun 2006 6:22 AM - 2 messages
hi all, I have this .aspx page for which the Page_load event occurs twice. I found out while debugging. After searching google, I tried checking with Page.Ispostback method and also had "AutoEventWireUp" = false and also run after removing this tag from page directive but still my page_load event ...
TableAdapter Insert and SCOPE_IDENTITY
Ian Semmel -
8 Jun 2006 11:48 PM - 4 messages
The generated INSERT statement in a typed dataset has an INSERT statement followed by a SELECT statement which gets (I think) the value of the autoincremented ID. Question. How do I get hold of this value ? ...
Some decimal math.
William Stacey [MVP] -
8 Jun 2006 11:35 PM - 2 messages
int sqrft = 1335; decimal pricePerSqr = 18.33m; decimal pricePerYear = Math.Round(pricePerSqr * sqrft, 2, MidpointRounding.AwayFromZero); decimal pricePerMonth = Math.Round(pricePerYear / 12, 2, ...
RunWorkerCompletedEventArgs.Cancelled always false, even when I know it caught the cancel request
Steve -
8 Jun 2006 11:23 PM - 3 messages
After running into a design wall with my traditional thread approach, I realized that a BackgroundWorker object would fit my needs pretty good. Never really used them before. In a nutshell, my problem is cancelling the worker. I've read the MSDN ...
Requested registry access is not allowed.
Steve Teeples -
8 Jun 2006 11:05 PM - 7 messages
I have a piece of code (written is Visual Studio 2005) that is only reading the Security EventLog. On Windows XP Professiona/Home this code works just fine. int numberOfEntries = myEventLog.Entries.Count; if (numberOfEntries > 0) ... However, when run under Windows Vista I get the error "Requested registry ...
Making a Typed DataTable Serializable
cpnet -
8 Jun 2006 10:15 PM - 2 messages
I have a DataTable defined in a strongly-typed DataSet: [Serializable()] public class MyDataSet: DataSet... { ... public class MyDataTable: DataTable... { ...} ... } I have a class that references MyDataTable: [Serializable()] public class MyClass { private MyDataTable myDataTable; } When I try to serialize (binary serialization) MyClass, it tells me I can't ...
Dows .Net support different look and feels?
Scirious -
8 Jun 2006 9:59 PM - 4 messages
People, does .Net (C#) support plugable look and feels as java does? So I can easily change the look of my softwares? TIA, Scirious. ...
Why are binaries so big?
Scirious -
8 Jun 2006 9:57 PM - 8 messages
People, why are C# generated binaries so much bigger than Java ones? TIA, Scirious ...
Regular Expression Help
orianavim -
8 Jun 2006 9:32 PM - 4 messages
Hi, i'm looking to find a way (using RegEx) to take the following text break it into 3 parts: <table><tr><td>#Content#</td></tr></table> which will give me an ...
cast as T
Dan Holmes -
8 Jun 2006 7:03 PM - 3 messages
I need to cast a value at runtime to T from object. public class GreaterThanFilter<T> where T : IComparable { private T _value; private void SetValue() { //DataGrid.GetValue(0, 0) returns object ...
Listbox slows down when adding large number of items
Paul_Madden via DotNetMonster.com -
8 Jun 2006 6:58 PM - 15 messages
Basically I have a listbox to which I add simple STRING items- I have a progress bar which I increment whenever I populate another portion of the complete set of items I wish to add. What I observe is that as more and more ...
Concise XML Serialization
Dave Booker -
8 Jun 2006 6:06 PM - 5 messages
I am serializing a class to XML using the code below, but the XmlSerializer opens the object's tag with some very verbose attributes: "<TestClass xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml ns:xsd="[link]">" ...
Problem with DataRowCollection.RemoveAt() and OleDbDataAdapter.Upd
George -
8 Jun 2006 5:46 PM - 3 messages
Hi, I have encountered the following problem. Say I have the following, DataGridView dgv; DataTable dt; OleDbDataAdapter oleDb_da; (bound to a OleDb data connection) dt is the bounded data source of dgv, and I use oleDb_da.Fill(dt) to fill ...
Learning C#
SpudFlubber -
8 Jun 2006 5:40 PM - 3 messages
I hope the old saying, "The only dumb question is the one you did not ask." applies here. I have been "attempting" to program vb.net for years. Previously and sometimes even now I use vbscript for random projects, but I cannot say ...
.NET: why?
Devan -
8 Jun 2006 5:35 PM - 19 messages
Does anyone at Microsoft know the number of classes, namespaces and functions in .NET? Microsoft must have spent a lot of time in development. Do the same people know how many employees, departments, and time, it took for them to ...
Publishing not including XML, XMS files
Steve Teeples -
8 Jun 2006 5:30 PM - 4 messages
I have a simple application built with several DLLs that access XML files for information. My local setup works just fine. As defined in my Install folder, the files are copied to the "application folder" and the DLLs find ...
Debugging on a machine one doesn't have access to
Robert W. -
8 Jun 2006 5:13 PM - 5 messages
I have a prospective client who can't get my WinForms app running on his machine. I sent him some sample .Net apps and they run fine. The error coming up is very cryptic and doesn't help me resolve the problem. ...
transparency on labels
Daniel -
8 Jun 2006 5:11 PM - 2 messages
Hi guys I am making a custom form top border and have done it by making 3 picture boxes. One is the top border Second is acting like a button for closing the window third is acting like a minimise button. ...
csc and resources
Michael Moreno -
8 Jun 2006 4:43 PM - 3 messages
Hi there, I am trying to compile a WinForm project using csc. The compilation works fine. But when I start the project it crashes. The problem appears to be linked to resources which were created because I put some ImageLists onto Forms. ...
Cast form from VB 6 to C# at runtime
ramhog -
8 Jun 2006 4:23 PM - 2 messages
I have a custom control created in C#. The control is being consumed in a COM exe written in VB 6. At runtime when a user moves the mouse over the control I want to get the parent form for the control and use ...
Simple enumerated state machine impossible in C#
Shawnk -
8 Jun 2006 4:11 PM - 5 messages
This post is intended to verify that true value semantics DO NOT EXIST for the Enum class (relative to boolean operations). If this is true then (thus and therefore) you can not design state machines in C# where the machine can use the enumerated 'state' to execute (thus the term ...
peachtree with c#???
C# newbie with big problems -
8 Jun 2006 3:24 PM - 2 messages
I have an application that requires accessing peachtree information. is there any way to use C# to interact with peachtree?? --Roman ...
How to filter by Month using Dataview.RowFilter
Dr_Franz -
8 Jun 2006 3:14 PM - 2 messages
Hello, My Code: dvM1.RowFilter = "DATEPART(Month, Datum) = " + Monat.Month + " AND DATEPART(Year, Datum) = " + Monat.Year; But DATEPART is not a ADO Functions? Can someone help me? ...
Aspx's Html Injection
orianavim -
8 Jun 2006 2:57 PM - 5 messages
Hi, I'm try to find an easy efficient way to generate my web pages dynamically from an xml/text file. What exactly I want? I want that whenever a pages is loaded it will go and read an xml/text ...
.NET 1.1 and 2.0
zolof -
8 Jun 2006 2:46 PM - 4 messages
I have made a DLL using C# and .NET 2.0. My customers develop an app using C# and .NET 1.1 and wants to use my DLL. How can we do this ? ...
memberwiseclone and strings
Dan Holmes -
8 Jun 2006 2:21 PM - 2 messages
Am I reading the docs right? If i have a class that has a string field when i call MemberWiseClone() the same field in then new object will reference the string in the original object? Meaning changing one ...
how to throw Ballon Tip in C#
Avi G -
8 Jun 2006 2:21 PM - 9 messages
Hi, i use VS 2005 and i've Form that have a NotifyIcon on it, when i minimized the Form it minimized to the Sys Tray ok, i need that when i minimized the Form it will throw a Ballon popup from the Sys Tray that will say "i'm here" ...
Search and replace inside a stream
.... -
8 Jun 2006 1:45 PM - 8 messages
Hi I have an existing function which has a stream object (inmsg.BodyPart.Data). I'm trying to search and replace the stream object in the most efficient way possible This is my attempt below, however I'm getting a message on the last line ...
How to use operators on object acquired by reflection ?
Sharon -
8 Jun 2006 1:24 PM - 7 messages
I have two object that has been acquired using reflection as follow: string str = "123"; object param1 = dataRow["myRow"]; System.Type paramType = param1.GetType(); System.Reflection.MethodInfo Parse = paramType.GetMethod("Parse", new Type[] {typeof(String)}); object param2 = Parse.Invoke(param1, new object[] { str }); ...
Connection string stored in registry
nbs.tag -
8 Jun 2006 1:19 PM - 10 messages
hey guys heres my question. I was told by a little birdie that .net 2.0 has the ability to read a connection string directly from a registry key. so in the registry key a string value of say : database=northwind;user=username;password=pw; is stored at ...
capture the subject line from the unread mail
Kondapanaidu -
8 Jun 2006 1:04 PM - 2 messages
Hi, I am using C#.NET2.0, My Outlook Inbox is having some mails. My system Configured with Outlook, I need to capture the Unread mail subject line. How to capture the subject line from the unread mail. Thank in advance for giving great inputs ...
Conditional compilation question
Dave -
8 Jun 2006 12:54 PM - 11 messages
I'm a C++ programmer of many years, trying to get my feet wet in C#. I have a question about conditional compilation. In C++, I would sometimes define a constant in an include file, and then have blocks of ...
Generic constraints
Brian Richards -
8 Jun 2006 12:49 PM - 3 messages
I'm trying to write a generic function (List<TPanelType> GetGenericPanels<TPanelType, TObjectType>()) that returns all UserControls that derive from T and and implement an interface IGenericPropertyPanel<V> such that U implements or derives from V. The idea being that I can discover ...
c# video stream
ZaRMaS -
8 Jun 2006 12:40 PM - 4 messages
Hi all, I'm developping a project which you can see a video stream in a panel (like webcam). I am using DirectShowNet library to see the render, and it works correctly. But i need to compress the video stream in live ...
About Windows Services
Water Cooler v2 -
8 Jun 2006 11:35 AM - 5 messages
I want to run a service at the background but also provide some user interface for editing some configuration options. In this regard, my questions are: 1. Can a Windows Service have a UI along with it? 2. Can I associate a NotifyIcon (systray icon) with a Web service? ...
Documents.Open Doesnt work on server.
BSGY -
8 Jun 2006 11:23 AM - 3 messages
Hello app.Documents.Open("TEMPLATE.DOC", False, False, False, "", "", False, "", "") doesnt work on server. But it is working in my computer. What is the problem, what can i do ? ...
DataList, DataSet or DataTable rows limit
Aahz -
8 Jun 2006 11:01 AM - 6 messages
Hello; I have an XML file with data which I show in DataList sucessfully, using DataSet Problem is that XML has about 30 records which is too much I need to show just first 10 ordered by date (10 newest) ...
Custom Validation for dates
daz_oldham -
8 Jun 2006 11:01 AM - 3 messages
Hi All I am looking to utilise the validation controls to validate a date of birth, however, I would like to take it one step further than just making sure that the user has entered a date. I have three text boxes for each part of the date (DD, MM, YYYY) and ...
How to do a mouse click outside a Form?
Iosy -
8 Jun 2006 10:29 AM - 2 messages
Hi all, I'm working in a application to work in the PC without using a mouse. I've been using the "User32.Dll" to set the cursor position but I don't know how to click or double click in any place on my PC without the ...
Username & domain & group
Stropher -
8 Jun 2006 10:23 AM - 2 messages
If one clicks useraccount via start/settings/control panel one finds the (created) users of a given computer under the reiter Username, their domains under the reiter Domain and their groups under Group. How can I extract or read out these usernames, their domains and the ...
Shared file only builds once
Paul Cheetham -
8 Jun 2006 10:18 AM - 2 messages
Hi, I have a source file which is shared by two projects. It is included in one project, and linked to from another. In the source I have #if compiler directives, as I want to exclude parts from one of the projects. ...
what is the code for restoring application from sys tray
Avi G -
8 Jun 2006 10:18 AM - 7 messages
Hi, i've this code that minimize application to sys tray i managed to hide the application to the sys tray but i don't know how to bring it up back by double cliking the sys tray icon this is the code for the hide ...
Multi-Monitor Application
vikash -
8 Jun 2006 9:49 AM - 2 messages
Hi All, I am developing a Window based application using .NET 2.0. In the application i want to have the support for Multi-monitor mode. For that, i would like to know if there is any in - build support for ...
Compiler erro CS0006 during a dynamic compilation
Giulio Petrucci -
8 Jun 2006 9:34 AM - 2 messages
Good morning everybody, I have been dealing with this strange issue for almost two days: I got stuck and I can't get out of it. I built up for the first time in my life (I'm quite new in stuff like .NET, C#, Visual Studio, windows programming ...
Inherited properties
Daniel -
8 Jun 2006 9:27 AM - 4 messages
Hi guys I must be missing something fundamental here in my animation prog. I have a class called Object Manager and in that it holds a List<> of SceneObjects, on every frame on my animation i update my GameTime which is a ...
can't understand how to do this with generics
Barry Mossman -
8 Jun 2006 7:57 AM - 20 messages
Hi, if I have a generic class such as: public class MyGroup<T> : Collection<MyChildClass> and from one of it's methods I want to pass a reference to myself to the following method in another class: ...
SQL/OldDbCommand object and parameters
Steve Barnett -
8 Jun 2006 7:52 AM - 4 messages
I'm trying to do things properly and use OleDbCommand objects and parameters to build me SQL queries. In the past, I've always built them as strings... I'm now stuck. I have an SQL statement of the form: ...
very urgent
alok sengar -
8 Jun 2006 6:34 AM - 2 messages
hi, I have already tried this URL's code "[link]" but I am getting error when i am creating a UDP type Socket and recieving packet from this socket. ...
Application interface designing
jack -
8 Jun 2006 6:16 AM - 3 messages
Hi all, im in a middle of an project and it is going pretty well. But one this that is always in back of my mind is the interface design. every day i look at it i tend to change either the position of label or textbox ...
Capture subject line from the received mail
Kondapanaidu -
8 Jun 2006 5:03 AM - 2 messages
Hi, I am using C#.NET2.0, My system Configured with Outlook, If any mail comes to My Outlook, We need to capture the subject line from that mail using in C#.NET, how to capture the subject line from the received mail. ...
Chkdsk display of 'in use by the system'
_DD -
8 Jun 2006 3:40 AM - 3 messages
File system question. Even expert config-techies don't seem to know this, but one of the local OS experts will: Chkdsk, on a newly formatted partition, often says "140000KB in use by the system.' I'd understand if the MFT was keeping previous directory ...
Attributes with multiple objects as param for constructor
ThisBytes5 -
8 Jun 2006 3:12 AM - 4 messages
I am using an attribute on the properties of my object to help with parsing of data. The attribute will determine if the current property is to be populated based on the version of the data. As such I need to ...
Design Question WRT controlling access to private methods
John B -
8 Jun 2006 2:04 AM - 3 messages
I have a situation where I need to control the creation of a class. I need to be able to create it externally but only by classes that I define. To accomplish this I thought of the following process: Define a delegate that returns an instance of my class. ...
Compiler Error Question
Eric B -
8 Jun 2006 1:28 AM - 3 messages
I have created an object: A. (a control derived from another control) Using the designer, I made 'A' a field of another object: B. I then set the Modifier property of 'A' to "Protected" while designing 'B'. When I compile the code the following error occurs: ...
try catch just does not work
Michael C -
8 Jun 2006 1:26 AM - 4 messages
I'm writing an app on the PDA using C# with .net 1.1. It is all working well except in some cases a try catch is simply ignored and a totally different error is returned. I've got code like below to execute a command. I'm ...
Casting arrays fails at runtime
eric.dennison -
8 Jun 2006 12:23 AM - 3 messages
In the sample below: testClass is derived from object. We can cast object to testClass, no problem We can cast testClass[] to object[] no problem Compiler is ok with cast object[] to testClass[] but fails at runtime. Why? I understand this can be worked around using Array.Copy, but I actually ...
Design question
Steve Long -
7 Jun 2006 11:43 PM - 8 messages
Hello, I have a design question that I'm hoping someone can chime in on. (I still using VS 2003 .NET 1.1 as our company has not upgraded XP to sp2 yet. duh I know, I know) I have a class I wrote (CAppInit) that I use for application configuration. ...
Why Do Rererences Get Switched?
Robert W. -
7 Jun 2006 11:32 PM - 11 messages
I have a VS2003 WinForms app with a main project called "Desktop". It references a DLL I've also created called "DataTransfer". When setting up the references of Desktop I specifically chose the DataTransfer.dll file WITHIN DataTransfer\bin\Debug ...
what is the best way to make a DataTable thread safe? DataTable.AcceptChanges() will throw exception
Next »
|
|||||||||||||||||||||||