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

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

vistaDev07

Member List

Ieuan0928
awesj
SecurityException
FS2K
Haojun
GBC143
bslim
OmegaMan
MLyons10
NickKang3
Volksman
phani kumar ---help me out
IMBogus1
Lars E.Nes
KAlbrecht
yagimay
Dan-Teklynx
shohom67
Wail_gsm
Jon Braganza
Only Title

vistaDev07's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. What about PRT lighting? I didn't find out PrtEngine =(

    AFAIK Mdx included PrtEngine, it was great. It is to be regretted that PrtEngine hasn't been included in the Xna beta. I would like to see it in the next version.. PRT calculation is not something we will be adding support for in v1.0. We'll take the bug you've submitted as a feature request and investigate adding support for it in a future version. ...Show All

  • Visual Studio Team System Can I Query SQL for Source Control Info?

    I was wondering if anyone has a list of tables that Source Control uses in the Team Foundation I want to be able to write a query(report) that shows what users have which files checked out. Thank you for all your help. I don't have a list of tables handy, but I've used SQL Server Management Studio to browse the data and have written some queries for data I wasn't able to find via the UI or the APIs such as searching changeset comments and such. ...Show All

  • Visual Studio Express Editions If a function returns a "char", how do you pass

    it to main function I had it as void main() { char rValue[1]= ""; CMenu UData; UData.Intro(); for (;;) // infinite for loop { // executed one or more times rValue[1] = UData.GetInput(); // But rValue[1] didn't get the returned value. } } If you define a char array with size one you are only allowed to access the element at index 0, because array indexes start at 0. So with rValue[1] = someChar you will override the byte following your char array on the stack. You might be lucky (or not) to get along with that because the compiler might align the next variable to the next 32 address. If not you will override UData as it follows on the stack. Wha ...Show All

  • Visual Studio Express Editions Visual Studio C++ Express 2005 builds send my monitor nuts

    I'm running XP Home + SP2. Video adapter is NVidia GeForce 4 MX 440. Visual Studio C++ Express 2005. My monitor goes into a blackout/clicking frenzy due to resolution changes it believes exist during any build. This happens every time "Compiling..." appears in the Output window, and when "Linking..." comes up in it. This slows down my builds a lot, plus I can't use the machine for other tasks while all this is going on. The resolution appears to switch to some very low value, and the cursor appears as a fairly large white square on this black background. The problem lies somewhere in my Windows setup/registry. I know this because: a) It isn't Visual C++ 2005 Express itself - this behaviour doesn't manifest ...Show All

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

    Why are GamePadButtons and DPad Buttons spearate, and why are they exposed as a structs instead of enums like Keys are in Keyboard input All properties of the DPad and GamePadButtons structs are of type ButtonState, which makes it impossible to pass the (DPad/GamePad/Mouse)Button in question to an EventHandler because GamePadButtons.A is not a value, it's a ButtonState. Why not merge DPad into GamePadButtons and turn it into an enum. This could technically be extended to merge all 3 forms of input input one and make all buttons Keys (GamePad, Mouse and Keyboard). The Keyboard class allows for some nice generic magic. Here's the part of my InputManager GameComponent that handles keyboard input...it's an event based system that co ...Show All

  • Visual Studio 2008 (Pre-release) Images with raw pixelsize, not DPI-relative.

    How do i display an image in it's real pixelsize If you just add an image in xaml it will be resized to the image's DPI / the screen's DPI or something like that. The best would be if there's some kind of global property so no images in my app will be resized, but a simple property for the Image will also work fine. If that works for your purposes then go with it, but keep in mind that this approach breaks down if the screen DPI is anything other than 96, which is the default but increasingly more systems will be sold that run at 120 or 144dpi. You can test the result yourself by changing your system to a higher DPI setting and rebooting. ...Show All

  • SQL Server Selecting multi-value report parameters from dropdown

    Hello, I have a report with a multi-value parameter. In its' drop drop box, I can select ALL or I can individually select single items, but it doesn't appear that I can select a range of items using the shift key. The problem is; occasionally the user will want to select everything, and them eliminate an item or two. The list it too long to select every one individually. It would be an easy solution if hey could select the entire list, then deselect what they don't want. Is there a way Thanks. ...Show All

  • Internet Explorer Development Vista/IE7 spawns new windows when Office 2007 is installed (unlike Office XP)

    I have an application written in VB6 which uses the webbrowser control to render MS-Office (and other) documents. I have migrated that application to Vista and VB2005 but am running into a problem in that it appears that when Office 2007 is installed, Office docs will no longer embed and render in the webbrowser control (this is probably true of the IE6 version also but haven't tested). Instead, the webbrowser.navigate method spawns a new instance of the appropriate viewer application (e.g., MS-Word 2007). This problem did not appear until I upgraded Office XP to Office 2007.  Other file types like Adobe PDF continue to embed and render in the browser, as before. Since the functionality and value of this application ...Show All

  • SQL Server Error description

    I want to club the ErrorDescription system variable property in OnError. And I want to send this whole ErrorDescription variable on onTaskFailed. Can you please suggest how to club this errordescription on OnError event In the data flow, you can use a script component to grab the description: Imports System Imports System.Data Imports System.Math Imports Microsoft.SqlServer.Dts.Pipeline.Wrapper Imports Microsoft.SqlServer.Dts.Runtime.Wrapper Public Class ScriptMain Inherits UserComponent Public Overrides Sub Input0_ProcessInputRow(ByVal Row As Input0Buffer) 'Use the incoming error number as a parameter to GetErrorDescription Row.ErrorDescription = ComponentMetaData.GetErrorDescrip ...Show All

  • Windows Forms How can I drag my form? Can I multiply fractions?

    Hello, I noticed I can make the form border to none and get rid of that boring titlebar. Is there anyway I can make a bar to go on the left side that will drag the whole form when a user clicks it. Also is there a way to multiply, add, subtract, and devide fractions I want to be able to do the code below with fractions and have it come out as result as a fraction(not a decimal): public void myMathProblem() { int one 5; int two 6; int Result; string result; //Is there any way to do this with fractions but not turn them into decimals and have //Result to come out as a fraction anserw Result = one + two; result = Result.ToString(); label1.Text = result; } Thanks Hi As for y ...Show All

  • SQL Server Custom Task: How to access/modify the variables of a package

    Hi, I'm trying to simplify the deployment process of my project. I already had some troubles with the config files but lets say I solved that issue. I'm going to read a flat file and set the variables of my packages from this file. I was thinking to use a Script Task to do that but I will need to copy this task in every package (I have at least 30). So if I want to make some change this will be painful. Then, I came up with the idea of creating a Custom Task called Config File Task. I'm working on this but I got stuck trying to get the variables from the package that is running my Config File Task. This is the code I had in the Script Task: Dim streamReader As New StreamReader(Dts.Variables("ConfigFilePath").Value.ToString) ...Show All

  • Visual Basic COM+ Transaction Timeout Query

    Hi, I have 2 COM+ applications each having one VB6 DLL. First one (say X) is set to "Required" transaction and the next (say Y) is set to "Supported". X calls Y and does some local code, not any SQL connections stuff. And the called code executes for more time. At this scenario, is it right to expect the long running method to timeout based on the default transaction timeout property of the MSDTC It would be great if anyone could clarify me this.. Thanks in advance, Franklin   I noticed the transaction getting aborted at the transaction statistics tab. But, my component keeps running till the method is finished. Please advise. ...Show All

  • Windows Forms Multithreading Function Call With Invoke Does Not Work

    Please help! I have a Windows Form named EDI835Main that starts a long running process (defined in EDI835.cs) on a different thread by calling MethodInvoker. That works fine. Name of method is EDI835.ReadDetail(). Within EDI835.cs I have defined a event to show progress. EDI835, the form is registered to capture this event. This works fine too. In Main Form: edi835.ProgressEvent += new EDIX12.EDI835.ProgressIndicatorHandler(edi835_ProgressEvent); In the main form, If the progress is shown directly (without using Invoke) it works fine. (see code below) protected void edi835_ProgressEvent( int currentRow, int totalRows, string msg) {progBar.Minimum = 0; progBar.Maximum = totalRows; progBar.Value = currentRow;} M ...Show All

  • Community Chat your computer is ready to compute

    as many know when you don't have the latest CPU you'll have to wait when your computer is ready to compute. also many handicapped persons, which area doesn't matter, are waiting when their pc is ready to compute. all other persons watch the LED of their HD, when it goes out. and watch the mousepointer becomes to standstill. whatever, the case is, you'll have to WAIT..... why don't you make a neat little program that can be implemented in any MS OS, Vista included, that tells you by sound and vision: YOUR COMPUTER IS READY TO COMPUTE. the idea is seen on Startrek serials which were made by the fabulous Gene Roddenberry. the computer on board of the Enterprise told their crew members that "she" was "rea ...Show All

  • Windows Forms Designer Generated Code: SizeF

    What does the 'F' accomplish or stand for in designer generated code for form ' AutoScaleDimensions' this .AutoScaleDimensions = new System.Drawing. SizeF (6F, 13F); Immediately following this code in designer generated code: this .AutoScaleMode = System.Windows.Forms. AutoScaleMode .Font; this .ClientSize = new System.Drawing. Size (292, 262); Why have 'SizeF(6F, 13F)' when the size is explicitly declared as 'Size(292, 262)' The Designer then adds the hidden methods: this .ResumeLayout( false ); this .PerformLayout(); ... attempting to create a new library class. SizeF is based on floating-point width and height parameters. ClientSize and AutoScaleDimensions are two completely different prope ...Show All

©2008 Software Development Network