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

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

chongqing

Member List

DanBog
Ekukpe
madhi
A1Programmer
HamidFULL
PeterFreeb
ahmedilyas
TinyDev
shravanjha
GraemeP
sennekeennes
lord_8
sureshsundar007
Mark Garner
Gopinath.Suda
kweicht
leclerc9
Brent Mills
walking fish
Thomas Greenleaf
Only Title

chongqing's Q&A profile

  • Microsoft ISV Community Center Forums Textbox is read only

    Hi All, I am trying to assign a value to a texbox.value but I am getting an error msg the the field I am trying to assign a value to is read only. How can I clear the read only property from this txtbox. Any ideas on how to do this is greatly appreciated. Private Sub Form_Load() CustID.Value = Me.OpenArgs End Sub Thanks Hi, I don't think it's the text box that's read only but the field which it is bound to. Check the CustID field of the forms data source and see if it's read only property is set. Could also be that the form has been bound to a query thats too complex to allow updates. Hope that helps. ...Show All

  • Visual C# Returning Fullname from Active Directory using UserGuid

    I am currently getting the users full name from active directory using the WinNt username and domain. I need to write a method passing in a users GUID to return their full name. Any suggestions as to an approach public static string GetUsersFullName( string login, string domain) { string usersFullName = string .Empty; string domainName; string loginName; if (login != null ) { loginName = login; } else { loginName = GetCurrentUsersLoginName(); } if (domain != null ) { domainName = domain; } else { domainName = GetCurrentUsersDomainName(); } string path = "WinNT://" + domainName + "/" + loginName; DirectoryEntry ...Show All

  • SharePoint Products and Technologies IE Crashing when opening Sharepoint list

    When a user tries to open a list in Datasheet view on our sharepoint site they are being welcomed by the nice 'IE Has encountered a problem and needs to close.' Error.  This just started a couple days ago.  This is to the point that I can't open a couple of my administrative lists anymore. We are currently running: WSS v3 MSSQL 2000 Happening on IE 6 AND IE 7 Office 2003 ONLY I have Sharepoint Designer 2007 - This has been installed and used for a couple of weeks before problem arrived. ONLY seems to be happening on Service Pack 2 computers.  I've seen lots of posts about deleting the dll 'OWSSUPP.DLL' when running Office 2007 or uninstalling ALL office 2007 products.  However I am receiving this on seve ...Show All

  • SQL Server Does file connection manager not work offline?

    Hi there I have a connectin manager for file( New File Connection..) along with some oledb connection managers. Now If a put SSIS work Offline as True (I need this for some reason). Connection manager for File gives error as something -- "Connection manager for File connection failed with error code-0xc0014019,Connections cannot acquire connections while work offline is true." But other connections of olddb work fine. so do we have to change some more settings with file connection or with file connection we can't work offline Thanks and Regards Rahul Kumar Yes Rafael, You are right when working offline we donot expect connections to work,even i do not. But any othe ...Show All

  • Visual Studio Express Editions Can a method accept paramaters of one type and then return a boolean?

    Somewhat of an example of the question I am asking: public Boolean InCircle( int p, int q) { Boolean truefalse = true ; if(p < q) truefalse = true; else truefalse = false; return truefalse; } I don't believe that this idea might work but I wonder if it could. absolutely that will be fine. its the return type that matters and has to be the correct value being passed back to the caller. Since you have a Boolean as a return type, and you are returning a boolean value, it will work fine but if you tried to say return back the number 1 from a Boolean method like your example, you will get a compiler error since there was no correct return type given ...Show All

  • Windows Forms binding checkedlistbox

    Hi, How can I bind checkedlistbox to a datatable and also bind valuemember, displaymember and another property that selects/unselects items in the box based on a column of datatable. Thanks, Hi, please check the code snippet below: //Binding the checkedlist box this .chkLB.DataSource = ds.Tables[0]; this .chkLB.DisplayMember = "Name"; this .chkLB.ValueMember = "Code"; //based on your requirement.....you can set the value member and displaymember same.... OR foreach(DataRow drItem in ds.Tables[0].Rows) { //this.chkLB.Items.Add(drItem["Name"]); this .chkLB.Items.Add(drItem); } thnkx pesani ...Show All

  • Visual Studio 2008 (Pre-release) WCF X.509 CAs?

    Can anyone point me to CA's of certificates suitable for WCF encryption and what do I ask for I understand that the standard SSL certs do not work and the sales reps are not knowledgeable about WCF requirements. Thanks John Hi Rajeet, Not all the SSL certificates work with WCF. For instance, the SSL certificates provided by some vendors do not meet all the requeriments. WCF or WSE usually require the following in a certificate KeyUsage: Digital Signature, Non-Repudiation, Key Encipherment, Data Encipherment (f0) Enhanced Key Usage: Client Authentication (1.3.6.1.5.5.7.3.2) But, most SSL certificates have the following properties: KeyUsage: Digital Signature, Key Encipherment (a0) ...Show All

  • SQL Server How to handle streams by mean Script Task?

    I'd need to create a file and then populate it. Any link/advice would be very appreciated. Thanks in advance It's already solved. System.IO Dim xFitxer As StreamWriter xFitxer = New StreamWriter( "c:\enric.txt" , True ) xFitxer.writeline("lazy man") ...Show All

  • Visual Studio Express Editions Returning from a MDI child of a child form to a Main Menu

    Hi, Can anyone help me with this problem . It is that I have a set of MDI forms, thus a Parent, with a Child, that is a Menu driver, this in turns allows selection of other child forms. I have got a situation if I can call it that I have a close for the child which allows it to go back one level, however I would like an option that would allow me to go back to the Main Menu level which is two levels up. Is there a way of doing this, and closing the child forms down as it goes . any advise please.. Kind Regards Yarrakid I had a similar problem, and this works well. In the lowest form, add a public variable: Public FrmParent as <parent form name> On the calling for ...Show All

  • Windows Forms Color Matrix question

    Hi, some help would be greatly appreciated from someone familiar with color matrix coding. I am trying to open an image from disk, fade it, and save it back to disk. (the faded image should appear almost white - like a watermark.) however I am not getting the desired results. when I write the faded image to the screen, I get the result I am expecting. However when I write the same image to disk, then view using an image viewer, it appears darker rather than lighter. here is the code I am using: ---------------------------------------------- System.Drawing.Image canvas; Bitmap myBM; Graphics myGR; canvas = System.Drawing.Image.FromFile(myFile); int phWidth = canvas.Width; int phHeight = canvas.Heig ...Show All

  • Visual Studio 2008 (Pre-release) Graphical Design Tools for WPF?

    HI, We are planning to use WPF for our next big project. From our research, we couldn't find a graphical design tool, which is integrated in Visual Studio. Is there going to be a graphical design tool in Visual Studio Thanks, bsg01 You have several options. Since WPF is not final do not expect the tools to be final yet either. There is Aurora which is a third party tool. There is Cider which is part of the tools intended for the Orcas release of VS but is available on a CTP basis now. There is Sparkle which is closer to a late beta but will not be final until after WPF is final. No final words on the release dates on any of these tools. Cider is aimed more at those using Windows Forms today, w ...Show All

  • .NET Development ECMAScript 4 Release Date

    When will ECMA finish the 4 standard Does anyone have a reasonable guess. It's been a long time since 1999's release of 3 and it looks like an acceptable version was available about 5 years ago. I discovered that there are plans right now to have ECMAScript 4 released by Q2 2007. Actually FireFox has an updated version in their beta browser. ...Show All

  • Visual Basic Print Margins

    Why in this sample if you set a margin in the pagesetup dialog, does the margin shrink each time you subsequently look at the dialog ...Show All

  • SQL Server SS 2005 Management Studio Installation

    I have installed the Standard Edition of SQL Server 2005 and am using with VS 2005. The Management Studio module apparently did not install; it is unavailable from Start>All Programs>SQL Server 2005. I also do not find it in my directory tree at Program Files>Microsoft SQL Server>90>Tools>Binn>VSShell>Common7>IDE. I think I'm missing some step in the install process. Could use some guidance/help. I faced the same problem. Installed everything but could not find client tools in start-> MS SQL Server 2005 Solution: Install SQL Server 2005. Then see if find client tools in start if dont then again insert CD-2 and just install client tools. Got it working! Runs perfect! ...Show All

  • Visual C# I have this application in my head..........

    I am in the process of trying to leave healthcare after a twenty year run at it. No I'm not a nurse or a doctor, I work in the Lab, to be more specific I'm the guy that comes and wakes you up at 2 a.m. so that I can draw your blood. I have seen alot of stuff come and go, and none of it actually does what we need it to do, so being someone that knows what we actually need to make things alot better in the laboratory medicine arena I have been learning C# as fast as I can, and found that I have picked it up quite nicely. Question will C# allow me to create a "grand" program in segments, meaning start with creating an application for one department, release it, and move on to another department release that one, but "linking&qu ...Show All

©2008 Software Development Network