Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / July 2008

Tip: Looking for answers? Try searching our database.

ThreadLast Post  Replies
How to handle int and float in one class04 Jul 2008 08:31 GMT6
I'd like to implement a generic class that takes as its Type-parameter
a numeric type (e.g. (U)Int16/32/64, float, double, decimal, etc.).
The problem is that, having validated the Type-parameter, I cannot do
any arithmetic operations (+, -, *, /) on variables of that type.
Installing the exe assembly on each and every computer just isn't an option!04 Jul 2008 08:20 GMT1
I think I'm going nuts! I have a perfectly fine exe assembly built with
Microsoft Visual C# 2008 Express Edition. When executed from my local hard
drive it runs as exactly as expected. However, when trying to launch it from
a network drive it just won't run. One suggestion I saw ...
general windows services question04 Jul 2008 06:26 GMT1
When you hit the OnStart() method, the windows service manager waits
30 seconds for that method to return.
What happens when that method doesn't return, besides receiving the
message "The service did not report an error"?  Would the manager
How create certificate in VS2008?04 Jul 2008 05:11 GMT1
I'm so annoyed in Visual Studio when I go to publish a Win app, the dang
"Sign the ClickOnce manifest" checkbox is always checked (I uncheck it each
time before I publish).
I heard that in VS2008 there is an easier way to create some sort of custom
How to parse a string to datetime without a time04 Jul 2008 04:43 GMT14
I have a string with this value 07/11/2008. As you see no time included.
How can I parse this string to a datetime variable? I tried to do this but I
get the exception that the format is incorrect.
Any ideas?
how to remove line breaks/an enter in a string04 Jul 2008 04:14 GMT4
How can I remove a line break/enter from a piece of text.
Thx in advance
WPF: Change color in a style's gradient using c#04 Jul 2008 01:59 GMT5
I have a custom control where users can set the backcolor of one of it's UI
elements via a DP I created.  One of the colors they can pick is a brush
called CustomGradient where I would set the DP to this brush.  Then from a
color picker I would let them pick a solid color brush ...
scroll a textbox so bottom-most line always shows04 Jul 2008 00:34 GMT2
I add lines to my textbox (WPF) showing the progress of processes.  I'd like
the visible part to scroll so that the most recent line is always visible.
The following does not scroll, but it does refresh.  Any ideas?
       private void onProgress(string msg)
Create Flaggable Enum From Checkbox List03 Jul 2008 23:28 GMT2
I have an enum for the days of the week: DaysOfTheWeek.Sunday,
DaysOfTheWeek.Monday, etc. that is flaggable so that mutliple days of
the week can be indicated.
I also have a checkbox list representing the days of the week.  How
Linq. Where versus On03 Jul 2008 22:52 GMT1
What is the difference between using:
from a in A
join b in B on a.Name equals b.Name
select a;
ignoring <!DOCTYPE03 Jul 2008 22:18 GMT1
I am trying to ignore the <!DOCTYPE ...> element when I Read() an xml
file with my XmlReader.  Setting "ProhibitDtd" to true makes Read()
generate an error. Catching the error does not help because it makes
further Read()s fail and return false. Setting "ProhibitDtd" to false
Clipboard.GetDataObject();03 Jul 2008 21:27 GMT5
No matter what I have in clipboard Clipboard.GetDataObject(); returns null.
I suspect it might be a problem with Vista or VS2008 IDE debug mode problem?
Is there any way to track why the following statement is always null?
IDataObject iData = Clipboard.GetDataObject();
recognize this handle leak?03 Jul 2008 21:13 GMT1
My C# app (using managed DirectInput) leaks handles like mad on one of
my test boxes. (The other test boxes are fine.) The handle being
leaked (as reported by the SysInternals Handle program) is
HKLM\SYSTEM\ControlSet001\Control\MediaProperties\PrivateProperties
Using resource file in c#03 Jul 2008 19:38 GMT2
I have a XML file in VS2008 WPF application for which I have specified
the build action as Resource. Now I want to access that file in my c#
code also. Can anyone please help? I do not want to use embedded
resource as then I am not able to use the xml file data to populate
Color comparer mystery03 Jul 2008 18:30 GMT2
The following code gets colors and sorts them.  When calling
GetColorsSorted() it uses the ColorComparer to compare each color.
In VS2008 on XP when running with the "Debug" build the compare has a
different number of iterations to when running under a "Release" build.  I
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.