nrkhakre's Q&A profile
Microsoft ISV Community Center Forums Find worksheets starting with "xxxx" using an outside dll
Hi All, I am trying to find the names of worksheets starting with some kind of string, like "intrest" and then passing the array containing the names of all 'correct' worksheets back to the dll that asked for the information. As added information: I am starting a program using an Excel Add-in. That program later refers back to the Add-in for a couple of functions, the first of which is the one mentioned below. I tried to accomplish getting the names of worksheets with the following code in the dll, where the names refer to the following elements: objExcel refers to the Excel workbook activating the program sExcelFile refers to the .xla-file activating it sNameToFind is the string I am searching for ("intrest" for ...Show All
Visual C++ warning C4005/RC4005 macro redefinition/redefinition
I am creating a dialog resource and it contains the ubiquitous OK button. The id for this button, IDOK, is being given the value 1001 by the resource compiler. IDOK is also defined in winuser.rh with a value of 1. This is causing two warnings to be issued, C4005 for the former and RC4005 for the latter. What is the best solution for resolving this issue I am contemplating either manually changing the value in resource.h to 1 or removing the definition altogether from resource.h. Thanks in advance for your assistance. That didn't help. The resource.h file must be getting read in prior to the winuser.rh so I still kick up the error for the second file. However, interestingly enough, it has stopped complaining about the entry in ...Show All
Visual Studio Team System Unable to perform Web Test
When i try recording a Webtest My Recording doesnt work. The Record options seem to be Greyed out (disabled)..The Browser loads Up pretty quickly when i click on a new webstest But then its all greyed out. The Message that i get is "The web test recorder must be launched from within visual studio" P lease help me in figuring this out. Hi Mike Thats exactly what i am doing. Creating a Visual Studio Test Project, Adding a New Test and choosing a Web Test, the internet explorer launches with the recorder section greyed out (disabled). pls help !! ...Show All
Software Development for Windows Vista Example faulthandleractivity Office SharePoint Server 2007
Does anybody have a sample of how you can use the faulthandleractivity in a scenario with Office SharePoint Server 2007 SharePoint questions should go to the SharePoint - Workflow forum found at http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=1207&SiteID=1 . ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to get XNA Game Studio for VS2005 Team Suite Edition????
Where to download it waruwaru wrote: Where is the line between "hobbyists", "indies" and "professional" Professionals write AAA games for a living, have an established presence in the industry and usually agreements with publishers and companies like MS to get dev kits. Indies might (rarely) make a living at game development, but they're usually more in the casual games market and you likely won't see their games on store shelves. waruwaru wrote: Where does it say Live Features won't be available to GSE And why can't they use Live Features Q: Does the XNA Framework include the ability to use Xbox Live A: The initial release of the XNA Fra ...Show All
SQL Server Schema Problem?
background: local reports tied to a dataset, webforms, SQL 2005 Reporting Services. Event: Checked in report via source safe and network failed in the process. Once network was back online an extra field was added to the stored procedure and the dataset in VS 2005 refreshed just fine. Refreshed folders, looked at dataset schema and everything seems fine. Problem: My report refuses to notice that the dataset has now changed and doesnt like the new field. How/What do I refresh to get this connection working properly again (connection between my report and my new dataset). Is there actually a report schema oh and p.s. after compiling it gives me an error and even after running the app it runs. Oh and I deleted temporary as ...Show All
Game Technologies: DirectX, XNA, XACT, etc. saving and loading files in XNA
Incredibly this topic does not seem to be covered in the XNA help - well it sort of is, but with sample code that doesn't compile and isn't complete - not to mention the helpfiles respond with information about save games instead of actual file handling (ie level data and so forth - the real meat and veg of file handling in a game) So here's my question - where do I look in the xna or c# docs for proper samples of saving out a binary or text file containing data I've created myself, and for loading it back in again - from wherever the game is located - I'm not yet interested in saving save-game files from the xbox 360 hard disk. Obviously I've tried typing "file handling", "saving files" and so forth into the xna hel ...Show All
Visual Studio Tools for Office How to find whether there is a blank page at the end of the document ?
Hi, I am trying to print a word document from my application. How do I know whether there is a blank page at the end of the document Please help me.Thanks in Advance. Thanks & Regards Rama Krishna Hi Rama As I explained to you in my last response, you should ask general automation questions in a newsgroup such as those listed in the "Please Read First" posting at the top of this forum. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=174275&SiteID=1 ...Show All
Visual Studio Express Editions How can I connect a form to a button?
Hi, I was wondering how I can make a button connect to a form so when I click on it it takes me to that form. Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Form2.ShowDialog() End Sub ...Show All
Internet Explorer Development error signature hungapp
Hello everybody My computer is very slow and freezes, sending out this message: Error signature sz AppName: iexplore.exe sz AppVer: 7.0.6000.1644 sz ModName: hungapp sz ModVer: 0.0.0.0 offset: 00000000 What do I have to do Your help will be GREATLY appreciated! What I did was uninstall any yahoo software (messenger, tool bars...) and now everything is back to normal. I had this problem only with windows media center not with xp. I hope this help. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. device.AvailableTextureMemory somehow?
Is it possible to get the free or the used VGA memory somehow in Xna like device.AvailableTextureMemory in MDX or GetAvailableTextureMem(). If it is not possible in the XNA framework, can I extract the "native DX device pointer" from XNA and pass it to the C++ DirectX dll and ask GetAvailableTextureMem() with PInvoke Thanks, George Used and available video memory is actually a tough question to answer on modern hardware. Even if you do have access to the API the return value can be surprisingly random at times! For instance on Xbox, the unified memory architecture means any kind of CPU data structure allocation would affect the amount of free texture memory. On Windows, increasing ...Show All
SQL Server help pls: procedure 'LoginListInput' failed because 'LoginListInput' is a table object
When I execute the script on my machine it works but when we send it to the client it gives the error: procedure 'LoginListInput' failed because 'LoginListInput' is a table object Here is my script: use mosaikDB737 exec sp_MSforeachDB ' use [ ] insert into mosaikDB737.dbo.SearchOutput1 select sk.loginname COLLATE SQL_Latin1_General_CP1_CI_AS as searchedTxt , object_name(id) AS ProcName ,Len(SubString(o.text,1, PatIndex(''%'' + ltrim(rtrim(sk.loginname COLLATE SQL_Latin1_General_CP1_CI_AS))+ ''%'', o.text)))-Len(Replace(SubString(o.text,1, PatIndex (''%'' + ltrim(rtrim(sk.loginname COLLATE SQL_Latin1_General_CP1_CI_AS)) + ''%'', o.text COLLATE SQL_Latin1_General_CP1_CI_AS)),char(13),''''))+1 AS Line, PatIndex(''%'' + ltrim(rtrim( ...Show All
SQL Server Split a table vertically
Hello I'm trying to find a way to do the following: Click a record in a table and detailed data from that record shows up in the same report. The details need to show up directly beneath the record you clicked on. Imaging the table splitting vertically just like Moses did with the sea. At the end of the details, the rest of the records of the main table continue. I'm sure I've seen it somewhere. Has this been done by someone Is it technically possible Many thanks! Worf It may not be what Moses did but SSRS supports toggled visibility as the sample Customer Orders report in this article shows. ...Show All
Visual Studio Team System WorkItemChangedEvent for an area path and all its children
I'm trying to set up an event subscription for all WorkItemChangedEvents in or under a certain area path, and I can't figure out what operator or function to use in the filter expression to do it. Seeing (at least in the Event Subscription Tool ) that the filter is called "XPath", I naively tried to use one of the XPath functions: "PortfolioProject" = 'MyProject' AND "contains(CoreFields/StringFields/Field[ReferenceName='System.AreaPath']/NewValue,'MyProject\My Area Path'" This, of course, produces a TF50304 error. "PortfolioProject" = 'MyProject' AND "CoreFields/StringFields/Field[ReferenceName='System.AreaPath']/NewValue" UNDER 'MyProject\My Area Path' The subscription succeeds, but I did ...Show All
Visual C++ Compiling VC++ old code in VC2005
Is there any way we can make VC2005 compile some old C code in the exact same way that VC++6.0 did Yes, the VC2005 can compile C code. Just name your file as .c. Thanks, Ayman Shoukry VC++ Team ...Show All
