Peter D.252325's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. A tool to help with Sprite Animations: Sprite Strip Composer
Hi: I have been working on a game written in the XNA Framework. The game has many sprite animations. After researching how other do this in the community I adopted the approach of loading a "Sprite Strip" (PNG) consisting of a row of frames. If there are many frames and the sprite is large, I split them up onto multiple rows. One of the laborious tasks was creating such 'Sprite Strips' from a sequence of PNGs. I have created a very basic Windows Application named Sprite Strip Composer to solve this time consuming problem. Download: Sprite Strip Composer Instructions: Browse to a folder containing your PNG files. Select the files you want included in the strip. Make sure the animation looks correct by looking at the Animated ...Show All
Visual Studio Sandcastle feature requests
I am now using Sandcastle November CTP with some modifications to build help for several related projects. I am using no additional software except a batch file with some input parameters which automates the build process. In order to get good results it has been necessary to make several changes to the released version of Sandcastle. Many of these changes I think should be included as standard features. I know that Eric Woodruff's SCHB does most of this stuff (and a lot more). However, I don't think an end user should have to rely on this in order to make Sandcastle easy to use. Here is a list of modificiations and extra features I would like to see as standard, especially 1.1, 1.2 and 1.3! 1 General requests 1.1 [vs2005 ...Show All
Visual Basic VB6.FixedLengthString(intBufferSize)
When converting VB6 code to VB 2005, I get some conversions that are in the form "VB6.FixedLengthString(cintBufferSize)". This usually occurs in a Type declaration where a string has to be of a certain length. What does this mean, and what would be the correct format to use in a Structure in VB 2005 Thanks, Mike if a string has to be of a fixed length, you can either: 1) use a stringbuilder and specify a specific capacity (and best practice to do this for handling strings) 2) take a look at this: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvbpj01/html/gs0601.asp I guess from reading it, you can specify the "space" length: Dim theString as String = Space( leng ...Show All
Visual Studio Tools for Office How do I create a "global" solution for Excel or Word 2007 using VBA?
It looks like VSTO is great for producing global "Add-In" solutions for Office applications. What's the best way to to use this "Add-In" style model using VBA instead of .NET How do I create a "global" solution for Excel or Word 2007 using VBA Thanks in advance. --Nick Hi Nick I'm not sure what you mean by "global" exactly. Word supports template addins and Excel xla addins. you can look up discussions about these in the relevant VBA newsgroups as listed in the " Please Read First " posting at the top of this forum. ...Show All
Visual Studio 2008 (Pre-release) Issue with WCF method in client app
have a Web Project called secure that I would like to use a WCF service on the server. In the Solution, I have another project, WebFuncs, that is some common code, and includes the Service Reference to my WCF Service. Because secure imports WebFuncs I was able to use this code: Private proxy As New OrderCompletion.OrderCompletionProxy ... Private Sub btnSend_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSend.Click ... OrderNum = proxy.CreateOrder(Me.CartID, Me.tbComments.Text) ... End Sub However, in use I get this error: System.MissingMethodException: Method not found: '!0 System.ServiceModel.ClientBase`1.get_InnerProxy()'. at secure.OrderReview.btnSend_Click(Object sender, ...Show All
Visual Studio Problem after install VS2005 Service Pack
I have installed Service pack on my VS2005 Professional Edition. After installation Crystal Report doesn't work more. I see a messagebox "Crystal Report ActiveX design" with text : "Impossibile aprire il documento". When i click on ok i see another messagebox "Microsoft Visual Studio" with text : "Impossibile creare il motore delle query Crystal". How can i do to resolve this problem Thanks to all and sorry for my english! And you have received this error message the first time you started Visual Studio after the installation of the Service Pack And you did not receive an error message during the installation of the Service Pack ...Show All
Visual C# How to Enumerate StringBuilder object with null character as delimiter between strings
hi all, i have a StringBuilder object with unknown number of strings each string followed by a null character. i am getting the only first string by whatever the parsing technique i used because of null character. any suggetions thanks and regards ranadheer. thanks for your reply. the code i used is as follows **************///code for importing GetPrivateProfileSection() method///************************** [ DllImport ( "kernel32" )] private static extern int GetPrivateProfileString( string section, string key, string def, StringBuilder retVal, int size, string filePath); **************///code for reading .ini file //*********************** ...Show All
Visual Studio Tools for Office [Word] Runtime error on loading custom add-in
Hello, I have a problem with loading my own add-in after I deployed the setup and installed the add-in. When I run the add-in directly out of visual studio it all works fine. However when I generate the setup.exe and use it to install the add-in it won't display in Word. When I go to the COM-addins dialog in Word I can see that it is indeed installed. When I click on it, i see the message: "Not loaded. There was a runtime-error ...... ". My guesses are that it has to do with security or something. I already put the macro's security to the lowest level, and followed the directions on http://msdn2.microsoft.com/en-us/library/aa537179(office.11).aspx to add something for the security. I allready spent hours searching google for this ...Show All
Windows Search Technologies WDS 2.6.5 - Problems with taskbar
I updated my WDS 2.5 installation to WDS 2.6. Now I have a toolbar in my taskbar that does not have a name and does not contain any icons. I can resize the toolbar but I cannot drop any icons in there so it does not seem to be a launch bar. If I open applications the windows box appears in a different tab in the taskbar. The toolbar is not listed in the properties dialog for the taskbar so I cannot turn it off. Do you have any idea how I can get rid of this toolbar/tab inside my taskbar It is taking away some space without providing any value :-( Thank you for your help. Ingo Have probably the similar problem in Win XP Tablet PC 2005. Sometimes have my taskbar doubled. Say if I open a word documen ...Show All
SQL Server Reporting Services for SQL 2005 Standard
How do you enable reporting services in SQL 2005 When i initially installed SQL 2005 i allowed everything to be installed, but now i do not see how to get into reporting services to get it started. I also look in the Surface Area Configuration Tool to see how to enable it but did not find anything. Can someone please help me Should i just try reinstalling Report Services I cannot reinstall the entire SQL 2005, because it host a database on the web. Will reinstalling report services affect anything else ...Show All
SQL Server Download DTS for SQL 2005 Express
I'm trying to export a SQL 2005 express database to SQL 2000 without success, really a pain in the ass :-( But I found that it may be a hope but I can't find the page to download the in this page mentioned additional download for SQL 2005 express that will add DTS functionality to it. http://www.microsoft.com/technet/prodtechnol/sql/2005/msde2sqlexpress.mspx " DTS runtime Yes Yes (Web download) " Where can I find the additional package to add DTS to SQL2005 express Best Regards hello ...i have the same problem . I have to import data from a csv file and i have tried to install DTS Services from the link above but in the C:\Program Files\Microsoft SQL Server\90\ i don't find DTS\Binn\DTSWizard. ...Show All
Gadgets button for "add gadget to windows sidebar" to be displayed on website
Hi, Is there an official standard icon (like the orange RSS square icon) to be used when linking directly to a gadget on a website We're in the last throes of testing of our newly developed site, and as part of our "proof of concept" work, we've added a gadget to get data from our shopping catalogue. However I need to put a link on our site (much like the orange RSS icon) to indicate to users that we have a gadget for their Windows Sidebar. What should a button/icon like this look like I've not found any sites yet that display a link with an icon (only ones with "add to sidebar" in text). Any idea Thanks in advance :) ObseloV I have a similar problem and want a solution as ...Show All
Visual C++ Question about const_cast
Here's round two of my silly questions. How come this compiles: ---------------------------------- int main (int argc, char * argv[]) { const int test1 = 5; const int test2 = const_cast<const int &> (test1); return 0; } ---------------------------------- But this does not. ---------------------------------- int main (int argc, char * argv[]) { const int test1 = 5; const int test2 = const_cast<const int> (test1); return 0; } ---------------------------------- Error 1 error C2440: 'const_cast' : cannot convert from 'const int' to 'int' j:\test\main.cpp 4 ---------------------------------- I definitely have the latest version of VC++ Express Edition this time. I'm not trying to u ...Show All
SharePoint Products and Technologies Can I control file types crawled by content type
I would like to crawl file servers at a different level of service than WSS sites. Case in point: .html and .htm are file types that are indexed in my farm because they are allowed file types. When I crawl a file server, however, I don't want them indexed. Is there a way to do that It would be nice to still capture the name and location of .html or .htm files but I don't want my indexer to spend the time busting them apart on file servers. Thanks Chris Fields I have similar problem with crawl rules. I need to exclude all from http://server/ , but include only some URLs for example http://server/Pages/ I created crawl rules: http://server/* to Exlude all content and http://server/Pages/* to I ...Show All
Windows Forms Can I show icons in the combobox (for every item in it).
I'm working on C# - VS 2005. Best Regards Trinadh P. You will need to create a combobox control that overrides the on paint message to place an icon in the list item followed by text. One good resource for windows forms / control work is Windows Forms FAQ . ...Show All
