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

Software Development Network >> Henrik Goldman's Q&A profile

Henrik Goldman

Member List

S Nesbitt
montaquehou
OmegaMan
joshtms
Minherz
Krutika
HellsChicken
Evan Mulawski
Will C.404367
Bartosz
Mikael Håkansson
Sheng Jiang (蒋晟)
Sambag
JavaBoy
Steve Jensen
bryanedds
ScorpEagle
Wellnow
csharpdevelopernovice
uwcodeman
Only Title

Henrik Goldman's Q&A profile

  • SQL Server LoadReport() - SoapException - Help needed

    Hi Experts, getting the Error: Server did not recognize the value of HTTP Header SOAPAction: http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/LoadReport when calling LoadReport(). I can access the ReportServer and ReportManager through Browser and get perfect results. I also can querying the WebService through a DataSet (XML-Data-Provider) in a Report Project. VS 2005; SQL SERVER 2005; IIS6; Windows Server 2003. RS is configured on DefaultWebSite(Port 80) rsExec = new rsExecService. ReportExecutionService (); rsExec.Credentials = System.Net. CredentialCache .DefaultCredentials; rsExec.Url = http://pserver01/ReportServer/ReportService2005.asmx ; // Render arguments byte [] ...Show All

  • Visual Studio 2008 (Pre-release) how I show a window without activating it ?

    Window.Show() activates the window, Window.Visibility = Visible too. Is there anyway to open a window and NOT having it activate In win32 I can do that with SW_SHOWNOACTIVATE. Note: using Popup is not a options for me. Felipe, I tried the above code with modifications to compile it (I did not use the code that had to do with using HwndSource and setting Visibility on the window) and I did NOT see the dialog opening again after pressing the button to close it. Can you ensure that you don't have some other event handler hooked up Also, another thing would be to put a break point in the KeyDown handler and see if it is called again after closing the Dialog. Now, another thing to point out here i ...Show All

  • Visual Studio Express Editions c# for deploying to mobile

    Hi I wish to write small c# applications that will work on a smart mobile (specifically hw6515 by hewlett-packard) that has the 2003 .NET compact framework installed on it. Can I deploy c# applications to the mobile (I have activesync installed too) using the c# express edition If not, what is the minimum (i.e. cheapest) package that I have to get to do this. If I have to use (as I suspect I might) visual studio 2003, I notice that microsoft are doing a 60 trial for this software, would the trial allow me to do this also for the 60 days Thanks in advace, any help appreciated Showman the express editions do not support mobile development - you would need the VS2003 to do this, or in ...Show All

  • Visual C++ warning LNK4248: unresolved typeref token (01000017) for '_TREEITEM'; image may not run

    When compiling my program which is a windows app and not a DLL, I get this error message under Release mode but not in Debug. Furthermore I can get rid of the warning if I don't use managed extensions (remove \clr) in the project properties. Is there not some releases source code from Microsoft to allow the _TREEITEM and _IMAGELIST object to run in managed extensions I thought the goal from MS was to have us use the managed extensions and therefore I would think that this situation would have been resolved a long time ago. I've read the link where this exact same error is generated with a DLL but this is a standard windows app and therefore doesn't have a DLLMain code. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=7750 ...Show All

  • SQL Server Can You Use Variable Column Names in an Update Statement

    I'm Creating a Table named Forecast with variable column names from month to month... This month Column 13 might be November; next month Column 13 would be December... After building the table, I need to Update the column's value (to start) to zero.... I would like to use " UPDATE Forecast SET @MonthName = 0; --- But, of course it doesn't work.... Anyone's help would be greatly appreciated. DECLARE @MonthName NVARCHAR ( 20 ) DECLARE @MyCounter INT SET @MyCounter = 12 USE Solaar ; WHILE @MyCounter < 24 BEGIN SELECT @MonthName = c . name FROM sys.columns AS c JOIN sys.types AS t ON c . user_type_id = t . user_type_id WHERE c . object_id = OBJECT_ID ( 'DBO.Forecast' ) AND c . col ...Show All

  • SQL Server Stored procedure issue. a bridge too far for me

    i have a query that i need to extend but just dont have the knowledge to do so, so hoping someone here could help me this is my current query:- SELECT ES.PatientID, DATEDIFF(day, EP.DateofBirth, GetDate())/365 AS Age, CASE EP.SexCode WHEN 'M' THEN 'MALE' ELSE 'FEMALE'END AS Gender, COUNT(H.HRDID)AS HRD, ES.FourRegularDrugs, isnull(ES.FourRegularDrugsNo,0) as NoOfDrugs, ES.ReadmissSixMonths, PCE.[Primary diagnosis] FROM tblStudyServices ES INNER JOIN tblPatient EP ON EP.PatientID = ES.PatientID INNER JOIN PAS.dbo.[PAS Patient Details] PP ON PP.[PAS key] = EP.PatientInternalNumber INNER JOIN PAS.dbo.[PAS Admission Details] [PAD] ON [PAD].[PAS key 1] = PP.[PAS key] INNER JOIN PAS.dbo.[PAS Consultant Episode] PCE ON PCE.[PAS key 1] = PA ...Show All

  • Visual C++ Problems verifying login against AD with more than one domain

    Hi, Searched the forum and net for help with my little problem but haven't found anything, please redirect me if you know the place. :) Anyways I have this small C++ program that verifies user login and password against a domain in AD. Works fine when there's just one domain to take care off. But now a customer wants to use it in an environment were they have more than one domain. I'm quite sure I tested against more than one domain when I wrote the app, but I could've done it wrong. AD is not my strongest side. It could be that they have one domain with subdomains, and I want to verify against the subdomains. This is the code i Use to verify: hr = ADsOpenObject(CA2W(cDomain), // Path to AD. CA2W(login), CA2W( ...Show All

  • Visual Basic Send output to stdout from gui app...possible?

    I have a simple vb.net gui application (an alternative file requester in a form) that I would like to run from the command line. It executes fine, but I find that I cannot send any output (a string representing the file selected) to the command line upon completion. It appears that "console.writeline" doesn't actually write to the console Any suggestions as to how to send info back to the console window upon completion Keep in mind that this is a gui app (not straight console). I was mistaken, ahmedilyas, that did the trick. I made a test app and it worked perfectly. Not sure what exactly switching the app type to "console" does, but it worked. My thanks to you and everyone who contrib ...Show All

  • SQL Server Working around Temp tables in Reporting services.

    I have been working for days to translate a report out of an old system and in SQL reporting services. Getting the basic code down to get the required data was easy, however getting it to work in reporting services has turned into a nightmare. Why, because I have been told that SQL reporting services does not allow temporary tables...HUH! Ok, so how am I supposed to take three data queries and munge them together into a report. Here is the query that does work, can anyone give me an idea of how to make this work given the limitations I have run up against. I have already thought of using a store procedure, but we have ruled that out since would likely have to do it via linked servers, which would be expensive. We thought of ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Direct Answers For A Beginer

    Dear, I Am A Beginer In Game Development, But Professional In C# And C++.Net 2005. I Want To Start Learning 3D Game Development Where I Have 2 Main Questions: 1- C++, C++.Net 2005, Or C# Is The Fastest And The Powerfull Language For Creating 3D Application 2- What Is The Graphic Library I Have To Learn And What Are The Difference Between XNA, DirectX, And XNA Game Studio I Hope To Help Me In My 1st Steps. Thx Alot 1. C++ will be the fastest, if you become an expert in getting every last processor cycle. c# is easier to program but does not give quite as much fine control. 2. DirectX is the underlying graphic API to talk to modern graphics cards - use C++ to code DirectX. XNA Framework is a managed layer over the ...Show All

  • .NET Development Advice re transactions across multiple SqlConnections...

    hi, i have a data access layer where each object (maps to a table in the db) wraps up all db work in its own SqlConnection. I am looking for a way to implement transactions across multiple objects (and therefore multiple SqlConnections) and am unsure of the best direction. All SqlConnections point to the same (MSSQL 2005) db. I have read that I can use the new TransactionScope but this appears to use MSDTC which I would prefer not to do if possible. Thanks in advance, Simon. Hi thanks for your feedback. We are using multiple SqlConnections because each class in the DAL opens up a connection for just the amount of time it needs to (everything is wrapped up in a using(...){...} structu ...Show All

  • SQL Server SSIS dynamic SMTP mail server

    SSIS dynamic SMTP mail server Hi All, I'm trying to make my SEND MAIL TASK in SSIS dynamic, by retrieving SMTP Server name (amongst other email message information) from a table. I've got an SP that is getting the information into package variable's, and when I don't try and have a dynamic server name (i.e. I use a specified SMTP server in my SMPT Server connection), then the email get sent off. I'm trying to use an expression to build alter the send mail to use the server name I have in a user variable. I've tried using the expression for the property: SmtpConnection set to: RTRIM( @[User::MailServer]) I also tried without the RTRIM - I only added it because the error messages seem to include a full 'string' length, and there doesn't se ...Show All

  • Visual C++ Upgradation to Visual Studio 2005

    Hi All, We are migrating our application from VS 6.0 to Visual Studio 2005. We are planning to change the APIs marked deprecated like strcpy etc to their security enhanced counterparts like strcpy_s etc. I would like to know whether .NET Framework 2.0 is needed to be installed on client machines to be able to use the security enhanced APIs or these APIs can be used without it also Looking forward to your responses. Thanks and Regards Zion If you're upgrading to Visual C++ 2005, you may like Breaking Changes in Visual C++ 2005 , as well as Breaking Changes in the Visual C++ 2005 Compiler and possibly Breaking Changes in Visual C++ .NET 2003 (from Breaking Changes in the Visual C ...Show All

  • SQL Server wmiprvse.exe

    Coincident with installing SQL Server 2005 Express, i.e., correlation only (for now), I have been getting a dialog indicating an application error with wmiprvse.exe . I cannot find any cause and effect. This is on a XP-Home OS which also has VC++ 2005 Express on it. Anyone have a similar experience Thanks. Thomas This file is part of windows but if you have office 2003 installed on XP Home it can cause problems. It use all the memory and will not shut down or release the memory. You can shut it down manually by going to Task Manager, choosing processes and ending the process. To stop it leaking the memory permanently you need to goto http://update.microsoft.com/wi ...Show All

  • Visual Basic Access 2000-2003

    Hi, I need to know how to set a window for a form in screen depending the resolucion of a display, I mean, if a have a resolution of 800 x 600 or 1024 x 768 i need to adjust the window size of a form. Are we talking VB.NET form - in which case the following... How about simply maximize the form. Set the windowstate property to maximize - which will make it maxiumum window style. If you want it to absolutely be full screen - then set the Formborderstyle of the form to none.   Remember to give yourself a button to close the form or something as this will make the form absolutely full screen - and you wont have the control box, maximize, minimize buttons etc.       If you are talking ab ...Show All

©2008 Software Development Network