cornzy's Q&A profile
Visual Studio Express Editions How to get and set the top-left cell on a DataGridView?
Hi! I' m using the DataGridView on a Windows Form. I want to return a DataGridView to former state of the display. How to get the position of the Cell that the top-left on the current DataGridView and how to set the state The 'top-left' does not means the top-left of 'the data', but 'displayed top-left'. Thanks. hi, actualy its not a cell , its a row header, you can w ...Show All
Software Development for Windows Vista workflowWebRequestContext.current is not returning object
when i use workflowWebRequestContext.Current , it is not returning the object ,instead it is null. I have added WorkflowWebHostingModule to <HttpModule> and other services to <workflowRuntime>. can any body suggest souution. Thanks. workflowwebrequestcontext class have been removed on beta 2.2 check this http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=321648&SiteID=1 Thanks, Tamer ...Show All
Windows Forms listbox control
how do I manually add in listbox items in at runtime that act like they have a databinding. example ( I know this is incorrect) ListBox1.Items.Add("display",value) basically how do you add an item with a name/value pair would I have to create clas ...Show All
Visual Studio 2008 (Pre-release) WSE client for WCF service
Hi, I have a WCF service. I have installed WSE on the same system where WCF is there. Now I generated client proxy for using WSDL.exe for WCF service I am getting the following error: System.Net.WebException: The request failed with HTTP status 415: Unsupported Media Type. with WSE generated client. So can't we use the WCF service from WSE client Thanks, Venkat Pablo has sample on WSE->WCF interop,This may help ...Show All
Windows Forms How do I assign a .ico file to a ToolStripButton??
I modify the filter (*.*) to list the .ico files when setting the Image property of the ToolStripButton , and select the .ico file, it doesn't modify the property and the image doesn't change. It seems I CAN'T set an .ico file to the Image property of a ToolStripButton Does anyone know a solution for this problem please let me know .... Thanks!!!! The reason is because an Icon is not a System.Drawing.Image as such. You will need to convert ...Show All
Software Development for Windows Vista XOML and Parameters
Hi to all, I've noticed some postings saying that parameters cannot be declared in XOML and that a suggested route is to define a derived instance (in this case derived from StateMachine) and then declare this instance in XOML and then use XMLReader and runtime to create the instance. I've tried this, but cannot seem to get things to work. The XMLReader returns null when reading the XOML file (which is fine in VS). Ideally I would like to ...Show All
Software Development for Windows Vista Invitation for Vista
Hi all, there is a chance to be invite on vista beta trough ms connect thanks cesare balenacesare@msn.com ...Show All
Visual Studio Express Editions Array Null Reference Exception (noob)
i will try to as spesific as posible. i have an object (non primitive) array, that every time that am trying to assighn a value into one of his members am getting the Exception the code is look like that: public void vsAircraft( int number) { Acft [] acftArr = new Acft [12]; acftArr[0].name = "test" ; } ok, asume that ther is only one member i the Acft Class, so will not have lot of code her in the foru ...Show All
Visual C# Subtracting DateTime.Now.ToLongDateString()
I have to scrape a page for a date. ex. Monday, January 30th, 2006 if the date does not exist...keep subtracting until one exists. Monday, January 30th, 2006 - 1 Hello You can do something like this...... DateTime d= DateTime .Now; d=d.Subtract( TimeSpan .FromDays(1)); ...Show All
Visual C# Question on SimpleTypeName?
Hi, I have question on the SimpleTypeName. < Literal Editable = " false " > < ID > eventhandler </ ID > < Function > SimpleTypeName(global::System.EventHandler) </ Function > </ Literal > I have seen its example on the MSDN,but I found it using global.So I think that the assembly must be in the global assembly cache .But the problem is not everyone will put the assem ...Show All
SQL Server Management Studio Express CTP update now available
There is a new Management Studio Express CTP download available at http://www.microsoft.com/downloads/details.aspx FamilyId=82AFBD59-57A4-455E-A2D6-1D4C98D40F6E&displaylang=en . This update fixes the defect where installing the full Books Online documentation prevented Management Studio Express from starting. With the update, Management Studio Express and Books Online no longer interfere with each other. To update Management Stu ...Show All
.NET Development DataSet ReadXML crashes Visual Studio 2005
Hello All, The code snippet below crashes Visual Studio 2005, when I run it in the application, which I am developing: Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Try ReadFile("Bad.XML") Catch End Try End Sub Public Sub ReadFile( ByVal ds_name As String ) Dim TestFileName As FileInfo TestFileName = New FileInfo(ds_name) If TestFile ...Show All
Visual C# Unmanaged codes for C#?
Please corrected me if I was wrong, because I discuss this issue with my supervisor. Typically C# writes the managed codes and unsafe codes, but my supervisor insisted that C# could write unmanaged codes, at least in .NET Framework 1.0( ). I know C# could work with unmanaged codes, but I doubt C# could write unmanaged codes. C# need CLR, right Yes, the C# code is always managed... the unmanaged DLL’s t ...Show All
Visual Studio Express Editions RSS News
Using VC# Beta 2 When I startup VC# Express, my startup page is supposed to get news from http://msdn.microsoft.com/vcsharp/rss.xml but I get "There's no content available yet. Content will be downloaded once a connection to the internet is established." I have a connection to the internet and everything else seems fine, when I go to this url I see news available. What's weird is that I have beta 2 on my machine at work and it does work ...Show All
.NET Development Reading ConnectionString from .config
I am interested to know how the ConnectionString line of code works. It appears to search machine.config, app.config and web.config. Anybody have any background on how this process works Does it really search all three files and in what order Protected Function DB( ByVal DatabaseName As String ) As String Return ConfigurationManager.ConnectionStrings _ (DatabaseName).ConnectionString End F ...Show All
