|
More site info...
Visual C# General | Forum profile
|
|
Forum profile page for Visual C# General on http://msdn.microsoft.com.
This report page is the aggregated overview from a single forum: Visual C# General, located on the Message Board at http://msdn.microsoft.com.
This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period.
Additional forum profile information for "Visual C# General" on the Message Board at http://msdn.microsoft.com is also shown in the following ways:
1) Latest Active Threads
2) Hot Threads for Last Week
Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.
|
|
|
|
|
Posting activity on Visual C# General:
|
|
Week
|
Month
|
3 Months
|
|
Threads:
|
830
|
1,628
|
2,497
|
|
Post:
|
2,000
|
3,957
|
6,620
|
|
|
Visual C# General Posting activity graph:
|
Top authors during last week:
user's latest post:
I'ved got to bind the data...
Published (2009-11-27 23:16:00)
Hi, Update method may take some time to execute, Is there a specific reason you call it?
user's latest post:
C# Syntax Coloring
Published (2009-11-25 18:02:00)
Yes, your regex is oversimplified. The rules I explained above along with syntax of C# will allow one to easily reproduce the issue you describe.
user's latest post:
Storing large integers in C#
Published (2009-11-26 11:14:00)
hi Tamer, i think BigInt is available After framework 3.0... he wants it in VS2005 itself... let me know if u have any solution for this...
user's latest post:
Comparing images that have been...
Published (2009-11-27 07:55:00)
We are changing the issue type to “General Discussion” because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question” by opening the Options list at the top of the post window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer...
user's latest post:
Attempted to read or write...
Published (2009-11-27 11:29:00)
Hello Jigs, I suggest you debug the project and find out where the exception occurs: 1. press F5 to debug, when the exception occurs, open the Call Stack window (Where we could get the current call stack) 2. set a breakpoint at the begining of the method (which was got from Call Stack window) 3. Get the breakpoint hit and then Step through the code (press F10) If needed, please enable unmanaged debugging (Property page -> Debug...
user's latest post:
Test string for \n or \t
Published (2009-11-25 20:38:00)
There are a number of ways, including Regex. I think calling the instance method is easiest. public bool Contains(string value) Member of System.String Summary: Returns a value indicating whether the specified System.String object occurs within this string. Parameters: value: The System.String object to seek. Return Values: true if the value parameter occurs within this string, or if value is the empty string ("");...
user's latest post:
Desktop shortcut
Published (2009-11-27 17:07:00)
How to create a shortcut on the user`s desktop, while application is being installed? What do I need to do in the Setup Project? This is what I did, but there is no Icon on the desktop:
A.m.a.L - aditi.com - Think Product
32
user's latest post:
innerhtml has limit?
Published (2009-11-27 12:02:00)
Hello, Vitlb I think you question should be Changed to "the URL has limited to 4096bit". When you assign the string to the InnerHtml, instead of adding directly, it will parse the html structure first. The URL in IE has limited to 2083 bytes, so when reading the URL, it read 4096 bytes once, and no need to read it again. I have do a test, I read all the content(The <div> </div>which contains...
user's latest post:
How do I Late Bind Reference DLL
Published (2009-11-27 17:57:00)
Since you created the class which implements the interface, you don't need to enumerate the types. Use Assembly.GetType(typename) where typename is the name of the class you created in step 4.
|
|
|
|
Latest active threads on Visual C# General::
Started 1 day, 8 hours ago (2009-11-28 07:58:00)
by JohnWein
If the MessageBox shows when you paste this code in your method and run your project, your problem is not a cpu target problem.
if (!System.IO.File.Exists( @"C:\Windows\System32\qwinsta.exe" ))
MessageBox.Show( "File is not in System32 directory." );
Started 1 day, 4 hours ago (2009-11-28 12:23:00)
by Tamer Oz
System.Drawing.Image represents the image you are looking for.
Started 1 day, 4 hours ago (2009-11-28 12:44:00)
by Soniq2
I guess that there is no functionality in C# that supports TFTP (Trivial File Transfer Protocol) then?
Thanks
-Mike
Started 1 day, 5 hours ago (2009-11-28 11:48:00)
by Tamer Oz
Hi, Could you try this code.
dao.Database db = new dao.DBEngine().OpenDatabase( @"C:\Northwind.mdb" , null , null , null );
dao.TableDef td = db.TableDefs[ "Customers" ];
foreach (dao.Index idx in td.Indexes)
{
if (idx.Primary)
{
dao.IndexFields fields = ((dao...
Started 1 day, 5 hours ago (2009-11-28 11:12:00)
by Tamer Oz
Hi, I think your columns type is image, you can use the following code.
MemoryStream ms = new MemoryStream();
((Image)dr[ "Image" ]).Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg);
byte [] arr= null ;
ms.Read(arr, 0, ( int )ms.Length);
Marked As Answer by code_warrior 54 minutes ago
Started 1 day, 5 hours ago (2009-11-28 11:23:00)
by Tamer Oz
Hi, Hope this is what you are looking for.
private void frmMain_Paint( object sender, PaintEventArgs e)
{
int blockHeight=10;
int topWidth=20;
int bottomWidth=210;
int middle= this .Width/2;
int pyramidTop=30;
int blockCount=10;
int diff=(bottomWidth-topWidth)/10...
Started 1 day, 9 hours ago (2009-11-28 07:25:00)
by Ramesh Swaminathan
To save an image to a SQL database using Linq, you need to convert it (image) to a byte array, see below.
// This method uses the System.Drawing.Image.Save method to save the image
// to a memorystream. The memory stream can then be used to return a byte
// array using the ToArray() method in the MemoryStream class.
public byte[] ConvertImageToByteArray(System...
Started 5 days, 16 hours ago (2009-11-24 00:24:00)
by Stephen Cleary
Throwing exceptions from EndSend/EndReceive is a perfectly normal way for the Socket to let you know that the connection was lost. If any socket method throws an exception, the only possible response is to close the socket. Don't shutdown the socket unless there's some reason you need to know when the shutdown handshake has completed. Just close the socket, and it will perform a shutdown itself...
Started 2 days ago (2009-11-27 16:15:00)
by Tamer Oz
Hi, Hope this helps.
Color cc = Color.FromArgb(255, 5, 5);
richTextBox1.SelectAll();
richTextBox1.SelectionColor = cc;
Started 3 days, 13 hours ago (2009-11-26 03:39:00)
by Ravenet
Hi You can do in another way, just create your property as virual then override in your child
using
System;
using
System . Collections . Generic;
using
System . Text;
using
System . ComponentModel;
namespace
ClassLibrary1
...
|
|
Hot threads for last week on Visual C# General::
Started 5 days, 8 hours ago (2009-11-24 08:37:00)
by helloise
how can i force my app to write duplicates to my db??? can this programatically be done???? is there a way to catch that specific error and just force a write to the db? Edited by helloise Tuesday, November 24, 2009 8:42 AM more info
Started 4 days, 23 hours ago (2009-11-24 17:34:00)
by ScottyDoesKnow
Every file is created by processes. That may be the windows explorer process when a user right clicks to creates a new text file, or the microsoft word process when the user saves a document. You can filter by directory and filter by extension, I really don't see any way to filter based on what process created the file. And even if you could, you'd have to know which processes you want to watch...
Started 6 days, 2 hours ago (2009-11-23 14:23:00)
by P.Brian.Mackey
Why are you creating that string? Is it for logging aka something that is directly read by a human? Without the req's its difficult to offer a solution to something so basic, but perhaps XML serialization would be a more appropriate method of persistance than a custom delimited string. XML is easier to read and easier to extract data from with new technologies such as XPath.
Started 1 week, 2 days ago (2009-11-19 19:52:00)
by JediJohn82
Something similar to this would work for you...
String text = @"<msg>
<sometags>
</sometags>
</msg>
some text some text
<msg>
<sometags>
</sometags>
</msg>" ;
Regex....
Started 1 week ago (2009-11-22 14:40:00)
by king-al
Try this: it's been taken from MSDN. You need to call PerformStep() each time the ProgressBar should perform a step.
private void CopyWithProgress( string [] filenames)
{
// Display the ProgressBar control.
pBar1.Visible = true ;
// Set Minimum to 1 to represent the first file being copied.
pBar1.Minimum = 1;...
Started 9 months, 3 weeks ago (2009-02-05 19:37:00)
by AlexBB
Bump. I posted it last night and only 3 people have seen it so far. Craving for attention:) Just kidding. The only thing I want to have is Steve's comment. I am proceeding with Sql Server install. This morning I could not finish it because it gave me an error with Adm Account. The error is almost definitely not related to ImageMaster or the way I use it. So far ImageMaster seems to be working ...
Started 6 days, 22 hours ago (2009-11-22 18:20:00)
by Tamer Oz
Hi, You can use Random class on .net Here is a documentation about it. It also contains good samples. http://msdn.microsoft.com/en-us/library/system.ran dom.aspx
Started 1 week ago (2009-11-22 05:56:00)
by BonnieB
What I think you're asking, is how to make your DataAccess generic enough to handle various back-end databases, correct? And, once you've done that, how to only install the appropriate data provider. For the first question, take a look at the DataAccess series of posts on my blog ... it's a 3-post series, but the final post has links to the other two previous ones: http://geek-goddess-bonnie....
Started 4 days, 6 hours ago (2009-11-25 10:29:00)
by Agalo
I was reading about static constructor in msdn. it states that
A typical use of static constructors is when the class is using a log file and the constructor is used to write entries to this file.
Static constructors are also useful when creating wrapper classes for unmanaged code, when the constructor can call the LoadLibrary method
Can anyone elaborate above 2 ...
Started 5 days, 11 hours ago (2009-11-24 05:10:00)
by Tamer Oz
Hi, You can call g.Clear(SelectionRange.ActiveForm.BackColor) just after the line you create graphics object.
|
|