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

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

cwright

Member List

DLCarp
Florim
thomas.macht
KirkAtCenterstance
zh
Ken Paulson - MVP
fishfree
Toby Russell
Ritche_M
R. Dobson
Kamal Hathi
jn4u
S Tonstad
shanecav
LeHobbit31
Geert_
Francois Babin
cØrwin
mikemhc
Frank Corrao
Only Title

cwright's Q&A profile

  • .NET Development Datareader to object relationship/mapping.

    I can make a realationship between a query of a particular table to a particular object.. For example I have two table Customer and Order SAy For Customer table i can make a Customer class.(select * from cutomer) And can have one to one relationship between table(datareader) fields and object properties. SAy For Orders i can make a Order class.(select * from order) And can have one to one relationship between table(datareader) fields and object properties. But what can i do if i have a query with multiple tables.that is with customer and orders in the query that is select c.cutomername,c.cutomerid,c.address,o.date,o.isdelivered from order ...Show All

  • Visual Studio 2008 (Pre-release) LINQ Preview removes Refactor from VS context menu?

    For some reason the Refactor item disappeared from the context menu that appears when you right-click in the Visual Studio editor. I'm guessing that this was a result of me installing the new LINQ Preview today. Uninstalling the LINQ Preview did not restore the menu item. I had to do a "repair" of Visual Studio to get it back (always a time consuming and fun process). The language service (IDE editor and intellisense) for C# in this CTP is experiencing some problems in this regard. It's not meant to be missing. :-) ...Show All

  • Visual Studio 2008 (Pre-release) Location of Perforator tool?

    I can 't seem to find the Perforator tool in the WinFX September CTP.  It is not "under the Tools submenu of the main SDK Start menu item" as mentioned in the WinFX SDK Documentation .  Is it available for download somewhere Thanks,  Dan ...Show All

  • Software Development for Windows Vista (State Machine || Sequential Workflow) || (State Machine + Sequential WorkFlow) ??

    There has been a lot of talk about State Machines are good for human workflow and the sequential workflows are good for system workflow.  I would like to present some issues about the state machine for human workflow and get opinions. First, I agree that human workflows are good for the state machine.  First they are easy to understand because there are single state.  So “Awaiting Approval”, and ”Completed PO” are easy to understand.  However using this approach the workflow can only be in one state at anytime. In human workflow a big advantage is to allow a task of items to be handled by more than one resource.&n ...Show All

  • Software Development for Windows Vista Playing WMV10 through DirectShow?

    It appears the default codecs only support up through WMV9 and when playing a WMV10 hd file, they don't fully decode with a DirectShow application. Are there DirectShow filters for WMV10 or is the only option to embed Media Player 10 through its SDK Sorry, I haven't worked much with WMV10. I assume you've tried all the basics: Install the latest WMP, the latest WMF and the latest DS ...Show All

  • Visual C# How can I do to use Windows API?

    I have used some Windows API commands but I get error. //==================================== D:\C#_Temp\SystemApp\Form1.cs(166): The type or namespace name 'HANDLE' could not be found (are you missing a using directive or an assembly reference ) //==================================== HANDLE hToken; TOKEN_PRIVILEGES tkp; // Get a token for this process. if (!OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY , &hToken)) return( FALSE ); Please tell me how can I use them. Thanks in advance ! Check this page out. Sheva ...Show All

  • Visual Studio Someone Please Help me out, --System.Exception: Invalid Report Source.

    Hello, I created a crystal report in .net 1.1 and tried to display it. I got an error message saying "System.Exception: Invalid Report Source. " here is my code Dim crReport As New CrystalReport1 Dim crtableLogoninfos As New TableLogOnInfos Dim crtableLogoninfo As New TableLogOnInfo Dim crConnectionInfo As New ConnectionInfo Dim CrTables As Tables Dim CrTable As Table crReport.Load("c:\inetpub\wwwroot\WebApplication1\CrystalReport1.rpt") With crConnectionInfo .ServerName = "(local)" .DatabaseName = "Demo" .Password = "sa" ...Show All

  • Windows Forms Linking the Menu/Toolbar/Tabs and the Statusbar

    Maybe I'm just missing the right property, or maybe it doesn't exist, but what I'd like to do is link the Menu and Toolbars to the Status bar so that the status bar will reflect the text value of the menu item or toolstrip button that the mouse is hovering over. In other words, if I move my mouse over the open folder icon in my toolbar, the status bar should read "Open". I'm sure I could link this up the hard way with lots of code, but I was hoping some enterprising soul predicted this need and built in the functionality in the first place. Hi, as far as I know you'll have to do it by code but it's not that much code. J ...Show All

  • Windows Forms n00b c# form error

    Hi there, I am new to C#. I'm using Visual Studio 2005 on a fresh install of XP pro. I'm trying to create a simple one form program*. I can compile a simple project but when I try to run the executable (either debug or release) the form just flashes up then dissappears - like a console application would if it had nothing to do. Does anyone know why this might happen *Default settings for WindowsApplication1 using C#. One button invoking Application.Exit() when pushed. But this is the same for any kind of form. Thanks for looking into this Blair Allen Stark That code is identical, but.. I ...Show All

  • Windows Forms only one instance of an application

    How do I only let one instance of a application run at a time on each workstation take alook at this thred as well <a href="http://www.windowsforms.com/Forums/ShowPost.aspx tabIndex=1&tabId=41&PostID=6773">6773</a> ...Show All

  • Visual Studio 2008 (Pre-release) HeaderedContentControl

    Can anyone point me to a sample, blog or article that details how to correctly use all the features of a HeaderedContentControl Things like the HeaderTemplate, HeaderTemplateSelector, ContentPresenter, etc. Thanks John Try: http://msdn2.microsoft.com/en-us/library/ms771736(VS.85).aspx Regards, Hermann Rosch ...Show All

  • .NET Development search a string for a special character

    Hi, I have a string and I want to find if that string has ETX charater (End of Text) in it. ETX is a special character with a DEc value of 3, HEX value of 3 and Oct value of 003. So basically, I jsut want to find a character within a string using that character's DEc, HEX or OCT value using VB.net Thanks Thought I'd answer your explicit question - how to find ETX character in a string in VB. 'Chr(3) is ETX Dim s1 As String = "Test" & Chr(3) 'IndexOf() searches for the specified character, 'returns its index (0 based) if found, or -1 if not found If s1.IndexOf(Chr(3)) <> -1 T ...Show All

  • Visual Studio How can I programmatically tell if a tool property was explicitly specified?

    After loading a project ( VCProject ) and the VCCLCompilerTool for a configuration, how can I tell programmatically if a particular property (such as WarningLevel ) was explicitly specified in the project I need to know if the value I’m look at is the default or an explicit override. Thanks if a property returns a value that is not directly set, but is an inherited value then it returns S_FALSE instead of S_OK. hope that helps josh vc++ project system developer ...Show All

  • Windows Forms Dates between...

      I have  a problem fetching data between two dates, from access database in Vb.net I am formatting the from and to dates which i select from the date pickers to dd/MM/yyyy Dim f As Date = dtpFromReport2.Value       ' value from Date picker1 Dim t As Date = dtpToReport2.Value         ' value from Date Picker2 Dim fromDate = Format(f, "dd/MM/yyyy") Dim toDate = Format(t, "dd/MM/yyyy") And in the query to fetch tasks  in between two dates I give my query as: "select * from xyz where   (F_DATE_COMPLETE between #" & fromDate ...Show All

  • Smart Device Development problem sync with real device and emulator

    hi there, i have VS2005 beta2 installed, DMA tarnsport update for VS2005 beta2, active sync 4.0 installed on my machine. i having a problem to sync my real device after i sync on my emulator, synchronization error. i successfully solve this problem after i have remove the active sync 4.0 and reinstall again. but whenever i sync on my emulator once, i not able to sync on my real device anymore, what a pain for me to ununstall and reinstall activesync whenever i want to sync my real device can anyone tell me what is happening, thank you Hello, I tried the scenario with VS2005 ...Show All

©2008 Software Development Network