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

Software Development Network >> Scott Pfaff's Q&A profile

Scott Pfaff

Member List

agencycontractor
Elisabeth1111
NMM
Pauls1965
AngryHank
VImesh
Korzy
coloso
jianshi
generic
dumb82
tbrauer
Steve_fr88
MBH2
*jsd*
Shepherd
lorenzosjb
flnole
adedes
MorB
Only Title

Scott Pfaff's Q&A profile

  • Visual Studio Team System How to fix the Development server's port number across different PCs?

    Hi I've built some web services and some unit tests against them.   I want these tests to operate on multiple PCs (multiple development PCs plus also the main Team Build server), but the port number used by the development web server on each PC is different so the test code (the web reference generated code) has to change on each PC - is there any way of getting the development web server to run on the same port number on each PC (I've seen http://msdn2.microsoft.com/library/ms178109(en-us,vs.80).aspx  but this doesn't seem to make complete sense!). Thanks Stuart Thanks! I was looking in the wrong place - I was looking in the ...Show All

  • Smart Device Development managed API for FileSystemWatcher

    hi is there any Managed API for file FileSystemWatcher i also coudnt find native equivalent function for required task thanks Hello Ok i managed to run libraries with VS2005,however both Create and Delete are not working properly. when i try to delete file by using File.Delete method,it DOES remove file from Emulator FileSystem(i check this by Synching APp with activeSYnch) but it doesnt fire event for Delete.. am i doing it properly or there is bug in code ...Show All

  • Visual Studio 2008 (Pre-release) Client user name in ActiveDirectory environment

    Hello, I am using NetTcpBinding to connect a client to a server. Both computers are registered in the same Active Directory domain. On the server side I would like to know the name of the logged in windows client user for the current service request. How can I accomplish this Regards, Christoph   If you're using WS-SPNego then you can use this on the server to get the client ID: OperationContext .Current.ServiceSecurityContext.PrimaryIdentity.Name Alternatively, you can send the username inside the envelope as a header. Thanks, Scott ...Show All

  • Windows Forms save contents of picturebox

    I'm wanting to save the contents of a picture box to a SQL Server table.   How is this done and what field type should I use   VB.NET Code samples are appreciated. ...Show All

  • Visual Basic Showing hidden forms

    Here is what I am attempting to do. I have a combo box, that has the names of forms that have been hidden from view. When the user clicks on one of the names, that form reappears, and is then removed from the combo box. I cannot for the life of me figure out how to make the forms reappear after the user clicks the name. The forms are all derived from one form that can be loaded multiple times on the screen, thus I need to tell the difference between them (I assume by using the Name property), and load that specific one. Any help with this is really appreciated. Well, how did you create the forms If you called .Show and you didn't store ...Show All

  • .NET Development Call VB Script in WebService

    Dear Friends, I have VB Script with my Logic.. So I would like to call the VB Script in my ASP.NET Webservice. Is it Possible ... Thanks in Advance. Regards, Vasanth Hello Blair Allen Stark , Vb Script with my logic means... Just a Vb script with some code... if call the VB Script in my Webservice is should be run. Regards, Vasanth. ...Show All

  • Windows Forms User Data file?

    Hello, I have an XML file that contains that contains fuel rates. I need to come up with a way to copy the file to the users machine during setup and put it in a place where everyone running the application will have read/write permissions to the file. The application will have a form that is hardcoded to interface with the file and display the contents in a DataGrid. The user can change the data via the datagrid. I will also create a webservice will the app will also be able to update the local file from webservice. I've been reading through the forum and have been looking at Isolated Storage but that looks to be specific to the ...Show All

  • Visual Studio Insert code

    Hi, I am writing an addin that will generate some code on the fly and insert it into the active document, but I'm having trouble inserting the code. I got it to work by copying the code to the clipboard then using applicationObject.ExecuteCommand("Edit.Paste",  string .Empty);    but there must be a better way to do it. Any Ideas Thanks, Martin. Thanks for the link, there are some nice samples in there. I still can't figure out how to use application configuration files with add-ins though, I added the app.config file as usual in Visual Studio and access it as usual using Configura ...Show All

  • Visual Basic TextBox BackColor change OnFocus and LostFocus

    Hello, Is it possible to extend the TextBox class to include an event where the TextBox changes it's background color on focus and returns it to the default on lost focus Kind regards, Hello, Appreciate your answer. It works perfectly. Would the same solution apply with a form that has, say ten TextBoxes- I mean, repeating the same code for each one of the TextBoxes (TextBox1,....2,...3. etc) Kind regards, -------------------------------------------------------------------------------------------------------------------------- This newbie can't talk and can't walk. Embarrassing. ...Show All

  • SQL Server Dynamically Passing a Dataset to a Report in Reporting Services 2005

    We are investigating the possibility of moving our reports from a Crystal Reports environment over to Reporting Services 2005. Currently we sometimes create a ADODB.Recordset in VB6 code which is passed to a Crystal Report to be displayed or printed. The Crystal Report structure has previously been created using a .ttx file and the recordset then supplies the data at runtime. Could someone please tell how this scenario can be achieved using VB.Net 2005 and Reporting Services. Thank you, in advance. The equivalent of doing this in SSRS-land is to use the VS 2005 Report Viewer contorl in local mode (the ...Show All

  • Microsoft ISV Community Center Forums VBA for Powerpoint

    Hi, I have been asked to modify a powerpoint presentation so that from a series of jpg files, one appears on the screen and then after a specific time period disappears and is replaced by another; this being a continuous loop on one slide only - like a photo tour. I have the following code, but need to get it up and running. Any suggestions: Sub ImportABunch() Dim strTemp As String Dim strFileSpec As String Dim oSld As Slide Dim oPic As Shape strFileSpec = C:\PFS Pictures\beach party *.PNG 'Ex. on a PC: C:\My Pictures\Flowers\*.PNG strTemp = Dir(strFileSpec) Do While strTemp <> Set oSld = ActivePresentation.Slides. Add ppLayout ...Show All

  • .NET Development How to really abort(kill?) a thread instantly? [VB2005]

    Hi there! I have a slight problem with aborting a Thread which is waiting for user input. When i try to abort the thread from another thread using the threading.thread.abort method, it does not abort the thread instantly, but waits for the thread to get it's user input and then terminates the thread. Is there a way of terminating the thread instantly, so it does not wait for user input anymore thanks! Hello, In the implementation for your thread proc, can you modify the code to listen for user input AND monitor a synchronization object (e.g. a waitable handle) Then you can set the synchronization object ...Show All

  • Visual Basic A Pause with a Loop

    Okay...what I want to do seems simple but I've been at it off 'n on for a few days with this & finally decided to post my question. I have a Label I want to flash on & off a few times much like a warning sign. You would think something as easy as: For i as Integer = 0 to 20 Label1.Visible = True Thread.Sleep(500) Label1.Visible = False Next would do it. But it doesn't. I tried throwing a timer in there somewhere but I'm not placing it right. I can get it to run one time (on then off) but that's it. Any suggestions I know this is pretty easy but sometimes easy things can help more then 1 person ...Show All

  • Visual Studio Express Editions Will XP Media Edition work?

    Hey guys. I am using Visual Basic Express Edition for a class and I need to be able to use VB at home. The problem is that my old machine is getting ready to go the big computer store in the sky. I dont have time to build a new machine or repair my old one so I am going to buy a new system. All of the systems at my local store run Windows XP Media Edition. Well I be able to install Visual Basic Express with XP Media Edition If not I can install XP Pro but I would prefure to buy the system go home and just install VB without all the hassle. Thanks for your help. Johnny. I would imagine tha ...Show All

  • SQL Server Error while trying to use ReportServices 2005 WebService

    I'm messing around with the SSRS 2005 WebService from a vb.net application. When calling the .ListChildren method I get the following error: Client found response content type of '', but expected 'text/xml'. The request failed with an empty response. Here is the code I'm using (I called the webreference ssrs) dim rs as new ssrs.ReportingService2005() rs.url = " http://127.0.0.1/reportserver " rs.credentials = System.New.CredentialCache.DefaultCredentials dim items() as ssrs.CatalogItem items = rs.ListChildren ("/", True) Check your credentials...you got a typo rs.Credentials = System. ...Show All

©2008 Software Development Network