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

Software Development Network >> James Hunter's Q&A profile

James Hunter

Member List

Cla82
shree123
Dennis Cheng.MSFT
nielsvdcp
Howie Hilliker MSFT Lead Writer
cstout
Bertrand JURADO
domlev
Robert Franks
zhoang
fontzter
Luciano4
juan carlos ceresola
Fahad349
northernmonkey
Willem Rozendaal
Piotr Smolanski
Byron
Matey
Bill Developer
Only Title

James Hunter's Q&A profile

  • SQL Server Business Intelligence Projects

    how can i make Business Intelligence Projects available in vs 2005 Thanks You have to run SQL Server 2005 setup and install the client components (specifically "Business Intelligence Development Studio"). This will install into the existing VS 2005 shell (or install the shell if it is not on the machine yet). -- Robert ...Show All

  • Visual Studio Express Editions How do I pass return codes on exit?

    I would like to call a program using Call Shell(), wait for it to finish, then (if possible), collect the data it returns (as if it were a function). My question is, how do I make a program that sends data back when it exits, and how do I make another program that calls this program, then gets the data Also if you want to talk to a console application, a full example is there in your VB express help: ms-help://MS.VSExpressCC.v80/MS.NETFramework.v20.en/cpref6/html/M_System_Diagnostics_Process_BeginOutputReadLine.htm or search " Process.BeginOutputReadLine Method" in the help ...Show All

  • Visual Studio 2008 (Pre-release) Strongly-typed member references

    A major objective of C# and perhaps .NET in general is the reduction of weakly-typed constructs.  Delegates are a prime example of this trend. I would like to discuss the possibility of strongly-typed references to non-method members (method references are made possible thru delegates).  It is not a LINQ issue per say but this appears to be the primary C# 3.0 forum. Consider the [Association] attribute proposed for DLINQ: [ Table (Name= "Customers" )] public class Customer {       [ Column (Id= true )]       public string CustomerID;       ...   ...Show All

  • Visual Studio Team System Access to Private Variables

    I'm just gettting started with unit testing in VSTS. I know that VSTS is supposed to have the capability to generate accessor classes to provide access to private variables in the class under test, but I've looked all over and can't find an example of how to use an accessor class in a VSTS unit test. Here's an example: Class ToTest Sub SetValuex(int y) private int x = y End Sub How can I test that the value of "x" was properly set from an external unit test Thanks, Chuck Hi Chuck, You can generate unit tests (that will contain code to test your accessors) by right-clicking your class and selec ...Show All

  • Windows Live Developer Forums Errors in contest entries?

    Some of us who've submitted our entries to the contest may not be aware of bugs in our apps. If you find one, please post it here. We can determine if the problem is in the Activity API or our app's code and then elevate any relevant issues. Please include: The name of the app The exact error message (including line number if displayed) Steps to reproduce the error An objective suggestion to correct the problem By the way, my app is "Rockhopper's Race for Fish". I'm anxious to hear how it works for you. Thank you! Well to start, your game doesn't work for me. As soon as I start it I get an error, somewhere at filters[1] = ...Show All

  • Visual Studio Tools for Office Need to get to Excel.Application reference from ThisWorkbook

    I've implemented some custom menubars and when I click on the menu item I am calling a controller call to manage some rows on the sheet but I need to pass the Application reference and I do not have it in ThisWorkbook. Any ideas on the best approach to get it or rearrange something I managed to reference the Globals property and relay it through the Worksheet. Thanks! ...Show All

  • Visual Basic Access denied

    Hi all, Thank for all your help, I thank you all once again. My problem is when runing my client apps in another  machine the win apps will throw this error : Access Denied, Can anyone help,cause I'have tried all I know. any help will be appreciated. thanks MURI Muri, WE'd need to know far more information than what you've supplied. Is this a database application What is it trying to access on other nodes that it has access to on your node ...Show All

  • .NET Development Addressing a Thumb Drive in Software

    I am interested in being able to embed code which address data on a thumb drive.  Is there a way to get around the dynamic drive letter assignment so that my software can always find the thumb drive when it is attached to a client computer. Thanks, Fred Herring One possible approach would be to enumerate all of the available drives and checking them.  You could check for the volume name of the drive, or for a special file on the drive, etc. Richard ...Show All

  • Visual Basic Unable to Connect to SQL Database when i Install my Application on Clients system....

    Hi! I have completed an Online Examination project in vb.net with SQL Database at Clients Office .. and i Deployed to Client.. and i installed it successfully...The problem is: When i open the Application an error message displays that unable to connect to server... but the application runs perfectly from the computer in which i developed... Actually the Database has to be connected through Office LAN... I have used the Connection String in vb.net as Dim conn As New SqlConnection("Data Source=BPO75;" + "Initial Catalog=ONLINEEXAM;" + "User ID=onlineexam;" + "Password=Exam;") Is i ...Show All

  • .NET Development Typed Dataset - How To Generate

    VS 2003 was simple.  Create xml data, right click generate schema, right click and generated typed dataset. How do I do this in 2005 Dave   pugs wrote: I'm also having this problem in VS 05. It was or used to be simple to generate a dataset from an *.xsd file. I'm finding this a real problem in 05. I've imported an xsd file and would like to generate a typed dataset from it but it doesn't work with what has been suggested in this thread (designing in the dataset editor does not work or I'm missing something, which you to be simple in VS03). Any ideas   Is this by design or h ...Show All

  • Visual Basic How to run VB2005 EX B2 .EXE Files...

    How do I run an .exe file that I create in Visual Basic 2005 Beta 2   Where are the real files located   I looked in the projects folder and saw the \bin folder and tried running the .exe file located there of my application.  When I double-click the files located in the \bin folder, each program crashes and ask me do I want to send a report to microsoft about the error.  The program will run fine within the programming environment, anbd there are no warnings or errors in the program output.  I don't get why the programs are not running and I have the compile option set to release.  What am I doing wrong he ...Show All

  • Windows Forms Pressing <Esc> will trigger validation of contents of UI-element

    Hi, In our forms we have the problem that after entering invalid input in a textbox, pressing the <Esc> key will trigger the validation of the textbox contents. In the same situation, pressing the CancelButton of the form will NOT trigger the validation. We thought the behaviour would be the same for both situations, but it is not. How to achieve that both situations behave the same. Note: it not only happens for the textbox but for all input controls. Note: we checked all controls for the setting of CausesValidation (for the CancelButton this is FALSE, for the form this is FALSE). regards, Henk That is because ...Show All

  • Windows Forms List and combo boxes don't show contents

    I'm having a bit of trouble with my new Visual Basic .NET software.  Just installed it (Version 7.1 blah, blah, blah) and when I debug, my list boxes or combo boxes don't show the contents, whether the contents are added via code or added in the properties window. I've spent far too long today searching for patches, updates and answers, to no avail (although I did discover that MS will provide 1 answer for a "mere" $99.99 -- holy cat!). Has anyone heard about this   And has anyone then managed to find a fix   (One can only hope.)  Thanks for anything you can provide, Mandy Gershon LahTera@alaska.net   ...Show All

  • .NET Development How to send and receive XML data from web service

    I am first time to involve a public web service project. The requirement from vendor is to send XML data to our web service. Here is the SOAP format of request which the function "AddUser" having two parameters: customer: XML format and quantity: string: <xxx:addUserRequest xmlns:ltd=”http://yyyy.com/”> <c:customer xmlns:c=”http://yyyy.com/customer”> <c:customerId>259</c:customerId> <c:Name>Joe</c:Name> </c:customer> <xxx: quantity >100</xxx: quantity > </xxx:addUserRequest> I create a web service function named "addUser&quo ...Show All

  • SQL Server Can a Data Flow Task mimic Bulk Insert?

    Hi Guys, The way I understand a Data Flow Task is that it inserts the rows from the source to destination one by one. Is there a way to make it act like a bulk insert task We have been experiencing performance issues when inserting a lot of rows from one table to another. If there's no way to actually do it, can a bulk insert task functionality be scripted Coz what I need is a table to table insert, and the bulk insert task only accepts data files as sources. Thanks! Kervy What destination object are you using The OLEDB Destination and the SQL Server destination both enable bulk insert opti ...Show All

©2008 Software Development Network