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

Software Development Network >> Pim Vendrig's Q&A profile

Pim Vendrig

Member List

johntray
RajMatt
Billeter
Anurag Banka
Michela
Woods Barrack
GradyMeng
Derek Haskin
adamhearn
Ruden
C# Lover
dsmithwv
Arshnet
swimmer
shakinbacon
RudieVanHout
Yuvaraj
Maria Welborn
Nick Simmons
Keros
Only Title

Pim Vendrig's Q&A profile

  • Visual C++ Setting a Program Icon

    I am trying to set a program's icon though the use of the this->icon statement. However, this only sets the program's icon in the title bar of the program, and doesn't set the icon for the executable itself. Is there a way to set the icon for the executable as well as the title bar Thanks. ps, I am using c++ 2005 express, and I am programming a managed app, but not using a windows forms application project. bob12354 wrote: However, this only sets the program's icon in the title bar of the program, and doesn't set the icon for the executable itself. That's probably because your code is c ...Show All

  • Windows Forms Source code, server and future

    So as several of you have noticed, the source code for 1.2 hasn't been released yet.  I am trying to figure out what is the best approach for releasing the source code and the future of Terrarium 1.2.  Here are the current thoughts.  I'd like to get your opinions on which options you prefer. 1. Release 1.2 Server (this will happen, regar ...Show All

  • Visual Studio Express Editions can you help

    Keep in mind that i named my label to box   1.                   If we want to keep the box within the boundaries, then we must have a way to test whether the box is moving out of the boundaries.   a.       Which properties of the box would you use to check b.       Which properties of the boundaries would you use to check   2.                   If the box is de ...Show All

  • Visual Studio Custom Task and Logger

    I have a custom Task where I want to log errors, warnings, etc. If I'm in VS I want these to go to the Output window and Error List. If I'm running msbuild outside of VS to the console. I tried to implement my own class from Logger and capture build events, but I was getting events for all projects and I only want to capture them for my project type (a VSIP integration). Currently I have the code to write to the Output window, etc., in my Task class. I realize this approach does not work for command line builds. Is the correct approach to use the property BuildingInsideVisualStudio to determine where to write the messages, or is there a bett ...Show All

  • Visual C# code security

    I was unsure where to post this, was thinking for a good few several minutes... hope this is the correct place! I was just thinking about code security. Anyone can usually just reflect a .NET application (dll/exe) but I am wondering if there is a way for it to not allow reflectors to decompile the output file I was then experimenting with the VS.NET 2005's Dotfuscator, pretty cool tool but the problem is still there. Dotfuscator renames the methods/variables etc.... to "dodge" the user if you like, im sure it does more but im still learning. After following the example given in the help file, I am still able to reflect/decompi ...Show All

  • .NET Development .NET based - operative system

    I heard somewhere that the new version of Windows was supposed to be based on the .NET framework, but due to timing issues, it will not be like that.  I was watching the "command window" in VS.NET 2003, that has even autocomplete, and I was wondering if anyone has ever thought of making a console operative system running on top of the .NET framework... This might not be a forum post... rather than a blog idea, but I still need to share this thought.  I googled it and had no luck on finding something similar...  If someone would have that vision, will Microsoft support it According to the WinFX SDK Beta 1 documentation ...Show All

  • Visual Studio Tools for Office Custom font colors

    Hi, I am trying to set a custom font color (frm RGB) in a word document using VSTO 2005. Using the Selection.Font.Color property I can only set a predefined color from the wdColor enum, but is there a way to set a custom color for this property You can cast an RGB value into a Word.WdColor enum: Dim rgbValue As Integer = RGB(75, 150, 200) Me .Paragraphs(1).Range.Font.Color = CType (rgbValue, Word.WdColor) Kathleen McGrath http://blogs.msdn.com/vsto2/ ...Show All

  • Visual Studio Express Editions FindWindow API in VB2005 Express..??

    Hi All, This is my 1st post here. I have managed to figure out all my other problems so far, until now :) I am coming to VB2005Express from VB6...quite a jump, I know. I cannot figure out what I am doing wrong in this snippet. The return value in VB2005 Express is totally 100% wrong (I am using an API SPy I wrote several years ago to check my numbers. It has always been correct). In my module, I have this: Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" ( ByVal lpClassName As String , ByVal lpWindowName As String ) As Long On My form I have a button &am ...Show All

  • SQL Server Report Project and Report Designer

    When we want to create reports for report server, we create a report project in Visual Studio.  However, is it possible to add a report project as a sub-project or a nested project in a Visual Studio solution   Does it matter Thanks! Yes, it's an end-user designer. I've seen report builder but that can only be used with data source models, and we're writing our own data extension. Basically we'll have to create a basic RDL file and then let the user edit that on their own with designer. ...Show All

  • Visual Studio Install errors if VS2005 Windows Workflow Extensions previously present

    Installed VS2005 RTM Developer edition. Previously I had beta 2 + VS2005 Extensions for Windows Workflow installed. Completely uninstalled beta 2, and all the clean up tools reported my machine was good to install. However, I had forgotten to uninstall the VS2005 Extensions for Windows Workflow, before installing VS2005 RTM. None of the cleanup tools picked up on this. During RTM install, I had a couple of error dialogs popup asking me to send an error report to Microsoft. It looked like VS2005 was trying to start up, getting an error and then asked me if I wanted to restart VS2005 - I think it was trying to load the workflow ...Show All

  • Visual Studio Tools for Office Outlook MessageBox hidden when using Word email format

    Hi.  I'm developing a Office Outlook add-in. The problem is that a messagebox in the application's send event is showing up behind the email message. Things to note:    * This only occurs if the email format is set to "Use Microsoft Office Word 2003 to edit e-mail messages".  (If not using Word the message box displays correctly).    * If it's a Yes/No/Cancel messagebox it will only be hidden the first time it is invoked (If you click No or Cancel and cancel the send and then attempt to send the e-mail message again, the messagebox will appear correctly).    * I'm usi ...Show All

  • Windows Forms Question about threading Forms

    I have two different forms in my app.  One is the main form and is the form the user is watching most of the time.  The other one is a information window with a datagrid.  This datagrid needs to be refresed every 5 secs and I have a Timer for that, but when ever the timer event gets invoked the main form flashes and loses focus. Can I somehow have my other information form running in another thread than the main Form and there for not lose focus Sorry, use application.run() instead of window.show() like: Application.Run(secondForm);   ...Show All

  • SQL Server URGENT: Insert and Update in a transaction is getting blocked

    Hello, I have the following situation: -Package A begins a transaction (TransactionOption="Required") with IsolationLevel=Serializable -PackageA calls PackageB -PackageB has 2 data-flows. The first one inserts into TableA. The second one updates TableA. They run serially. They both have TransactionOption="Supported". The update is blocked in SQL Server by SPID=-2   (which I know is MSDTC). I tried setting RetainSameConnection=TRUE on the connection manager in PackageB. It failed with: "Incompatible transaction context was specified for a retained connection. This connection has been established under a different tran ...Show All

  • .NET Development Error : execute reader requires an available open connection

    Hi all, I have an error that occurs randomnly in my web application (it does not occur all the time) - execute reader requires an available open connection , the connections current state is closed. I have the connection string defined in web.config as <add key="ConnectionString" value="Server=Server1;database=db1;uid=sa;pwd=;pooling=false;"/> For Any help ,thanks in advance Why do you have pooling set to false The fact that it is random makes me think you should enable pooling. You can also try to check the connection state of the connection If connectionobject.State = Closed Then connectionobject.O ...Show All

  • Visual Studio Team System Traceability after merge - What was the source branch?

    Hi, I would like to know how can I know after a merge what was the source of the merge. Suppose I merge from one branch to another . After the merge action I only have a new changeset at the target branch, from that changeset I can not know what was the source of the merge.  Thanks Yaarit The best answer I have for v1 is to write helpful changeset notes when you check in a merge.  Comments & checkin notes are not displayed by 'tf merges' but they are returned by the QueryMerges web service call.  You can also view them in the IDE of course by doubleclicking on a changeset in the Histor ...Show All

©2008 Software Development Network