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

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

DD_Helmetman

Member List

davidy13
A. Dachauer
ndRandall
SolveIt
guy87
arit
Dan Shookowsky
Gpg
bekool
mrcaseyjr
jonathan_ball
JLutz
jflowers
Mr. Howe
MerleN
UncleSam89
Chimme
iliketoeaticecream
saeidX
Shahzad Godil
Only Title

DD_Helmetman's Q&A profile

  • Audio and Video Development Programatically setting the default playback device (and recording device)

    Under Vista is there a way to set the default playback device programatically I've searched through the APIs but I'm not seeing it. For example, there is a method IMMDeviceEnumerator::GetDefaultAudioEndpoint(), but there is no corresponding IMMDeviceEnumerator::SetDefaultAudioEndpoint(). Can I do this through the endpoint properties Hi vtb, There is no way to do this programmatically. This is a deliberate design, since we do not want applications to override audio setting set by the user. ...Show All

  • Visual Basic ImageLooper Control

    I am working on a VB tutorial, and at the same time trying to create my first control called ImageLooper. This is pretty straightforward, a control box with a picturebox1 inside, a left arrow button and a right arrow button (button1 and button1 respectively). The idea is, with each click in either direction, the next or previous in line image will display, depending on which arrow is clicked. Each button works individually ok, but when I switch from the left arrow button to the right or visa versa, instead of going to the next image down or up, on the first click, it takes one step in the opposite direction, displays that (wrong) image, then, with subsequent clicks, starts moving through the images correctly. The language is below: ...Show All

  • Windows Forms Serialization

    Execuse me for this silly question Wht are the benefits of using serialization before classes or structure or ... Thank you Not sure if I understand your question, the "before" threw me. Are you talking about the [Serializable(true)] attribute You need to make a class serializable if you want to store an object of the class to disk or transmit it to another PC over a network. Serialization allows an object to be encoded into bytes suitable for storage or transmission, to be recreated again when read. ...Show All

  • Windows Live Developer Forums Getting the tic tac toe example

    Where do I get the entire Tic Tac Toe example mentioned in the SDK TIA J-Thread wrote: And here you go. I haven't got a good server to host it on at the moment, so if somebody would be so kind as to place the file on his website and post the link here This link is again a temporal one, so you must download it within 7 days... Hi, the link You have posted has expired again! Is there any chance you can share it again for me too or EMail to me( xjluo@126.com ) thanks! ...Show All

  • Visual Basic Simply Question

    hello. A question please. how can I know if the current row (first item) on a datagridview is not filled NetPochi, Use the DataGridView.CurrentRow property, then return the value. If it is not filled, the value would be nothing. Dim instance As DataGridView Dim value As DataGridViewRow value = instance.CurrentRow ...Show All

  • Visual Studio Team System Add Nullable Column

    I'm trying to add a nullable column. When I generate the conversion script, instead of doing an ALTER TABLE, it creates a temp table and copies the data. Why What am I missing Thanks What is the script for the old table, and what is the final script for the new table that you are trying to create Also, do you have "Preform Smart column name matching when you add or rename a column" selected That setting can befound under the Database Project Properties->Build tab. ...Show All

  • .NET Development execute method at a specific time without using a Timer

    Hello! I would like a method to be executed at a specific time. I wouldn't like to use a timer, since that time may change regularly and I wouldn't like to stop timer, change interval and start over so often. Is there any other standard way or trick to do it Hi papadi, I think is the only way, you will need always a timer to execute a method at certain time. Some post can tell you to use some win32 methods but they use timers internally. I think that is still elegant and will not hurt your performance. Anyway, if I found more information I will post it here, have a nice day! ...Show All

  • Windows Forms DataGridView and ComboBox binding

    I have a datagridview in a form (I bind that grid to a collection (collection that implements IList interface) I also have a detailed view in the same form. Inside that detailed view I have a combobox (I bind this combobox on a form load event from a different data source). When user clicks on a row of a datagridview I want to bind it to the appropriate combobox value I can easily bidn to to a textbox like txtComments.DataBindings.Clear() txtComments.DataBindings.Add("Text", MyObject, "Propertyoftheobject") How to bind combobox to datagridview. (When user navigates the grid appropriate value should be selcted in the combobox) Hi, What do you mean by 'binding combobox to ...Show All

  • Windows Live Developer Forums adding a previous contact

    i accidentily delete a contact, after adding ("xxx is not in your contact list. Click here to add him or her now ") the contact, i could not see the status of the contact. is there a way to change it P.S. sorry for the english The purpose of this forum is to discuss MSN and Windows Live application development using the Messenger Activity API, and Windows Live Bots. If you have technical support questions about using MSN Messenger or Windows Live Messenger, please check the following resources... Messenger Technical Support is available on the Messenger newsgroup: http://support.microsoft.com/newsgroups/ dg=microsoft.public.msn.messenger&cat=en-us-msn&lang=en&cr=US&ln=e ...Show All

  • Windows Forms Binding 2 Forms

    Hi All I'm sure this question has been asked a 100 times over but could someone please help me with this in a detailed way. I have a form, with a datagridview which is linked to binding source. For our purposes let's call it BindingSource1. This datagridview shows a list of patients which are currently in my database by displaying only patient numbers. What I would like to happen, is i select a patient number from the list and click a button on the same form which which opens up another form which will display the information about the patient. I only want to display this information and not allow the user to edit it. How do I go about passing the information on the patient, ie. the unique_id or whatever is used to the second form ...Show All

  • Visual Studio 2008 (Pre-release) Java support for xps document

    Hi All, I have a requirement of creating the parallel java library for xps document creating editing etc. can any body help me out on this. or microsoft already have such library.. for viewing xps documents I need to have xps viewer on my machine, is it available for non microsoft platforms......if yes then can any body provide the link for the download. If not then is microsoft going to come up with os specific viewer..... Cheers, Parag Isn't XPS XML Based To create a java viewer, you just have to parse the XPS elements and create code to display them.   Oops...then again maybe not. ...Show All

  • Visual C# How to use the controls from another form in form I working in.

    I have problem, I was using the Visal Basic, and now have to migrate to the C#. Its not a problem. But in first steps with C# I have found a few diferences from VB. One I cant solve. For example in Form1 I have a TextBox1 and a Button1. I enter in TextBox1 "sviec", and click the Button1. Then opens the Form2 with Label1 on it and label says "sviec". In VB the Form2 code looks like this: Public Class Form2 Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Me .Label1.Text = Form1.TextBox1.Text End Sub End Class So how I can translate this Me .Label1.Text = Form1.TextBox1.Text from VB to C# Thank You! ...Show All

  • .NET Development How to get headers only from column names but not value from sql statement?

    Hi all, I was looking to construct an sql statement so that I can have only the columen names as a header but with no data. I have tried like this and it is working. But I don't want to give value like "-1". sqlStr = "SELECT FullGrantNumber, FY FROM Grants WHERE SerialNumber= -1; This statement is giving me the two column names without any value but I don't want to use -1. The data type is int. Is there any other way to achive the same Thank you in advance. HI, Why do you want this Do you want just to get the Headers and place it in a datatable If so, you can use the FillSchema methid of an adapter: SqlDataAdapter adapter = new SqlDataAdapter("SELECT * FROM myTable", conn); DataTable dt = new Da ...Show All

  • Visual Studio Express Editions My Visual Studio 2005 C++ Will Not Compile winuser.h

    Hi, I'm new to both Visual Studio 2005 and windows programming. I am trying to inclued "winuser.h" in a Windows Forms Application because I want access to the SendMessage() function from the windows API. I am trying to send a message from a .dll to a windows application. However, the compiler won't compile the windows app because it seems to 'not like' the definition of HANDLE in winuser.h. Here's an example of the errors from the compile: C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\winuser.h(42) : error C2146: syntax error : missing ';' before identifier 'HDWP' C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\winuser.h(42) : error C4430: missing type specifier - int assum ...Show All

  • Software Development for Windows Vista Compatibility between beta 2 and June CTP

    I'm porting my app to the June CTP and thought that the wire formats would be sufficiently stable to try to convert my client to the June CTP and let it connect with the existing beta 2 server. However, this does not seem to work. I encountered two problems: 1) svc_util returns a number of warnings: Attempting to download metadata from 'http://www.blogoholic.net/blogoholicwebser vice/service.svc' using WS-Metadata Exchange or DISCO. Error: Cannot import the security policy. The protection requirements for the se cure conversation bootstrap binding are not supported. Protection requirements f or the secure conversation bootstrap must require both the request and the respo nse to be signed and encrypted. Error: Cannot import the ...Show All

©2008 Software Development Network