|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual C# .NETmicrosoft.public.dotnet.languages.csharp
where does AssemblyInfo.cs company information come from?
Zytan -
10 Mar 2007 10:55 PM - 14 messages
The AssemblyInfo.cs file shows company information in two places: [assembly: AssemblyCompany("COMPANY_NAME")] [assembly: AssemblyCopyright("Copyright © COMPANY_NAME 2007")] Where does this come from? How can I change it? Right now COMPANY_NAME is blank, but I noticed that for VB and C# installs on ...
Exception handling suggestions
Zytan -
10 Mar 2007 10:46 PM - 35 messages
Ok something simple like int.Parse(string) can throw these exceptions: ArgumentNullException, FormatException, OverflowException I don't want my program to just crash on an exception, so I must handle all of them. I don't care about which one happened, except to ...
Microsoft C# Solution File Format
Reporter -
10 Mar 2007 6:31 PM - 3 messages
Where can I find documentation on the Microsoft C# Solution File Format? Thank you very much. ...
Keep a TextBox from displaying its caret (cursor)?
Michael A. Covington -
10 Mar 2007 5:08 PM - 10 messages
How do you keep a TextBox from displaying its caret (blinking vertical line, insertion point)? Setting it to ReadOnly doesn't do the job in VS 2005. ...
Paste a texte into the current window
C=E9dric_ELLENA -
10 Mar 2007 5:01 PM - 10 messages
Hi, I need to make a little c# program which copies a text into the clipboard and that pastes this data into the active window. I copy the data like this Clipboard.SetText("mystring"); but i don't know how to paste this data in the active window (notepad, ...
Menu Control (newbie)
Weste -
10 Mar 2007 4:57 PM - 2 messages
I am attempting to create my 1st site with ASP.NET. I started with the Small Business template and am customizing it. The spacing between the menu items on my horizontal menu control are not evenly spaced. I don't know what to do ...
Search a list/array of objects for specified criteria?
Rick -
10 Mar 2007 4:49 PM - 10 messages
I have a large list of objects where each object has a unique (non-overlapping) date range. The list is sorted chronologically. What is the most efficient way to search this list for a single object that spans a specified date? ...
A Set Collection class
Muffin -
10 Mar 2007 4:47 PM - 6 messages
Does C# have a Set Collection class/functions of some sort? I can not seem to find it. A collection that I could extract thing like: Get only unique entries: {1,1,1,2,2,3,4,5,5,5,5,6,6} yields {1,2,3,4,5,6} ...
c# mail question
a -
10 Mar 2007 2:40 PM - 4 messages
i have a problem with sending mail. it works ok only when sender and recipient are in same domain. if they are not it returns exception: Mailbox name not allowed. The server response was: sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) ...
detecting object lock?
Hyun-jik Bae -
10 Mar 2007 2:12 PM - 2 messages
Is there any way knowing if an object is locked, for example, "lock(object) {...}" ? Please reply. Thanks in advance. Hyun-jik Bae ...
Active-X in C#
Zeke -
10 Mar 2007 2:09 PM - 2 messages
I'm new to C# and want to use an ActiveX control which I have created in VB. How do I declare it and call it in a C# windows app? ...
Image
Saravanan -
10 Mar 2007 12:52 PM - 4 messages
How can i reduce the size by using Lead tool before using the image the size was 18kb after using the size has been grewed to 118kb EggHeadCafe.com - .NET Developer Portal of Choice [link] ...
Changing the properties of some controls on a form
Dan Soendergaard -
10 Mar 2007 12:33 PM - 4 messages
I have this code: for (int i = 0; i < this.Controls.Count; i++) { if (this.Controls[i] is ValidationTextBox) ...
convert from vb.net to c#
Monica -
10 Mar 2007 9:03 AM - 3 messages
Dear reader, what's the converted codes to C#? --------------------------------------------------------------------------- Protected Sub Menu1_MenuItemClick(ByVal sender As Object, ByVal e As MenuEventArgs) Handles Menu1.MenuItemClick MultiView1.ActiveViewIndex = Int32.Parse(e.Item.Value) Menu1.Items(0).ImageUrl = "~/Images/HomeDisabled.jpg" ...
SIP development in .NET???
Spam Catcher -
10 Mar 2007 6:06 AM - 3 messages
Hi all, Has anyone here done any SIP development in .NET? Can someone recommend what is the best SIP stack to use? I'm thinking of using Microsoft's Real-Time Client ... but it hasn't been updated since 2004. Is there a better stack to use? ...
OpenSubKey return null though the key exist
Han Qiao -
10 Mar 2007 5:50 AM - 2 messages
Hi, I'm trying to open this key "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications", and "HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache" but it returns me null. Anyone know why is that so? Thanks in advance. ...
Benchmarking C#, what is the most efficient way of running console code?
Wisgary -
10 Mar 2007 5:01 AM - 8 messages
I'm doing some benchmarking tests to compare Microsoft's CLR against Mono's CLR. I could use some suggestions for how to objectively compare the code. To my surprise the few tests I've run so far have had Mono running quite a bit faster than Vanilla .NET on my Windows XP ...
MessageQueue Event for new messages
Dave Booker -
10 Mar 2007 1:54 AM - 2 messages
Is there any way to create an event that notifies when a message is added to a MessageQueue, without resorting to polling the MessageQueue? I.e., suppose we have a MessageQueue with several messages still in queue. My process wants to know when a new message (of any sort) is added to the ...
generic inheriting from strongly-typed Dictionary
John Grandy -
9 Mar 2007 11:12 PM - 2 messages
What is the correct syntax for the following : Public Class EnumList<T> : Dictionary<int, T> { } Or is this even possible ? ...
Object Design Best Practice
Steve -
9 Mar 2007 10:58 PM - 8 messages
I am building an object library for tables in a database. What is the best practice for creating objects like this? For example, say I have the following tables in my database: User: - Id - FirstName - LastName - CompanyId (many-to-one [Users to Company]) ...
return value cannot be ref or out
Zytan -
9 Mar 2007 10:04 PM - 5 messages
It seems I cannot return a reference to a value type as the return value of a method. I will have to use an out parameter instead. Is there another way to do it? Zytan ...
How to convert a byte array to a string in C#
Jo -
9 Mar 2007 8:04 PM - 2 messages
TIA for the help! ...
DeskTopBounds adds a view pixels?
Marcel Brekelmans -
9 Mar 2007 8:00 PM - 3 messages
Hello, I save and restore the position and dimensions of a form using 'this.DeskTopBounds'. However, every time I open the form its Height grows with 19 or so pixels! Is there something I should subtract from the DeskTopBounds Rectangle's Height value? ...
Question on Locking and Deadlocks
Chris Newby -
9 Mar 2007 7:00 PM - 8 messages
I'm trying to undertand some details on the C# "lock" statement. I came across some code during a review and thought I spotted a deadlock scenario, but the programmer said he'd taken it from a reliable source. Does the following code contain a potential deadlock? or are the locks ...
Setting the height of the caption bar
Ruben van Engelenburg -
9 Mar 2007 6:40 PM - 3 messages
Hi all, Is there a way to set the height of the caption bar of a form? I know I can retrieve the height using the SystemInformation class, but I'd like to change it too to make it smaller. The only options I seem to have is ...
button_click
Chris -
9 Mar 2007 6:11 PM - 5 messages
Is this the correct code to have one button execute the code of anothe rbutton? private void printToolStripMenuItem_Click(object sender, EventArgs e) { printToolStripMenuItem.Click += new EventHandler( ...
Regex string extraction - help needed
TheSteph -
9 Mar 2007 6:10 PM - 6 messages
Hi, I'm new to Regex.. Could someone show me how I can extract substring enclosed in [] ? Example : Source String : "hjklhjlhjl [PARAM1] hjhlhjl [PARAM2] jsqdhjldhl" Regex Match: [PARAM1] [PARAM2] I Googeled it, found anything but that kind of extraction. ...
How do I dynamically resize portion of form with WinForms splitter control on it.
JDeats -
9 Mar 2007 6:00 PM - 2 messages
I have a simple WinForm with a WinForms splitter down the middle. I would like to make it so when the user clicks on a button inside the left portion of the screen (the panel to the splitters left) that ...
How do you bypass cells in a "DataGridView"
Michael Torville -
9 Mar 2007 5:13 PM - 5 messages
Does anyone know if it's possible to prevent a user from entering a particular "DataGridView" cell. I simply want to redirect them into the next available cell but nothing I try works. Setting the "CurrentCell" property for instance causes no end of problems. If I call it in a "CellEnter" ...
CLS complaint = Operators should not be overloaded
Zytan -
9 Mar 2007 5:06 PM - 5 messages
[link] Does anyone follow this? I know it's good to not have to deal with unsigned types in the interface, so that's great. But CLS compliance ...
Stop a Windows Control from getting to Small?
iKiLL -
9 Mar 2007 4:33 PM - 6 messages
Hi All i am developing a Windows Mobile User Controll and i need to make sure that it is not sized to small. i am developing in C# with CF2 for Windows Mobile 5. How is this done? i am hoping there is like a Min width and height propertiy. ...
Web Service export enum to consumer
bsma1 -
9 Mar 2007 4:25 PM - 7 messages
I building a web service that has an enum I want the consuming application to be able to use. I have the enum declared in the web service as: public enum myEnum { ONE = 1, TWO = 2, ...
Programming the User-Account_Property using C#
Chris Noble -
9 Mar 2007 4:01 PM - 11 messages
I am not sure that I have picked the right newsgroup for this post. I am writing a program in C# VS 2005 to create user accounts for our students in Active Directory. This is to replace a program I wrote some years ago in VS6 using C++ and ...
How to find a particular program is running or not?
DBC User -
9 Mar 2007 3:52 PM - 3 messages
I have a program which ccan be called multiple times. Each time, it will open a window and the windows title has unique name. I do not have any control over this program. I want to know is there a way to ...
need some help!
rcoco -
9 Mar 2007 3:26 PM - 3 messages
Hi everyone, I'm having trouble with a datagrid that is supposed to insert data. But one row has to insert data in the data base using Radio button. So I created two buttons one of Bad Mood then the other one is Good mood. ...
File Selection Dialog
marathoner -
9 Mar 2007 3:07 PM - 14 messages
How do we invoke the file selection dialog? I would like to do this in C# in ASP.net. I would like to open a file for reading. Marathoner ...
No ItemDataBound event in DataGridView - help!
teddysnips -
9 Mar 2007 3:02 PM - 2 messages
I come from a VB background and I'm on my first C# project. I have a panel with a DataGridView control. When the program is first run, the panel is instantiated with 4,000 empty rows (this is a ...
Crystal Reports: Display data according to session
weird0 -
9 Mar 2007 2:40 PM - 3 messages
I am trying to display a crystal report in .aspx page. I created a dataset for that but i wrote the query: SELECT atm_amount,atm_branch,atm_date,balance FROM ATM_Transactions WHERE user_id=Session["UserId"].ToCharArray() But this query does not work.... ...
Refrencing another project class
JPS -
9 Mar 2007 1:21 PM - 3 messages
When I have two projects open in a solution and I want a class from one to refrence/inherit from the class of another, what is the proper syntax. I know it has to do with the namspaces, but I'm not 100% sure ...
Convert a string?
G -
9 Mar 2007 11:29 AM - 7 messages
Hello, I would like to convert string "I am a fish" into a hex string if easy? Fairly new to .NET and have looked on google etc without much luck. Any help appreciated, Gary. ...
Free Online CSharp 2 Windows Course
auratius -
9 Mar 2007 10:44 AM - 2 messages
[link] C# 2.0 Programming for Windows Applications [Introduction to .Net] Introduction to .NET Overview of the .NET Framework How .NET is Different from Traditional Programming Common Language Runtime (CLR) Common Language Specification (CLS) ...
SQLexpress newbie question
jed -
9 Mar 2007 10:31 AM - 5 messages
I had developed a data app in C#express.When i add records to the database in shows on the screen that it has been added but when i close the app all the records are lost.I created the database in ...
Some ADO.NET Mobile Advice please.
iKiLL -
9 Mar 2007 10:14 AM - 4 messages
Hi all I am building an Windows Mobile 5 forms control in C#, for a Windows Mobile 5 application. I am using CF2.0 and SQL Mobile 2005. The control is a Questions and answer control. Basically I have 3 applications using the same code to dynamically display ...
Resharper: how to roll #region
mamin -
9 Mar 2007 8:37 AM - 3 messages
Is there any shortcut to roll #region in VisualStudio 2005 or in Resharper ? Or maybe there's somewhere an option that causes that after openinig cs file all regions are rolled? ...
How ca I syncronize scrollbar with two richedit scrolls?
Iker Llanos -
9 Mar 2007 8:33 AM - 2 messages
I want to synchronize one scrollbar with the movement of the scrollbar of two richedit. How can I do it? Thanks ...
How To Change or modify Embedded String Resource In An Assembly.
raghu sunkara -
9 Mar 2007 8:32 AM - 4 messages
Hi, How Can i Change or Modify Embedded String Resource In An Assembly. I Need To Modify Embedded String Resource In An Assembly. Please Help Me. Thanks Raghu. ...
Images in datagrid!
rcoco -
9 Mar 2007 7:07 AM - 3 messages
Hi guys, Could some one help me out? I have a datagrid where one Row is for selecting from radiobuttonlist of too, one has to be chosen. When it's chosen it is stored in the database and appears to the datagrid after ...
For Datagrid
payal -
9 Mar 2007 6:59 AM - 3 messages
My web application contain one datagrid and in that four dropdownlist this drpdownlist bounded with the mysql database.so how i can fill this dropdownlist? EggHeadCafe.com - .NET Developer Portal of Choice [link] ...
Display items in a code snippet
Hardy -
9 Mar 2007 6:13 AM - 4 messages
I created a code snippet which is for displaying file name,Line number and function name in C#.NET project. // <File> sf.GetFileName() // </File> // <Line> sf.GetFileLineNumber().ToString() // </Line> // <Function> ...
ISLAM AND TERRORISM
Happy Man -
9 Mar 2007 6:09 AM - 7 messages
ISLAM AND TERRORISM BY DR. ZAKIR NAIK [link] MUSLIMS ARE FUNDAMENTALISTS AND TERRORISTS Question: Why are most of the Muslims fundamentalists and terrorists? Answer: This question is often hurled at Muslims, either directly or ...
2 initializers in 1 constructor
GeezerButler -
9 Mar 2007 5:55 AM - 11 messages
We have 2 classes. Class B derives from A //Has 2 constructors public class A { A() { //do something } A(string name) ...
C# Grammar issues
MBR -
9 Mar 2007 4:09 AM - 11 messages
Hello... I'm using the grammar at: [link] as a reference in creating my own C# parser using a custom framework. ...
ref vs. out: same at runtime, same/different at compiler time?
Zytan -
9 Mar 2007 1:57 AM - 17 messages
MSDN says: "The ref and out keywords are treated differently at run- time, but they are treated the same at compile time. Therefore methods cannot be overloaded if one method takes a ref argument and the other takes an out argument." ...
how to send NULL to database?
Bllich -
9 Mar 2007 1:29 AM - 12 messages
hy, I have int column 'number' in my table that allowes nulls when I instance a dataTable in my winform app. and I want to do table.AddTableRow(string name, int number); I need to send null value for 'number' to my table. I don't know how.. ...
System.IO.File.Exists - what if network path and not C:\
Ronald S. Cook -
9 Mar 2007 12:36 AM - 6 messages
I'm trying to see if a file exists on a server. I have the below code which doesn't seem to work. Must I necessarily have a mapped drive to that the path starts with X:\ or similar? ...
why is sealed and static not possible at the same time?
Zytan -
9 Mar 2007 12:25 AM - 8 messages
I know you cannot have a sealed static class, but why not? Why must static classes be left open to inheritance? This article: [link] recommends to place DLL imports into a sealed class, with a private ...
removing escape character from a C# string
Vinki -
8 Mar 2007 10:55 PM - 5 messages
Hello everyone, I am trying to remove the escape characters from my C# string. This is the string "\"Water lilies.jpg\"". I want to just get "Water lilies.jpg". I tried indexof, that didn't work. ...
remove struct's default constructor?
Zytan -
8 Mar 2007 10:21 PM - 75 messages
I have a struct constructor to initialize all of my private (or public readonly) fields. There still exists the default constructor that sets them all to zero. Is there a way to remove the creation of this implicit default constructor, to force the creation of a struct via my ...
C# equiv of Long Integer
Chris -
8 Mar 2007 10:10 PM - 2 messages
What is C# equivalent for a Long Integer in an access database? ...
DateTime.Now function question!
DBC User -
8 Mar 2007 9:42 PM - 4 messages
Hi, I have a program where I store DateTime.Now in a database table. For some reason in my query the datetime comes up as comma seperated number. Like dateRequest = 39141,2890187037 This is happening only in a computer in Latin America. Any idea why I ...
How to make GUI more beautiful?
fAnSKyer/C# newbie -
8 Mar 2007 9:21 PM - 6 messages
How to make GUI more beautiful? Can any give any hint? Or some examples that downloadeable from internet? I am using C# and visual studio 2005 Thanks ...
Call C/C++ CALLBACK DLL from C# (PInvoke? Wrapper class?)
MyCrystalGift -
8 Mar 2007 8:54 PM - 3 messages
Hi, I have an old C++ GUI Application CPPAPP.exe that calls a C DLL library RULE.DLL through a C++ class wrapper LoadRule.CPP. Now I need to call the C DLL RULE.DLL from C# GUI application CSAPP.exe. I need help to convert LoadRule.CPP to a C++ ...
How to know if SQLExeception is connection problem
Dan Holmes -
8 Mar 2007 8:17 PM - 3 messages
if i have a sqlexception error how can i tell if it was a failure to connect to the db or a problem with the SQL? I want to handle connection failures a different way. dan ...
.NET 2.0 memory usage: 32bit vs 64bit.
Frank Rizzo -
8 Mar 2007 8:08 PM - 18 messages
Hello, I've compiled my app for AnyCPU setting in vs2005. Then I tried the app on both 32-bit Windows 2003 R2 and 64-bit Windows 2003 R2. The memory usage of the application when working on the same data set were ...
BackgroundWorker not really workigng for me
Ishmael -
8 Mar 2007 7:54 PM - 14 messages
Hi, I have a form with a progress bar on it and wanted to use the BackgroundWorker to be able to update the progress. I looked at examples, run some of them, but in debug, when the code gets to the do work method, it ...
Call Another Function
Chris -
8 Mar 2007 7:44 PM - 2 messages
I have this code below for printing a report. How can I execute (cal) this code from a menu button too? // this is a routine for printing out the script.txt file System.IO.StreamReader fileToPrint; ...
DLL Import method
Zytan -
8 Mar 2007 7:17 PM - 5 messages
I have VB code that shows how to import a DLL function. I compiled it. I used .NET Reflector to see the C# code, and it shows this: [DllImport("filename.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] ...
Problems with XPathDocument
C#Schroeder -
8 Mar 2007 7:16 PM - 2 messages
First off I want to thank all that have helped me in the past. I am new to working with XML in .Net. I have another problem right now with my code. Background: I am trying to create a HTML document from some forms from ...
how to deal with a method that returns object array?
Ace -
8 Mar 2007 7:14 PM - 6 messages
hi there, i have a following method which returns array of object. public myresult[] getSearch(string searchterm) { object[] res = ....some external method call return ((myresult[]) (res[0])); } so my question is... how do i consume the above method? can i do the ...
Compiler Error - Seeking help
lumien -
8 Mar 2007 6:57 PM - 4 messages
When using the following code, I get the error "The type "ConsoleApplication1.robot" already contains a definition for 'color"". I also get the error for "height". If anyone could point me to the answer to this issue or documentation describing what I am doing incorrectly I would appreciate it. ...
Need Asynchronous WCF solution which allows for multiple responses
jtbjurstrom -
8 Mar 2007 5:06 PM - 8 messages
Bear with me because we are new to WCF and have been going through documentation and samples trying to absorb as much as possible in a short amount of time. Any suggestions would be much appreciated. We would of course rather start off on the right path instead of learning ...
Retaining column widths in the datagridview (.net 2.0) :-(
Simon Harvey -
8 Mar 2007 4:57 PM - 4 messages
Hi all, Can anyone tell me if there is an easy way to retain per-user column widths for the datagridview in a windows forms application. I know I could do it with a lot of database programming and what not, ...
Dictionary<> to List<>
Andrew Robinson -
8 Mar 2007 4:43 PM - 8 messages
I have a method that needs to return either a Dictionary<k,v> or a List<v> depending on input parameters and options to the method. 1. Is there any way to convert from a dictionary to a list without ...
F5 is running an older version of my project
Titan -
8 Mar 2007 4:03 PM - 4 messages
When I run my project (F5), it runs an older version of my project. However, when I build or rebuild the solution, it builds flawlessly... so shouldn't this overwrite the older version of my project so that F5 runs the newer version? ...
c# and expression blend
a -
8 Mar 2007 4:01 PM - 6 messages
I have made a form in microsoft expression blend as control library. Can somebody please help me how to use that form from expression blend in C# ...
question
a -
8 Mar 2007 4:01 PM - 2 messages
I have made a form in microsoft expression blend as control library. Can somebody please help me how to use that form from expression blend in C# ...
"request for the permission of type"
magyar.laszlo -
8 Mar 2007 3:24 PM - 3 messages
Hi ! I have an activex .net dll in a webpage. This activeX is trying to connect to an LDAP server using System.DirectoryServices. Unfortunatelly it gets always "request for the permission of type" error. If I give full trust at the .net config tool it is working fine. ...
desperate call: referencing specific version Microsoft.Interop.Security.AzRoles assembly
Wiebe Tijsma -
8 Mar 2007 2:06 PM - 8 messages
Hi, I'm running a web application application using the Microsoft.Interop.Security.AzRoles version 1.2.0.0 in the GAC. After an upgrade to Vista, I also have a version 2.0.0.0 in the GAC. I seem to be absolutely unable to make the application load version 1.2. ...
Adding Own Class to WindowsApplication
bg_ie -
8 Mar 2007 1:54 PM - 3 messages
Hi, I wish to write a WindowsApplication which prompts the user to enter a set of values in text boxes. I then what to write these values to an xml file. I have created my own class where these values can be stored ...
CSharp with COM components in 64bit
Yoavo -
8 Mar 2007 1:51 PM - 6 messages
Hi, I have a c# application which uses COM DLLs which were build in 32bit environment. When I tried to run my program in 64 bit computer, the program crashed when trying to create a COM class. can someone please help ? ...
DataGridView
Chris -
8 Mar 2007 1:47 PM - 2 messages
I have a combobox as a column in a datagridview that gets it data from a lookup talbe. How can I osrt the data when you click on tis drop down? ...
Currency Conversion Source
Nissar Ahamed -
8 Mar 2007 1:42 PM - 3 messages
Currency Conversion is a tricky affair. Given the market rates, tt's not the same converting from USD to JPY (116.30) and from EUR to USD (1.3010) due to the conventions used for JPY and EUR. Has anyone got a simple solution that can do the job? I will need the source code if possible. ...
Help With PInvoke and SetupDiEnumDriverInfo/SP_DRVINFO_DATA
Rymfax -
8 Mar 2007 1:04 PM - 8 messages
I would really appreciate it if someone could help me figure out what I'm doing wrong trying to PInvoke SetupDiEnumDriverInfo. All the other PInvokes i've done up to this point work fine. Whenver I PInvoke SetupDiEnumDriverInfo though, I get winerror.h code of 1784L, ...
launch appliction setting on ftp site
Dan -
8 Mar 2007 12:35 PM - 6 messages
Hi I need to be able to launch an appliction that is running on an ftp site. ftp://localhost/someapp.exe I don't won't to download it first, just run it from the ftp location, just like you would if you use a web browser to reach the ftp site and run it ...
How can i use the concept of friend in c#?
p -
8 Mar 2007 11:31 AM - 10 messages
I know the word friend is not supported in c# and its not a very good thing to but i would be thankful if anybody can explain in simple words how can i implement it! ...
Description on my own objects in intellisence
Ariansen Jon Haakon -
8 Mar 2007 9:16 AM - 3 messages
Hi, I see that all objects in the framework sdk has description in intellisence. It would be nice to create descriptions on my own objects that I can see in intellisence. Is that possible?? In advance thanks a lot for your reply. ...
Datagridview cell details with tooltip
Eran.Yasso -
8 Mar 2007 9:02 AM - 5 messages
Hi, I need to display some info attached to a row in Datagridview. I thought to do it in MouseMove event. The problem is that this event is continuously fired which causes the tooltip to flicker. I saw a post of some guy complaining on the same issue (he didn't get ...
Is Islam Really a Religion of Terror?
Happy Man -
8 Mar 2007 7:41 AM - 11 messages
Is Islam Really a Religion of Terror? Every time speculation arises that a terrorist attack has happened, Non-Muslims and Muslims alike suspect the Islamic connection. Of course the disclaimers abound, but a lingering suspicion about Muslims is left in the general views of terrorism, even if other groups are ...
Bind CheckBox to a bool - not a dataset, just a bool
sklett -
8 Mar 2007 2:15 AM - 5 messages
I can't find an example of how to bind a bool to a CheckBox. DataBindings.Add() takes 3 parameters; 1) the name of the bound property 2) the data source 3) the name of the data source property. ...
Problem with tab control event
Mark F. -
8 Mar 2007 12:43 AM - 3 messages
I have two tab controls (four tabpages each) and each tab control is in a splitter panel (horiz orientation). I added a event handlers to handle the selected tab event. The upper tab control works when every tab is selected. ...
Basic C# Training
Jony.Gamez -
7 Mar 2007 11:38 PM - 7 messages
I am looking for : - a basic C# course that covers C# fundamentals. - Then from that a basic webservices course (C#) - and then a basic SQL reporting servicves 2005 course. Now i know that microsoft offer these in their accredetation courses. ...
how does ado.net SqlDataReader.GetString() know which encoding to read the data into a string as? Do
Daniel -
7 Mar 2007 11:12 PM - 2 messages
how does ado.net SqlDataReader.GetString() know which encoding to read the data into a string as? Does sql sever set this at the column data type level, server wide encoding setting, os encoding? ...
Validate xml instance against schema
JoeZ -
7 Mar 2007 11:05 PM - 2 messages
Hi all, I am using XMLValidatingReader to validate an xml instance against the xml schema. Currently the schema has the targetnamespace, but the instance doesn't have a namespace. Can I still use XMLValidatingReader to do the validation, without modifying ...
Question for those familiar with Java ....
temp2 -
7 Mar 2007 9:43 PM - 5 messages
Hello, I've done some Java in the past. I don't remember ever having to worry about updating a control from a thread other than the one that created it. In C# you have to jump throught a bunch of hoops to with Invoke/ ...
Set DEBUG flag at runtime?
Jon Davis -
7 Mar 2007 9:24 PM - 7 messages
In order to gracefully handle exceptions at runtime but cause the debugger to break in the place where the exceptions occur when debugging, I used to write code like this: #if !DEBUG try { #endif ... #if !DEBUG } catch { ...
Array index
Ben -
7 Mar 2007 9:14 PM - 6 messages
I am having a problem with a web service I've created getting an " Index was outside the bounds of the array." when I try to get the value of ET[i].TerritoryName below. I've verified the length of ET is ...
NameSpace attribues
Praveen -
7 Mar 2007 8:57 PM - 3 messages
Loading an xml as below and adding a namespace attribute. XmlDocument DocXml = new XmlDocument(); DocXml.LoadXml("<DA/>"); XmlElement Felem = DocXml.CreateElement("F"); Felem.SetAttribute("ABC", "1"); Felem.SetAttribute("CT:XYZ", "-1"); Felem.SetAttribute("xmlns:CT", "MyNameSpace"); DocXml.DocumentElement.AppendChild(Felem); ...
Error in decimal divide in "?:" operator
JayAchTee -
7 Mar 2007 8:44 PM - 11 messages
I have a web service written in C# Visual Studio 2005 that calculates splits between two or more timekeepers in a transaction. To set this up I have several decimal data type variables from one particular timekeeper: timerRow["diff_time"] = 4.5M ...
Adding menu items to a control's context menu
MCM -
7 Mar 2007 8:31 PM - 3 messages
I'm working on a plotting control. The plotting control will have a context menu with basic commands for "scaling", "zooming", etc. Is there a way that, from the parent form, I can add more commands to the control's context ...
struct ToString() not automatically invoked
Zytan -
7 Mar 2007 8:15 PM - 32 messages
Everything (er, every class) in C# has ToString() which is conveniently automatically invoked when using it in Debug.WriteLine() or in a string concatenation, etc. I made a struct, and I want to make a method to print out its data in a similar format. So, I did ...
|
|||||||||||||||||||||||