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

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

Debboy

Member List

satya999
Jeff Putz
Tan Chin Yong
cosminb
mrbelk
Archimagus
Tom Isaacson
PedroCGD
darkkeeper
Bert666
dakota367
Charles Tam
Evan Mulawski
BCooper
Michael Vanhoutte
thisiswhere
xuanfeng
Chimme
jibotang
arkiboys
Only Title

Debboy's Q&A profile

  • .NET Development Read Records synronous (with Blocking)

    Hi! Is there any way to create an SqlDataReader which returns the Rows as they are added. It shall block until new Rows are added. Like: cmd.CommandText = "SELECT * FROM xyz WHERE Timestamp > LastTimestamp"; using(SqlDataReader r = cmd.ExecuteReader( )) { while(r.Read){ Console.WriteLine("New Row!"); } } I would like to implement a kind of Event-Notification without polling. Maybe I need a part of the logic running on the Server. This would be no problem. There must be a way to do this. The "sp_trace_getdata" System Stored Procedure works this way. And it can be used without anything unusual in ADO.Net. Any Ideas GP ...Show All

  • Visual Studio Use Case

    Hi, I am starting a new solution with Visual Studio team system. I am using the "class designer" functionnality to design my classes, inheritance... I am wondering how I can do a "Use case diagram" or even a "state diagram" or a "sequence diagram" Should I use DSL I am new to DSL, I have installed the DSL tools but I really do not see how I can do a "use case diagram" and associate it to my project. When I "right click" on my project I can see "view class diagram" but I do not see something like "view use case diagram" or "view sequence diagram". Anyone can help Thanks you very much Rod Ro ...Show All

  • Visual Studio Express Editions Saving .txt files with rich text box?

    Hi, im working on a notepad program. Im using a rich text box, and wanna know how to save .txt formats The problem is that when i save rich text files (.rtf) it works fine but when i save text files as (.txt) it shows some weird stuff like this: =Save as RTF FILE TYPE= Hi this is a test! -------------------------------------------------- =Save as Txt file type= {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Microsoft Sans Serif;}} \viewkind4\uc1\pard\f0\fs17 hi this is a test\par } � -------------------- how do i make the txt save not show the other stuff Thanks in advance. oh nvm lol the problem was that im an idiot. I had thaqt code there alr ...Show All

  • Software Development for Windows Vista width and height of the video frame

    Hi, I am rendering a video file and just displaying. m_pGraph->RenderFile(m_MediaFile, NULL); What is the simplest way to learn the video properties. Especially, I want to learn the width and height of the video frames. Thanks. Query IBasicVideo on the filter graph manager, and use IBasicVideo::get_VideoWidth and get_VideoHeight. http://msdn2.microsoft.com/en-us/library/ms784633.aspx http://msdn2.microsoft.com/en-us/library/ms784632.aspx http://msdn2.microsoft.com/en-us/library/ms784631.aspx ...Show All

  • Visual Studio 2008 (Pre-release) Security Authentication Approach

    Hi, Is it possible to do an authentication in a security session (tcp) and leave it after authenticated, but continue connected without any security I want only to secure the 'username' and 'password' and no more, so I need only to create a secure session, authenticate and leave it...but continue using the same connection ( PerSession ) without security. Many web site does it for user authentication. Regards, Alexnaldo Santos Alexnaldo, The basic authentication mode (except message anonymous client) is Message Security with Username Client. So, it is defined on binding object that is part of ServiceEndpoint of the Host. Finally, while the host is open, you can’t change the binding properties ...Show All

  • Software Development for Windows Vista Information card "reset"

    I'm preparing to enable pluralsight.com to accept InfoCards, and as I do, some practical issues are coming to the surface. Here's the first :) For the multitude of websites who will accept self-issued cards, we need to consider up front what's going to happen when one of our users' machines gets trashed and they lose those their self-issued card. Even if you're a website whose security bar is so low that you can simply email the user her password, that's not going to work with an information card! Regardless of the secondary authn mechanism you're considering (if any), I'm curious to know how you're thinking of exposing this "information card reset" feature to the user. It might be a good idea to have a relatively standard way of ...Show All

  • Visual Studio Tools for Office Reading an Excel range into Object(,) - 1 based?

    Hi, I've been using something I learned (probably here), but don't really understand what's going on. I read ranges into a variable with the following: Dim mValues As Object (,) = _ CType (Globals.Sheet1.Range(Cell(r1, c1), Cell(r2,c2)).Value, Object (,)) Where I use "Cell" to save typing: Private Shared Function Cell( ByVal Row As Integer , ByVal Column As Integer ) _ As Excel.Range Return CType (Globals.sheet1.Cells.Item(Row, Column), Excel.Range) End Function This works tremendously faster than reading in values cell by cell. When I do this, however, mValues becomes a 1-based array. First, I don't understand what's going on that would make that happen. Second, I didn't think you c ...Show All

  • SQL Server Intellisense..when?

    This is one of the top requested feature for next version (or SP) of SQL Server. ( http://connect.microsoft.com/SQLServer/feedback  ) There si some third parity tools but light years away from Visual Studio intellisense. I have only one simple question based on this answer This is a very popular feature request. We will be working with teams across Microsoft to determine how best to do this. The intellisense offered by 3rd party ISVs is not perfect from what I've seen. This is something we're considering for a future release. Thanks for the feedback! Paul A. Mestemaker II Program Manager Microsoft SQL Server Manageability http://blogs.msdn.com/sqlrem/ When we can expect this feauture (next version of SQL Server , SP ...Show All

  • Windows Forms Uploading app to website

    Ive developed my program with vb express, and now i want to upload it on the website. How can that be done Does microsoft web developer 2005 help Sorry it's been quite a while i away fr this forum. I try to publish app to a web site but end up with error. From the solution explorer, i choose publish option. Then the publish wizard appears and asks me to specify the location to publish my app. I type in the location of my webpage which i doubt whether the add is exactly what it requires. http://www.geocities.com/sandrea83/ Next, i was given 2 options to choose from on whether the app would be available offline. I choose the option only available online. At last, a short message appears: Rea ...Show All

  • Windows Forms datagridview combobox column

    Hi All, I need code which support vb.net 2005 Problem: While clicking the items in DataGridViewComboBox which inserted in DataGridView( Grid control in vb.net 2005). i want to populate the records in the grid that related to the item which i selected in combo box. I will explain with example: I have grid control named GridCustomer. My grid have three columns which are customer ID, Customer Name, and Address. On the first column i created one combobox contain Customer ID(CmbCustomerID) which comes along with DataGridView. So while selecting this CmbCustomerID i want to display corresponding records in the grid. The data which are coming in the combo box is from table. Sample Code I am attaching sample code, that ...Show All

  • Smart Device Development How to find LPWSTR device name?

    I'm trying to programmatically turn on/off my wifi device and am following the example posted in the opennetcf forums: http://www.opennetcf.org/forums/topic.asp TOPIC_ID=4266 But the question I have is about the first argument when calling DevicePowerNotify, which is how to find out what my wifi device's name is The example above doesn't work, but if I change the name to "BKL1:" then I can control the backlight, so I think I just need to know the name of the device to get this to work. Apologies if this is a really basic question, I've looked online but haven't seen a good answer; I probably don't know enough to ask the question! Thanks! -Dana Had the same problem. Search the registry for BKL1. It ...Show All

  • SQL Server SQL 2000 Enterprise Linking of servers not pulling data.

    I know this is an easy one for most of you but this is new territory for me. I am trying to link a production application database to an existing SMS database. Both of these databases are SQL 2000. I have sa access to both of them. I have an accreditation application that deals with internal processes within our active directory network. We are using SMS database collections to provide the discovery for reporting of this application database and I want to compare the collection to the existing data between the 2 databases. For simplicity I will define them both. Application Database we will call “A-Database” SMS Database we will call “B-Database” I have gone into the A-Database and gone to linked Serve ...Show All

  • SQL Server problem with analysis server connection string

    i have just installed a new version of analysis services 2000 on a test machine. when i try to connect to the local host i get the error "Datasource name is too long". I have set the datasource string to Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\serverName\MsOLAPRepository$\msmdrep.mdb This is the same string as i have on other analysis servers, bar the server name, but it still does not work. any ideas The olap service is running correctly, just in case its a detail you need to know. I assume you use Analysis Manager or DSO program to connect, and you change the "Repository Connection String" property from Analysis Manager. Can you check whether you can open msmdr ...Show All

  • Visual Studio Express Editions Just a quickie

    In a previous post I asked how to get a button to stay at the bottom of the form after the form was resized, this question is a follow on . If I place, say, three buttons and a textbox in a panel, then enter the code to keep the panel always at the bottom, would the Buttons and Textbox stay with the panel Panel stay at bottom code I think this would be better than Button One stay at bottom code Button Two stay at bottom code Button Three stay at bottom code Textbox stay at bottom code Thanks for the answer Dave, Maybe next time try to be more concise, these long answers just confuse me. Graham ...Show All

  • Visual Studio Team System Web Test don’t record requests after few steps

    Hi, I am trying to create web test to automate online application process and Web Test don’t record requests after few steps. For Example Step 1: www.flexcar.com record Step 2: Click on apply now record Step 3: Click on next step ( Doesn’t record any request beyond this point) I tried to use Fiddler to get request, and I get these urls http://www.flexcar.com/WebResource.axd d=3fRdxPAx6QE_ZBLFCvja3w2&t=632781598709843750 http://www.flexcar.com/WebResource.axd d=n1l5QH8c7uME47SjM3oAwtWDGx4wPo5O0&t=632781598709843750 But, when add these requests manual to my web test next page are not displayed. This website is developed in Asp.net (C#) using DotNetNuke. ...Show All

©2008 Software Development Network