VikasGoyal's Q&A profile
Visual Studio Express Editions Win32 API's
Hi All H ow can i see all the methods inside WinAPi's like user32.dll,kernel32.dll etc.. Looking For Response Decipher Use a tool like Dependency Walker or Dumpbin.exe that's included with Visual Studio (maybe not in the Express versions). ...Show All
Visual C# bypass .Net not installed scenario - by embedding C# appl. inside C++ appl.?
I have a smallish C# application that i wish to distribute as a standalone executable (ie. without installer or other support files). Easy enough if everyone has .Net Framework 2.0 installed as it's a simple question of file copy/mail/web-publish/etc. The problem is when the application is run by someone who doesn't have .Net installed, it exits without any visible error (except for an obsecure entry in the event log). Needless to say, this is not very helpful :< A workaround i had thought was to embed the c# application in a thin C++ Win32 application, the latter of which simply detects the present of .Net installed; a) not installed - prompts the user for action (ie. instead of just quietly aborting) b) is installed - extract em ...Show All
Visual Studio Server Explorer does not show in Visual Studio 2005:(
Please Help me Solve this:) I can't get Server Explorer to show by either going to view and clicking on Server Explorer or the keyboard short-cut. I had a pre-release version of VS 2005 and had a problem Installing the release version of VS 2005. Which I fixed. But what is up with Server Explorer not showing UnInstalled again and ran AutoClean Program and Installed Again. It works now. But I had a question about Creating an SQL Server Database in VS, how do you make it work as local. ...Show All
Visual Studio 2008 (Pre-release) Writing reusable effects in XAML
After playing around a little bit with storyboards, I decided to create a library of reusable visual effects. Examples include whisking a visual element from one side of its container to the other side, fading in/out in the middle of the container etc. This is easy to accomplish in code, but I'm looking for a way to define such effects in XAML. Naturally, the effects have to be parameterized, so it seems that various property values in the markup should be bound to dynamic resources. Having made this brilliant observation, I don't know how to proceed. Suppose I have a storyboard that targets the translatetransform.X property, using a splinedoublekeyframe to change it. I'd like the value of the keyframe to be based on the width of the panel ...Show All
Smart Device Development CE 5.0 Emulator with ActiveSync capabilities
It there an easy solution to be able to use ActiveSync from the Windows CE 5.0 Emulator I downloaded the Emulator and I fount that I need to download the Platform Builder 5.0 to build a proper image for my needs with a special configuration that I've read in the help file of the Emulator. I tried to install the Platform Builder 5.0, but I always get the following message: *** This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package. *** I tried it with several Operating System's setting. I also tried it with a WMware image, but every time I've got the same error message. I downloaded Windows Installer ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Reading the vertex data from the opaquedata in a content processor.
My question is really how would this be accomplished I asked earlier how to write a custom processor, and now I've got one, but I'm not sure how to get vertex data, or certain vertices out of the NodeContent and put it into the ModelContent. I'm trying to do this for precisely the kind of thing that was demonstrated in the "Gamefest Content Pipeline Demo" video. I would like to read certain marker batch vertices to be able to give me access to that data for placement of other meshes on top of a base mesh at the right spot. I would be much appreciative for help with this! :) I'm guessing you should be able to get this from some sort of debugger content -- possibly by implementing ...Show All
Visual Studio 2008 (Pre-release) Client equivalent of IServiceBehavior
Hi, Does anyone know what the client side equilavant of the IServiceBehavior interface is. I know that with the IService behaviors I can defined functionality that is applied to all endpoint\contracts etcs of a service but how do i define a behavior that can be applied to all endpoints , contracts on the client in a single step. I know about the IEndpointBehavior interface but i have to apply this to every endpoint, is there i way to just defined something at a client level. Somehting like a IClientBehavior interface Thanks Dave Hi Dave, There is only one endpoint on the client. That's available through the ChannelFactory.Endpoint. And as you suggested, you can add an IEndpointBehavior ...Show All
.NET Development USB Drive Name
I want to be able to loop over all drives and find the USB Flash drives attached to the system. When I find a USB drive I want to get various pieces of information i.e. free space, mapped drive. I want to be able to get the label/volume name that you see in Windows Explorer/My Computer. This is the label that can be edited by the user (under the drive properties)and is information that the user would like to see to help identify a USB Flash Drive. I have tried to use: string drive = "c:" ; string VolumeLabel = null ; string ObjectPath = String .Format ( "win32_LogicalDisk.DeviceId='{0}'" , drive); using ( ManagementObject mo = new ManagementObject (ObjectPath)) { mo.Get ( ...Show All
Windows Forms Handling different resolutions
Can anyone tell me how they handle writing apps for screens with different screen resolutions Some of my screens are set to be maximized, others aren't.. Is it possible Thanks tattoo Hi, You could also try checking the following link. http://msdn2.microsoft.com/en-us/library/system.windows.forms.control.dock.aspx Thank you, Bhanu. ...Show All
.NET Development Best/fastest way to save a large DataTable a database?
Hey, Whats the best way to save a rather large DataTable to a database It consists of roughly 60 columns and 15 thousand records (6MB of raw text). I was thinking of using a stored procedure but would that give any performance increases on an operation like this Thanks! Regards, Weiran. I have another problem :(. Every time I insert into the table, it deletes all the previous records! How can I avoid this Thanks! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Can someone reliable give me the relase time of XNA GSE in GMT?
Hi guys, Just wanna know from someone reliable or someone that can tell me if it'll be relased at midnight, or if I don't bother sitting through the night for it. Its just to save me waiting till early moning 30th August, and finding it ain't up until say America reaches midnight. thanks again, Jonathan Thats correct I posted more info in this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=679442&SiteID=1 ...Show All
Visual C++ Want to give a college student a hand? Some problem about DAO and Multi_thread in MFC...
Hi,every expert,I am a student coming from China and came across a puzzle problem about MFC programing...Please forgive my poor English. The problem is that open the CDaoRecordset object in thread function which is started by AfxBeginThread() function.If m_daoRecorset->Open() called is NOT in the thread function,there is not exception thrown;if not (in thread function)there are some debugging exception pop up to show something wrong happened in file daocore.cpp.I don't know why. I compile the project in Visual C++ 6.0(not sp5) originally ,but the lib of DAO cannot support the access 2003's file(*.mdb),so I converted it into Visual Studio 2003 ,the damned problem happened.I ask someone in Chinese forum in CSDN(www.CSDN.net),they don't kn ...Show All
SQL Server How to connect to Microsoft analysis Server 2005 (9.0)
Hi People, I need to connect directly with the Database , not with a .CUB file. Somebody knows how it is possible (intructions in C#) Where can I find all this information Thanks If you want to administer the database (create, delete, process), you can use AMO (Analysis Management Objects) with code samples at "%ProgramFiles%\Microsoft SQL Server\90\Samples\Analysis Services\Programmability\AMO". If you want to query the database (run MDX queries), you can use ADOMD.NET. Adrian Dumitrascu ...Show All
Visual Basic How to make a .NET component binary compatible with a VB6 component
My organisation needs to convert a number of VB6 COM components to .NET (VB.NET 2005) but have several VB6 / Office clients which need to consume these components and which we do not want to recompile and redeploy. We thus need to maintain backward binary compatibility between the VB6 applications and the new .NET components. I found the following question asked back in 2001 (!!) but cant track down the answer anywhere. "Is it possible through the use of attributes to make a .NET component binary compatible with a VB6 component Has anyone done this " Clearly, this is exactly what we need to do, so, any suggestions - and sorry if this is a boring old question - I did search but couldn't find a clear answer. John ...Show All
Visual Basic Temp Image file is locked and cannot delete
Hello, I just can't seem to get this to work right for some reason. I am getting pretty frustrated and I am sure it is an easy fix. I have the following line of code: Dim pictForm As Image = Image.FromFile(strFilenameJPG) In the next couple of lines, I draw the image into my graphics object. The strFilenameJPG varaible is just a temp file. When I have completed my grahpics work, I want to delete the file. I use the following line: Kill (strFilenameJPG) However, I get an I/O error every time saying that the file is in use. I have tried several methods such as disposing the pictForm object and setting it equal to nothing, but I always get the same error. Any help would be appreciated. Tom Thanks for the rep ...Show All
