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

Software Development Network >> Bas Wildeman's Q&A profile

Bas Wildeman

Member List

Bhaskar Sarma
Eric Frame
sqltechlead
Ond?ej Linhart
Kiwi JB
Artashes
zut
Jammore
Tim Higgison
Cyber
TroyMac
karbomusic
Eric_Gruber_MS
Naveen G
coolstyle
Svante Moren
Stephen Archer
TareqFityani
Selvatik
Deemad
Only Title

Bas Wildeman's Q&A profile

  • .NET Development CPU usage

    I have to write a small service which will monitor the CPU usage and if a particular process consumes more than a predefined amount of CPU for a certain duration of time (that is, if this process is responsible for "hanging" the server), this service will kill that process and then restart it (of course, only if this process is one of the "custom" programs, not a system process). My question is: is there a programmatical way of determining the CPU usage at the moment [I am going to use a Timer which will do that once in a few minutes.] Could someone give me a link to an article describing how to do this, ple ...Show All

  • SQL Server SQL Server CTP 16 - Failure to set maintenance plan

    We are miserably failing to setup maintenance plans in SQL Server CTP 16 (Sep. 2005). Has anyone tried and suceeded We were able to use it in CTP 15 (first CTP that it worked for us). I'm pasting the error we receive on screen - TITLE: Maintenance Plan Wizard Progress ------------------------------ Create maintenance plan failed. ------------------------------ ADDITIONAL INFORMATION: Create failed for JobStep 'Subplan'.  (Microsoft.SqlServer.MaintenancePlanTasks) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&ProdVer=9.00.1314.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.Fai ...Show All

  • Visual Studio 2008 (Pre-release) JPEG Keyword information

    Hello everybody, I was looking into Digital Image Suite 2006 and noticed that even when you copy JPEG files within Windows Explorer, Digital Image will remember whether your keyword "Paris" was referring to a person or a place. Upon further inspection I noticed that the JPEG file was embedded with this information in XML format, though you could not see this information by viewing the file's properties through Windows Explorer. It seems Windows Vista will be supporting this functionality too since Windows Photo Gallery is essentially a simpler version of Digital Image. Is there some sort of API available to us to get thi ...Show All

  • Visual Studio Express Editions Noob to VC++ looking to get started...

    I am trying to learn C++... (I got sucked into learning vb.net, because of its ease of use/ surpluss of begginer walk-throughs, and I would like to learn to write code not dependent on the .net) Does anyone know of a good website with tutorials and lessons to learn the new VC++... I basically have no knowledge of C++ and I can't seem to find project lessons that are compatable with the VC++ express edition. (The msdn walk-throughs and examples have error when they get upgraded from v6.0) (I aslo checked out the 4 sample videos for getting started on the VC++ site...they're not doing much good..) P.S Do I really need to install the Windows Pl ...Show All

  • SQL Server Problem in processing the cube for MSAS2005

    Hello everyone, I have a problem in processing the cube for MSAS2005. this is what I have done please guide me to solve the issue. Steps: I have an OS of WIN2k3 with SP1 I have installed MSAS2000 with SP3 and then Installed SP4 Now I have installed MSAS2005(I have selected everything in order to create a server installation and then clicked on the advanced button to make sure nothing is missing out.) While the dialog to choose the instance came I had chosen the named instances (named it as MSAS2005) and then started the installation by only clicking Next button. After the installation was over I installed t ...Show All

  • Visual Studio GetMarkerCommandInfo in HTML Editor

    I have a text marker that is implementing a marker context menu by implementing GetMarkerCommandInfo. This works great in ever text editor except the HTML editor, where it never gets called. Is this simply not supported, or are there additional marker registrations needed to have the HTML editor participate I'm trying a similar thing. Adding commands to the Html Designer Context Menu. I've followed the "Walkthrough: Implementing a Context Menu in a Tool Window" in the SDK and am now trying to edit this to add the same context menu to the Ht ...Show All

  • SQL Server Bug in expression evaluator using NULLIF and RAND()

    I think I might have found an (obscure) bug in the SQL Server expression evaluator. I'm trying to create some dummy data for testing purposes. I need to make an int column contain either 1, 2 or NULL. Here's my SQL: SELECT nullif ( floor ( rand ( checksum ( newid ())) * 3 ), 0 ) from anytable The rand(checksum(newid()) * 3 creates a random number between 0 and 2. I then use NULLIF to change zeros to nulls. The problem is that the result data contains 1, 2, NULL *and* 0 ! It looks like the NULLIF function evaluates its first argument twice - the first time round to compare against its second argument, the second to ret ...Show All

  • Visual C++ Getting Visual Studio 2005 to create missing directories

    I just upgraded to Visual Studio 2005 and want to know how to set the development environment to create missing build directories. For example. If I have my intermediate directory path under /test/debug/intermediate/ I do not want to have to go and manually create that directory before doing the build. Can anyone tell me where the switch is Thanks for the comments. I had been using an environment variable for the start of my path $(COMPILER_OUTPUT_DIR)/debug where COMPILER_OUTPUT_DIR was defined as /libdotnet. After changing the definition of the environment variable so that COMPILER_ ...Show All

  • Windows Forms Expand full branch treeview

    Hi guys Maybe you can help me out. I have a treeview control which I have got working pretty good but I am stuck on how to expand a complete branch. Whenever the user adds an item to the tree it is saved to the DB and the tree is re-populated. I still have a reference to the bottom selected node in the branch. I have tried to&n ...Show All

  • Visual C# GDI form transparency problem

    I'm trying to draw a transparent form using GDI, by overiding the OnPaint and OnPaintBackground event handlers. This technique works well enough on the first draw,and it produces a nice result, however, on subsequent draws, it works less spectacularly. For some reason, the screen is never cleared, and when it redraws the new things are composited ontop the previous draws, making the transparent images darker and darker. Here is the contents of protected override void OnPaint(PaintEventArgs e) { Graphics g = null; Assembly assembly = Assembly.GetExecutingAssembly(); Point point = new Point(400,400); backBuffer ...Show All

  • Visual Studio Tools for Office Access 2003 Developer Extensions with VSTO

    Hi: I just got Visual Studio 2005 Tools for MS Office System, but couldn't find Access 2003 Developer Extensions on the CD. I am not sure if I am missing some components or making some mistake in installation. I would greatly appreciate any help in this regard. Thanks reez Hey Reez, VSTO 2005 does not have support for programming against Access. Please let me know if I misunderstand your questions. Thanks, Mei Liang ----------------------------------------------------------------------------------------------------- This posting is provided "AS IS" with no warranties, and confers ...Show All

  • Visual Studio Express Editions invalidcastexception derived treenode

    hi all! in my program i have a treeview formed by some classes derived from the treenode parent class...the scope of my program is to write an xml file by the structure of the treeview... i can save my project( and so write the xml file) and when i save a new project i can do a good cast...for example: org = (Organization) node; ->org is an instance of Organization(derived from treenode) node is an instance of TreeNode i can also open a file and then save...but here i found casting problems...i dont know why here i cant cast...i do exactly the same things!! please help me!!i dont know what to do!! thanks all bye ...Show All

  • Visual C++ setting up VC++ 2005 express beta 2 to compile win32 gui apps.

    Hi donjonson! How do I go about doing this 1. Create a Win32-Console-Application 2. Go to the Linker-Settings and change the "SubSystem" to "Windows" (Project|Properties|Linker|System) -- Greetings Jochen Kalmbach Microsoft MVP VC++ My blog about Win32 and .NET http://blog.kalmbachnet.de/ PS: Please mark an answer as "answered" if it helped!!! Read this article too: http://lab.msdn.microsoft.com/express/visualc/usingpsdk/default.aspx ...Show All

  • Visual C++ A couple of questiones

    Dear all, I am new to Visual C++ 2005 and I am Intended to write a network application and I am confused on how to start. I am looking for your apprecited help and directions that may lead me to the right way to achieve the goal. 1- What is the difference between CLR Consol Application and Win32 Consol Application 2- Is there a possibility to write a portable network application that depends on socket programming in Visual C++ 2005 that could also be installed and executed on Linux Your help is much appreciated Regards Bassam Hi! 1. CLR = .NET platform. Win32 means native Win32 (thi ...Show All

  • .NET Development How to call the Web Service in winform?

    Hi vasanthaprabu, I got the error while on Add the reference. thanks. Dear Abill, I played a lot with WindowApplication and Webservice. According to your Webservice..is fine. But the Problem is your window application. I will try my best. Vasanth. ...Show All

©2008 Software Development Network