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

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

Ravie14

Member List

jackli_0112
Chris Muench
jakub78
Wayne.C
Blueforce
QWERTYtech
ACTCY
bluexx
Petknep
Handerson
chubbysilk
drewdb
Hello_Yo
AlfonsAberg
jkv10
allison_h
Joe_D
EmekaAwagu
Speedie
scm guy
Only Title

Ravie14's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. MDX and Vista

    Will managed DirectX (for .NET 1.1) come pre-installed on Windows Vista when it is released How about the .NET 2.0 framework I'd like to see the MDX libraries included in Vista, and also in XP service pack 3 (if there ever is one). -Jeremy Thanks for the info Mike. I hear IE7 will include the .NET framework, which is a good thing. > No .Net 1.1 isn't included. Ok, I guess Dell installs .Net 1.1 on new computers. -Jeremy ...Show All

  • Visual C# Printing to a dot matrix printer without feeding an entire page

    I need to be able to print a number of lines to a dot matrix printer, but not have a full page length feed through the printer when I send the PrintDocument for printing. Thus far, printing in the traditional .NET fashion spools an entire page out. There must be a way to do this, but I can't find it. Ideas >> probably using the SerialPort classes in .NET 2.0 to have direct access to the printer Note, however, that most printers use (traditionally) the Parellel port or (more recently) the USB port. I haven't seen a printer attach to a serial port in 20 years. ...Show All

  • Visual Studio 2008 (Pre-release) Customizing a ComboBox's SelectionBoxItem when SelectedItem=null

    I have a combobox whereby I want it ("them", really, as I've got several) to display some grayed-out, italicized text in the combo box if there is no selection (i.e. the app just started), but to show the normal item when one is selected (IE7's search dropdown does this). The catch is that I can't set ComboBox.Text to the value because IsEditable=false, so that value's ignored. I've tried messing with the ItemTemplate, but that doesn't apply to the selected item. The only solution I've found is to manually create the entire combobox's style, but in doing so, I tie that behavior to a particular look (for example, I'd have to hardcode the "Classic" theme (or "Aero" or "Luna") with the display bevavior) ...Show All

  • Visual Studio Team System Clean client cache - Want to login with a different user

    On client side, when opening VS it automatically logs in to team foundation server with the user I provided the first time. How do I connect with another user. The dialog does not display. I have tried Internet Explorer->Internet  Options->Security to prompt every time, but with no success. I have also tried devenv.exe /resetuserdata Thanks You should also be able to do this by executing some command with the tf.exe command line.  The command-line supports a /login option where you can specify a user name.  That will pull up the credentials dialog and allow you to save new credentials. Brian ...Show All

  • Visual Studio Team System One Build Type for different branchs

    Hi;   I was creating a new branch from the parent branch for the first development iteration and I will merge it into the parent at the end of this iteration. The build type is set to build the solution of the child branch.   For every iteration, I will create a new branch from the parent and I will need to map the build type to build the solution of the new branch…   what is the best way to do that Creating a new build type for each branch or editing the existing one I guess it would depend on what the build script is doing. If it is the same across all branches with the expection of the solution, you could modify it and have it reuse the script. If you need to run t ...Show All

  • Windows Forms ComboBox reverts to valuemember data not displaymember data.

    I have comboboxes on a form, in edit mode, when I move to another field, the combo box displays the valuemember data and not the displaymember data. I don't know if this is a glitch in the Combbox or what. Can anyone advise Have you tried to remove the line where you bind to the "Text" property of the Combobox Also check the DisplayMember property of the Combobox - "Fish Species". I see it contains space, is this correct ...Show All

  • .NET Development Help with UrlMappings

    I am not ever sure where I should be posting the question, but here goes. I am trying to use UrlMappins in web.config and it works perfectly on my local development webserver, but not in IIS. I get 404 errors. Here is my code: < urlMappings enabled = " true " > < clear /> < add url = " ~/default.asp " mappedUrl = " ~/Utility/Redirect/xDefault.aspx " /> </urlMappings> Try hardcoding the mappedUrl on the IIS machine to see if that makes a difference. Also check the permissions of the target directory and make sure the machine as well as the asp.net user has rights... ...Show All

  • Visual C++ Compiling sourcecode written in vc++ 1.52 in vc++6.0

    Hello every body. I am quite new to vc++ arena. I have an application written in vc++ version 1.52 ( very old version 16 bit Dos ) and the application is deployed in client machines. Is it possible to compile the same source code in VC++ 6.0 Or I have to compile the source code in vc++ 1.52 only to give patches to the user I am getting lots of compilation errors. I would appriciate if anybody can guide me. Thanks in advance Since your original app is 16-bit DOS, you really can't write a patch in VC6 since it doesn't support 16-bit DOS. You could write the patching app in VC6, but the actual binary changes have to be compiled in 1.52. ...Show All

  • Visual Studio 2008 (Pre-release) Expression ID and XAML schema problems

    I can't edit some of the XAML files in Expression ID because it's complaining about <x:XData> being inaccessible. VS doesn't have any problem with it, since it has xaml2006.xsd schema in it's xml/schemas folder. Where do I find equivalent folder in EID or how do I make it recognize prefectly valid and declared XData emelent ...Show All

  • Visual Basic VB.Net 2005 - where are my base class events?

    I converted a VB.Net 2002 project to VB.Net 2005 and things are not good. Events seem to be firing differently.   Code that works fine in 2002 does not work in 2005. Where is my form close event In the IDE in 2002 you simply click on Base Class Events and there they all are - but in 2005 you do not have Base Class Events - you only have frmName Events and the close event is not there. What is going on   It appears that the form close event is not even firing in 2005.   edit: Ok the close event is still firing, but how do I get to see these events in the IDE Also on a side note:  When I walk through the code with the debugger I take a NullReferenceError on and event that should not even be ...Show All

  • Software Development for Windows Vista Custom allocator presentation issues.

    Can anyone provide me with some insight into this problem Using the VMR9 I have implemented a custom allocator which is working fine with no memory leaks, or issues. It will render till the cows come home on a single stream or multiple streams with the same time base. Once I attach an AVI and a 30 fps capture device it will run for 1-3 seconds and then I get a Direct X exception on my BeginScene call. I have determined that it is related to the frequency with which each graph is calling PresentImage. By backbuffering the frames and then syncronizing my rendering to the faster of the two streams the problem is eliminated... This however creates minor artifacting every so often when the capture device has a buffer or the device locked. ...Show All

  • Visual Studio Express Editions How to make a simple function

    Hi, I was wondering if there is anyway to turn a huge amount of code into a simple function. Right now I have a bunch of check boxes and they are all named C1-C7 and W1-W7, instead of putting in code for each one when clicked, which results in a large amount of code, is there anyway I could make one function to handle all of these. I tried something like this. If C(num).checked=true then W(num).checked=false endif its just a basic example of what i want and i could really use this later on. Thanks Well WayneSpanglers example does work but the other one might be nice for future use, ad thanx for showing me how to use cases.    Just note that all the cases ...Show All

  • SQL Server SQL Server 2005: Copying data from one db to another

    I have to similar tables in two different databases. I need to copy the contents from table A in db A to table B in db B. I need both a "one time" method for doing it with the data, that already exists in A - and a "on the fly" method that can copy data whenever data in A is updated. Can anyone help In addition to the linked server solution mentioned above, there are a couple more solutions to consider. If the tables in A and B are identical, database replication can be useful for keeping the tables in sync. If you make A a publisher and B a subscriber (to A), B will be updated whenever the data changes in A. If the tables in A and B are not identical, you could write an SSIS task to copy data from A to B ...Show All

  • Visual C++ mfcs80ud.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj)

    I create a project by 'ATL Project' wizard. Then I set 'Dynamic-link library(DLL)', 'Allow merging of proxy/stub code' and 'Support MFC'. I don't add any code in it. I can build it first time. But after close it and reload it, I get a link error: mfcs80ud.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj) My VS is: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Professional Microsoft Visual Basic 2005 77626-009-0000007-41984 Microsoft Visual Basic 2005 Microsoft Visual C# 2005 77626-009-0000007-41984 Microsoft Visual C# 2005 Microsoft Visual C++ 2005 77626-009-0000007-41984 Microsoft Visual C ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How do I protect my code when distributing it?

    Having read the FAQ. I noticed that in order to share your game creations (and lets face it, you can't get recognised without sharing your games), you need to send the other person the entire uncompiled game. This includes sourcecode, graphics, music, sound etc. etc. They then compile the code and download it to their xbox360 account and then only if they too are on the games creation program. My key worry here is that you send them everything you have just worked incredibly hard to create. Presumably they can then send this stuff on to whoever they please and god forbid, even sell it on! It strikes me that there isn't much incentive to distribute things this way. How is Microsoft going to prevent the above scenario Is there going to be a ...Show All

©2008 Software Development Network