Software Development Network Logo
  • Windows Vista
  • Visual Basic
  • SQL Server
  • Game Technologies
  • SharePoint Products
  • VS Team System
  • Audio and Video
  • Windows Forms
  • IE Development
  • Visual FoxPro
  • .NET Development
  • Visual C++
  • Visual Studio
  • Microsoft ISV
  • Visual C#

Software Development Network >> MMMalik's Q&A profile

MMMalik

Member List

dazjack
Kart_lin
psykota
Seefer
WindsorSean
Heng-yi Liu
numbers65
kymaita
Vaish
mobigital
swells
HiTech2k
Sir Robert Michael Murray Sr.
Jazzbo
--Alan---
Geokri
AllahIsGook
Girardelli
Chris4578
deepakOne
Only Title

MMMalik's Q&A profile

  • Visual C++ C and .net

    Hi, I've lots of programs written in C (not C++) and I want to include some .net framework in them. How can I do I've Visual Studio.net 2005. Thanks. SerialH There's no real need for this. The interop mechanisms are quite powerful. So long as you don't need an one-to-one mapping between your C object model and .NET object model things can be much easier. For instance, how about leaving everything as is and add a new C++ file which exposes a function to the C code and does the managed code stuff. For instance, // C++ code, compile with /clr extern "C" void managed_code_trickery() { System::Console::WriteLine("Snoopy"); } // C code void managed_code_trickery(); ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. AnimationController

    Hi >> Just a comment: Please forgive my English.   Does any one know how to reset an animation to its original time position without having to recreate it For example if I call AnimationController.AdvanceTime then when I call AnimationController.ResetTime the AnimationController .Time will be reset but the animations wont.   To be more specific:   When I animate a skinned mesh first I call:   AnimationRootFrame.AnimationController.AdvanceTime(ElapsedTime)   Then I update the Frames with my methods just like the Tiny sample will do.   UpdateFrameMatrices   Do all Drawings.   Now suppose I will ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. TargetElapsedTime and Animated Sprites

    So I'm looking at the help on Animate a Sprite. It suggests using TargetElapsedTime to set the rate the animation frames play back. Say I have an explosion that is 6 frames and I want them to play back at 4 fps. Well if I set TargetElapsedTime that slows the entire game world down to 4 fps. How do I go about keeping the Game running at the default of 60 fps but my animation running at 4 fps The obvious way is to roll your own solution using elapsed time in the update but then why does the tutorial want you to use TargetElapsedTime I keep feeling like I'm missing something obvious. Thanks for any help. Thanks for the reply, and the sample! I actually got it to work already. I didn't create an instance be ...Show All

  • .NET Development pass argument to the Thread

    hello Everybody I want to pass argument to the Thread Currently i m having the code like this createthread() { this._WatchThread=new Thread(new ThreadStart(RunWatch)); this._WatchThread.Start(); } private void RunWatch() This works fine, but i m not able to pass the parameter I want to pass the this parameter i.e. the whole class. Thank you in advance Sir, I have faced the same problem and got it fixed with the following solution. Solution 1: Try to use Thread pool lik Threadpool t=new Threadpool(your method, argument) Thread poll will manage to achieve your multithreading concepts. Solution 2: You can use parameterized thread to achieve this task. ...Show All

  • SQL Server (Harder?) cube query & design question

    Hi, I have an MDX query (and worst case a cube design) problem that I haven't been able to solve, any ideas on how to go about this Here's a simplified description, starting with the Dimension & Attributes * We make phone [Call]s. * In each [Call], and for a number of [Product]s we ask a number of [Question]s. * Each [Question] results in an [AnswerText]. These also reside in a user hierarchy [Answer Dimension].[Q and A]. * All of the above are attributes in the [Answer Dimension]. Facts * Measures.[Answer Count], which at the granular level is always one, i.e. each fact records that we recieved a single [AnswerText] to a single [Question] about a single [Product] in a single [Call]. * Measures.[Ca ...Show All

  • SQL Server Get the list of variables in a package inside a custom component

    Hi I am developing custom dataflow component ,I need to get the of variables of the current package in the component , how can i get it Thanks Mani A minor point but you could save the loop and array. You are only reading from one variable, so you could use LockOneForRead, e.g. string tableName = ""; IDTSVariables90 variables = null; VariableDispenser.LockOneForRead("TableName", ref variables); tableName = variable.Value.ToString(); variables.Unlock() You should probably check that the Value of teh variable is not null as well, before calling ToString. Always call Unlock as soon as you can. If you expect multiple tables to be selected, then ...Show All

  • .NET Development XML Files in Framework Installation path.

    Hi, While playing around, I found that Each of the Microsoft .Net assembly in the Installation path of .Net Framework(...\Microsoft.NET\Framework\v2.0.50727) has an XML file associated, in the same path. (e.g) System.XML.dll has System.XML.xml May I know the purpose of the XML file who will be using this XML file, is it the CLR Regards, Benin. No CLR will not use this file .This file use to generate help file . Whenever you are adding comments on your class and methods then this comments will be part of this file .You can get this things from this example /// <summary> /// To create Records in tables. /// </summary> Testmethod() { } Now this comments will be part of {assembly}.x ...Show All

  • Visual Studio Tools for Office Display Word Document onto a Panel

    Hi all, I want my application to automate a MS Word Window and display within a panel. Is any one know how to do it Thanks VSTO doesn't support some of the Windows Form controls on Office documents, and the Panel control is one of them. See http://msdn2.microsoft.com/en-us/library/ms178765(VS.80).aspx for details. ...Show All

  • Windows Forms VB 2005 Express Project Deployment

    I have writtewn an app that needs three pre-requisites, .Net 2, Installer 3.1 and SQL Express. All the publish details are setup etc. When I choose "Download prerequisites from the same location as my application" where is this "same location". My app will not publish beacuse it says, for example, "windowsinstaller3_1\windowsinstaller-KB893803-v2-x86.exe...cannot be located on disk". I have tried saveral locations but all have failed to date. David Guyer MS wrote: To keep the download size of the Express products smaller, we did not include the actual installer/redist files. As a result, you can't use "Same Site..." unless you download the redist f ...Show All

  • SharePoint Products and Technologies Sharepoint WorkflowTemplates

    Hi all, I am at a loss here and don't really know where to go from here... I have a client that is wanting me to create a custom application that will add/edit WorkflowTemplate within Sharepoint.... I have read and read, post after post on how to create Workflows from Sharepoint Designer and Visual Studio, they want a visual way to create the workflows, then use Infopath to create the form(i'll worry about that part later)... That is all fine and good, but my client has no clue how to use them and don't want to learn :).... I found a little something on netfx3.com, its a Workflow Manager... This does help to a point, but where would i go from here... What they want me to do is to allow them to run an application on the host serv ...Show All

  • SQL Server Package configurations stored in the database

    If the configurations are stored in the database then does the package pick up the configuration as and when required or it a one time pick when the package is executed. What I plan to do When the package is executed, I want to have a script task at the start of the package that will update the configuration table in the database with the values that the package needs to run with. I mean change the values of the configurations of the tasks which will be executed after the script task. Thanks for your time. $wapnil spattewar wrote: What I plan to do When the package is executed, I want to have a script task at the start of the package that will update the co ...Show All

  • Visual Studio Express Editions FATAL ERROR LINK1181

    Hello people, I just installed the visual Studio Express(followed all the steps on Microsoft website) and trying to compile a simple code but I get error message: FATAL ERROR LINK1181 cannot open input file 'user32.lib' Also when I search for this fie on my computer this file cannot be found. I reinstalled the Visual Studio again & again. The same result. Please help. Farrokh Mooir Please help   Farrokh Moori wrote: My library files are: $(VCInstallDir)lib c:\programfiles\Microsoft Platform SDK for Windows Server 2003 R2\Lib $(FrameworkSDKDir)lib $(VSInstallDir) $(VSInstallDir)lib The recommendation is to include the PSDK library path at the beginning, although I do ...Show All

  • Visual Studio Express Editions how do you converting visual basic 6 projects into visual c# projects

    Ok i have visual basic 6 projects Is there an add-on to convert visual basic 6 projects to visual c# projects I tred to run visual basic 6 project into visual c# and nothing VBV.Net and C`# are different languages, and VB.Net is the only one that has the upgrade tools for VB6. The only way is to use the above path. Note that you can purchase some of the converters that will do the complete project from vb.net to c#. ...Show All

  • Visual Studio Mark occurrences feature

    Hi Is there any feature (or plug-in that can provide a feature) in VS2005 like the "mark occurrences" feature in Eclipse Thanks Anders Granaker Anders, This feature does not exist in VS and I don't know of any existing add-in or packages that support this. But this would certainly make for a very interesting project. I wonder if there is any interest in this forum community to start this thanks, James Lau Lead Program Manager, VS Ecosystem http://blogs.msdn.com/jameslau/ ...Show All

  • Visual Studio Team System Where is it placed locally?

    When I bind a solution to the source control, I imagine Source Control copies the solution files to a local place. However I cant see where this is copied to... Anyone has any clue Could you explain what you mean by bind The first which comes to my mind is to add solution to source control, but obviously you have this solution on the local drive. When you check in the files they are sent to the server (which stores them in SQL Server) ...Show All

©2008 Software Development Network