Software Development Network Logo
  • Game Technologies
  • Windows Forms
  • Architecture
  • VS Team System
  • VS Express Editions
  • Visual J#
  • SQL Server
  • .NET Development
  • Visual C#
  • Visual Studio
  • Visual FoxPro
  • Windows Live
  • Visual C++
  • Windows Vista
  • Microsoft ISV

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

David77

Member List

David T So
lbGURU
sroughley
manojgarg
MarkFahey
computerguy162
Alex-MSFT
poo
Blaine
JT Thompson
Mario Hutter
Junaid
j_m_d
tandonk
angus_grant
Dougins
svallarian
ghdekker
MarkPierce
kmdavisjr
Only Title

David77's Q&A profile

  • Visual Basic Partial evaluation of logical expressions?

    Many languages include a short-circuit in logical expression evaluation where, once the result is known, the rest of the expression is not evaluated.  This is useful if you must check for a null value before using it.  For example,  if ( (a<>null) and ( (a+b)>5) ) then... Don't want to use a unless it is not null. Is there any way to turn this behaviour on in VB.NET Right now I'm using nested tests which leads to some ug ...Show All

  • Software Development for Windows Vista .NET IMAPI2 Code samples

    Here you will find code samples for the April 18th MSDN Webcast on IMAPI v2 . The samples will be posted shortly after the webcast Here is a VBScript sample that shows how to erase a disc. REM - REM - Erases the current media in the recorder REM - FUNCTION fnEraseMedia( byRef recorder ) DIM eraser REM the second argument hooks up the events with prefix "fnErase_" SET eraser = WScript.CreateObject("IMAPI2.Msft ...Show All

  • .NET Development What is best practice for implementing try-catch blocks?

    Just wondering how other people are addressing the following issue of using Try-Catch blocks.  Say I have following block of pseudo code:       BeginTrans       ...       CommitTrans The most common examples of using Try-Catch blocks shows using them like this:       Try         &nbs ...Show All

  • .NET Development [VB.net] Add a TimeStamp

    Hi! I already asked something about Accessing an Access-Database in following Thread : http://forums.microsoft.com/msdn/ShowPost.aspx PostID=119542 That works! But now, I've got another question. I want to add a Timestamp into an Access-Database. For that, I tried following code : Dim insertsql As String = "INSERT INTO t_Personal(TIMESTAMP) VALUES(@TIMESTAMP) Try   Dim myconn As OleDbConnection   myconn = New OleDbConnect ...Show All

  • Windows Forms HTTPWebRequest in a Windows Application

    Hello, I want to create a windows application that will call a URL and return its content.  I was wondering if I use the HTTPWebRequest object to access an secure url eg:  http://mysite.com will the transfer be encrypted Thanks in advance, Linen ...Show All

  • Software Development for Windows Vista Problem Solved

    Hello, I am using Vista Beta 2 and the Beta 2 SDK to build a Windows Media Player DSP Audio Plugin. I am using Visual Studio 2005. I do the following: 1. Select New Project 2. Windows Media Player Plug-in Wizard 3. Name the plugin - testplugin 4. Select DSP Plugin. 5. Select Audio DSP Plugin 6. Do a Build - Rebuild Solution I get the following output: 1>------ Rebuild All started: Project: testplugin, Configuration ...Show All

  • Visual Basic Connecting to SQL Server 2005 from VS 2005

    It's time for me to get into 2005 development. So last weekend I upgraded my MSDE 2000 to SQL Server 2005 Designer edition and successfully ported my database. Life is good. Yesterday, I migrated my Windows App from VS2003 to VS2005 - And now I can't run the application I get a data access error. Do I decided to recreate the SQLData adapter - In creating a new connettion, I see the server, I provide user name & password for SQL Ser ...Show All

  • SQL Server Parameters collection

    I have a function defined in Report->Report Properties-> Code Tab which I want to access the parameters collection to look for a Debug flag. I get the following error: c:\Reports\ReportMockup.rdl There is an error on line 4 of custom code: [BC30469] Reference to a non-shared member requires an object reference. How do I access the Parameters collection within my custom code Try... report.Parameters! ...Show All

  • SQL Server Copy Database error on Execute SQL Server Agent Job

    Interestingly I can get further with Copy Database than I did in the last beta. It still won't finish successfully though. Here's a log from one of my attempts. Thanks in advance! #Fields: event,computer,operator,source,sourceid,executionid,starttime,endtime,datacode,databytes,message OnPreValidate,RATBERT,NT AUTHORITY\SYSTEM,CDW_CSIADRESKO_RATBERT_0,{00F97964-A8B9-4816-9A87-A39C952A31AA},{3F1C9CB0-A9E8-47E8-B0FA-E07F7EA9AE55},11/15/2005 1:15:3 ...Show All

  • Visual C# select the current paragraph in a richtextbox

    Is there a way to select the whole paragraph, not just the current line, at the current caret position in a richtextbox Don't use the Find method; use the IndexOf and LastIndexOf the String class. Use this on the Text property of the RichTextBox. ...Show All

  • Windows Search Technologies Exchange performance

    Does WDS index email informartion directly on an Exchange Server and thereby impact performance or can it be forced to index the local ost file only Is this configurable - perhaps by Group Policy Does Outlook have to be in cached mode for WDS to work at all Does WDS make any use of Exchange's own store indexing Is this part of WDS based on Lookout What are the differences Thanks! Hi, Re. ...Show All

  • SQL Server SQL Server Management Studio Express

    Can someone tell me where I can find help on how to use the SQL Server Management Studio Express. I am reading the "SQL DeMYSTiFieD" book (learning) and would like to follow the examples but don't know where to type the SQL statements. How to create database and add tables to it using sql statements. Thanks in advance Baldev Baldev, You can download SQL Server Books Online from http://www.microsoft ...Show All

  • Visual Studio Edit Export (Save As) choices in WinForms Report Viewer

    Hi, I need to be able to make 1 report and limit what it can be saved as based on user permissions. I dont need to add any new options (Excel and PDF are all I need) but I just want to remove one or the other from that save as drop down button. I have read on up doing my own rendering etc, but I really hope there is just some simple way to get to that menu and gray out a choice or 2,... Any ideas ...Show All

  • Visual Studio Express Editions Multiple MsgBoxes

    In my program I have If x < 5 Then MsgBox( "Error: Not enough songs. Song count: " & CStr (x) & " Songs required: 5" ) End End If But when x < 5, the screen fills up with MsgBoxes continuously until I manage to click one. How to I only make one box appear Thanks Hi! I can't see from your code that this would in itself result in mul ...Show All

  • Visual Studio Team System Listening for CheckIn event

    Hi, we would like to write an application that listens for the CheckIn event in TFS Source Control and perform certain operations (that requires user input) on the checked in file. Is this possible, and in that case how Regards, Per  What kind of changes will that person be making Since it's not an automated process, would email notification to the user suffice For security reasons, only accoun ...Show All

©2008 Software Development Network

powered by phorum