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

Software Development Network >> Blair Allen Stark's Q&A profile

Blair Allen Stark

Member List

nibsi
MGrieb
Fata1Attack
Lee Gillie
Veebs
Dongwei
DaveThompson
kemal
Pintoo Khaira
Leebert
Unmesh Gundecha
cybertaz69
JohnGrabau
mcass
georgeob
joshcsmith13
sticksnap
MPeter
gteddy
Australian Sewing Machine Co.
Only Title

Blair Allen Stark's Q&A profile

  • SQL Server sqljdbc_auth.dll question

    Hi, Are there any api in sqljdbc_auth.dll for impersonating java client instead of calling win32 api ImpersonateLoggedOnUser() and LogonUser() Thanks. Alexie, There is no impersonation built in into the integrated security dll. To do so would quite frankly be a large potential security vulnerability. Again feel free to fire up feedback bugs if there is a specific scenario that you are interested in that is currently not being enabled because of this limitation. ...Show All

  • .NET Development Large data transfer

    I created a local web service that accepts a byte array as a parameter and then I write the data in the array to a hardcoded file name. I added the following entry to the web service app's config file and my computer's machine.config files: < httpRuntime maxRequestLength = " 1048576 " executionTimeout = " 180 " /> I can successfully transfer 50 megs worth of data but it fails with the following error msg when i try to send a 100 megs of data (1 gig is my goal): {"The underlying connection was closed: An unexpected error occurred on a send."} System.Net.WebException: {"The underlying connection was closed: An unexpected error occurred on a send."} InnerException: {"U ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How create device without window?

    When I set this parameter as null, is throwing exception "Error in the application". Why In MSDN - renderWindowHandle System.IntPtr Handle to a Form, Panel, or any other Control derived class. This parameter indicates the surface to bind to the device. For full-screen mode, the window specified must be a top-level window. For windowed mode, this parameter can be null. If null is specified, a non-null handle must be specified when calling Device.Present. This can be done either by setting the PresentParameters.DeviceWindow property, or by using the optional param_Control_overrideWindow parameter of the Device.Present method. The simple answer is that you cann ...Show All

  • Commerce Server Profile adapter

    Hi Unlike the Orders and Catalog adapters where there is a lot of help and examples (excellent webcasts by A Faulkner and B Blum) there is almost nothing on working with the BizTalk Profiles adapters. I need to use the Profiles adapter to update a single (custom) property in the UserObject table. Which schema do I use (Is it the ProfileDocument schema ) When I send this message to Commerce Server via the Profiles adapter: <ProfileDocument><UserObject> <GeneralInfo><user_id> fffc429f-5340-4902-ad99-7beee1a6bbcb </user_id> <store_credits_last_update_date>2006-10-22T11:59:59</store_credits_last_update_date> <store_credits>150.00</store_credits> < ...Show All

  • Windows Forms Form Design

    Can a form receive contact data entry, send out emails and prints mail labels all in one interface Please provide samples. Thanks. to send emails: VB.NET http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=616274&SiteID=1 C# http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=760457&SiteID=1 for printing, something trickier so I would suggest searching the forums as well as reading these: http://msdn2.microsoft.com/en-us/library/system.drawing.printing.printdocument(VS.80).aspx http://msdn2.microsoft.com/en-us/library/system.windows.forms.printdialog(VS.80).aspx http://msdn2.microsoft.com/en-us/library/aa467115.aspx ...Show All

  • Visual Studio Team System Build problem TF42004

    Hello, I Have problem with Team Build. When I star building, everythink goes well, but soon as building has started I got a faild message: Team build failed to open folder \\fihel-mibsw02\TestWork\Hei\Testi2_20060607.1 . The system cannot find the specfied path. I am totally lost with this. Hi Aaron, I have followed your instructions in your answer for my own build, but am still not able to get a successful build. The TFSService account is added to the Build group, the account also has full permissions to the share. but I still get the access denied error in the log for the folder that the build is attempting to create - i.e. Drop location = \\SERVERNAME\SHARE\Alpha_20061212.12 . Access to the path '\\SERVER\SHARE\Alpha_2006121 ...Show All

  • Smart Device Development About SDIO Card Driver

    Hai, I am studying about the SDIO Card driver. From my understanding the client driver is loaded after inseting the SD Card by the Bus driver. When the Host controller Driver is loaded Actually i want to diagnosis the SD Card port before inserting the SD Card .Is there any means to find this.I am using the PXA270 processor JR Lyon wrote: That code is given to the client driver from the bus driver. The client driver gets loaded only after the host controller and bus driver have initialized the card. If you are trying to detect insertion and removal events of the SD card then going through the client driver is probably not the correct method. Instead you should catch the system event with the hex value 0x21 ...Show All

  • Visual Studio Express Editions how to set pre-defined properties for a structure elements?

    Hi, Don't know how to put the title more clearly, but anyway what happens is that I have defined a structure type in my project, see below: Structure Cols_Structure Dim label As String Dim x As Single Dim y As Single Dim Shape As String '...0: rectangle, 1: Circle Dim A As Single '...Dimension A, or Diameter Dim B As Single '...Dimension B Dim Angle As Single End Structure Public Columns(50) as Cols_Structure for Shape element, there are only two choices allowing user to set, one is rectangle, another is circle, how can i implement this say for the statement such as: Columns(1).Shape= .. what should i do so the intellisense will let me choose from either "rectangle" or "circle" ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DirectX EULA for DirectSetup Requirements

    Hello All, I am having trouble pin pointing when it is required to display the DirectX End User EULA when using the DirectSetup library to install the directx 9.0c dlls. I will be requiring 9.0c to be previously installed and will be only installing the required dlls for my application. I cannot seem to find the truth behind whether or not I have to display the EULA for this process. The DirectX DXInstall example does not show a EULA. This page: http://msdn2.microsoft.com/en-us/library/bb174600.aspx which describes the process of using DirectSetup to install DirectX components does not explicitly state that you must show a EULA. It says follow the license agreements for redistributable code which only states t ...Show All

  • Visual Studio Team System Problem with getting all the target branches for a given source branch through the API

    Hi, I'm trying to get all the relations to a given branch through the API , for that I'm using the method GetBranchHistory of version control server object For some reason I can't get parent element from the return array This is an example of my branch relations: $/TeamProj/Test | |--$/TeamProj/Test-Branch | | | | - $/TeamProj/Test-Branch-Branch | |--$/TeamProj/Test-Branch_1 When I'm running over the elements that returned from the method, I always get '0' elements retrieve from the parent. Also, for some reason when I'm running over the children elements I don’t the 'grandson' branch (in my example - Test-Branc ...Show All

  • Windows Forms Datagridview

    Can anyone correct this line: DataGridViewTextBoxColumn ocol16 = ( DataGridViewTextBoxColumn )dataGridView1.Columns[16]; ocol16 .value = "1"; < this line causes an error> See the class definition , it says that the DataGridViewTextBoxColumn object hosts a collection for cells. You cannot add values for columns , you add values for cells . ...Show All

  • Visual C# What's the appropriate exception with an input string is empty

    I'm working on an API level component (logging) and I want to throw an exception if someone calls a logging method with an empty string (""). I nomally throw an ArgumentException with an appropriate message in this case, but I've began to wonder recently if ArgumentOutOfRangeException wouldn't be a more appropriate choice since the string length is 0 which for my use would not be an valid range. Any thoughts on this For application exceptions, I think you should create your own exception class that inherit from ApplicationException. I don't know if there's "official" guidance but it's my preference to be able to distinguish exceptions caused my application vs. other exceptions. ...Show All

  • .NET Development Catching a .NET unhandled exception from another application ?

    Hi, Currently, I have application A written in .NET 1.1 . Sometimes, application A generates an unhandled exception and I get the standard .NET JIT error box. I would like to know when application A generates that kind of exception so I wrote application B in .NET 1.1. Basically, application B has a timer with the tick event set every 5 secs. When the tick event is raised, I read the ThreadState from Process(Application A).Threads[0]. My problem is as such : whether application A is in error or not, the ThreadState is always "Wait". Therefore, this is not the good way to know when an error is raised by application A. Is there any way I could be informed in application B when application A generates an unhandled exception ...Show All

  • SQL Server cannot P/Invoke SQLCEME30.DLL when debugging Pocket PC 2003 SE Emulator

    I'm trying to debug an assembly with System.Data.SqlServerCe - and when I deploy to a IPAQ 2210 - I get no errors! Alas, when I try to debug using the Pocket PC 2003 SE Emulator - I get the "cannot P/Invoke SQLCEME30.DLL" exception. Can anyone offer directions best regards, Walther Ahh, right, get you now :) I didn't know the Emulator state saved things like that (installation of things) :) I'm guessing that each device model/version has its own emulator state ...Show All

  • Visual C++ When "It just works!" doesn't. :(

    Hi, To test out "C++ Interop", I created a static library in VC++ 6.0: Here is the contents of the header file (staticLibrary.h): #ifndef STATICLIBTEST_H #define STATICLIBTEST_H #include <string> using std::string; int add352(int value); string sayHello(string name); #endif Here is the implementation (staticLibrary.cpp): #include "staticLibrary.h" int add352(int value) { return value + 352; } string sayHello(string name) { string s1("Hello, you are the greatest, "); return (s1 + name + "!\n"); } This code compiles fine in VC++ 6.0 and it produces an object called "staticLibrary.lib ...Show All

©2008 Software Development Network