charles_chang's Q&A profile
Visual Studio 2008 (Pre-release) How to use negociateServiceCredential="false" ?
Hi, This question is related to a previous post that didn't get any answer yet (certainly because of timezone ). In wsHttpBinding I'm trying to use a message security without any negociation (I want to avoid any SPNego, TLSNego and BinaryExchange stuff). My STS will handle the messages from the HttpHandler level so I don't have any framework for this. Everything will have to be written from scratch. How is it possible to use negociateServiceCredential="false" and specify my own credential (Symmetric encryption would be ok use 3DES for ex.). I tried setting this value to false but I couldn't find what are the others attribu ...Show All
SQL Server SSIS Inport Wizard does not import dates...is this a bug?
I have an Excel file with 52000 records. One of the columns is a date column d-mmm-yy. This column is NULL-able. Approximately 12,000 records have a value on this column. I started the wizard, and it happens to be that the first record containing a date on this column is record 11,012. However, the wizar imports NONE of the values, and the column shows NULL in all records. Now, if I sort first the data in the Excel spreadsheet so that some records with this date show up at the top then the records are exported correctly. In my opinion, this is a bug that will stop me to use for using at my department. Please let me know your ...Show All
Visual Studio Express Editions Connecting with C# 2005 Express
I downloaded the SQL Server 2005 Express Advanced. Everything seems to be working fine. I have on my pc C# 2005 Express and Visual Studio 2005. The only product I have installed in Visual Studio 2005 is the SQL Server Reporting Services. Which is fine as I only want to use C# Express. In VS 2005 I can go to Data Connections and add a my database I created in SQL Server Managment Studio Express. Great. So now I want to connect to my db with C# Express. Two things: First off, under Change Data Source there's only two options: Microsoft Access Database File and Microsoft SQL Server Database File. Where is the regular Microsoft SQL S ...Show All
Visual Studio 2008 (Pre-release) Move Event for a FrameworkElement?
I'm trying to detetct a change in the position (ie Canvas.Left Canvas.Top) property of a few FW elements. UpdateLayout is usually tripped (not always) and the sender is null in the UpdateLayout event. Is there any other way Thanks Ron UpdateLayout is fired when ANY change occurs in the layout of the window. It is not specific to the element you attach the event delegate onto. I have not encountered a case where it failed to fire when an element was moved. I register the delegate at the top level Window element, but I have in hte past tried lower level elements, and they all fi ...Show All
SQL Server Trouble connecting to a remote server using SQL Server Express
Here is the information that I have... ( ps all information is not the actuall information ) 1) URL abc.somehostingcompany.com IP: 211.11.111.1 PORT: 1433 ( NOTE: if I go to a cmd promt and type in ping abc.somehostingcompany.com I get a response ) 2) dbname = mydatabase 3) userUid = sa pwd = sa Inside SQL Server Configuration Manager --> SQL Server Network Configuration --> Protocols for SQLEXPRESS, I enabled TCP/IP and Shared Memory. Inside the properties of TCP / IP, I made sure under the "IP Address" tab that the IP1: Active = yes IP1: Enabled = yes IP1: IP Address = abc.somehostingcompany.com ...Show All
Software Development for Windows Vista Unable to install "Orcas" with WinFX SDK and Runtime Beta 2
On fresh Windows XP SP2 I have successfuly instaled: - Visual Studio 2005 C# Express edition - Microsoft Pre-Release Software WinFX Runtime Components - Beta2 - MicrosoftR WindowsR Software Development Kit (SDK) for Beta 2 of Windows Vista (6.0.5383.1.1.WindowsSDK_Vista_idw.DVD.Rel.img) in that same order. But I'm unable to install Microsoft Visual Studio Code Name “Orcas” Community Technology Preview – Development Tools for WinFXR. Instalation stops and i get window which says, that prerequisite is missing and that I must install WinFX Runtime components. But I have alredy installed them! Here is my errorlog of "msi ...Show All
Visual Studio Team System Attempting to get the HttpContext.Current.Request.UserLanguages, asp.net unit test.
I am running ASP.net unit tests against a class that lives in a virtual directory in IIS. In the class, there are references to the HTTPContext object. This object is populated, except the HttpContext .Current.Request.UserLanguages property. I assume that I need to modify the request headers with something like, webrequest.Headers.Add( "Accept-Language" , "en-us,es-mx;q=0.7,af;q=0.3" ); Unfortuntly, this doesn't add the languages to the current request. Here is the full test method, [ TestMethod ()] [ HostType ( "ASP.NET" )] [ UrlToTest ( "http://localhost/linkTest" )] publ ...Show All
SQL Server How to get .cub file
Hello, I'm trying to deploy a cube that I've created and all I got is a .cube FOLDER, containing many files .xml, .det... How can I generate the .cub file not folder Thanks, Once you create the cube, you should have the .cube file in your project folder. Not the .cube folder. Yan ...Show All
Architecture a good book for people in the other (dark?) side
Well, my sister is going to organize a very very big scada project. She is physics and she don't know anything about programming, don't know anything about soa, n-tier or even how to program in java or .net. She will be the client role for another company :) Do you know any good book for that kind of people One that says: "don't change requisites everyday" :) and things like that. Just for sending it to her as a gift. Thanks as a suggestion for you ... http://www.amazon.com/exec/obidos/tg/detail/-/0321268202/qid=1142464795/sr=2-1/ref=pd_bbs_b_2_1/102-3319163-1611303 v=glance&s=books Cheers, Greg ...Show All
SQL Server Error on order by with union all
Hello, I want to order by a field that is a code, like 1,2,3,11,12,13, and i get the following error "Only text pointers are allowed in work tables, never text, ntext, or image columns sql server" Why do i get this, what can i do to overcome this Thank you I do use a union all because i have to. The query is the following: select COD_TERC, DSC_TERC, COD_END, DSC_MORADA, DSC_LOCAL, COD_POSTAL, DSC_PAIS from OpenQuery(MULTI, 'Select A.Terc1_Cod COD_TERC, A.Terc1_Nome1 DSC_TERC, '''' COD_END, A.terc1_morada DSC_MORADA, A.terc1_local DSC_LOCAL, ...Show All
Visual Basic immed?
In vb 6 I could use the immedaite window to do something like form3.DataGridView1.Width to see the width of a column... then form3.DataGridView1.Width = 800 to set it and see if it looks right.. then I'd write a procedure to set up data grid appearance. How do I do that in vb.net Getting furstrated... Brian I'm back (or, most of me, anyway -- part of me is still 11 time zones to the east ). So, anyway, when you pause the application (if I understand correctly what you're doing), you're pausing it at an arbitrary location. The immediate window and watch windows are scoped to wh ...Show All
Visual C++ project file and debug location?
how can i have all of the junk that vc create when i compile/build all stuck into a diff folder than the one where my .c source code is In the project settings there is a setting for the intermediate files. Set a different directory there, or just define another directory fur your project target. ...Show All
Visual Studio Template Wizards -- Does SCRIPT_PATH really work???
I'm struggling to create a wizard, so all help is SINCERELY appreciated! I started by copying an existing wizard (granted third party, but working) and then reading more to try to understand what is really required... I'm trying to develop wizards for use developing modules for DotNetNuke (DNN), an open source portal system. One of the Core Team members for DNN (VMasanas) published a good set of templates that nest under Visual Studio in folders like: ...\VB7\VBWizards \DNNModule ...Show All
Visual C++ can entry point for a program may be cahnge
hi friends , i dont know wheter this is a correct place to put my query or not. can aprogram amy work without a main() entry point of a program may be changed or not Hi, in the project propeties->Linker->Advanced->Entry point you can change the entry point function name of your application. ...Show All
Visual Studio Tools for Office MS Office 2003 COM Add-Ins not working properly
Hi I have created a COM Add-In for MS Office 2003 application word, excel and powerpoint. It has few buttons in commandbar that I create. There are four different cases where this addin behaves differently. In first case, Its working correctly in my development machine. My system has windows xp os. In second case, In one of the system that new toolbar is appearing in all 3 office applications but some of the functionality is not working which includes setting bookmars in word document, creating style and inserting image in word document. Click event on the button does not do anything in that system. In third case, In one another system, Exce ...Show All
