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

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

Khass

Member List

Mike Sage
eagarwal
Steph74
bluebx32
Harris140c
Tony03
innocent
OJacob
Nick Winters
A1Programmer
Dan Waters [MSFT]
Fabio Scagliola
Kharkov Alexander
BJohnKenn
John Paul Cook
Mateusz Rajca
ACKH
WEE3
GerEielts
fbalas
Only Title

Khass's Q&A profile

  • Visual Studio Express Editions help, help me rhonda or anybody

    axmediaplayer1.url = my.settings.song1 song 1 is bound to textbox1 textbox1.text = c:\windows\media\somefile.mp3 this works fine............question is how can I make it so the user only has to type in the name of the song to the textbox.....instead of the full path bearing in mind there are100 textboxes thanks cheyenne Hey Cheyenne It's me and I'm a fan of your's and I've written and extensive mp3 player in vb6 ... except I used the WMP control. May I work with you on this.. ...Show All

  • Windows Forms Getting a handle to a control on a form

    Hi I'm new to the C# development area. I've got different forms with different controls on it, the forms are either mdi parent or child forms. What i would like to know is the following. 1)How do i get a handle to a control on a form. The control was added earlier in another class, now in this class how do i get a handle/control of it. 2)To do step 1 do you need to inherit from the class that created the handle on the form 3) Sample would be great. Thanks in advance :) take a look at this on passing variables from one form to the other. You need a reference of one of the forms you are trying to access from the other form: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=729974&SiteID=1 as far as I u ...Show All

  • Visual Studio Team System How to create a webtest

    I have a login scenario to test. The scenario is as follows The user will log in the web site. There will be passport authentication. and the user will be redirected to a new page. What i need to know is for this wherein the user will move from One web page to another and then back to the original. How should i create a webtest. Create a test project and add a new webtest to create a webtest http://msdn2.microsoft.com/en-us/library/ms182539.aspx . ...Show All

  • Windows Forms locking of combo box

    Dear All, I just added a combo box in my form. I wrote the code in public frmForm1() //================== { //This call is required by the Windows Form Designer. InitializeComponent(); comoboBox1.Items.Clear(); comoboBox1.Items.Add( "USA" ); comoboBox1.Items.Add( "INDIA" ); comoboBox1.Items.Add( "UK" ); comoboBox1.SelectedIndex = 0; } than i called the load event. I would like to lock the combo box so that the user can see all the three values in combo box but will not be able to select the other items. In VB6 we generally locked the item and it solved the problem. But here I am facing a lots of problem for this in Visual Studio 2005. Can you tell me p ...Show All

  • Software Development for Windows Vista Shell Extensions?

    In Vista Beta 1 our shell extensions worked but in beta 2 Build 5384 it no longer works. I found some mention of Like all COM objects, Shell extension handlers must implement an IUnknown interface and a class factory . Most must also implement either an IPersistFile or IShellExtInit interface in Windows XP or earlier. These were replaced by IInitializeWithStream , IInitializeWithItem and IInitializeWithFile in Windows Vista. The Shell uses these interfaces to initialize the handler. In some msdn documentation but I can't find any samples. Anyone have any information Thanks. icon handlers (that implement IExtractIcon) are initalized like they were in XP using IPersistFile. you should see IPersistFile::Load() b ...Show All

  • SQL Server Accesing cube browser

    My boss saw the Browser tab of a cube in an Analysis Services project in BIDS. He says he want to access it for designing his own reports in real time. I suppose the cube browser is not intended to be used directly by the users but if the boss says he want it, he means he want it. So I wonder if there is any way to access the cube browser from managed code. Is it any kind of ActiveX control or any other thing callable by code One more comment. If the boss will be content with calling "something" while the "report model" would be right in the BIDS's Cube Browser page then it is possible to write Visual Studio Add - In, which would access the pivot table throught its documented object ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. PlayerIndex?

    I need some help and explaining of PlayerIndex and how to use it. this is an example of what I want to do: "for (int i = 0; i < Players.Length; i++) { if (XInputHelper.GamePads[i\].APressed) { GamePad.SetVibration(i, 1.0f, 1.0f); } }" Players is an Array of all the player objects. I want to cycle all my players and start to rumble that specific controller, but I don't know how to easily transform the int i = 0 too PlayerIndex.One (i\ should be only i in brackets but this forum displays a light bulb if i write that) Cheers Alfons Hi, How about : foreach( PlayerIndex thePlayer in Players ) { if ( XInputHelper.GamePads[ thePlayer ].APressed ) { GamePad.SetVibra ...Show All

  • Visual Studio "msdn help" for Visual Studio 2005 versus "msdn help" Visual Studio 2003

    Does the MSDN Help for MS Visual Studio Standard 2005 duplicate the MSDN Help for MS Studio Professional 2003 Basically, I would like to uninstall MSDN Help 2003, it it's "covered" in MSDN Help 2005, so as to free up valuable disk space. well technically yes however there may have been some additions or modifications for .NET 2.0. As well as this, if you try to show the help for VS2003 and you have uninstalled it, it will not run the .NET 2.0 help file, since its in a different namespace and resource ...Show All

  • SQL Server Problem printing reports

    Hello, When print reports in Reporting Services 2005, the default paper is "A4", but our reports have letter size, or even "A3" or "legal". Could we set a default paper for printing for each report thanks, Pablo Orte In the layout tab of the report designer, right click on an area outside your report and select properties. Then, set the height, width, and margins. I hope this helps. TF ...Show All

  • Microsoft ISV Community Center Forums Automatically send attachment in email with a submit command button in word

    I have a huge problem if anyone out there is able to help; I have tried to create a submit command button to email off a document as soon as the user hits submit; however i am new to this and my macro does not seem to be working. Does anyone know where i have gone wrong and if possible can you please help rectify the problem. Thank you Sub CommandButton1_Click() Dim Email As Object Dim Attachment As String Set Email = CreateObject("Outlook.Application") 'Assign Outlook application to variable With Email.CreateItem(olMailItem) .to = "<>" 'email address .Subject = "Incident Report" 'Something for the subject Field .body = ActiveDocument .Display = Attachment Options.SendMailAttach = True End Wi ...Show All

  • SQL Server using cursors

    Hello, Can anyone direct me a good article that is about why we should try avoiding using cursors and what are the alternatives http://www.sql-server-performance.com/dp_no_cursors.asp and here is an "tidbit" from http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnsql90/html/sqlclrguidance.asp SQLCLR is another option you now assuming you are using sql2005. CLR vs. Transact-SQL Transact-SQL (T-SQL) is the native programming language supported by SQL Server. Like most versions of SQL, it contains data manipulation features and data definition features. The data manipulation features can be broadly categorized into two parts: a declarative query language (composed of SELECT / INSERT / UPDATE ...Show All

  • Visual Studio Express Editions Maskedtextbox and SQL

    Hello All I'm now into my 4th week of learning VB express and have been up till now doing ok. In the project I'm building I have SQL DB with a few sample entries. On my form are 5 maskedtextboxes set to 24hr euro time mask. When I run the project I get returned data from my many fields which is correct except for the 5 maskedtextboxes which comes back as 22:32 in all the boxes. I have the SQL DB  coloums def.s set to smalldatetime I have also tried setting them to NChar(10). As well when the project runs I noticed the records tool bar across the top is grayed out and missing the Save to disk Icon. I known most likely I have something not set or set incorrectly, But I'm unable to figure what it is. As ...Show All

  • Visual C++ CImageList, CBitmap and CToolbar

    Hello, suppose I have few bitmap files a.bmp and b.bmp which i mange to load into CBitmap instance a and b accordingly. Now suppose that I added them to a CImageList, then how can I load / set it to a CtoolBar tnx Why don't you use a complete bitmap of all symbols for the toolbar The only way I see is to create a new temproral bitmap. Draw all images from the Imagelist into it and select this with CToolBar::SetBitmap into the Toolbar. But if you decide to use a CToolBarCtrl you can driectly use the imagelist with the member function SetImageList! ...Show All

  • Software Development for Windows Vista Multiple NTVDM.exe

    I work for a corporation(TimeManagement Corporation) that uses a 16 bit application that runs in the virtual dos machine. Two years ago Microsoft released a security patch(MS04-012) that caused each new 16-bit file to open in it's own ntvdm thus not allowing our 16-bit application to communicate with other files that it calls. We contacted Microsoft about this but it was not taken care of until we posted on a forum. They then released a hotfix(KB841559) to fix this issue. We are now having the same problem with MS Windows Vista and would like to know if we can get a fix for this issue to allow our program to be compatable again. Possible scenarios where an app might be invoked in a new NTVDM are app ...Show All

  • Visual Basic DataGridView Row Slection Question

    What I would like to do is, if the user selects a single row, all the fields from that row are displayed in individual text boxe, ie.. a detail screen for that row, I am just stumped on how to get the data, by column, for the selected row. Any help would be appreciated. John Actually, I am looking for a way to do this without bound controls. I guess the better way to phrase the question is how do I capture (display)the data from a specific column, based on the row clicked My DataGridView has many columns that are not visible without scrolling, but there are key fields that I would like to have "pop up" when I click the row. John ...Show All

©2008 Software Development Network