Software Development Network Logo
  • Visual Basic
  • Windows Vista
  • Windows Forms
  • Smart Devicet
  • Microsoft ISV
  • VS Team System
  • Visual C#
  • Visual FoxPro
  • SQL Server
  • IE Development
  • Visual C++
  • Visual Studio
  • Game Technologies
  • SharePoint Products
  • Audio and Video

Software Development Network >> smgorden's Q&A profile

smgorden

Member List

gpetrosh
manu.aretuseo
Pockey
IGiberson
Anatoly 01
constm
vtortola
Missouri Mule
fripper
battlex
abigail.tseng
Scotty12105
Tamim Sadikali
FannwongCindy
Ankith
ippological
ZopoStyle
Evan Mulawski
LiveGadgets
Greg Akins
Only Title

smgorden's Q&A profile

  • Windows Forms DataGridViewComboBoxCell

    Hello All, I can define a DataGridViewComboBoxCell as visible = false Best Regards Sandro Peixoto If i define the value of cell to DbNull.Value, the ComboBox appears, but it doesn't have any values. I would like that the ComboBox not shows in the DataGridView. Best Regards Sandro ...Show All

  • .NET Development XSL performance problems

    I'm not sure if this is the correct forum for this question, but I have an XML file with the following reference to an XSLT file that transforms it to HTML when it is loaded in a browser. < xml-stylesheet type="text/xsl" href="xml2html.xslt" > It renders correctly, but it takes an awfully long time. For comparison, I loaded the same file in both IE7 and in Firefox 2.0. In Firefox it renders in 2 seconds; in IE7 it takes 15 seconds to render. Further investigation shows that there are 2 adjacent lines of code that are responsible for most of the processing time. They are in a template that looks up values in an external document that uses the namespace prefix of "model". <xsl:variabl ...Show All

  • Visual C# Passing Values from Form A to Form B and vice versa!!

    Hi all, I'm using Visual C# Express 2005. I have two forms, form A and form B. I can pass values from form A to form B but I can't get the values from form B to form A. Any help would be appreaciated. Thanks in advance!! My answer is different from the one in the above link. So I will try to help.. You should subscribe ( newForm.sendParams += new Form2.parameterPassing(newForm_sendParams); ) to the event in the MainForm (Form1), where you call form2, not in form2; in your try you had subscribed to the event in form that you describe it. So it doesn't work. also for the frist exception; If you never subscribe it to anywhere then you get a null reference exception. ...Show All

  • Smart Device Development PostKeybdMessage

    hi all, I m creating the appln that is for cameracapturedialog functionality again as needs changed.I have to catch the event of the OK click of the cameracapturedialog in C#.net with WM 5.0. But i cant find the way to use it. I came accross "PostKeybdMessage" but what exactly it is how to implement i really need help. urgent. Thanx well in advance. This is how the capture dialog is implemented. Not much you can do. You won't be able to use Camera button for your own purpose unless the built-in dialog already uses it ...Show All

  • SQL Server rookie sql question

    SQL, It's up and running, 2000. Looking in enterprise manager at the server, Green right handed arrow(running) with a red squiggly line What is that (mean) Thanks From a technet article... "As far as that red squiggly line – I doubt that you'd want to get rid of that – it means that you have a connection to that SQL Server. This is a good thing" http://www.microsoft.com/technet/archive/community/columns/questions/03-01-00.mspx mfr=true Thanks, Sam Lester (MSFT) ...Show All

  • Visual C# How do i call a method from a different form?

    Hi, I have 2 forms that are closely linked with each other: form1. a form which lists a bunch of different layers form2. a form which describes the layer (i.e. name, colour, etc) if i change something in form1, i want to call an update function in to update the display in form2, and vice versa. What is the best way to do this from my knowledge, using delegate only works in one direction, correct me if i'm wrong. My idea is to create the update functions within their respective classes and find some way to call that function from the other form. is that possible i have already set it up so that they are sharing a data structure, i just need them to access each other's functions. thanks. ...Show All

  • Smart Device Development How can I prevent the user from changing tables columns width

    Hi How can I prevent the user from changing tables columns width for "ListView" and "DataGrid" Thanks I tried to set the Nonclickable property of the ListView it just disable the click event when clicking the columns header but it still let the user change the columns width. In the DataGrid want to see the column titles just not let the user cghange the width of the columns. So sorry it did not help Thanks anyway ...Show All

  • Visual J# JDK version

    Hi, I want to know which version of jdk that J# support. It seems to me that it only support JDK1.1. If it's the case, does somebody know if it will support newest JDK soon Hi, As of now J# supports some of java 1.1.4 functionality and some of 2.0 functionality. We will keep community updated as we increase JDK support. However, if you are looking for some specific functionality, you can use .NET class libraries. Let us know if you have any questions around using .NET class libraries. Thanks, Varun ...Show All

  • .NET Development COMException (ThrowExceptionForHR) => handle is invalid when calling Marshal.FreeHGlobal

    Hello In my application, i read and write a lot from pointers (System.IntPtr). Somewhere at a "Marshal.FreeHGlobal()" (i've got a lot of them, and it varies where the program stops) i get this Exception: "System.Runtime.InteropServices.COMException (0x80070006): The handle is invalid. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode, IntPtr errorInfo) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode) at System.Runtime.InteropServices.Marshal.FreeHGlobal(IntPtr hglobal) at BTR2_DLL_Test.Form1.Button11_Click(Object sender, EventArgs e) in C:\DEV_OLD\VS2003\Testjes\BTR2_DLL_Test\BTR2_DLL_Test\Form1.vb:line 714" A closer look gives me the TargetSite: Thr ...Show All

  • Visual C# Need code for program (not the whole code)

    Hi all I just decided to make a program, which in this description, I going to make the idea etc short. I want to make a movie player which have a vertical t shaped layout which contains on the left the videoplayer, on the right upper: a list with thumbnails and the filename (last viewed) and in the right down: a dropdown list with all the movies. This is my aim. Yes I do got beginner to intermidiate experience with C# and I currently use Visual Studio 2005 standard. Now my biggest questions are; 1. How do you configure a (to the toolbox added media player)video player to load a file and play it. 2. The best strategy to the thumbnail extention name thing (so it must feature a last viewed file option, which I totaly don't know how to do it. ...Show All

  • Internet Explorer Development IE7 and desktop icons

    I just installed Internet Explorer 7 today, which I guess is a.k.a. Windows Live . All of my fancy customized shortcuts on the desktop disappeared and each got replaced by the same generic windows icon. Right-clicking & changing the icons in properties no longer works. Also, when I create an internet shortcut while browsing, that creates a shortcut with that same generic icon (not even an explorer logo). Now my desktop is just one forest of identical icons. Anyone know how I can fix this I've wasted all day without success. Dave Don't take this personally, but this kind of "canned" response, not even related to the question matter is what really irritates a lot of people ab ...Show All

  • Visual C# Custom GridView Control - Select Entire Row OnDataBound event

    I've done a lot of research on how to select an entire row in a GridView. Most sources point to this code which goes in the .cs of the page: protected void tsgv_Test_RowDataBound( object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { e.Row.Attributes["onclick"] = ClientScript.GetPostBackEventReference(this, "Select$" + e.Row.RowIndex); e.Row.Style["cursor"] = "hand"; } } Unfortunatly, simply saying "this" doesn't work...I'm not sure why since I know many at other companies that use that exact syntax....what does work for me is ClientScript.GetPostBackEventReference(this.tsgv_Test, "Select$"...which as you can ...Show All

  • .NET Development Unable to Bind to Socket on port 80

    Hi, I am trying to create a server and client to send some basic messages back and forth. I started looking at the Socket Class provided by C# but I am unable to bind to port 80 (HTTP). It allows me to bind to other ports, but I get an exception for 80 saying: Only one usage of each socket address (protocol / network address / port) is normally permitted. My browser is able to connect over port 80, I was thinking of using that port for my client/server communication. My question is that I can run different browsers and browser instances at the same time. These browsers are clearly able to bind to port 80 concurrently to download web pages etc..  Why am I unable to bind Thanks in advance.   Dwight ...Show All

  • Visual C# Visual Studio stops responding using CDATA within Comments

    I'm running Visual Studio for Software Developers on Vista. I've installed Service Pack 1 and the beta for }Vista. Has anyone else experienced a problem when trying to create an xml comment in a .cs file such that Visual Studio stops responding and begins to eat all the memory on the system until it crashes public partial class WebUserControl : System.Web.UI.UserControl { /// <summary>asdf</summary> /// <example> /// <code><![CDATA[]]> /// </code> /// </example> protected void Page_Load(object sender, EventArgs e) { } } As soon as I try to add some HTML in between the [] in the CDATA, Visual Studio falls on it's sword. Am I alone here ...Show All

  • SQL Server How to do backup in Cluster

    Hi, I have a cluster set up and working fine. I am in a stage where I need to do the backups. I have added 4 disks as dependecies to the sql service for the instance. The backups should not be on these disks. When I do a simple backup I can see only these 4 disks so my question is how do I do the backup to fileshare or other disks that are not partof the cluster. I have 3 virtual servers so what wil be the best thing to do for backup Thanks Hello, The failover of a disk resource is usually very quick (and given it is used for backup which can be reissued, thus not impacting service, is not time critical), so the duration of failover should not be an issue. I would think #2 was chosen for performance as it does no ...Show All

©2008 Software Development Network