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

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

Xzarian

Member List

Yuemingzhang
Tony Maynard-Smith
ar_pad
eldiener
thomaskremmel
Fey __
arogan
gherold
uhclstudent
AlexBB
Markward
ks06
meho
leclerc9
zybernau
Erick-Flores
Naveeeen
Vikas Saxena
Ori'
lrryklly
Only Title

Xzarian's Q&A profile

  • Architecture (ADFS) - Unable to contact Federation Services

    Hi, I have done extensive R&D on implementing ADFS but When i send a client request to the resource partner, the passive requestor(browser) at the client always throws a msg "The Web server unable to find the federation Server".Why am i getting this exception . I tried checking the Federation Url and Uri at both ends (Account / Resource partners) it looks perfect. Appreciate if anyone can send in thier suggestions. Webbies First, log onto the web and proxy servers and see if you can browse to https://fedserver/adfs/fs/federationserverservice.asmx. If you receive certificate errors, make sure that the CA of the federation server is trusted by both the web and proxy. ...Show All

  • SQL Server Accessing the variable in Execute SQL Task

    I have a variable SYear with the data type Integer and the value 2005. Connection type is OLE DB, and my sql statement is: DECLARE @MyYear Int SET @MyYear = I have set the variable User::Syear as Input with the parameter name=0, there is no result set. I set BypassPrepare both True and False. However, this simple statement does not work. I keep having an error. If I put integer value directly into @MyYear, it is fine. What is wrong in here Somebody help me! If you are asking me, then yep, it is valid enough, just didn't pop into my head when writing that reply. I prefer parameters myself, but use either. Couple of pros and cons here- Execute SQL ( http://wiki.sqlis.com/default.aspx/SQLIS ...Show All

  • Visual Studio 2008 (Pre-release) FindResource from generic.xaml returns null, how to load resource from generic.xaml

    I have custom control for which I have defined default style in generic.xaml. That works great and without any problems. I have however another style (x:Key is set to string name) defined in generic.xaml for the same control that I would like to assign to the control from code inside of the same control. FindResource(string name) is returning null. How can I load the resource from generic.xaml Thank you for the tip. I tried it but the resource from generic.xaml still cannot be found. I used new instance of ComponentResourceKey which was created using my type and the string key. FindResource still throws an exception that key has not been found... Any other tips ...Show All

  • Software Development for Windows Vista Renaming root activity in XOML only workflow in hosted designer

    Dear All, I've created a simple re-hosted designer with a propertygrid control. All seems fine except when i try to modify the root acticity's name property (fex SequentialWorkflowActivity.Name) it fails. "IMembercreationservice is needed".... OK, I added a class that implements this interface, without putting any code into it's methods. I don't need much of this service as i suppose, because i have xoml only wf so no need to generate code. With this modification the property grid don't throw exception, but the problem is when i look at the saved xoml file it contains x:Class="MyWorkflow2" attribute, that wasn't there before. I don't need this attribute since the xoml file used in workflow activation, but i think member ...Show All

  • Windows Forms flicking effect

    Hi all when I was discovering Visual studio .Net 2005, I tried to put about 50 buttons on a form and run the application, but I had got a strange behavior, that is the buttons started to be painted one after another making a feeling of flicking, I tried to many ways to overcome this by using double buffering but still got the problem Ahmed, Run the application in release mode as opposed to Debug and see if the problem improves. I don't know the exact details, but there is something in the new vshost.exe that causes controls to be drawn slower in debug. Ken ...Show All

  • Visual C# are using statements nestable?

    using ( SqlConnection connName1 = new SqlConnection ( "....... <database1> { .............. using ( SqlConnection connName2 = new SqlConnection ( "....... <database2> { ............. } } Can I nest using statement blocks Thanks. advantage of using blocks Well its best practice since they will dispose of the disposable object when its finished using it instead of still hogging up memory perhaps in your application. this is really one of many reasons perhaps why it is an advantage of using the using blocks. you also know what objects you are dealing with. http://msdn.microsoft.com/library/default.asp url=/library/en-us/csref/html/vclrfusingstatement.asp http://msdn2.micr ...Show All

  • Visual Studio Express Editions How to simulate Program Open and Close in Debugger

    I would think this is an easy question. Does anyone know if VB will allow me to simulate my program open and close in the debugger. I am currently trying to configure my "settings" in VB so that some data is temporarily saved between when a user closes and opens the program. I don't know how to simulate this open and close of the program so I can tell if the correct action is occuring. So far, I have published the program to determine if it is working or not, but there has to be an easier way! Thanks! Eric Open is simply put a breakpoint in the open method you want to test and start the debugger F5...or am I missing something To test the close, create a debug call to the open and close method you want to check out. S ...Show All

  • Visual Studio Team System Proxy Server and VPN question

    Since SP1 supports basic and digest authentications, do we still need a VPN connection between a remote proxy server and a TFS server (to establish the trust relationship) The proxy and the TFS machines are in different domains and geographically separated. Is using ADFS an option Thanks in advance. Hi Jamil: Unfortunately, the proxy will still not support extranet scenarios in SP1. There are unsupported ways to have them set up and I think there is a post somewhere that refers to this. mario ...Show All

  • SQL Server Flat File and uneven number of columns

    Please leave feedback for Microsoft regarding this problem at https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx FeedbackID=126493 Ok I'm sure it just me, SSIS has been great so far....but how can you import a straight CSV file with and uneven column count. For example: (assume CR LF row delimiter) The,Quick,Brown,Fox,Jumps Hello,World This,is,a,test "Normally" I'd expect this | Col1 | | Col2 | | Col3 | | Col4 | | Col5 | The Quick Brown Fox Jumps Hello World NULL NULL NULL This is a test NULL Ok but what we get is the row delimiter is ignored in preference for the column delimiter and the row delimiter gets sucked in ...Show All

  • Smart Device Development WAP Push

    has anyone successfully deployed their app to a win mobile phone using WAP Push. Any reply appreciated... ...Show All

  • Visual C++ Network Programming

    Hi guys, I have to work in Visual studio 6.0 . I am new to Visual C++ programming. I am working on a project that requires communication between PC and Microcontroller. I have to built a TCP/IP stack in microcontroller. I think my Microcontroller would be a server. I don't know what i have to do on PC side. Do i need to implement TCP/IP protocol on PC side as well OR I should work with STREAM SOCKETS OR DATAGRAM SOCKETS. What kinds of library packages should I use to achieve this. Winsock (windows socket 2), CSocket or other I found much information on the net but I don't know which method is gd for me. Bye yeh i know but i don't want to go on the wrong track. I want to know all pre requeties and t ...Show All

  • SQL Server SQL CE top/limit, unable to find WORKABLE solution

    Hi all, I'm being driven to distraction by my inability to find a workable solution here, i'll try and lay out my problem as simple as possible: My application analyses sentence structure, it stores hundreds of thousands of web pages, and stores all the words on those pages sequentially in a database with a primary id, the id of the page the word is from, and the word itself of course. ie : id , parent_id , word What i'm trying to do (which already works successfully in both SQL and MySQL) is to retrieve the word immediately before the one I specify and 3 words after the word I specify. Ideally in one union query but i'll accept it if that's too complex and go for two for now. Because of the sheer size of the database ( millions of keyword ...Show All

  • SQL Server Solved

    Seems there was a job that recompiled all our procs every 4 hours. The times when these procs failed was when they were being recompiled. Did this to verify... while 1=1 begin exec sp_recompile 'foobar' end in a different window exec foobar with recompile 'Object foobar has changed since its last compile' stoped the while loo and runs fine.. ...Show All

  • Visual Studio Express Editions Create a Shortcut on Desktop "VBExpress"

    Hi I wont to do one thing. When I'm clicking on the button that must send shortcut of current application to the Desktop. How can i do this Thank you need to use IWSH interface/COM I believe. try this:   Add a reference to the Windows Script Host Object Model (COM component) add the imports statement:   imports IWshRuntimeLibrary   on the click of a button...try this:   Dim theShellClass as new IWshShell_Class() Dim theShortCut as new IWshShortcut_Class() theShortCut = theShellClass.CreateShortcut("MyApp.lnk") theShortCut.Description = "Description here" theShortCut.TargetPath = Application.StartupPath + "\MyFile.exe" theShortCut.Save()   & ...Show All

  • SQL Server WHILE Statement never ends

    Why does this query never ends Seems that parameter @Sucursales is always the same number. When the query loops in the while statement does it set @Sucursales to the result in the select statement (in red) Or continue looping from the while statement DECLARE @Sucursales INT SET @Sucursales = ( SELECT COUNT (*) FROM CatSucursales ) BEGIN WHILE @Sucursales > 0 INSERT INTO Compras ( Fecha , NumOC , CveProveedor , Importe , CveDepartamento ) SELECT Fecha , NumOC , CveProveedor , CONVERT ( money , SUM ( Cantidad * Costo )) AS Importe , CD . CveDepartamento FROM ComprasDetalle CD INNER JOIN ( SELECT CveProveedor , Nombre , CveDepartame ...Show All

©2008 Software Development Network