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

Software Development Network >> Ben TX's Q&A profile

Ben TX

Member List

Davo.net
Bob D.
Venaddar
Gary L
Brian Cheek - MSFT
rkpetersen
dan ashcroft
Piotr Stapp
adrian44
Mark D. Peterson
Raventhorp
Capt. Mick
Lou Valentine
Lorelei
Fredm
Coendou
SirusSoftsInc.
JAMES ESPOSITO
Skar
WHealy
Only Title

Ben TX's Q&A profile

  • Visual FoxPro Problem using the SetScanCapability function in Imaging for Windows

    Hi I have a problem passing the parameter to the function SetScanCapability. In the MSDN, there is only VB and VC++ sample code ************************************************* ** VB code ** Dim sngLayout(4) As Single sngLayout(0) = 0 sngLayout(1) = 0 sngLayout(2) = 200 sngLayout(3) = 300 ImgScan1.SetScanCapability 106, sngLayout ************************************************* ************************************************* ** VC++ code ** VARIANT sngLayout[4]; V_VT(&sngLayout[0]) = VT_R4; V_VT(&sngLayout[1]) = VT_R4; V_VT(&sngLayout[2]) = VT_R4; V_VT(&sngLayout[3]) = VT_R4; V_R4(&sngLayout[0]) = 0; V_R4(&am ...Show All

  • .NET Development Why can't I get to my Windows Form from my remote call? (Or why is .Net Remoting documentation such shite?)

    OK, I'll bite, how in the bloody bowels of Hades do you actually do anything useful with a .Net remote call I'm trying to make a client-server app to access a SQL database from a Windows Form client. I'm thinking this should be fairly straightforward - after all, the Client-Server-SQL setup is probably the most common distributed app out there so there should be some pretty good support for it. After some problems getting Remoting to work, I've gotten some nice little test programs to talk to each other and a client to bounce strings and objects off of a Server back to itself. So far so good, right OK, so I'm ready to actually pas ...Show All

  • Visual Studio Team System install prompting for login

    So, after having nothing but problems with installing a Dual Server setup, I decided to take the easy way out and try a Single Server setup. As luck would have it, Single Server is turning out to be just as big a pain as the Dual Server install. Towards the end of the Team Foundation Server install, I'm being prompted for login credentials.  The title of the box is "Log on" and the text above the User Name says "Connecting to Team Foundation Server".  There's no option to select a domain so I'm going to try just entering the username in the form "domain\pre_tfsservice" where domain is the domain the tfsservice account lives.  ...Show All

  • SQL Server Co-exist of SQL 2000 and 2005

    Dear all, I have SQL 2000 Enterprise mgr and Query Analyzer in my desktop, and I install SQL2005 Express Edition + Mgm Studio today, however, my SQL 2000 Enterprise mgr disappear and all my registered servers disappear too when I open up the SQL 2005 Mgm Studio. Is it mean that I no longer able to use SQL 2000 How can I rollback the installation of SQL 2005 because I still have to use Enterprise mgr to manage my existing database and clients. (Yes, I give up SQL 2005 now) Thanks, well. . . unfortunately we have the same problem as well. after having both SQL 2000 and 2005 we tried to uninstall 2005. ...Show All

  • Software Development for Windows Vista AddIPAddress

    Hi all, i'm trying to set the ip address from within an app, this is the code i am using however nothing is happening i've had a look around and i think it should work. could someone please take a look and tell me what is wrong with it //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// PMIB_IPADDRTABLE pIPAddrTable; UINT iaIPAddress; UINT imIPMask; ULONG NTEContext = 0; ULONG NTEInstance = 0; iaIPAddress = inet_addr("192.168.0.123"); imIPMask = inet_addr("255.255.255.0"); int dwRetVal3 = AddIPAddress(iaI ...Show All

  • Visual Studio Express Editions Problem creating a querry with an embeded variable when using access datafile as connection source

    When a Data Connection is established using Microsoft SQL Server Database File (SqlClient) as a data source the following code works perfectly SELECT * FROM ProdMaster WHERE (PRODMASTER.DESCRIPTION LIKE '%' + @DESCRIPTION + '%') The ToolStrip on the form opens an input box so you can type in a choice of DESCRIPTION and when the button is clicked the dataset returns only those values that meet the criteria input BUT If you use a Data Connection established using Microsoft Access Database File (OLE DB) when you attempt to establish the querry above you get the following error Error in WHERE clause near '@' . Un ...Show All

  • Visual C++ Visual Studio 2005 professional: mspdbsrv failure -> Sporadic fatal error C1033: cannot open program database

    I keep getting the following compiler errors, albeit sporadically: fatal error C1033: cannot open program database "D:\somepath\ps_extrude.pdb" It appears as though mspdbsrv.exe is keeping file handles between builds open, causing sharing violations with itself. The compiler is using the /Fd option to specify the pdb file, on a multiprocessor machine using 2 invocations of the compiler at a time. The file access during the error looks like: ------------------------------------------------------------------------------------------ 6:28:20 PM mspdbsrv.exe:3568 OPEN D:\somepath\ps_extrude.pdb SUCCESS Options: Open Ac ...Show All

  • .NET Development How do I check if object locked?

    Is there a way to access the list of locked objects kept by System.Threading.Monitor The purpose being, I have a function that I only want called if the sync object in the class is in a locked state.  If the sync object is not locked, I want the function to throw an error, but how do I check if the sync object is locked Thanks. use a delegate. . . in the firstline after aquiring the lock, set the delegate to the method you want to call. in the last line before releaseing the lock set the delegate to null. calling the delegate from anywhere in the program will throw an error if the sync object isn' ...Show All

  • .NET Development XmlTypeAttribute & Namespace in WebService proxy generation

    Is it just me, or does it seem like there was a change in the way wsdl.exe and the VS2005 Add Reference Wizard generated code regarding XML namespaces for generated classes, compared to previous versions (beta 2 more explicitly) In the particular case I've run into it seems that for message classes, the [XmlTypeAttribute] that is added to the class declaration when they are generated no longer contains the XML namespace, and instead the code relies completely on the namespace being set at the WebMethod parameter in an [XmlElement] attribute. While this certainly works, it does tend to break code that was using the generated classes. For e ...Show All

  • Visual Studio Express Editions Design View Problem

    Hello, I  just installed the Express Developer 2005-Beta 2(Web applications) and I have the following problems: On design view the web controls are not visible. I can't drag and drop web controls in design view, from the toolbox I have a server 2003. Please advice, Thanks in advance I am using VWD Beta 2 and having the same problem. I have tried everything, removing SQL Express, .NET Framework 2.0 manually in the right order I believe and using the removal tool. Nothing has fixed toolbox problem yet. Only tools shown (not greyed) are under HTML toolset. All others are not usable. This pro ...Show All

  • Visual Studio Team System TF24016: Cannot find team project 'test'

    Hi, after a restore of all databases (a backup of clean, post-setup databases) I now cannot create any project anymore! Just to note: WSS is running fine ReportServer is running fine I am using dual-server installation on 2 CLEAN machines The corresponding Exception is as follows: ---begin Exception entry--- Time: 12/19/2005 12:20:00 PM Module: Engine Event Description: TF30162: Task "WITs" from Group "WorkItemTracking" failed Exception Type: Microsoft.TeamFoundation.Client.PcwException Exception Message: TF24016: Cannot find team project 'Test5'. Stack Trace:    at Microsoft.VisualStudio.TeamFoundation ...Show All

  • Visual Studio 2008 (Pre-release) Using VB Linq in web applications

    How can I use VB linq in a web application I saw a thread with a hack telling to change a csproj file (in c#), but I created a new website and there is no vbproj file for the application. Is there some way to make visual studio use the prototype compiler for VB 9.0 in web applications Are you using the default web site project (app_code, etc), or are you using the 1.x-style Web Application project template that Fabrice provides links to in that thread ...Show All

  • Windows Live Developer Forums MSN Messenger Display Image

    Hello folks, Anyone know of a programmatic .NET way to change the display picture of the user currently logged in to MSN Messenger 7.5.0311 If possible, I'd like to keep the image out of the recently used picture list available in the Tools -> Change Display Picture dialog. Any help appreciated!   -- n I'm afriad my reply isn't an answer to your question. I wanted to ask you, if you are programmnig with .Net, how did you create an object of the EXternal class! I want to develop something, but I can't create the object. Thanks ...Show All

  • Windows Live Developer Forums del.icio.us integration

    have you had any idea how to integrate del.icio.us in msn space, such as daily blog posting function... out_url: https://storage.msn.com/ storageservices /MetaWeblog.rpc this url is wrong .the correct is that https://storage.msn.com/ storageservice /MetaWeblog.rpc ...Show All

  • Visual Basic event associated to pressing the "Enter" key on the keyboard

    Where do I put the code that I want to associate to pressing the "Enter" key on the keyboard. I tried both OnEnter event and Enter event as u see bellow, none of 'm s worked: Private Sub form1_Enter(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Enter Msgbox "Enter s been clicked" End Sub Protected Overrides Sub OnEnter(ByVal e As System.EventArgs) Msgbox "Enter s been clicked" Me.txtSearch.Text = "enter" Thanks for your help Private Sub Form1_KeyUp ( ByVal sender As Object , ByVal e As System . Windows . Forms . Ke ...Show All

©2008 Software Development Network