Software Development Network Logo
  • Game Technologies
  • Visual C#
  • .NET Development
  • Architecture
  • Windows Vista
  • Visual Studio
  • VS Express Editions
  • Visual J#
  • SQL Server
  • Visual FoxPro
  • Visual Basic
  • Microsoft ISV
  • Smart Device
  • Windows Live
  • Visual C++

Software Development Network >> Visual C#

Visual C#

New Question

Problem with user default database
Using AccessKeys in TabPage.
tlbimp.exe problems
Show website
Reading large .csv file loading is very slow.
BinaryFormatter Incompatability Exception
Line length
How do I add annotations to an existing PDF file?
Does .NET V2.0 Framework work with app built with VS2003?
How do i update the xml file?

Top Answerers

pmpmpm
citykid
codecamel
Yasir Alvi
SMKurup
Santhosh_kumar
StanScott
Ghost Rider
vinson.zeng
Lord Finn
Intel
Only Title

Answer Questions

  • Bob Schmidt how to point to a set of parameters using delegate

    Hello, I wonder if it's possible to point to a set of parameters or values when calling a function with a delegate. I have 2 forms and I pass delegate to call functions from form1. lets say on form2 i have: public delegate bool CallFuncDelegate(); private int generalX, general Y; public bool Call(delegate, int a, int b) { generalX = a; generalY = b; invoke(); } public bool Func1() { int localX = generalX; int localY = generalY; .... } public ...Show All

  • Ram Kinkar Pandey ManagedThreadID doesn't work for interop for SetWindowsHookEx.

    I am converting a VB6 program to be C#. Therefore I was looking up how to hook the application for mouse, key activity and I found this article by Microsoft. http://support.microsoft.com/kb/318804/ In the code it uses AppDomain .GetCurrentThreadId() to set a callback thread for Hooking. It uses interop to the user32.dll. I modified/used the code and it works. However, the compiler insists that I should not use this function (GetCur ...Show All

  • hansondan Old threads!?

    Is there any reason why nobody check and response to threads' posting in depth more than 2 I posted two threads on same problem and in both cases i got a single response (not full / correct / satisfying) then posted my response and then... silence. Nobody looked, checked, responded anymore. If this is the way to post things here i can do it (Copy/Paste still working). 99.99% of the time that I post an issue I don't get an answer.  St ...Show All

  • cyb3rb0y_gr Formatting a string

    hello all, Can u please tell me quivalent of below string in C#.NET strVehiNumber & " " & strVehiLocation & Chr(13) & strVehiTime & Chr(13) &strVehiSpeed & " Kmph" specifically,How to insert chr(13) in my C#.NET string Thanks , Anil Dhiman Well i use this method: chr(13) is \r (or "\r" as it sits in a string) and chr(10) is \n   In C# you ...Show All

  • Yoel Grodentzik How to find registered event handlers?

    Hi, I'm trying to determine if an object has any event handlers registered on it. The reason I need this, is to not let an object to register one single event twice. this .menu.BeforePopup += new CancelEventHandler(menu_BeforePopup); // OK this .menu.BeforePopup += new CancelEventHandler(menu_BeforePopup); // Don't let it happen twice   Any help would be great You can only do that from within the class that provides ...Show All

  • Jan Kelbel How can I call a java .bat program from c# ?

    Hello, I am trying to start a java .bat program from my c# code. I tried the following : Process process = new Process(); process.StartInfo.UseShellExecute = false ; process.StartInfo.RedirectStandardOutput = true ; process.StartInfo.RedirectStandardError = true ; process.StartInfo.CreateNoWindow = true ; process.StartInfo.FileName = "java"; process.StartInfo.Arguments = " -classpath .;placelab.jar; rssiTest"; process.StartInfo. ...Show All

  • VarunD proxy problem

    Hi all, VS 2003, windows application that uses Internet. I create an application to merge pdf files downloaded from Internet (which give me one file for one page). I'm behind a proxy server. The problem is: when i request a file, the web site creates a temporary file with the page (xxxx.pdf, where pdf are numbers). So these files are also on proxy server and sometimes i have some error because (i think) the page is got from proxy server ...Show All

  • Armin_ Windows media image wrapper

    Hi all, I want to create an application for converting still image to mpeg2 movie. i have readed windows media image sdk documentation, but i have some problem on wrapping the COM to managed code. (currently i use c#). Some one can help ...Show All

  • Charl Font Properties

    I was wondering if the size of a font is measured in pixels Hi, By default, control's Font Size is measured in points. Font has a Unit property where you can get the current measument type. MessageBox.Show(Control.DefaultFont.Unit.ToString()); Regards, -chris Hello. MessageBox .Show( TextRenderer .MeasureText( "Wlgq" , this .Font).Height.ToString()); Hope this helps. ...Show All

  • Captain Nimmo WDS Query from VBScript or COM

    I'm looking at integrating WDS functionality with an existing application and have been trying to call the ExecuteQuery from VB6 but am having problems. Does anyone else have some example code that they've managed to get working I've worked out that passing empty strings seems to case issues and am passing null references instead but am getting some errors raised ("Inv. Proc. Call"). This is for a small quick research project ...Show All

  • Jacques van t Ende Translate Code: Convert of type

    I have the follow in VB: pt = CType (sender, TreeView).PointToClient( New Point(e.X, e.Y))   I want make in C#, I make it: tv = (TreeView)Convert.ChangeType(sender, typeof (TreeView)); pt = tv.PointToClient( new Point(e.X,e.Y));   I can make it, just in a one line Thanks, David, is good the code!. , Well, Code in VB and C#, all traslate a MSIL, for this I wanted to make in one line. I see the MSIL c ...Show All

  • ZezeLazo Why it is?

       Why Microsoft called # in CSharp rather CHash Regard, Shaji Kumar.V.K Hi, From my point of view its B - originate, C - next value in the alphabet, C++ - incremental and C# the next note following C...       cheers, Paul June A. Domag It's a musical term http://cnx.rice.edu/content/m10943/latest/ From http://msdn.microsoft.com/vcsharp/productinfo/faq/default.aspx ...Show All

  • etiennemartin I cann't link between childform1 to childform2 in MDI parentform VS2005beta

    I cann't link between childform1 to childform2 MDI parentform. This program VS 2005 beta. Is there anyone help me to find out this probleml. Try describing your problem and your objects more clearly and concisely. If frmMDIParent is the classname of the Parent Form and then in your MDI children - to get access to the parent you would go frmMDIParent MyParent = (frmMDIParent) this.MdiParent Other MDI children should be accessible with th ...Show All

  • Haeal Synthesis of pure tones

    Hi I'm an Audiologist (hearing scientist) who has been using Labview to create some basic frequency discrimination training and gap detection programs for various studies. I am looking to migrate these programs to C# which I am learning. That is I'm a beginner slowly working my way through C# tutorials having done a Java101 course in my undergrad about 5 years ago! My question is how would people go about 1. synthesising a puretone wh ...Show All

  • Henrique Santos Where can I find a free ZIP compression library written by C# for .NET 2.0 ?

    Where can I find a free ZIP compression library written by C# for .NET 2.0 The Xceed Zip for .NET in http://www.xceedsoft.com/products/ZipNet/ is good, but it's not free! Many Thanks! Check this link: http://www.icsharpcode.net/OpenSource/SharpZipLib/ I've not used it myself but have you looked at the GZipStream in System.IO.Compression, I'm not sure how useful it'll be for your program. It's new in .NET 2.0 ...Show All

515253545556575859606162636465666768

©2008 Software Development Network

powered by phorum