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

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

DanglingChap

Member List

aztec2_step
David_P9
ralfkret
pat capozzi
eldiener
Feng26
Ananda Ganesh
HarveyC123
Docpro777
Daftspaniel
arnebjarne
Horea Soanca
Kenster
kiwicoder2
MasterBodyman
Whiplash8
G. Hubmann
nhaas
evaleah
RichardR
Only Title

DanglingChap's Q&A profile

  • Windows Forms How if I want to run application right after the setup winzard finished

    Hi! All: I'm using .NET deployment Project to pack my application(with C#), and here's the situation: I want some options for user to choose (one is run application immediately or open readme after installation) before this installation completed. I add a Checkbox dialog at the End Node , and then add the custom action (override the commit method for both/ either one situation as above). And the troubles are: 1. the CHECKBOX value can't be retrived after the Progress Node 2. Even I move the dialogbox before the Progress Node. The file/application work right before the installation winzard finished (coz the Commit action seems has been finished before the final dialogbox at the End Node ,). How can I solve those problems or any suggestions ...Show All

  • Gadgets File upload with Sidebar Gadget

    Is there any possible way to upload a file through a gadget I am creating a gadget that takes a word document or .txt file as input, post that to our servers and then we display information to you every day based on that information through the gadget. (the user gets a infoId that will give them their own customized info) Any ideas would be appreciated. Thanks. Thor. I'm new to this Adodb.stream, can anyone tell me how i can read the file passed on the server side I am using PHP language for the server script. ...Show All

  • .NET Development Inheritance Issues with base class parameter

    I have an abstract base class Person that my concrete Employee class inherits from. My web service take anything that can be cast to a "Person" as a parameter. When not using inheritance i modify my proxy autogenerated class and strongly type the parameter and it works fine. When i try the same, but this time using inheritance i get the following : "Use the XmlInclude or SoapInclude attribute to specify types that are not known statically." I have put two XmlInclude elements below the [WebMethod] of the service telling it about the concrete class and the base class. What am i missing I am using VS.Net 2005. thanks, Steven. Hi Steven, I just tried this [ WebMe ...Show All

  • Visual C++ Inserting Char into textbox

    Hello everyone... Need some help in visual c++. I need to insert nito a textbox a hexadecimal value. I am holding it in a char variable and the only way i know how to insert char variable into a texbox is by using ToString() function, but that inserts the ASCII number representing the Hexadecimal. Help me out please. If I'm reading your question right you need to convert it to a string. CString sHexString = ""; sHexString.Format( "%#2hX", chYourChar); then use SetWindowText to put it into the text box. ...Show All

  • Visual C# Unhandled exception only when running in release without debugger attached.

    I am beyond baffled by this. My application throws a System.AccessViolationException only when it is run in Release mode without the debugger attached (as in, I run the exe directly, outside of Visual Studio or I do "Start Without Debugging" in the Debug menu). Debug mode - everything works great; Release mode with debugger attached - everything works great. The very nature of how this error is thrown makes it impossible to debug, so I have no idea where to look into correcting it. Has anyone else ever come across such an error Does anyone have an idea how to hunt down such an error The application is not just a few hundred lines, it is easily on the upper end of tens of thousands of lines. I cannot seek it out with a debugger be ...Show All

  • Smart Device Development Messagebox vanishes when shown inside keypress event

    I have a rather annoying problem relating to showing a message box after a keypress event. The purpose of the code is to raise an error to the user in the form of a message box if there is invalid data on the screen as they try to add it. What happens however when I step through the code is that the message box is only shown within the scope of the event and when the flow of the program leaves the event the message box vanishes. How do I make the message box persist so that the user must interact with it. Darren Can you please post the code snippet where you call MessageBox.Show and please indicate in which context it is called. One thing to look out for is to ensure that the event is not closing the ...Show All

  • Visual Studio 2008 (Pre-release) Declaring InputGestures

    Some basic c# question: How do I declare a command witch includes InputGestures. I can’t seem to figure out the c# syntax public static readonly RoutedUICommand Refresh = new RoutedUICommand("Refresh", "Refresh", typeof(System.Windows.Input.ICommand), ); Best regards, Thomas Andersen Ahhh, got it. Thanks Lee; for pointing me in the right direction. Here is the correct syntax: public static readonly RoutedUICommand Refresh = new RoutedUICommand ( "Refresh" , "Refresh" , typeof (System.Windows.Input. ICommand ), new InputGestureCollection ( new InputGesture [] { new KeyGesture ( Key .F5) })); Best regards, Thomas A ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Content Access

    How will we be able to access content when apps are running on the XBox using XNA Specifically I can access the System.IO namespace on the Windows platform to load content ( meshes, textures, sounds, etc ). What is going to be available the XNA framework for the Xbox I would imagine that it would be a modified System.IO namespace though as they're not going to allow haphazard access to the drive, probably just to files in the game's folder or something similar. ...Show All

  • Visual Studio Team System Possible to run/test UI apps in TeamBuild?

    Hi, Converting over to using TeamBuild and running into a problem with our App. The app has a UI and our UI tests all work fine in a local build. But they will not work in a team build. After trying different things, we're now wondering if its even possible to do UI testing under TeamBuild. is anyone else doing UI tests in their unit tests for TeamBuild Or is there some other recommended way to using Team System for UI tests In Version 1, we do not support tests that open UI. This is an unfortunate limitation and we are working on fixing this. The problem stems from the type of NT Service that we run. In general, NT Services don't allow UI. Currently, the only solution to your problem is not to ...Show All

  • Visual Studio Express Editions How to name buttons with database field values

    To begin, I know very little about VB express. I started out using VB for apps in excel. I could record macros and copy or edit, but I'm having a little trouble writing code from scratch in VB express. Anyway, here's what I'm trying to accomplish. I have about 40 buttons on a user form. I would like for each button's text to be the value of a separate field in a data table (using SQL Server Express) and update when the data table is changed. I have selected all buttons at once and through the data binding option in their properties tied the "text" property to a specific column in my data table. The problem is that when I do this, every button's text contains the first field value in this column. Since the only option when sel ...Show All

  • Visual Studio Install problem

    Hi, After my admin rigths problem, I found probably another trouble. I don't have enough space on C: to install Visual Studio Team Ed. So I decided to install my new products on "d:/programs". Then I installed VS on "d:/programs/vs" and VS SDK on "d:/programs/vssdk". I was very happy to create and build successfully a new dsl project. Unfortunately, when I try to run it, VS said just : "unable to find a component. re-install the application" ! Wonderful ! Do you know where this trouble comes from Thanks, Olivier. ps : I used the "by default" install of vs2005 Rruna, Could you clarify what you mean by "after I installed my deployment of DSL in t ...Show All

  • Audio and Video Development Mixing rate sink and rateless sink on a tee node

    I modified the WavSinkSample and inserted a tee node so I could also add an Audio Renderer output node. When I do this, the topology starts playing just fine. But it ends as soon as the WavSink finishes writing the wave file. Is this the intended behavior I would have expected the topology to stop when all output nodes are done processing samples. I tried a bunch of workarounds: - Changing the order in which I connect the nodes. - Set MF_TOPONODE_RATELESS to 0 on the WavSink output node. - Set MF_TOPONODE_PRIMARYOUTPUT to 0 (index of the audio renderer) on the tee node. - Set MF_TOPONODE_DISCARDABLE on the tee node for all secondary node. But none of these worked. Is there any ways to accomplish when I want or is this a bug Also, I tri ...Show All

  • Visual Basic 2 Pics Transparant with each other

    I was wondering how to make two pictures transparant with each other. In other words when one picture is slightly over the other how do you make the top one transparant so you can see the other one as well, Instead of seeing it being blocked out. I am working on a game and when you move the character around I don't want every object to appear as a box. I am using .gifs because of their transparancy. I have made the .gifs transparant and the picture boxes background color transparant, but everything is still a box Thanks, White Hawk So I would paint the graphics on the form, moving and animating them as needed I also would need to dispose the graphic before I paint the next frame, correct So ...Show All

  • Visual Studio 2008 (Pre-release) WPF not displaying images

    Hi all Today i sat down and decided to do some more work with WPF and i decided to try some stuff out with various images. But when i went to place a PNG image into my window it doesn't display. To clarify further i can see the PNG image in both the Visual Studio and Blend designers, but as soon as i run my app and the window loads with the PNG on it, i don’t see the PNG any more. Also, this same pattern seems to be happening with various other images that i have. Some work and others don't and all of them are included in the project in the root directory. If anyone can help me out on this that would be great. Thanks Anthony Here is the code if it makes any difference, although as you will see i am not doi ...Show All

  • Windows Forms MDI Form

    In my application, i have an MDI application and all the forms that are being displayed are derived from "System.Windows.Forms.Form" ... in this case i were unable to bring the windows to the from simply clicking on the body of the form... I even used the onclick event to bring to the front. That works fine however on clicking on Tabs->TabPages or any other panel over the windows,it does not generate the click event for the form .. is there any simple method to bring the form to the front this should be automatic, maybe you have additional code that messes up the mdi child forms from being activated. for the meantime, you can try around BringToFront() method of the Form class inherited from the control class ...Show All

©2008 Software Development Network