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

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

comwizz2

Member List

tammali
Robin E Davies
search and deploy
gwong685
vijayjun
dajm220366
humbroll
GRiNSER
e. ogas
Anton Rapoport
R.Tutus
Hollix
NastyMatt
Giber
ambe
Dedal
nhl66pens
Jonathan Stratford
Dick Campbell
johnny_no1_boy
Only Title

comwizz2's Q&A profile

  • Visual Studio Linking DSL Files

    Hi All, I will try to be as brief as possible. I've been making a DSL project for 2 months now. And somehow my application need to access the inner-structure of Visual Studio. I went to DSL forum to solve my problem, but someone pointed me to this forum. I hope there is someone here who can help me out. I dont know if my first question is related to GAT. When I run my DSL project I can add an item in Experimental Window by left-clicking the Debugging in solution explorer and then a window with templates appears. There I can choose my DSL template for the file I want to add. My question is, how can I perform this by only clicking a button I made by myself How can I show the Add New Item Template window by clicking my button And the ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DepthStencil array

    What is the use and the conditions of use of a DepthStencil array ( SetDepthStencilArray ) Could someone also give an example of application Thanks. Consequently, SV_RenderTargetArrayIndex is also the index of the DepthStencil array. Yes So when using SV_RenderTargetArrayIndex, it should be compulsory to have the same size for the RenderTarget Array and the DepthStencil Array. OMSetRenderTargets() has only single NumViews parameter for two pointers (RenderTargetViews and DepthStencilView), so it's explicit. ...Show All

  • SQL Server Attached DB is coming online as READ-ONLY - SQL Server 2000 on Server 2003 R2

    Detached, moved and re-attached the database It is coming up in read only mode. We try to put then in normal mode my unchecking the read only option on the properties of the DB but we get the following error: ERROR 5105: Device activation error. The physical file named 'D:\myDB.mdf' may be incorrect. Device activation error. The physical file named 'D:\myDB.ldf' may be incorrect. Could not restart database 'myDB'. Reverting back to old status. ALTER DATABASE statement failed. Device activation error. The physical file named 'D:\myDB.ldf' may be incorrect. sp_dboption failed. The D: drive in this example is a LOCAL drive. I moved this DB from the SAN. The MDF and LDF were on the same volume I did receive the same error wh ...Show All

  • Windows Forms Rseize Form to fit Image

    How would you resize a form according to an image's width and height. This is what I wrote: First off, don't resize the form in the Paint() event, but instead in the OnResize() Event. What you are doing is correct, but you will have to adjust some form parameters first because setting this.Size is setting the entire size of the window (including any border and form title you have). If you set the Form's properties as follows: - "ControlBox" setting to false - "MaximizeButton" setting to false - "MinimizeButton" setting to false - set borderstyle to "None" You should now get the effect you are looking for. Alternatively if you still want to have the form's border and title, try the ClientSize p ...Show All

  • Visual C# Thread.Sleep problem

    I have a thread doing some work and sleeping for a certain amount of time and doing the work again. The time it sleeps is a specific length of time minus the time it takes to do the work. I found that it always sleeps a couple of millisenconds less than the time I passed to Thread.Sleep. Could some one give me some help on this Why not use a timer instead The System.Timers namespace Timer class raises its Elapsed event on a new ThreadPool thread. http://msdn2.microsoft.com/en-us/library/system.timers.timer.aspx There is also a Timer class in System.Threading namespace http://msdn2.microsoft.com/en-us/library/system.threading.timer.aspx Slight differences but in general quite simil ...Show All

  • Visual Studio Team System Plans for Work Item Hierarchy?

    In reading the "MSF for CMMI Process Improvement" Process Guidance is says "If a change request is accepted, it is used to generate tasks to implement the change." We plan on following this guidance closely and for the most part think it will work fine. The one issue we see is, a Change Request can be closed with out it's Tasks being finished, giving false impressions to our over caffeinated project management team. Ideally we'd like to have a hierarchy so that a Change Request stays "Active" (or in an Implement state in our case) until all it's children tasks are complete. I know this is not possible now (at least with out a lot of customization), but is a work item hierarchy (specifically change req ...Show All

  • Visual Studio Team System view all change lists

    hi, i had two workspaces with files checked out on each. i checked in the changes for one workspace and to my dismay changes for both workspaces got checked in. not what i expected. so, i want to view the specifics of a change list relative to the database and not a specific file. i need to revert these changes that went in incorrectly but i don't know which files nor how many. i read somewhere that TFS was based in some manner on perforce which is very easy to use while in TFS...not so much. thanks, scott thanks richard. i cannot remember exactly what i did to get the changes from two workspaces in with one go, maybe it had something to do with the way i created the second workspace. i had a bunch of chan ...Show All

  • Windows Forms Listbox to show options from a related table

    On a Windows form, I have textboxes to show data rows of a main table. The main table has a foreign key to a minor table which is a list of status values ("Pending", "In Progress" and "Done"). The object is to display the status in a listbox or combobox. I want to know how to do this. Some notes: 1) The code to set up connections, DataAdapters, CommandBuilders, bindingsources, Datasets, etc works fine. 2) I would like to set up any constructs in code rather than with a wizard. 3) Unless I have to I want to avoid creating the relationship between the tables in the wizard. 4) I get the sense that one Dataset can access and update both tables, but I don't know how to tell the dataset about additional tables. ...Show All

  • Visual Studio Tools for Office Working with submenus in Outlook 2003

    how to Create Command Meun with two childs there is what i need Send By: -email -SMS msdn was not clear for me and it was creating menu bar . and what i need is a command menu. t You need to add a CommandBarPopup control to the COmmandBar and then populate the CommandBarPopup.Controls collection with CommandBarButton items. ...Show All

  • Visual Basic Passing arrays from vb .NET to ActiveX control (*.ocx)

    I have an application written in Visual Basic 6 that uses an ActiveX control written in Visual C++ 6. I'm moving the visual basic 6 application to visual basic .NET (2003). The problem is when I try to pass an array from the visual basic code as a parameter of a function of the control. In Visual Basic 6 the code is something like this: Dim dummy(10) as Long '... 'some code '... myActiveXControl.myFunction(dummy(0)) myFunction expects a reference of the first element of an array of Integers. Passing the first element of the array works fine in visual basic 6. But if I try the above code in vb .NET, changing the definition of the array for this one (type Long in vb 6 is Integer in vb .NET) : Dim dummy(10) as Integer ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Unable to share a windows game - Followed the instructions on the manual

    Okay, so I finished my first game using XNA Game Studio Express, it has been only a few days since I installed it, and it has been quite easy, having experience at making games. Now, I want to show this game to my friends, so I send it to a couple of them (both of them have XNA Game Studio Express installed), and it works great. Now I want to show it to some other friends, these who do not know what making games is about, these who do not have XNA Game Studio Express. I ensure they follow these instructions, from the manual: Sharing a Windows game On Windows you need to distribute your game executable and any content required by your game. In addition you need to ensure that the user has the following redistributables installed ...Show All

  • SQL Server question on tasks

    hi, if a package fails on error, would i be able to know code wise which particular task failed also, if the task is using a connection manager, how will i be able to access that particular connection object Ranier wrote: why do i need to retry in cases such as intermittent connection or the target server suddenly reboots and becomes back online after a couple of minutes, i would want the script task to retry the task that failed programmatically and without human intervention. wouldn't it make more sense to rollback the entire package if a task fails, and then re-execute it you can use transactions and checkpoints to accomplish this. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Collisions for user controlled sprites

    I've looked at every post I could find for sprite collision but all of them seem to assume a sprite with a given velocity (already in motion) I have written the code to display two sprites. They are controlled by two different sets of keys on the keyboard (awsd, arrows) They finally rotate and move along their vectors like I want them to (that took two days for me to figure out, lol), but I can't figure out how to keep them from going off the screen and going through eachother. All of the examples that reverse direction on collision are useless to me as my sprites move a set number of pixels per keystroke (or held key per update loop). I need help figuring out how to tell them that they cannot rotate or move in a direction wher ...Show All

  • Microsoft ISV Community Center Forums Microsoft Ecosystems

    Can someone explain the how Microsofts Ecosystem works, and whats in it for Microsoft and the Partner Thanks The Microsoft Partner Program offers resources and benefits to support ISVs throughout the development lifecycle. In addition to development resources, ISVs also can take advantage of marketing and sales opportunities. By helping ISVs successfully build solutions on the Microsoft platform, Microsoft benefits too. You can get a great overview of the benefits for each partner level from http://msdn.microsoft.com/isv/partnering/default.aspx . Basically, the Partner Program is tiered and you can engage at the level that is most beneficial and appropriate for your company. I hope this helps ...Show All

  • .NET Development Publishing problem

    I searched the forum but I didn't find exactly what my problem was. When I try to publish to a web page (my site) I get forbidden error. When I publish it to my desktop and upload all the files, the installer wont work. Is there a way to get it working on my own website I have been at this for an hour now. ...Show All

©2008 Software Development Network