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

Software Development Network >> Philip Tolk's Q&A profile

Philip Tolk

Member List

Eric Hausig
artu
Thomas Israelsen
Keith27
laue
ly4587
TA123
C McQuade
ctssoms
Roy mm
Eddie Garcia
danni123
AbelMorelos
AlistairSKing
Gravy
thukralz
Jeffrey Kent
leonlai
W.Yuan
Roman Hnatiuk
Only Title

Philip Tolk's Q&A profile

  • Visual Studio 2008 (Pre-release) specify service identity

    Hi consider a server side config file what is the difference between this section <service > <endpoint ...> <identity > ... </identity> and this section < serviceBehaviors > <behavior name="xx"> <serviceCredentials> ... regarding configuring service identity they do look the same thank in advance I understand one is related to the endpoint (interface) and the other to the class .. is this the difference if it's so, how would that turn usefull and meaningfull TIA ...Show All

  • Visual Studio Express Editions Changing Background?

    Is there a code that lets you change your desktop background programmatically This code is a little more complete... You can set Tiled, Stretch etc... Sorry about the Optional and probably many other coding horrors below, I coded this a VERY long time ago. Public NotInheritable Class DesktopWallpaper Private Const SPI_SETDESKWALLPAPER As Integer = &H14 Private Const SPIF_UPDATEINIFILE As Integer = &H1 Private Const SPIF_SENDWININICHANGE As Integer = &H2 Private Declare Auto Function SystemParametersInfo Lib "user32.dll" ( ByVal uAction As Integer , ByVal uParam As Integer , ByVal lpvParam As String , ByVal fuWinIni As ...Show All

  • Visual Studio 2008 (Pre-release) DLinq and .NET 3.0

    Are Linq and DLinq going to be released with .NET 3.0 yes. orcas is currently labeled as .net 3.5 - but it may change in future ;p all future linq's ctp's will be integrated with orcas so they propably will not work with net2/net3 ...Show All

  • SQL Server Max Timeout for a package

    How can I set a maximum time of executing for a package. I want my SSIS package to only run for 15 minutes. Where can I add this setting to ...Show All

  • Visual Studio Overloads do not display properly in Contents-tab

    Try generating documentation for the following code using the August CTP: public sealed class OverloadTest { public void Run() { } public void Run( Guid id) { } public void Run( String name) { } public void Run( String name, string country) { } } The Contents-tab looks like this: Namespaces - Overloads Namespace - OverloadTest Class - OverloadTest Constructor - Run Method - Run Method - Run Method - Run Method - Run Method It appears that all the overloads do get listed but none of the parameters are visible in the Contents-tab. This makes the documentation of this method more difficult to use. Is this a bug Looks ...Show All

  • Visual Basic How do you replace text in Rich textbox?

    When i use the replace command on a rich textbox, the formatted text suddenly resets.. If a word is bold, the whole text gets bold. Im using the command this way: RTF.text = RTF.text.Replace("Firststring","Secondstring") I have also tried this solution dim txt as string = RTF.text txt = replace(txt,"Firststring","Secondstring") rtf.text = txt But this dont seem to work. The thing is, the document is written as a file, and then when you want to open the file in my vb2005 application, it replaces words like [name] with the actual name. And it should keep the formatting if some text is bold or underlined.. Hello Dan There is a lot to know ...Show All

  • Software Development for Windows Vista User account control

    hi, i want to run my application in elevated mode. i dont have the access to code. so i put a manifest file in the same folder with the .exe which is to be elevated. but the application does not run properly. instead if i switch off the UAC, it works properly. is there any other way to handle the UAC thanks divya David is correct, but one way to cheat without a utility is to move the exe and manifest to a different folder and then move it back to the original location this will provide you a “touch”. The way I understand it the exe and its execution level is cached by the indexing service until a change is made to the exe. Moving it around will cause an update to the indexing. One other w ...Show All

  • Gadgets How do you change font colors?

    I want to turn the font on my gadget a color. What is the code for this if I'm using a span code for font <span ... style="color:rgb(255,0,0)"> or <span ... style="color:red"> or <span ... style="color:#ff0000"> ...Show All

  • Visual Studio Team System Active Directory Domain Rename

    Hi. We plan to rename our domain like described in this article: http://www.microsoft.com/technet/downloads/winsrvr/domainrename.mspx Our Team Foundation Server is a member of active directory, and we heave many domain users connected to this TFS system. The question is: After domain rename must we make something/or perform some additional steps to keep TFS System still works like before And domain users can logon with previous privileges to our TFS system without any additional administrative actions best regards Slawek Sp. This is exactly what "tfsadminutil sid" is for. You'll use it with "/change olddomainname newdomainname" and it will update the SID's (security ...Show All

  • Visual C# Moving a byte array between C# and C++

    Hi Guys, hope you can help. I am currently writing a managed C++ wrapper to interface with some unmanaged C++ code so I can utilise the code in C#. Everything is working absolutely fine except I need to be able to pass in a managed buffer from C# in a C++ function, modify the buffer in the function and pass the results back to C#. I currently have the following: C++ code: public : void Play(System::Byte buffer[]) { char buffer2[44100]; // Fill the unmanaged buffer pSidplay2->play(buffer2, 44100); //buffer = buffer2*; // Copy the unmanaged data into the managed buffer for (int i = 0; i < 44100; i++) { buffer = buffer2 ; } } C# code: private void button1_Click(object sender, ...Show All

  • Visual Studio Team System ScriptsIgnoredOnImport.sql

    When I imported a schema from a SQLExpress Northwind sample, I got a message that some things were not understood. And a .sql file was generated for inspection: ScriptsIgnoredOnImport.sql, that contains: SET NUMERIC_ROUNDABORT OFF GO SET ANSI_PADDING, ANSI_WARNINGS, CONCAT_NULL_YIELDS_NULL, ARITHABORT , QUOTED_IDENTIFIER , ANSI_NULLS ON GO What should/can I do with this info Basically when you do an import of an object, these SET options are defined for that given object on the database. However our import script is unable to associate those SET options to the actual object. Consider importing a script containing a 1000 sprocs where each sproc has a different SET option we would have a hard time disambiguati ...Show All

  • Visual Studio Team System any known issues with tfs after upgrading to vs sp1?

    hey folks, i will post this thread in visual studio forums as well, so if this is not the right place, please have a mod just delete it. i wasnt sure which forum to chose so i decided to take both. we just upgraded our visual studio installations to service pack 1. from that point on we couldnt check-in/-out any asp files (team foundation server, no service packs installed). checking-in and -out other files does work w/o any problem. we are sort of in trouble now, because noone knows what version is obsulete to use. i am thankful for any help and appreciate every answer. thanks in advance, marco thanks for your quick reply. there are actually two persons who are using a pre-sp1 version (everyone has 2005 ...Show All

  • .NET Development ASP.NET EXCEL TO XML CONVERSION

    I am using asp.net and i need to convert an excel file into an xml file and send it as an dataset/datatable parameter to the server. the point is i want this to be done at the client side only. Appologies... sometimes when I am at work, my attention to detail with respect to side tasks is limited. If the excel file is already located on the client's computer... then you might consider ODBC. You can actually use an Excel file like a datasource (a database) and retrieve records in much the same way. Writing the Xml file should be easy enough. I would do a search on MSDN for Excel + ODBC to see what sort of suggestions I could find with respect to such. I believe that the data tables will be named $sheet0 ... $sheetn and the field ...Show All

  • Windows Forms app.application Publish file

    Hi, I know this has already been posted, but I need to get it clear in a simple way. The 'app'.application file is created when you publish an application to a web/ftp server, along with other files. The publish.htm page shows a button linking to the 'app'.application file and I can correctly install it, but a friend of mine (and maybe many more people too) get the 'app'.application file contents displayed in his browser. He has the .NET Framework 2.0 installed (installed automatically with VB 2005 Express), and I would like a simple solution to resolve this issue, without reinstalling .NET 2.0 (unless you are sure it resolves it). I also heard that it has to do with MIME types , but I'm not too familiar with this term to unders ...Show All

  • Windows Forms Changing properties to a form over another form

       In my application, I have two forms.  EmployeeRecords form has dgv and shows the information about employees. Another is opened if I press the "Add New employee" button. its name is NewEmployee .     When I am doing something, I want to make the "Enable" property is false. And whenever user close the second window, this property is getting true.   I have tried following code : In EmployeeRecords form  ----------------------------  private void button1_Click( object sender, EventArgs e) { this .Enabled = false ; NewEmployee n = new NewEmployee (); n.Show(); } In  NewEmployee form -------------------------------------- ...Show All

©2008 Software Development Network