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

Software Development Network >> -D-'s Q&A profile

-D-

Member List

Kevin Jacobson
Vic1234
TonyX852
Alan Stevens
Tryin2Bgood
SunilN
B Langston
search and deploy
rwerner
Tom Waters
todd_bulky
Pascal Mignot
Jorne
pdurbha
ZopoStyle
Freight_Train
enric vives
mario.muja
Mark Terry
Calinoiu Alexandru
Only Title

-D-'s Q&A profile

  • Visual Studio Express Editions image with grid coordinates?

    Hi, Is there any way to define an image with grid coordinates in order to use the mouse over event Ken Public Class Form1 Private Sub PictureBox1_MouseDown( ByVal sender As Object , ByVal e As System.Windows.Forms.MouseEventArgs) _ Handles PictureBox1.MouseDown Dim x As Integer = e.X ' These are relative to the picture box Dim y As Integer = e.Y End Sub End Class ...Show All

  • Windows Forms How to prevent DataGridView from selecting row on sort?

    I have an unbound datagridview on a form. I fill it programatically and then do a ClearSelection so that no rows are selected. I don't want any rows to be selected until the user clicks on a row. When the user clicks on one of the columns to sort the rows, the first row in the dgv becomes selected even though the user has clicked on a column not a row. How do I prevent this automatic row selection Yeah, see your point. The behavior I am getting on my unbound DGV is that if no rows are selected before a sort, then when I click a column header to sort, the first DISPLAYED ( ) row in the grid prior to sorting seems to get selected automatically and stays selected after the sort regardless of wher ...Show All

  • Visual Basic Copying files over a network - best way?

    Okay, here goes... Machine A and Machine B are on the same LAN. There's a file, or more a series of files, in different formats on Machine A. On Machine B there is a Card Reader or USB type storage area. On Machine B, there is a .NET Application, not sure yet if it's going to be a smart or thin client. The job of the .NET App is to copy a file from Machine A to Machine B. Also, it would be nice if it showed a progress bar of the file coming across. I'm relatively new to .NET - any tips or ideas on the best way to go about doing something like this Mods - not sure if this is the correct area to post this thread in - please move if necessary Hi Neal There is a static system.io.file. ...Show All

  • Visual Studio Express Editions Convert String (with special format) to Integer

    In a data table I have numerical values, which I have stored as strings. The end goal is to display these values in an Excel spreadsheet, which thanks the help from the forums, I have working. The problem is that several values are in exponential notation and may be positive or negative. For example: 0.980479E-01 Excel notices that they are strings when imported. You can once in Excel multiply all of these values by 1 and the conversion is made for you, but I would like to automate this process if possible. Q1) So my question… how to use something like: System.Convert.ToInt32(valueToConvert) with the exponential notation. I did find this information, but don’t know exactly how to use it. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Direct3D Flickering Issue

    Hi there, I am having some problems with my screen flickering when I redraw my scene. Below is my code ... private void tabPage16_Paint( object sender, PaintEventArgs e) { //clear the direct3d device this .mDevice.Clear( ClearFlags .Target, Color .DimGray, 1.0f, 0); //send the scene info this .mDevice.BeginScene(); this .mDevice.VertexFormat = CustomVertex . PositionColored .Format; this .mDevice.DrawUserPrimitives( PrimitiveType .TriangleList, this.mVerts.Length / 3, this.mVerts); this .mDevice.EndScene(); //paint the scene info this .mDevice.Present(); } private void tabPage16_MouseMove( object sender, MouseEventArgs e) { ...Show All

  • Smart Device Development textbox.TextChanged fires twice

    Hi,there; Why the textchanged event fires twice How can I fix this issue or it is a bug Thanks A couple of questions: Which version of the Compact Framework are you using Does the TextChanged event fire twice when the text is changed by the user Does the TextChanged event fire twice when the text is changed programatically Which platform are you targeting (PPC2003, WM5) Does the problem repro on the emulator Thanks Dan ...Show All

  • Visual Studio Team System Deploy w/o Compiling

    Okay, After a build and deployment to our assembly environment the build is tested. If it passes the tests in the Assembly env, it is moved up the System test1 env for more testing; from there it would go to System test2 and end-to-end testing ... Production. With each move to a new env I am basically doing a redeployment of the build to a the new env. This is a manual process b/c I cannot rebuild. Is there a way through MSBuild or some other tool to automate this redeployment I'll tell what would be ideal, to have a team build type for each redeployment. Where I would set a couple properties via the cmd-line or rsp file to tell it what build to redeploy. Thanks a million, BJHop I decided the bag ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. C# - Managed DirectX - Secondary Monitor

    Hi, I posted this question in the C# forms forum area a couple of days ago, and I thought perhaps this was a more relevant forum for the question. I am creating a program which uses the secondary attached monitor. The program successfully creates a Direct3D enabled window which runs fullscreen on the secondary adapter (using an adapter id of 1). This does in fact work smoothly and how I would have expected. However, there is a serous flaw which I cannot resolve. If something is clicked on the primary monitor (anything at all), the Direct3D enabled window on the secondary devices is minimized immediately (and naturally the DeviceLostException occurs due to the window being minimized). Somehow I need to stop the program from auto ...Show All

  • Visual Studio 2008 (Pre-release) InlineUIContainers not firing any events in the RichTextBox

    Hi, Up until the June CTP, I was able to trap events from elements inside a InlineUIContainer, e.g. // Wherever you create the InlineUIContainer Canvas can = new Canvas(); can.Width = 80.0; can.Height = 20.0; can.Background = Brushes.Blue; can.PrevewMouseMove += ........ InlineUIContainer uiCon = new InlineUIContainer(can); This used to work find as any delegate added to the elements (even though the InlineUIContainer was "Disabled") would fire. Now it doesn't. Can someone please help me Thank you very much, Jaco I would expect the behavior you're seeing is in the context of a RichTextBox. In earlier builds, it was possible to enable UIElements embedded in R ...Show All

  • Smart Device Development Roaming inforamtion

    hi, Is it possible to have the information, that the device is on roaming If yes, then which api does this plz help needed. i dnt have any knowledge regarding this. thanx in advance. ...Show All

  • Visual Basic Trapping Keys from a WebBrowser control

    For most controls, I can capture the user's keystrokes and check them. For the webbrowser control, the key events are not bubbling up. Seems the browser is not passing them along. Have set KeyPreview to True so that's not it. Tried all the key events (down, press, up); none seem to work. Thanks. Sounds positively gruesome for a dim-witted high level type of programmer such as myself. Anyone have a working sample of all this PS Why doesn't MS just build this into the control natively ...Show All

  • Visual Studio Team System How does code coverage works ?

    Hello, I have a web site that uses a DLL. I have also written some unit tests. Part of them are calling directly the DLLs (and I have set up my run config so VS calculates the code coverage) and part of them are launching HTTP Web Request on the web site (and so of course using behind the same DLL). With my second kind of test, even if the samee DLL is used, no code coverage is calculated. So my questions: Is this normal The same code is executed so I was thinking code coverage would be calculated How can I set up my run config to ask VS to calculate also code coverage for that kind of tests As I have read on some other posts, it may be because when I run my Web Request, my website si recompiled on the fly. But if ...Show All

  • Windows Forms Design view of one windows form lost all of the components that were on the screen.

    After stopping a debug session at a data source error, I clicked the tab to view the windows form design, the form displayed as a big empty window with all the components missing. I tried closing and reopening the project but the form still looked the same. What happened to the components that were on my form Regards, Tom I Hope you are using som custom controls. What happens is the InitializeComponent method gets altered in this scenario. Have a private method that has the whole code for creating custom controls and call that within the initialize component. In this way you wont loose the whole code instead only the method call will vanish. Still you will save your code. ...Show All

  • Gadgets wav/mp3 in gadgets

    I want to expand the clock.gadget, that it plays a mp3 or wavfile. Could you give me a tip how to this how can I play soundfiles Thank you Sophen Ok, I tried it, but I always get the message: "The file you are attempting to play has an extension that does not match the fileformat. Playingthe file may result in unexpected behavior. Do you want the player to play this content " If I click yes, nothing happens. This happens with mp3 and wav. If I start the file directly (doubleclick in explorer), WMP plays the files without problems. What could be the problem here CU Sophen ...Show All

  • Visual Studio 2008 (Pre-release) Issues Un-installing WinFx Runtime Components 3.0 - Beta 2

    Hello, I am having some issues un-installing WinFx Runtime Components 3.0 - Beta 2. It is crashing with the following messages in the dd_winfxerror30 error log... [07/03/06,19:37:52] Windows Communication Foundation Beta 2: [2] Error: Installation failed for component Windows Communication Foundation Beta 2. MSI returned error code 1603 [07/03/06,19:37:54] WapUI: [2] DepCheck indicates Windows Communication Foundation Beta 2 is not installed. [07/03/06,19:37:54] WapUI: [2] DepCheck indicates WinFX Runtime Components 3.0 - Beta 2 was not attempted to be installed. [07/03/06,19:56:26] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147023293. [07/03/06,20:12:12] MSXML ...Show All

©2008 Software Development Network