jk_0321's Q&A profile
Visual Studio 2008 (Pre-release) Adding Web Reference in VS 2005 to WCF Service
Hello, As I’ve found out yesterday, it’s important to create a proxy class for ‘WCF web service’ using svcutil.exe even though it uses 'basicHttpBinding'. If one does it through VS2005's 'add web service' routine, the created proxy allows passing string fields only. All value types doesn't go through. I mean the proxy class looks correct with all fields having correct types. But when I attach the debugger to the WS I see default values only for types like int, short, DateTime etc. Am I doing something wrong nefis the thing is that the extra field xxxSpecified is created regardless if a property is nullable or not. besides, strings are nullable and the xxxSpecified is not created f ...Show All
Visual Basic VB project published item does not work because of wmppia.dll
Hi, I have have developed a VB program, works fine on development environment. It also works fine on user machine if I use bin directory. However, if I publish the program and run the setup.exe on user machine, it gives following error... "Unable to install or run the application. The application requires that assembly wmppia version 9.0.0.3095 be installed in the Global Assembly Cache (GAC) first. Please contact your system administration." User machine has .NET framework 2.0 installed. Please help me, Thank you, Shalin. Choosing Between ClickOnce and Windows Installer http://msdn.microsoft.com/smartclient/default.aspx pull=/library/en-us/dndotnet/html/clickoncevsinstaller ...Show All
Visual C# How to get the active application
I have the code to get the active window (for example notepad) and the capiton of the program (untitled - Notepad) But now I want to get the application, cause if I save a file in notepad the capiton will change. And I need something unique, like the program name. I mean I can start notepad a zillion times, it will always be called notepad. So does anyone know how to do this in C# Once you get the process id using the code given in the other post you can use GetProcessById to get the Process object. From there you have access to everything that is exposed by the Win32 API. For uniqueness the Id is the only valid indicator. Once a process closes there is nothing that makes it unique (not even the ful ...Show All
Visual Studio Express Editions MCVC++ Express Edition Linker problem
Hello, Attempting to compile my first program using Microsoft Visual Studio C++ Express Edition and received the following fatal error: "25>Linking... 25> LINK : fatal error LNK1104: cannot open file 'atls.lib' 25>Build log was saved at "file://c:\My Documents\Visual Studio 2005\Projects\AllegSRC\objs\FZDebug\WinTrek\BuildLog.htm" 25>Allegiance - 1 error(s), 1 warning(s) ========== Build: 12 succeeded, 6 failed, 0 up-to-date, 7 skipped ==========" Has anyone encountered a similar problem and how was tit solved As always Thanks is advance. In short atls.lib is part of the ATL library, which is not included in Express editions of visual St ...Show All
Visual Studio Express Editions concerning media player
renee where do I post pause button code Private Sub btpause_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btpause.Click If WMP.playState = WMPPlayState.wmppsPlaying Then WMP.Ctlcontrols.pause() tmr.Stop() ProgressBar.Value = ProgressBar.Value btpause.Text = "paused" btpause.ForeColor = Color.Aqua Else If WMP.playState = WMPPlayState.wmppsPaused Then WMP.Ctlcontrols.play() tmr.Start() btpause.Text = "pause" btpause.ForeColor = Color.Beige End If End If End Sub ...Show All
Visual C# Practical use of multithreading???
Hi all, I'm not an expert on threading and to be honest I've not used threads directly before. I have an interesting problem I'm not sure how to tackle. Basically I'm developing a .NETCF2.0 application in C# and have a class that contains an event handler to recieve SMS messages using the PocketOutlook assemblies (API). When a new SMS message is recieved this handler parses it and stores the data within a SQL mobile DB. Now most of this processing is pretty quick but I'm a little concerned about the overhead it will have on the UI thread. My first though was to have another thread handle these events but I cannot find a way of doing this. Basically I want a seperate thread to use the SMS receieved event h ...Show All
SQL Server Package structure in SSIS
Hi I have been working with DTC packages together with analysis service, and are now begining on SSIS. But I have some demands that's been giving me headache before, so I hope there's a solution in the SSIS for the following. My DTC packages was build to be executed i 5 steps/Packages 1. Transfeer data from my Oracle 9.2.0.4 to SQL 2000 2. Transform data 3. Quality check 4. Process dimension 5. Process cubes BUT in 2005, I want a little more flexibilty. I want to execute smaller packages, let's say, only my "general ledger". This way I will be able to update some of my important cubes quicker. And not wait until all data is transferred . So what I have done until now is that I have cre ...Show All
Software Development for Windows Vista i need .Net Framework 3.0 in my web server
i have a web site and i want to use card space to authenticate users, but i host my web site in external hosting company, my question is if i want to use card space does i need to install framework 3.0 in the web server. which running framework 2.0 now . I believe so since cardspace is in .NET 3.0 http://www.netfx3.com/ http://cardspace.netfx3.com/ ...Show All
Visual C# what is Impersonation
can someone expain me what is Impersonation from an ASP.NET side and when it can be used. If you have any simple examples, please share. Thank you, Hi the code above is really not necessary... there you are using values (from web.config/registry) to impersonate one specific account! what you described above was to pass on the user credentials of the person connecting to the site: if that is what you want you need to do two things: impersonate = true (which you have done) http://msdn2.microsoft.com/en-us/library/xh507fc5.aspx and set the authentication to windows http://msdn2.microsoft.com/en-us/library/eeyk640h.aspx Hope this helps you out, please close the thread if ...Show All
Visual Studio Team System ReportProcessingException: The Language expression for the report ‘body’ has a user profile dependency.
Hi, We are trying to configure a subscription to e-mail the "Remaining Work" report daily to a specified email account. We are running the RTM version of TFS and have not modified the RDL's in any way. The Remaining Work report displays fine when accessed via the URL. http://server/Reports/Pages/Report.aspx ItemPath=%2fTFS+Management%2fRemaining+Work The Reporting Service Log (\Program Files\Microsoft SQL Server\MSSQL.3\LogFiles) file shows the following exception when the subscription's scheduled time comes: ReportingServicesService!library!a!08/11/2006-12:02:05:: i INFO: Call to RenderFirst( '/TFS Management/Remaining Work' ) ReportingServicesService!processing!a!08/11/2006-12:02:05:: e ERROR: Throwing Microsoft.Repor ...Show All
Visual Studio Tools for Office Using VSTO in ASP.NET (Issues)
Hi there, I have the following serious scenario: 1. I have a customized VSTO document stored in SharePoint 2. I want to check-out the document from an ASP.NET page and send it to the browser where the user will be able to edit it using the customized code embeded in the customization assembly that is deployed on the server. 3. Once the user finishes editing, he will be able to click on a Submit button in the Action pane to send the whole document back to the ASP.NET page where the user session must still be perserved by ASPNET session manager and the page will in turn check-in the document into SharePoint 4. I don't want to save documents on local machines or server I have searched the web, MSDN, forums, etc, but I was u ...Show All
Smart Device Development Windows PPC 2002 running Pocket PC 2003 apps???
Is there any way to run Pocket PC 2003 Apps(built with visual Studio 2K5) on a Pocket PC 2002 device This is a Smart Device win32 or mfc app that is being built with visual Studio and the target is Pocket PC 2003. Any help would greatly be appreciated... I tried to build and run on the pocket pc 2002 device but get the following error: Cannot find: <appname.exe> (or one of its components). make sure the path and filename are correct and all required libraries are available. This exe works on Pocket PC 2003 and up devices... Thanks again in advance! I suspect not. Some APIs might have been changed,deprecated, modified due to many reasons including security Please refer to CE documentati ...Show All
Visual Studio Express Editions Components Disappeared From Designer
Hi, I don't know what happened but this afternoon all my menu items, toolbar buttons and statusstrip controls disappeared from the designer. They're in the Designer.cs file but do not show in the designer at all. If I build the app they don't appear in the running app either. I can't give much more info because I've only been using Visual C# for a couple of weeks and have no idea what happened or where to start looking for further information. Is there any way I can get the Designer.cs file and the designer back in sync I hope someone can help or can point me in the right direction. Edit: I should mention that I can't see anything obviously wrong in the Designer.cs file and I haven't edited it myself. Only the Designer has touc ...Show All
Visual Studio Team System TF53018: The application tier ELONMAPTEAMD01 is attempting to connect to a data tier with an incompatible version.
I get the following error after installing SP1 on BOTH the data-tier and the app-tier. Help... TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff Technical Information (for the administrative staff): Date (UTC): 02/03/2007 09:44:25 Machine: ELONMAPTEAMD01 Application Domain: /LM/W3SVC/3/Root/VersionControl-17-128173022647983017 Assembly: Microsoft.TeamFoundation.VersionControl.Server, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727 Process Details: Process Name: w3wp Process Id: 2440 Thread Id: 5056 Account name: Domain\srvteamservice Detailed Message: TF53018: The appli ...Show All
Visual Studio Team System MICROSOFT - Please Clarify
For me all this is hopelessly confusing. Can anyone from Microsoft tell me if I will be able to install CTP7 with my current copy of Visual Studio Team Edition for Software Developers I don't want to uninstall CTP6 and then be told I don't have the correct version of VS to install CTP7. Thanks - Amos. Hey Amos Soma smart guy ! like you tell me (funny) in my last post: "We might have some ideas of you provide more information :) " Rememer that What do think cmf. ...Show All
