JustPlayingAround's Q&A profile
Software Development for Windows Vista application compatibility with vista
i want to port an application on vista. but the application supports SQL server 2000 only and vista supports 2005 only. bow can i make that application compatible to vista ...Show All
SQL Server Unicode characters stored incorrectly in SQL 2005
I have SQL 2005 installed as back-end for MCMS 2002 , when storing a unicode content like Arabic , and query it direclty from SQL it appears like كيف الحال The english text stored correctly and can be read. Note that same senario with SQL 2000 the unicode data cane be viewed correctly. Regards Does this affect operation of MCMS or not " actually the content appears correctly on the web page. the types in 2000 and 2005 are the same as following: (< NodeId , int ,> ,< PlaceholderId , int ,> ,< Id , int ,> ,< PropName , nvarchar ( 100 ),> ,< IsResource , tinyint ,& ...Show All
Visual C++ Creating Menus
I have VS 2005 and I'm reading a tutorial on creating menus. After designing the menus, I need to add functionality by following these steps: 1. Open the Menu Designer to your menu. 2. Open the Class Wizard from the View menu. 3. The Adding a Class dialog is displayed ... Leave the dialog selection on Select an Existing Class and click OK Since there is no Class Wizard in VS2005, I tried right-clicking my menu item in Resource View, but there is no option to Add Class. I am trying to attach a menu to a dialog. Can someone tell me how to add the dialog's class to the menu Saurabh Agrawal wrote: Since there is no Class Wizard in VS2005 I might have to say that you are right for some aspects, b ...Show All
Game Technologies: DirectX, XNA, XACT, etc. C# Marble Blast Ultra Source?
I noticed in one of the XNA blog posts, that GarageGames had ported their Torque shader engine and Marble Blast Ultra to managed code/C#. Is this source likely to ship with XNA Studio Express (or possibly people with the "creators club" membership), or did they just do it to show off It'd make a pretty cool starting app for people to look at and see how it should be done!(and they have done it with MechCommander2). They ported MBU lock stock and barrel, to prove that Torque X was viable for writing games on 360. The source code is not publicly available and isn't ever likely to be. GarageGames make revenue from MBU after all. The example was basically to show the comunity that they can make su ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Syncing Present() to vblanks
I'm currently porting my 3D engine to Direct3D 10 from some old Direct3D 9 code. I'd like to fix the maximum buffer swap rate to the refresh rate of the monitor, so that Present() blocks and eases up CPU usage when it exceeds this. The documentation suggests that Present(1, 0) should work: SyncInterval [in] Specifies the granularity with which the presentation synchronizes with the vblank of the target IDXGIOutput. If the target window straddles more than one IDXGIOutput, the synchronization will be performed to the IDXGIOutput that contains the largest subrectangle of the target window's client area. Valid values are: The call may be synchronising to the vblank but Present() certainly isn't blocking for the duration. All of the SDK ...Show All
Visual Basic Dead Keys and KeyPress event
Hi. I am designing a program to convert normal latin/american characters to cyrillic characters when a certain key is pressed, for example, when I press a letter in my keyboard, the program checks which letter was pressed and accordingly converts it to a specific cyrillic letter defined by me (Yes, I have a huge Case statement for each keyboard letter). I'm currently using the KeyPress event to do this. Here is a brief bit of example that is working, so you can see what I mean: Private Sub frmMain_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles MyBase.KeyPress LatKey = e.keychar Select Case LatKey Case "q" CyrKey = " " Case "w" CyrKey = " &q ...Show All
Visual C++ Aero Wizards with MFC 8.0
We tried to convert our Wizard97 style Wizards to the new PSH_AEROWIZARD style. This does not really word, I think because of the different structure size of the header struct in MFC and Vista plattform SDK. Has anyone an idea Is there a workaround for this problem, which could make the wizard word both on Windows XP and Vista Tnaks for your help. Thank you Ted. The Sample works now. I post the rewritten DoModal member function here. INT_PTR CMyPropertySheet::DoModal() { ASSERT_VALID( this ); ASSERT(m_hWnd == NULL); // finish building PROPSHEETHEADER structure BuildPropPageArray(); // allow OLE servers to disable themselves CWinApp* pApp = AfxGetApp(); if (pA ...Show All
SQL Server Package variables
Couldn't quite find the answer I was looking for via a forum search. I have 9 packages that are currently called by a master package - all child packages take a datetim e variable from the master package which is subsequently used in the child processes. The question I have is that if I run the master package manually from Visual Studio I can set the master package variable manually to a date of my choosing and run it, which works fine. However we will be wishing to automate the package execution at some point and want to know the best way to run the package(s) on an automated basis and have the data variable supplied to the master package. What would be the best way to do this Presently we have a variable called MasterPackage ...Show All
Software Development for Windows Vista ICredentialProvider
Did anybody make a successful user logon using the new ICredentialProvider interface My credentials are displayed, but I can't make them to logon. And what worse - after 20 or 30 seconds, the winlogon crashes completely with no recovery possible excepting hardware reset. I thought I basically did something wrong and decided to wait for more detailed documentation or some sample code. But MS doesn't seem to put too much effort on improving their SDK documentation and I also found that at least one other programmer has the same problem: http://msdn.microsoft.com/newsgroups/default.aspx query=vista&dg=microsoft.public.platformsdk.security&cat=en-us-msdn-windev-winsdk&lang=en&cr=US&pt=&catli ...Show All
Visual Studio Team System get list of files changed after a specific label
How can you get a list of all the files under a team project that have changed since a particular label was cut on that team project Richard Berg MSFT wrote: I can think of two main alternatives: Write a program using the client API. Rough algorithm: QueryLabels to get the complete for the label in question Find the highest changeset # represented in the label QueryHistory from that changeset # to Latest Loop over the results and print the filenames you encounter ...and you can find just such a program at http://support.larucorp.com/blogs/carld/archive/2006/07/27/77.aspx if you're interested in exploring that path. ...Show All
Visual C# Wrapping C++ dll
Hi there! I'm very very new to C#, but I fell in love with it after the first minutes. My problem is, that I have to use some unmanaged c++ dlls. I couldn't find a good how-to about wrapping such dlls. I managed to wrap some classes by inspecting wrappers I found on the net. My problem is that I don't know how to handle something like this: class fooA { ... }; class fooB { const fooA *m_a; const char *m_name; void *m_userData; void setName(const char *name); void setData(void *data); ... ... }; I've collected most of the problems I had and assembled them in that example class. I hope that somebody can help me how to deal with such things or give me an advice about a good "tutorial" or paper. Thanks in advance &a ...Show All
Game Technologies: DirectX, XNA, XACT, etc. GameComponent designer
Would it be possible to add support for a GameComponentCollection in the designer for GameComponent Perhaps it would make sense to do this by creating a new class analogous to UserControl in windows forms, or even creating an IGameComponent so that a collection isn't required. It would be pretty easy to implement myself, but I think it would be best done as part of the framework. I think it would be handy for things like a state machines, so you could aggregate components in a state component and still have access to the designer. Please file the suggestion via Connect. Are you asking for the GameComponent to have a GameComponents collection and for the GameComponent designer to behave similar to the G ...Show All
Visual C++ header problems
hi, I'm a new visual studio programmer... I installed the boost library, I set the BOOSTPATH I have a poject with sources files and headre files, (that use boost) I have added $(BOOSTPATH) in the Additionnal Include Directories of the Project Property Pages. Fisrt : that BOOSTPATH does not spread in all sources files... I got the message error : "fatal error C1083: Cannot open include file: 'boost/bind.hpp': No such file or directory" and this for all the source files including a boost header file. Second: How do i do (what option , what field ) to include a header file in an another one message error : in header_file.h "Cannot open include file: 'directory1/directory2/header_file2.h': No such file or directory" thank ...Show All
Windows Live Developer Forums Customized LIVE search
The present LIVE search graphical appearance is good. The font size, display results, color and feel not good.If LIVE search provide costomized options to display font size, search results Url color, Description color that will be good. User can select favourite colours and fonts. If this options provide to LIVE search, usability wil be increase. Compare to google LIVE can provide all options to user. That wil make good look and feel for live search ...Show All
SQL Server SSIS & Deployment
Several SSIS are deployed from a server A to a server B (Integration Services) with a SQL user and are stored in MSDB - Most of the SSIS have their connection only after SSIS have been launched ; Delayvalidation is set to true. - Application user the same SQL user from server A can launch the SSIS. - But the same application on server C cannot launch the SSIS. The error is : OLE DB Connection error for the connection string - Server A, B , C are Windows 2003 Server and belong to the same Windows Domain. Can you suggest me some tips Can you get hold of the connection string to see if it is valid Here's a technique for doing that: http://blogs.conchango.com/jamiethomson/archive/2005/10/10/2253.asp ...Show All
