|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual C# .NETmicrosoft.public.dotnet.languages.csharp
object ref not set ... resizing panel...
Nick Valeontis -
23 Dec 2006 9:57 PM - 4 messages
I was writing a C# program this week. The program works okay in my pc (in both debug and release builds) but realized that it would not work to other pcs. It simply would close after displaying an "This program has encountered ...
stream associate with socket; will one end block another
Ryan Liu -
23 Dec 2006 7:55 PM - 2 messages
Hi, As I remember theare are In and Out stream associate with a socket. TcpClient seems there in only one NetworkStream to do both read and write. Then will it be a conflicit if both side try to send data? ...
How to make as single execute file
ad -
23 Dec 2006 7:17 PM - 5 messages
I used vs2005 to develop a winform project. How can I make my project as a single executable file? ...
4 way of Asynchronous Programming, what is the differenen between the first two?
Ryan Liu -
23 Dec 2006 7:07 PM - 7 messages
Hi, I read Microsoft SDK, ms-help://MS.NETFrameworkSDKv1.1/cpguidenf/html/cpovrasynchronousprogramming overview.htm there are 4 ways to call EndInvoke: The code in this topic demonstrates four common ways to use BeginInvoke and EndInvoke to make asynchronous calls. After calling BeginInvoke you can: ...
How to get a default instance of built-in type?
Michael Bray -
23 Dec 2006 7:06 PM - 5 messages
Lets say I want to get the default value for a system type... how would I implement the following function: public object DefaultValueOfType(Type t) { return ????; } I want to be able to call it like this: ...
Sort Criteria for Generic.List ???
Peter Olcott -
23 Dec 2006 3:25 PM - 4 messages
How does not specify the sort criteria for Generic.List ?? The way that this is done in C++ STL is to implement operator<(), how is this done in C# and DotNet for Generic.List ??? ...
'OptionalField' could not be found
Nikola Skoric -
23 Dec 2006 3:18 PM - 6 messages
Hello, This is the first time I try to use [OptionalField] thingy. I think I use it in a proper way. But, I have following code: using System; using System.Collections; using System.IO; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters; ...
Is CAB overkill for my Windows app?
Ronald S. Cook -
23 Dec 2006 2:47 PM - 4 messages
I'm reading up on Composite Application UI Block (CAB) and wondering if it is overkill for the enterprise Windows app we plan to build. We simply want a shell app where then each modult that is selected exists within. We could ...
Casting a string to float
Thorsten -
23 Dec 2006 12:52 PM - 6 messages
Hi everyone, I am rather new to C# and have a problem that will probably seem trivial to most of you... but I hope you can still help me nevertheless.. Via the comport, I read the result of a digital scale... the result is sent ...
Windows Service creates a text file but won't let go
stuart.jones -
23 Dec 2006 11:38 AM - 5 messages
Dear all I have a Windows Service that retrieves some data as XML, applies an XSLT to produce a CSV which is saved to the filesystem as a text file. This all works fine. Depending upon the configuration, this file is ...
How to get Array element type?
Michael Bray -
23 Dec 2006 8:22 AM - 8 messages
Let's say I am using reflection to analyze my classes, and I have an array of another class. How do I get the base class that forms the array from a type? public class A { } A[] MyArray = new A[]; ...
mobile agent using c#.net
yannli -
23 Dec 2006 7:45 AM - 2 messages
Hi to all, I have a problem in writing code using C#.NET2.0 on mobile agent. Below is some of my question: 1) How could i execute the server on one computer and the client on another computer if there are multiple computers available on a network ...
Trick to installing .net 2.0?
Daniel -
23 Dec 2006 5:32 AM - 9 messages
Hi My software requires .net 2.0, as always good old MS STILL hasn't put this on the essential download so it doesn't go through with an automatic update. Cleary they have a lot of faith in their own work! ...
Hex formatting in a string?
xlar54 -
23 Dec 2006 4:11 AM - 3 messages
Hey folks, how can I format a hex string to display as such: instead of: 10 130 I want the leading values for a full 16 bit address as in: 0010 0130 etc. Convert.ToString(16, 16) just gives me "10", when I really want "0010". ...
Serialize a generic collection of interfaces?
Steven Nagy -
23 Dec 2006 3:27 AM - 4 messages
XML serialising this class: [Serializable] public class Table { public List<IAction> Actions; public List<Column> Columns; ...
what does reuse thread meaning -- call thread.Start() again to execute same threadStart again?
Ryan Liu -
23 Dec 2006 1:18 AM - 3 messages
How a thread is reused in thread pool? Change the context and call theThread.Run() again, and it executes same threadStart? Thanks! Ryan ...
read text file into array
mhodkin@comcast.net -
23 Dec 2006 1:06 AM - 2 messages
What is the best way to fill an array (or other container) with values from a text file containing numbers in a simple column, especially when one doesn't know how many values the text file list contains? ...
Generate ordered list of alphanumeric strings of length 4 in c#
dohyohdohyoh -
22 Dec 2006 11:39 PM - 4 messages
I have a programming question to generate an ordered list of alphanumeric strings of length 4. two alphabets rest numberst, etc. EG 0000-9999 then A000-Z999 then AA00 to ZZ99 then AAA0 - ZZZ9 then AAAA - ZZZZ ...
How to remove quotes, commas, from numbers (considered as strings)?
sherifffruitfly -
22 Dec 2006 10:26 PM - 5 messages
Hi all, I've got a csv file for numeric data, some of which are greater than 10^3. Some bright fellow trying to br helpful put US-standard commas in these numbers, and to maintain the correct cell-index put quotation ...
Help with OO Model
Marc De Schrijver -
22 Dec 2006 9:19 PM - 10 messages
I'm designing an OO Model for a large application, and I have some question on how to model a particular situation; it's not directly related to C# but rather to general OO. The applicaiton will be developed in C# 2.0 though, ...
What is the significance of 0x200 here?
Buster Coder -
22 Dec 2006 8:52 PM - 3 messages
Hello, Just a simple (newbie?) question: What does the 0x200 mean in this snippet: rsObj.Open("Customers",connstr,ADODB.CursorTypeEnum.adOpenForwardOnly,ADODB.LockTypeEnum.adLockReadOnly,0x200); I've seen other examples where instead of 0x200 there is a 0 or 1. ...
right click in c#
DBC User -
22 Dec 2006 5:45 PM - 3 messages
Hi All, I have a data grid and I created a context menu for the data grid and is working fine. The context menu is sensitive to the current selected row. I would like to know., when a user RIGHT click on a particular row, I ...
How do I access the IIS Metabase in a remote computer?
Joao Delinger de Souza -
22 Dec 2006 4:25 PM - 2 messages
Hi all, My problem here is that I am trying to execute the same code below but in a remote computer: System.DirectoryServices.DirectoryEntry IIS = new System.DirectoryServices.DirectoryEntry("IIS://localhost/w3svc/1/root"); // retrieve the list of currently denied IPs ...
Displaying a string
kw_uh97 -
22 Dec 2006 4:08 PM - 4 messages
Hello All I think this is a fairly simple task but I am kinda new to C#. I would like to display a string of characters as a different string of characters. For instance I have a page that displays the where clause of a query. I would ...
can not access some share folders
staffonline@gmail.com -
22 Dec 2006 4:01 PM - 3 messages
Hi Friends, I recently can not access some share folder on a file server. the share folders have special permissions (only some domain groups allowed, i was a member of that group). but i could access for some public folders (on the same server which ...
check a user password
webrod -
22 Dec 2006 1:53 PM - 10 messages
Hi all, how can I check a user/password in a LDAP ? I don't want to connect with this user, I would like to connect to LDAP with a ADMIN_LOG/ADMIN_PWD, then do a query to find the user and check ...
Memory Limit for Visual Studio 2005???
Peter Olcott -
22 Dec 2006 1:05 PM - 82 messages
It looks like System::Collections::Generic.List throws and OUT_OF_MEMORY exception whenever memory allocated exceeds 256 MB. I have 1024 MB on my system so I am not even out of physical RAM, much less virtual memory. Are other people experiencing this same problem? ...
Generating class object programmatically
Raj -
22 Dec 2006 12:14 PM - 3 messages
How to progrommatically ...generating class object and how to send the class name in a property value ...
update available of "IMPROVING .NET APPLICATION PERFORMANCE AND SCALABILITY"
mjheitland -
22 Dec 2006 12:13 PM - 2 messages
Hello, does anyone know if an update is available (or at least planned) for the much cited standard reference IMPROVING .NET APPLICATION PERFORMANCE AND SCALABILITY? link: [link] ...
Converting RAW data to MetaFile
Laurent Navarro -
22 Dec 2006 11:43 AM - 3 messages
Hello, I am using a library which returns a byte[] containing RAW data, ie all pixels' color values coded in a byte array without header. I would like to save those data into a JPEG file so I tried to use the MetaFile class. ...
creating new instance though reflection
bowser -
22 Dec 2006 10:17 AM - 5 messages
Hello, I'm new to C# but so far I didn't find big problems, except for Reflection. I coudn't find any good material in internet where to study it. If anyone knows about some documents, blogs or stuff, please let me ...
Flicker free form
bbembi_de -
22 Dec 2006 10:11 AM - 3 messages
Hello, I have an application with some pictureboxes and panels in the main form. If I drag something over it, it flickers. Do I have to deal with this in every control visible in my main form? Or can I just tell the main form somehow: don't do that!? ...
Please advise on which MS Certification
garyusenet -
22 Dec 2006 10:01 AM - 7 messages
Hi as most will know I have been benefiting from your vast experience for about a month or so now, and have decided to try to learn C# programming more academically and structured and study towards a qualification. I would like to know which qualification you think best suited please. ...
Compare inteface Type with each other
Niklas -
22 Dec 2006 9:56 AM - 6 messages
Hi Look at the TODO in the code. The commented code do not work, but the code below the commented one does. How do I do to compare Types? foreach (Type typeInAssembly in typesInAssemply) { // typeLoadException.Types can generate null values. ...
How can I highlight the item under the mouse in a dragdrop target?
james -
22 Dec 2006 9:45 AM - 3 messages
Hello I'm implementing drag and drop between two listviews (in detail view mode). When I drag an item from box a to box b, I then process information relating to the two items. The item from box a does not need to be added into box b. ...
presorted list that allowes duplicates
bonk -
22 Dec 2006 8:14 AM - 9 messages
Ist there a collection that holds its data sorted (i.e. inserts items sorted) AND allows to have duplicate values (by wich is sorted) ? I would like to store elements in that collection wich should be sorted by its Property "CreationTime" of type DateTime, where two or more ...
problems about remoting singleton
fairyvoice -
22 Dec 2006 8:09 AM - 4 messages
we know that if the type is registered as singleton in the host side, then all the remoting clients share one object, like: host: ===== TcpServerChannel chn = new TcpServerChannel(9999); ChannelServices.RegisterChannel(chn,true); ...
changing the behaviour of setting the DataSource property
progressdll -
22 Dec 2006 7:00 AM - 2 messages
I'm trying to change the behaviour of setting the DataSource property of combobox. Here is the behaviour I now see. Setting the DataSource property of combobox to an ArrayList will visual display the first value in the Text field of the combobox. ( or setting the ...
Using an ActiveX control without a container
abhimanyu -
22 Dec 2006 5:56 AM - 3 messages
Hi, I am building a project using C# in VS2005. I need to use a COM ActiveX control in my project but I do not have a Form on which I want to place this control. I only want to create an ...
Getting Visual Studio 2005 Express to trust my network?
Peter Olcott -
22 Dec 2006 5:40 AM - 2 messages
Does anyone know how to get visual studio 2005 express to trust my network? ...
DateTime Problem
Jake K -
22 Dec 2006 4:34 AM - 7 messages
string var = DateTime.Today.Month.ToString() + "-" + DateTime.Today.Day.ToString() + "-" + DateTime.Today.Year.ToString() + "-" + DateTime.Today.Hour.ToString() + "-" + DateTime.Today.Minute.ToString() + "-" + DateTime.Today.Second.ToString(); MessageBox.Show(var); returns 12-21-2006-0-0-0 Why would the hours, minute and second not appear correctly? ...
Storing Application Data between executions
Greg Larsen -
22 Dec 2006 2:01 AM - 3 messages
I am writing an application where I need to store some data between application executions. I wonder where might be the best place. The application basically needs to store different objects, where each object contains one or more sub objects. Where should I store this data, and how ...
my first .net 3.0 question
Pete -
21 Dec 2006 11:40 PM - 3 messages
Sorry if this isn't the place to ask, but I can't locate a more specific NG to post this in. I grabbed the SDK and Visual Studio 2005 add-ins for .net 3.0 and decided to take a look at it. First thing I've noticed is the behaivior of the ...
Adding attribute to System types
astruyk@gmail.com -
21 Dec 2006 10:49 PM - 4 messages
Is there a way to add an Attribute to an existing type? Like say I wanted to add a [MyCustomAttribute] to the List<int> type, how would I go about doing that? Also is there any way to attach Attributes to types at runtime? ...
Create xls file using com
Eran.Yasso -
21 Dec 2006 10:48 PM - 2 messages
Hi, Can anyone please tell me how can i create xls file? i then need to write to it. I am creating the file using File.Create(file.xls); but ican't acces the file. i gt error that the file is read only. ...
net 2.0 IL assembler instructions online?
ray well -
21 Dec 2006 10:29 PM - 3 messages
is there some online place where the net 2.0 IL assembler instructions can be found online? thanks ray ...
System.Net.Mail.SmtpClient.Send() Error: An invalid character was found in the mail header.
clevrmnkey -
21 Dec 2006 9:56 PM - 4 messages
I've had nothing but trouble from the System.Net.Mail objects, but I finally need to make them work, and I can't for the life of me see what I'm doing wrong. I pared back my mail transaction to the bare minimum: ...
What to do while waiting worker threads to finish their job...
Ing. Davide Piras -
21 Dec 2006 9:51 PM - 4 messages
Hi there, in my c# .NET 2.0 application I run few threads (from 6 to 12 it depends...) and then my GUI Thread should wait all of them have finished their task... so after create those threads i put them in a List<>, I start them one by ...
How to set control focus
Tee -
21 Dec 2006 8:07 PM - 2 messages
Hi, In my C# application i have a treeview control and listview control, the treeview is on the left side of the from and the listview is on the right. When i click on an item in treeview i got code to force the listview to ...
Stepping through a vb class or method
JPS -
21 Dec 2006 8:05 PM - 6 messages
Does anyone know how to add a VB class to a C# project and then instantiate the Vb object and step through the code? Can we do tihs with a VB DLL? ...
Error importing key - object already exists.
Alun Jones -
21 Dec 2006 7:06 PM - 3 messages
I'm getting the above error in a dialog box from Visual Studio 2005 when trying to sign an assembly using a PFX file, and would like to know how to resolve the problem. Background: The PFX file has been used for code-signing before (to sign an InfoPath ...
Decoding MIME encoded email subject
b. dougherty -
21 Dec 2006 7:05 PM - 5 messages
Greetings all- I am trying to extract subject headers from emails that have been saved as text files. The subject headers are in MIME UTF-8 format, and so they appear like this: subject: =?utf-8?B?QVVUTyBQRU9QTEUgLS0gTWFuaGVpbeKAmXMgSmVmZiBCdW5jaCBpbiBIaWdoYmVhbXM7IExlZ2VuZGFyeSBSZWQgTWNDb21iczsgV2hv4oCZcyBTaGlmdGluZyBHZWFycz87IE1vcmU=?= What class can I use to decode the subject text? ...
SOAP Authorization
Markus Mayer -
21 Dec 2006 6:38 PM - 4 messages
Hey there. I recently stumbled upon the "Projekt Deutscher Wortschatz" (project german vocabulary) of the Leipzig Univesity, Germany, which is somewhat similar to Princeton's WordNet project. The Leipzig University provides a SOAP-based web interface that is briefly described here > ...
Request
Larry Smith -
21 Dec 2006 5:11 PM - 6 messages
Hi there, Sorry if this is inappropriate for this NG but I'm looking for samples of form-based ".resx" files that were created in a non-English version of Visual Studio 2005 (or 2003 if necessary). If anyone has access to this ...
byte[] to enter key
Dan Holmes -
21 Dec 2006 4:38 PM - 9 messages
I am receiving data from the stream of a socket. I am trying to determine if the user pressed the Enter key. The buffer has 2 non-zero bytes when the user presses enter: 13 and 10. If i convert that to ASCII i get \r\n. I would like to have a value i ...
Macro to check form properties in multiple projects in a solution
sippyuconn -
21 Dec 2006 4:36 PM - 3 messages
Hi I was wondering if this is possible. I want to write a macro to so thru all the projects in a solution and verify a property in all the forms?? One example would be do all forms have form.Localizable=true if not can it ...
Issue with using DOS commands in C#
Ravichandra -
21 Dec 2006 4:23 PM - 4 messages
I am using following code string src = "C:\Source"; string dest = "C:\Destination"; copyCmdStr = "XCOPY "+ src + " "+ dest; ProcessStartInfo processInfo = new ProcessStartInfo("CMD.Exe"); processInfo.Arguments = copyCmdStr; processInfo.UseShellExecute = false; processInfo.CreateNoWindow = true; Process.Start(processInfo); Nothing happens when this code is executed. Please help ...
XML over GPRS - Is this a good idea?????
iKiLL -
21 Dec 2006 3:30 PM - 6 messages
Hi All I was hoping some one could give me some guidance on the matter of sending data over GPRS. I have taken over an application written for Windows mobile 5.0 with VS2005. It is currently communicating with a web service via GPRS. ...
Best way to structure UI for Win app?
Ronald S. Cook -
21 Dec 2006 3:30 PM - 5 messages
We're about to design am enterprise Windows app. Since it will have lots of modules, we're thinking about a listbar (like Outlook) on the left with menu bar across the top, and status bar at the bottom. Each "module" would then ...
Change initial form displayed. From form1 to form2
garyusenet -
21 Dec 2006 2:35 PM - 3 messages
I have a windows form project which originally contained one form, the standard form. Form1. I've added another form now, form2 which i'm experimenting with. I'd like to display form2 when i run the application instead of form1. ...
Error: The type or namespace name 'NLog' could not be found
Atul Thombre -
21 Dec 2006 2:14 PM - 4 messages
Hello, I am developing an application in C# using VS2003 for mobile device. This application is using .Net compact framework. I have added a reference to a third party library I am using for logging messages [NLog]. I am getting a strange error with that ...
Hi I want to Add to an existing xmLDocument an Element . How?
ShayHk -
21 Dec 2006 2:12 PM - 4 messages
I have An XMLDocument and I want to add a new Element. I want that the element will be shaped like this : <event> <X>1</X> <Y>2</Y> </event> ...
call program windows in my application like a child
Sheikko -
21 Dec 2006 1:57 PM - 8 messages
Hi all, i have an application and i wan to call another program into it, like notepad, so when i minimize the notepad, or maximize, it must rest in my application. thank you ...
Visual Studio® 2005 SP1
Franky -
21 Dec 2006 1:56 PM - 4 messages
Because of its size I need to go someplace, download SP1, copy it to a CD and bring it to my machine. In the MS instruction it says the following: A copy of one of the supported Visual Studio® 2005 products must be ...
Application events
Valentin Kotelnitski -
21 Dec 2006 1:17 PM - 2 messages
Hello! I have got an application (some part of which is written by me). There is a control on which events are blocked (not processed) (do not work OnPaint, OnMouseDown, OnMouseOver and other event raising functions). I have to unblock OnPaint method or to call it somehow to draw the control ...
HttpWebRequest: black hole
quilkin -
21 Dec 2006 1:16 PM - 7 messages
On one of our customer's installations the web response never returns: Trace.WriteLine("HTTP getting response"); HttpWResp = (HttpWebResponse)HttpWReq.GetResponse(); Trace.WriteLine("HTTP got response"); i.e. the second trace never gets output, the thread just disappears into a ...
I was searching around for a free C# profiler.
YingPeng.Zhang@gmail.com -
21 Dec 2006 12:48 PM - 9 messages
I was searching around for a free C# profiler. I was wondering if anybody had any recommendations for a good Profiler for C#. Thanks~~ ...
Best way to implement crypting system
adi -
21 Dec 2006 12:08 PM - 3 messages
Hi, I'm developing a webservice and a client application to consume it's services using v1.1 of the framework. I wonder what's the best way to crypt the communication between the webservice and the client. The webservice is a dedicated one, only ...
Screen Scrolling with Keyboard, cut, copy and past
iKiLL -
21 Dec 2006 10:39 AM - 6 messages
Hi All I am new to Windows Mobile Development and I was hoping to get some advice on the best way to handle Screen size and cut copy and past. I am developing with VS2005 for Windows Mobile 5.0 ...
Problem for display several DataTables in a DataGrid
Mikaël_PLOUHINEC -
21 Dec 2006 10:08 AM - 2 messages
Hello, I have a dataset with 2 DataTables : Groups and Persons. I make a relation between this 2 DataTables using one DataColumn in each datatable. Finally I use this dataset in a dataGrid. So I would like to have a display like : ...
Htto listening on framework 1.1
Giulio - from Italy -
21 Dec 2006 9:33 AM - 2 messages
Hi there, I'm husing HttpListener class with a lot of satisfaction, bur one of my customer asked me to build a new version of the same application running on fw1.1. As the HttpListener class has been added in the fw2.0, my question is: ...
[local] method
Chris Carter -
21 Dec 2006 8:56 AM - 3 messages
Hi, I am defining a COM interface in C#. The interface has the following method: [local] HRESULT CopyContentToFileEx( [in] PFIO_CONTEXT pFIOCopy, [in] BOOL fDotStuffed,[in,unique] IMailMsgNotify *pNotify); MSDN says: This method is marked with the [local] IDL attribute. This means ...
TextBox Readonly OnPaint wrong font! Please help!
H-S -
21 Dec 2006 8:48 AM - 5 messages
Please help. This is a real puzzler! Originally posted on microsoft.public.dotnet.framework.windowsforms but no answer found! I have a read-only textBox which shows the results of a selection on another form. When the selection changes from the saved data, I wish ...
Hardware Buttons Pocket PC
Sheikko -
21 Dec 2006 8:47 AM - 3 messages
Hi, I am deveopping an application on the pocket pc and I need to program hardware buttons to toggle between 2 application. Exactly from the code of the first application I open a second application and throught the keys of my device I want to toggle between these two application. I want to ...
BEEP while working
adi -
21 Dec 2006 8:31 AM - 5 messages
Hi My application has many automatic features because it is designed to run without any user interfering. In fact, my app will work on a system without a keyboard or a mouse. Anyway, from time to time, the app will perform some tasks. When ...
Help needed with .NET navigation controls!!!
rinishrk -
21 Dec 2006 7:27 AM - 3 messages
I have an webapplication named Website1 with subfolders Admin and User within it that contain web pages.I am generating a tree view for the website that should allow me to have child nodes that redirect me to a sitemap which looks as follows ...
calling GC
perspolis -
21 Dec 2006 7:23 AM - 7 messages
Hi all I want to know how can I force GC to be callled? thanks in advance ...
dataGrid[ hti.Row, hti.Column ] = ! (bool) dataGrid[ hti.Row, hti.Column ]
Jason Huang -
21 Dec 2006 5:58 AM - 2 messages
Hi, In the code: DataGrid.HitTestInfo hti = dataGrid.HitTest( e.X, e.Y ); dataGrid[ hti.Row, hti.Column ] = ! (bool) dataGrid[ hti.Row, hti.Column ]; Would someone tell me what the line doing: DataGrid.HitTestInfo hti = dataGrid.HitTest( e.X, e.Y ); ...
TableAdapters.Update()
Chris Lim -
21 Dec 2006 4:06 AM - 3 messages
I'm new to VS 2005 (actually .NET in general) and have just been playing with some simple forms to access/update data in a SQL Server database. I have a DataGridView on the form and am currently writing changes back ...
deploying to a folder other than program files
queanbeyan -
21 Dec 2006 2:59 AM - 3 messages
Hi I have found that many of my potential users of my application are not able to write to their program files directory on C:\program files, however they have access to 'My documents'. i have mapped some code to 'c:\documents and ...
this.Opacity = 0; line caused Win32Exception
nhmark64 -
21 Dec 2006 2:56 AM - 2 messages
Hi, Sometimes when I execute this.Opacity = 0; in the Main thread I get the below exception: System.ComponentModel.Win32Exception was unhandled by user code Message="Not enough storage is available to process this command" Source="System.Windows.Forms" ...
app.config deploy
arkgroup -
21 Dec 2006 12:44 AM - 5 messages
I have "MyApp.EXE.config". The file is in my EXE's directory, This directory is my deploy directory and it different then my development directory. I read value and display on the form for testing. Then I change value in config file, restart application and expect new ...
Any function that I can call to get the windows error message when
Pucca -
21 Dec 2006 12:18 AM - 3 messages
Hi, I'm using C# 2003, .net 2.0. I need to translate some error codes from Security Log of the system in my application. For example, I have an Windows error code of 3221225875 (C0000193). Its ...
Event Handlers
Jake K -
20 Dec 2006 10:59 PM - 7 messages
Where is the best place to define event handlers? I need to define event handlers for a COM object referenced in my project and am doing so in the fowm load. Is this the best place? ...
Hashtable in global.asax
ibrahimover -
20 Dec 2006 9:07 PM - 2 messages
Hi all im pretty new to asp.net+ c# i have a method like below static IDictionary hash1 = new Hashtable(500000); public void addToHash() { StreamReader sr = new StreamReader(Server.MapPath("index.txt")); ...
Anyone here use Nant? <solution> tag help
Spam Catcher -
20 Dec 2006 9:07 PM - 2 messages
Hello Everyone, I just started using nant in conjunction with cruisecontrol.net. The <solution> tag has been great in helping us compile VS.NET 2003 projects without need to write a nant build file. My project compiles stuff into a directory like: ...
How Do I Know What Form Is Active When I have multiple non MDI For
Larry -
20 Dec 2006 8:33 PM - 3 messages
I have a control that has access to the parent Form. The control uses the MessagBox.Show method where the owner is passed in. I can pass in the Form.Active or the Parent. Leaving me 1 of 2 problems: ...
Calling a method in one MDI child from another MDI child
Earl -
20 Dec 2006 7:32 PM - 7 messages
I need to call a method on an owned child form, and am wondering if the best way of doing this is to capture the Closing event of the form that passes control back to the form where I have the method. The structure is like so: ...
Trying to use registration-free com, but there's no Isolated property to turn on???
sherifffruitfly -
20 Dec 2006 7:00 PM - 5 messages
Hi, Just like the subject says - I'm deploying to users who (apparently) don't have rights to successfully run regsvr32, so I'm trying to use the tip found here: [link] ...
Supress Warning
randy1200 -
20 Dec 2006 6:55 PM - 4 messages
I'm getting the following warning when I compile my project: Warning 1 Return type of 'GetMyData(System.Data.DataRow)' is not CLS-compliant C:\Documents and Settings\me\My Documents\Visual Studio ...
XML question
moonstonelane -
20 Dec 2006 6:34 PM - 4 messages
Hi all, I just picked up XML and trying to figure out on CSharp. Would like some pointers here. E.g of my XML file <configfile avi-in-btw="1" gif-in-btw="1"> <keyframecount num="2"> ...
Form Naming Convention
Smithers -
20 Dec 2006 6:13 PM - 36 messages
Is it common practise to begin the name of form classes with "frm" (e.g., frmOneForm, frmAnotherForm). Or is that generally considered an outdated convention? If not "frm" what is a common or recommended practise? Thanks. ...
Get Base / Root URL
A_StClaire_ -
20 Dec 2006 5:32 PM - 3 messages
hi, dumb question. is there a .NET function that gets me the string "[link]"? thx ...
how to start a Process so that it doesn't appear on the taskbar
garyusenet -
20 Dec 2006 4:47 PM - 6 messages
I have started a process app.exe and it launches fine. I am able to position it around the screen without too much problem. I'm trying to hide this process from the desktop. If i minimize it, as you would expect it appears on the taskbar. How do ...
Overrided OnPaint method of Control class not run
Joachim -
20 Dec 2006 4:18 PM - 3 messages
I have overridden the OnPaint method of the Control class in my Control inherites class, but it never gets run. Shouldn't it be run automatically when I run my application and my class to show the control? ...
Debug.WriteLine() creating thousands of <guid>.log files on system drive
sklett -
20 Dec 2006 3:51 PM - 2 messages
I just noticed the other day that I had almost 100k *.log files in the root of my system drive. They all had a guid for a filename and were all 0 bytes in size. I narrowed the problem down to one of my applications and even ...
Amazing!!! ListViewItemCollection interfaces
Aleksey -
20 Dec 2006 3:41 PM - 5 messages
Hi, guys! I'm trying to write collection and in example to do this I observed ListViewItemCollection public methods and properties. I was impressed when I find that the methods definitions in ListViewItemCollection different from methods in interfaces it implements!!! ...
Double to String mask
John Sitka -
20 Dec 2006 3:07 PM - 4 messages
32.0 transformed to 000000320000000000 I guess the above would be equivalent to an numeric(18,10) datatype the first 8 digits represent the whole part of the double the last 10 represent the decimal part 32.50 transformed to 000000325000000000 ...
System.Windows.Forms.TreeView Selecting Nodes selected
Marcelo Muzilli -
20 Dec 2006 2:51 PM - 2 messages
Howdy all, I´d like to know how can I get in a ArrayList (for example) all the selected nodes from my TreeView object. I´m trying to use the following code and is not working. Why? Do you have a good example? ...
|
|||||||||||||||||||||||