Software Development Network Logo
  • .NET Development
  • Visual Basic
  • Visual C#
  • SQL Server
  • Visual C++
  • Windows Live
  • Architecture
  • Visual FoxPro
  • Visual J#
  • Visual Studio
  • Windows Forms
  • Game Technologies
  • Windows Vista
  • VS Team System
  • Smart Device

Software Development Network >> diane martin's Q&A profile

diane martin

Member List

asum
Carl916
femMaster
Spidermans_DarkSide - VSIP
cypher543
hande
sharpguy
nanceoiage
Sitanshu
jonbu
charleste
Wim 2005
Thomas Holmgren
GLA
Tom Nguyen-Marsh MSFT
CodeBash
jebz171339
Giritharan
mike g.
NFG
Only Title

diane martin's Q&A profile

  • .NET Development Designer FK Constraints (Why can't I get them to Cascade???)

    Every day I feel more and more like a 2nd year CS student with VS2005. Working with a straightforward web service, we decided to try to port an existing application to VS2005 web services using as many designer tools as possible to create strongly-typed datasets and to take advantage of new controls (like bindingsource and binding navigator) in WinForms client apps. In the webservice application, we used the designer to create several tables and to create FK relations between those tables, specifiying cascading delete and update constraints. The SQL database is NOT related using SQL tools (the SQL Server 2000 database diagrammer, fo ...Show All

  • Visual Studio 2008 (Pre-release) Any opinions on the untyped-ness of xaml?

    I love xaml and I think it's super powerful. However, the whole system gets much of it's productivity by being untyped. Meaning, if I can bind to a 'path' that is found in a datacontext that I can set/change in the code-behind, no compiler will ever be able to help me figure out that I made a typo in the path. Actually, when I change a property name on the dataobject I'm binding to, goodluck finding all the references in xaml files. This seems like a step back (mind you, we get lots of power back ofcourse). Are there any thoughts on this Should we start binding in the codebehind instead of the xaml (ouch, that would lose mucho producti ...Show All

  • Smart Device Development PocketPC SerialPort and turning off/on the device

    Hi, Here a simple C# example that reads data from a GPS Device Assume two Buttons on the form and one Textbox. Further a SerialPort with the DataReceived Event handled in the form. public class Form1 : Form {     public delegate void SetText ( string strPar);     public SetText myDelegate;     public Form1() { InitializeComponent(); } private void Form1_Load( object sender, EventArgs e) {    myDelegate = new SetText (SetTheText);    serialPort1.BaudRate = 4800;    serialPort1.Handshake = System.IO.Ports. H ...Show All

  • Visual Basic Release or Debug Problem with WriteFile API

    Hello, i wrote a programm which can help to send packets to my USB device but when i try to use the method WriteFile (in sub sendpacket(startsessionpacket)) i get the win 32 error (Error Invalid Handle) howewer work hDevice=createFile (...) great! so what's wrong with my code please Help Me Option Strict On Imports System.Runtime.InteropServices Public Module DeviceIo Dim theDevInfo As IntPtr Dim hDevice As IntPtr Dim usb_packet_size As Integer Dim deviceioResult As Boolean Dim thePacket() As Byte Dim write As Boolean = True Dim SetupDiGetDeviceInterfaceDe ...Show All

  • Windows Forms getting windows xp app close buttons...

    Hi, Is there any way I can show the windows xp maximize, minimize and close buttons, any other place inside my form Thanks ...Show All

  • Visual Studio another crystal reports binding error

    i've seen several people getting the same errormessage and being directed to the businessobject website, but i couldn't find a solution for my problem there. i've created a project in VS2005 beta2 where i dynamically load reports with the code below, but when i upgraded to VS2005 release it stoped working. int iResultCount = sqdAdapter.Fill(dsRapport); rdReport = new ReportDocument(); rdReport.FileName = sFilename; rdReport.Load(sFilename); rdReport.SetDataSource(dsRapport); crystalReportViewer1.ReportSource = rdReport;   the dataset fills just fine, and the document (rdReport) is created, but at the last line i get the ...Show All

  • Visual Basic How can I, if at all possoble, create an FTP Server

    I'm a beginning developer and i need to create an FTP server imbedded in an application. This is the last thing i need to do to finish the program. I need to make it so the server is only available when the application is running. Try this site at the bottom of the page. modwinin.bas http://msdn.microsoft.com/workshop/networking/wininet/reference/functions/all_functions.asp ...Show All

  • Software Development for Windows Vista clarification: correlation to the instance

    Just to get this clear, hopefully somebody can confirm this to me fast: Correlation as implemented in the Workflow Foundation is only for correlation inside an instance, so to trigger the right event in a known workflow instance. There is no "global" correlation in the workflow engine that figures out the right instance to fire the event on. Is this correct So even a web client must maintain a relationship with it's session through e.g. a cookie, so that the instance id can be stored and retrieved, to keep track of the right workflow instance it is communicating with. There is no correlation that can be defined on the parameters of the ...Show All

  • Windows Forms Generic DataGrid binding without a DataSet?

    I'm writing a generic piece of my application that needs to take the results from a stored proc and display them in a read-only DataGrid. Now the easy way is of course a DataSet ... retrieve the stored proc into a DataSet, and bind the DataGrid to it - done. However, I really need to cut down on network bandwidth, and I understand DataSet's come with a lot of extra overhead - data that it requires for updating. As I only need a read-only grid, I don't need that extra data - so I'd rather not use a DataSet. The other solution I've seen is to create a structure with properties matching the columns from the stored proc. Then ...Show All

  • Visual Basic Numeric textbox

    VB 2005 . How to make a textbox that allows the user to enter only double numbers Register an "Validating" event on TextBox and check in the eventHandler if the value entered is a double. If no, set eventarg "cancel" on true ...Show All

  • SQL Server Visual Studio 2003 & SQL Server 2005

    Is it posible application writen with Visual Studio 2003 to establish connection to SQL server 2005 I to have a similar problem.  while configuring the sqldataadapter using the wizard, the wizard generates the select and insert sqlcommands. but the update, delete command are not generated. an error is thrown.  this wizard works completely fine with msde.  this problem surfaced immediately after i upgraded msde to sqlexpress2005.  is this a compatiblity problem will it be useful if i install the .net2 sdk ...Show All

  • .NET Development problems connecting to a DB in SQL Server 2k using Visual Studio 2005

    some knowing issues about this topic i cant connect to a SQL Server 2000 DB in a remote computer with Windows XP PRO, using a Windows App in Visual Studio 2005... my actual computer use Windows XP Home and VS 2005 v8 I'm getting crazy with this "little problem" my networks works fine and i can see the remote computer files and folders, either if i try to connect using the Client Components like Query Analizer i can connect without problems using the same credentials and information. any ideas this is a snippet of the code in TaskVision App // try to authenticate the user string userID; try { dbConn = ...Show All

  • Visual Studio Team System Work Item Update Collisions

    I've noticed inconsistent behavior in how Team Founation Server handles collisions when a work item is updated from two places, simulatneously. For instance the following steps generate an error: - Open task with ID 4 in visual studio, and change a value. Do not save yet. - Open work item query in excel and modify the task wtih ID 4, and publish the changes. - Save the changes to task with ID 4 in visual studio. When trying to save the work item in Visual Studio, I get an error stating the work item has been updated, deleted, or I don't have access to it. I end up having to re-run the work item query to get a new version of the work item ...Show All

  • SQL Server SSIS runtime components Install

    How can we install the SSIS runtime components alone. We are calling SSIS packages from .NET code. We would like to know what are the minimum components we need to install in the machine in which the .NET code is running. Thanks, Loonysan Do we need to do a complete install of Integration Services from the CD or is it enough if we deply only certain DLLs. Thanks, Loonysan ...Show All

  • SQL Server How to flag a row and allow max one row flagged in the table.

    Hi, I am new to SQL. which is the best way to flag a row Create a bit column IsFlagged Additionally, I want to create a table-level constraint that allows max 1 row flagged true in the whole table. I can't nest a select expression in the CREATE TABLE statement CONSTRAINT clause that counts flagged rows. So how do I do this Appreciate the help.   you can do something like this - create table FlaggableDomain(ID int unique not null, Name sysname primary key not null) populated something like this ID DomainName 1 'person' 2 'place' 3 'thing' track your flags with ...Show All

©2008 Software Development Network