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

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

CaroNZ

Member List

Chazcon
shinoy
BhuttCrackSpackle
polymorphicx
LauraB
Giritharan
VoiceOfExperience
Bucketo
Alex Dresko (MVP wannabe)
sectorFive
gkostel
MarkBosley
Simple Samples
GWeston
I am me
LeahGarrett
Scott McKeown
nhaas
Joel Martinez
smeets116
Only Title

CaroNZ's Q&A profile

  • Visual Studio Tools for Office Get The text of Words from a word document

    This may be a topic for some other group, but this group gets replies faster then then Automation or some other Word groups, so maybe someone here knows this. I really want to thank Cindy for pointing me in the right direction for what I wanted to do. I ended up using the DsoFramer control to host my word doc, and now I have the document loaded, when I first saw the Word.Document.Words collection, I thought cool a collection of string variables for words. Microsoft would never make it so easy. Does anyone know how I access the words in the document, and highlight a word that matches my search criteria (similiar to the way Google highlights your results). I am heading to the book store to buy an Office book next, but if someone has ...Show All

  • Visual C# Interfaces oversold???

    First, I must admit that I am a C# novice and so I probably don’t have as much knowledge and experience on the subject of interface as most of you guys reading this post. After reading a few books on C# and interface design, I still can’t see and understand the real power of interface unless of course, we are talking about interfaces as a powerful concept in OOP ‘only’ and not as a powerful concept in the general sense. When I was first learning OOP I was quite suspicious about the ‘excellent features’ that OOP claims to be able to deliver to the world and I was right. For example, in reality OOP offers very little if any, code reuse. I am now having the same suspicion about interfaces even though I see a lot nice words used to d ...Show All

  • Software Development for Windows Vista Windows Vista Registry Security Restriction

    I have a question regarding Windows registry, I am developing a USB driver install shield for Windows Vista, during uninstallation I can not delete the following registry keys and their subkeys. HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Enum\\USB\\Vid_0xxa&Pid_0xxx HKEY_LOCAL_MACHINE\\SYSTEM\\ControlSet001\\Enum\\USB\\Vid_0xxa&Pid_0xxx I don't have privilege to delete them, even I run the application as an administrator, can anyone help me on this issue. I tried to use the sample code from the msdn library but still doesn't work on Vista.... http://msdn.microsoft.com/library/default.asp url=/library/en-us/secauthz/security/taking_object_ownership_in_c__.asp http://msdn.micros ...Show All

  • SQL Server Stored Procedure Problem

    hy i have a problem using a stored procedure to fill a resultset first i fill 2 tables within the stored procedure both having an employeeID. one of them contains information about Book Hours (the amount of time they worked) grouped by employee, year,month and Productive(boolean) the other contains a headcount value(indicates wether he was working for a ful month) grouped by employee,year and Month. 1st table lookes like Employee year month productive Booked Hours EmployeeID 1, 2000, 1, Yes, 103 EmployeeID 1, 2000, 1, No, 54 EmployeeID 1, 2000, 2, Yes, 99 EmployeeID 1, 2000, 2, No, 12 ... EmployeeID 1, 2000, 12, Yes, 72 EmployeeID 1, 2000, 12, No, 15 EmployeeID 2, ...Show All

  • Visual Studio 2008 (Pre-release) Dynamically configured Client

    I want to be able to create a client endpoint in code (not in the config file) The closest thing to this that I have found is to dynamically update the config as follows: Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); ServiceModelSectionGroup sg = ServiceModelSectionGroup.GetSectionGroup(config); ChannelEndpointElement ce = new ChannelEndpointElement(); ce.Address = new Uri("net.tcp://localhost:47552/myService"); ce.Binding = "netTcpBinding"; ce.BindingConfiguration = "netTcpBinding"; ce.Contract = "ImyService"; ce.Name = "myTCPEndpoint"; sg.Client.Endpoints.Add(ce); // This writes it to the config file config.Save(); // this does not appea ...Show All

  • SQL Server Make date from several strings

    Hello all Someone gave me this: Month Day Year Hour Min Sec 9 9 2006 15 9 36 And I need to make a descent date format out of it which looks like this: Sun Sept 09 15:09:36 CEST 2006 I can concatenate the whole thing but I'm stuck with the "sunday" part. I'm sure there are some experst out there who know how to do this is in 1 minute;) Regards Worf So far I have the following code but it gives me an error: Conversion failed when converting datetime from character string. set ANSI_NULLS ON set QUOTED_IDENTIFIER ON GO ALTER FUNCTION [dbo] . [MakeDate] ( @Month int , @Day int , @Year int , @Hour int , @Min int , @Sec int ) ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Tile Engine Tutorial - Part 2

    We just posted part 2 of our Tile Engine Tutorial over at www.xnaresources.com ! This tutorial covers the following: - Updating the tile set handling to use a tile sets with transitions, etc.. - Adding smooth scrolling to the map engine - Adding a game screen overlay Here is a screenshot of the finished product: http://www.xnaresources.com/images/TileTutorial2.jpg Pop over and run through the tutorial: http://www.xnaresources.com   Ah... I see why you did it that way now. I hadn't thought much about walkability. How many parts do you estimate will be in this Tile Engine series ...Show All

  • Windows Live Developer Forums Humongous Javascript Api File.

    Hi, I am using v4 of the virtual earth control. But each time I open the page to view the map, it takes an age to load. I've used fiddler to detect the file sizes, and it seems the main file with the core script in it is 436,179 bytes, which seems huge. http://dev.virtualearth.net/mapcontrol/v4/mapcontrol.js -- 168 http://maps.live.com/veapi.ashx v=1.3.1115150037.31 -- 436,179 Also the files are set to not cache, which means the files have to be downloaded each time! I checked the files for maps.local.live.com and it does not download one big file, but instead multiple small files. Ive summed the bytes for the whole page, which comes to about 582,228, but the actual mapping components only seem to add up to ~178,000 bytes, which ...Show All

  • SQL Server Analysis Services, msmdpump.dll and IIS.

    Hello: I have two servers, one hosting Analysis Services and the other just serves as webserver. I have configured msmdpump.dll on the Analysis Services server succesfully using basic authentication. But now I need the webserver to provide Analysis Services data. I thought that I would be sufficient to repeat on the webserver the same configuration steps that I folowed on the Analysis Services server and change the <ServerName> tag in the msmdpump.ini file to point to the last one. Well, this isn't working. What am I missing Is there any tutorial or resource to accomplished I guess the problem you are having has to do with configuring permissions. First make sure you can connect from your web se ...Show All

  • Microsoft ISV Community Center Forums opc

    I am trying to develop an opc - da client using .net technology. Have gone through the documents on opc and opc client and all, but am still not sure how to implement it, can someone give me a direction on how to start with it Post your code here to have a look at it, leandro Are you using a reference to COM OPC Altough the exception is very clear. ...Show All

  • Smart Device Development Write filetime to registry

    I'm trying to write a FILTIME value to the registry. What is the best way of doing this How can I convert the int64 to string and back again Oystein I would store a FILEDATE as two individual DWORD values in the registry. Here is a sample. void WriteFileTime (HKEY hKey, FILETIME ft) { ::RegSetValueEx (hKey, _T ( "dwLowDateTime" ), 0, REG_DWORD, ( const BYTE*)&ft.dwLowDateTime, sizeof (DWORD)); ::RegSetValueEx (hKey, _T ( "dwHighDateTime" ), 0, REG_DWORD, ( const BYTE*)&ft.dwHighDateTime, sizeof (DWORD)); } This way you don't have to worry about converting to strings and back. Michael ...Show All

  • .NET Development Remoting Client Exception !!! "The remoting application name "XYZ" has already been set."

    Hi, I am getting an exception when I am trying to configure the Remoting Client using the xml configuration file. Code: System.Runtime.Remoting. RemotingConfiguration .Configure( @"C:\Server.config" , false ); Exception: Remoting configuration failed with the exception 'System.Runtime.Remoting.RemotingException: The remoting application name, 'RemotingServer', had already been set.\r\n at System.Runtime.Remoting.RemotingConfigHandler.set_ApplicationName(String value)\r\n at System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXmlConfigFileData configData, Boolean ensureSecurity)'."} System.SystemException {System.Runtime.Remoting.RemotingException} This application runs fine on ano ...Show All

  • Windows Live Developer Forums First Windows Live Gadget

    I am trying to create a simple Windows Live Gadget and am using this site as a guide. I want to create a gadget that contains a background image and a hyperlink to another site. The guide says that to get a hyperlink to display I have to enter the following lines of code into my .js file. p_elSource.innerHTML = "<a href=\"http://www.live.com\">Go to the best home page!</a>" + "<br />" + "<a href=\"http://ideas.live.com\">Check out the new windows live services!</a>"; However, when I log onto live.com and add the XML file of my gadget, it loads the title and icon but no content within the gadget. This is the whole code of my .js fi ...Show All

  • Visual Studio Team System Building project which referring dlls from other project

    We have Framework which is used in several our Team Projects. Framework is a Team Project itself When I generated build for one of the client Team projects (and build files obviously belong to the this client Team Projects) looks like the Build engine is not aware of those referenced Framework DLLs. It tries to look for them in the client project root folder, can't find it and obviously fails to compile. This build is automatically generated with no targets added or removed so i would expect that this minimal build script would work but not. Any suggestions how I can fix it Can build pickup files from different Team Projects It's actually not odd, it's the best scenario - you always load the fr ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DXUTmisc.h - C2300 compiler error

    get some error,it's like this when I include all DXUT File,and run application the DXUTmisc.h e:\TemplateTest\DxTest\DxCommon\DXUTmisc.h(829): error C2300: 'System::Enum' : class does not have a destructor called '~TYPE' e:\TemplateTest\DxTest\DxCommon\DXUTmisc.h(99) : while compiling class-template member function 'HRESULT CGrowableArray<TYPE>::SetSize(int)' with [ TYPE=D3DMULTISAMPLE_TYPE ] e:\TemplateTest\DxTest\DxCommon\DXUTenum.h(70) : see reference to class template instantiation 'CGrowableArray<TYPE>' being compiled with [ TYPE=D3DMULTISAMPLE_TYPE ] e:\TemplateTest\DxTest\DxCommon\DXUTmisc.h(829): error C2300: 'System::Enum' : class does not have a destructor called '~TYPE' what the ...Show All

©2008 Software Development Network