JohnnyP34's Q&A profile
.NET Development getting variables from flash and posting back a response
Hey All, I know how to post a variable to an ASPX page in Flash. How do I get that variable in ASPX and post back a response Thanks! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. SDK won't compile on VS2003 -> Syntax error in D3D10.h
When I try to compile the code from Tutorial 01 that comes with the October SDK in VS2003 it gives the following errors; i:\Program Files\Microsoft DirectX SDK\Include\D3D10.h(818): error C2061: syntax error : identifier '__out' i:\Program Files\Microsoft DirectX SDK\Include\D3D10.h(822): error C2061: syntax error : identifier '__in' i:\Program Files\Microsoft DirectX SDK\Include\D3D10.h(826): error C2059: syntax error : ')' What do I need to do to resolve this problem Thanks. To compile under Visual Studio.NET 2003, do the following: //WTF ! Seriously... d3d10.h uses these, but it doesnt define them anywhere. Are they newly autodefined in VS.NET 2005 #define __out /**/ #define __in /**/ #define __inout ...Show All
SQL Server Drillthrough results conditioning
Hi, I would like to be able to set a condition to define the results of my drillthrough in AS 2005. Let's use an example to explain what I am trying to do : We got a Cube with 2 dimensions ( Time, Products ) and a measure ( Sales Amount). In our cube we have stored detailed informations about our vendors, customers and stores. The following statement should return all rows from the columns Customers, Vendors and Stores names. DRILLTHROUGH SELECT {[Time].[Time hierachy].} on Columns, {[Products].[Product.hierarchy]} on Rows FROM My_Cube WHERE ([Measures].[Sales Amount] RETURN [Fact].[Sales Amount] ,[$Vendor].[Vendors name] ,[$Customer].[Customers name] ,[$Stores].[Stores name] I wonder if it is possible to set a conditi ...Show All
SQL Server Referencing a CLR DLL in a Custom Task
Is there a way you can reference a prebuilt CLR function in a custom dataflow task The CLR and the custom dataflow task are one in the same. The reason that I'm designing the custom task is that I find that it's time consuming to make a call to the database to retrieve a function to work on something that's already in memory. Also, another reason is that if the code needs to be updated, it doesn't have to be done in 2 places allowing for less confusion. I tried adding a reference to the CLR function in my SSIS dataflow task, but when I try running it in SSIS, I get the error saying it cannot use a SQL CLR defined task in the package which I believe is due to this reference in the CLR code: [Microsoft.SqlServer.Server. SqlFunctio ...Show All
Visual Studio Any books for VSIP SDK Explanations with code examples
Hi, I'm very much new to VSIP, so i don't know how to start and how to use it. If anybody know how to use it or if any books available for the same, please let me know. Thanks in Advance, Regards, Saravana Kumar B Hi Dmitry, It looks like the VS team has moved their video content away from www.vsipdev.com . At the time I wrote the response, the link was still active and accurate. There seems to be quite a bit of web content at: http://msdn.microsoft.com/vstudio/extend/webcasts/ , although not everything that used to be available appears to be there any more (e.g. there was a webcast on unmanaged project systems before). I've not seen most of these videos myself. The ones I've seen are the two architecture videos by Douglas Hodge ...Show All
Microsoft ISV Community Center Forums NUMBER GENERATOR HELP NEEDED
Hi, I'm looking for a letters generator from a to g. Or a numbers generator. 1 to 9. I have a scoring system for a horseshoe game I created in excel 2007 beta. I need the letters in column d3 to d13 to update once a round is completed. Which happens ok. But once a team is eliminated. I dont want a letter assined to the cell. If anyone could take a look will understand my issue. I will email you the workbook if you think you can help me out with this. I don't no vba yet but am trying to understand it. my email is trobert672@comcast.net Hi Derek, I try it out but I dont no what i'm really doing. I could send you the file to look at if needed Thanks again for your response Tom ...Show All
Community Chat Pellucid KidSafe browser (beta) Released!
Hello all, I am making a "KidSafe" browser for kids. Please download my program and post any noticed bugs,etc. It takes only minutes to set up. I am 10 years old, so who can make a browser for kids better than a kid Progress: Final will be started in January Thanks you everyone for your contributions and encouragement. *Has 3 tabs for browsing. *Has a "My Websites" button with up to ten of your programmed websites in it. Beta Features: *Has 3 tabs for browsing. *Has a "My Websites" button with up to ten of your programmed websites in it. *Talking Help guide *A new install program Updates in final version: *Button text replaced with graphics. *A game room with games, and fun KidSafe software (suc ...Show All
Smart Device Development hi
Hi I am currently using CreateFontIndirect Api where in i am tryingto set the font family like cursive,helvetica and so on... Can anyone let me know what are the exact members of the LOGFONT structure that needs to be filled so that i can see the font family being reflected. as of now i am not able to get the font- family reflected. Hi, Here is some sample code that may help you prepare you font structure. Here we assume that IDS_DEFAULT_FONT has the font name to use. ( it must be available on the device ) LOGFONT logFont; memset(&logFont, 0, sizeof(logFont)); logFont.lfHeight = -12; logFont.lfWeight = FW_BOLD; logFont.lfPitchAndFamily = VARIABLE_PITCH | FF_SWISS; CString strDefaultFo ...Show All
SQL Server Inserting Symbols into Fields (like ?)
I am attempting to insert a trademark symbol into a database field but it is not working. Does anyone have any ideas on how to do this properly Any help would be very appreciated. ...Show All
SQL Server Profiler for SQL Server Express 2005
Dear All, I need a tool to see what transactions and in what order are being issued against the SQL Server Express 2005 DB. Because of the SQL Server tools don't come with SQL Server Express 2005, then i run SQL Server 2000's Profiler with SQL Server Express 2005. But It prompt error "Failed to start a new trace". FYI, i don't want to use the backend sql trace .in command prompt.. Pls advise me on how to run the sql profiler to trace the transaction being executed in SQL Express 2005 Thank you. Thanks for replying the email. I got the idea of this "SQL Server 2000's Profiler works with SQL Server 2005" from some other forum. However it doesn' t work at all. So is there any ...Show All
SQL Server ODBC connection failed, but...
Running a database using sql server. User, rights, password set up on the server side and is functioning fine on the users normal desktop. But here is the problem. When the user goes to a different desktop they have never been on before and a new user profile is created on that desktop, they are unable to access the database. When using the front end (access), an odbc connection failure popup occurs when trying to retrieve data. The wierd part is that the odbc connection was set up under admin tools just like it is setup on the working desktop. Also the connection tests successfully. This leads me to believe that it is a desktop side problem and not server side. It is only a problem when a new user profile is setup on a desktop that the us ...Show All
SQL Server Problem using Monthname function
I am trying to have the below formula populate a portion of a textbox The right(Parameters!ToTimeDimensionCloseYYYYMM. label , 2 ) is because I am dealing with " YYYYMM " and I only want the "MM" portion. =iif(right(Parameters!ToTimeDimensionCloseYYYYMM. label , 2 )=01,Monthname(12),monthname(right(Parameters!ToTimeDimensionCloseYYYYMM. label , 2 )) ) When I use this formula it will work for December, however for the rest of the months if a user chose 200603, it will read "March" when I really want it to read "February". =iif(right(Parameters!ToTimeDimensionCloseYYYYMM. label,2 )=01,Monthname(12),monthname(right(Parameters!ToTimeDimensionCloseYYYYMM. label ,2)-1))) However, w ...Show All
Visual C# How can I build WavDest Filter in C#
In MSDN library DirectShow tutorial, there are three method to capture audio. To create .wav file, WavDest must be built. How can I build WavDest Filter in C# Please help me. Related link: http://msdn.microsoft.com/library/default.asp url=/library/en-us/directshow/htm/creatinganaudiocapturegraph.asp If you ave skills with C++ or any other language that may access Win32 DirectX API (such as delphi) then once a win32 DLL has been written, is far easy to create a managed class that access the unmanaged DLL via P/Invoke. Or you can refer to the managed directx, but I don't have any experience with it. ...Show All
Visual Studio Express Editions Records encryption
Hi, I am currently saving some records with VBs records function of files. The problem is that anyone could open and see them with a text editor. I was thinking of encryption, possibily symmetric one. With the password used to login, I would encrypt them so only the password owner can see them with the program. What do you recommend that is easy, needs no external files or strange things Also, I know records size can be calculated (eg, add 2 bytes per character *10 characters *1000 records to give the total file size), would any encrypted file keep that exact size, eg 1 byte encrypts to 1 byte Thanks. As long as the .NET framework is supported then the file can be encrypted using the methods above...So y ...Show All
Visual Basic Save file in My Documents
Hi, I would like to know how to save file in my document folder in vb. Since the program working with different user, the my document location must be retrrived from Windows. Please adviced. Thank you. Kin Dim MyDocs As IO . DirectoryInfo = My . Computer . FileSystem . GetDirectoryInfo ( Environment . SpecialFolder . MyDocuments ) Dim MyDocsPath As String = MyDocs . FullName ...Show All
