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

Software Development Network >> nielsvanvliet's Q&A profile

nielsvanvliet

Member List

gchippie
JuliusY
Ron DeSerranno - MOBIFORM
kicks_joy_darkness
Scott Lezberg
UA Jeremy
msteinle
Tigerwood2006
CodyPasspied
pavel989
Dietz
Shiverx26
Kennon2005
Kamii47
sunny123
Mubshir Raza Ali
shawn087
heimdaloz
-Antilles-
VizCoder
Only Title

nielsvanvliet's Q&A profile

  • SQL Server WQL Query - Where Cluase

    Hi, I am trying to collect windows event log in a raw format. I need to collect this data everyday for the past day but somehow I can't use the date criteria. Please Guide. The following query also brings data for 20061104 too. Is there a date function or Left function which I apply to get data only for specified date. SELECT ComputerName, Logfile, RecordNumber, Category, CategoryString, EventCode, EventIdentifier, EventType, Message, SourceName, TimeGenerated, TimeWritten, Type, User FROM Win32_NTLogEvent Where LogFile = 'System' and TimeGenerated >= '20061105' and TimeGenerated < '20061106' I did post my question to SQL Server Integration forum as SQL Server Integration has WMI Task. Someone move this to SQL Server D ...Show All

  • Visual Studio Express Editions solution explorer problem

    I hope I explain this correctly: I am developing a Windows Forms application in VC# Express. I recently started to group my forms together in folders which worked fine except when I moved one form, all of the forms subfiles became seperate files. What I mean is that when I moved the form MyForm,  MyForm.cs, MyForm.Designer.cs and MyForm.resx are no longer grouped together, they show up in the solution explorer as three different files. I get no compilation errors of any kind, but I can no longer edit the form in the designer. How do I group the files back together I hope I've explained this correctly and someone has an answer! You could try following: - first backup the 3 files (xx. ...Show All

  • Visual Studio Team System Unit tests not run when building ASP.NET site

    Hey. I just created a team build for an ASP.NET site with unit tests. However, the tests are not run and I'm not sure where to begin looking. Could anyone help me out The BuildLog.txt states: Target CoreTest: Creating directory "C:\DailyBuilds\Tove\ToveDailyBuild\BuildType\..\Sources\..\TestResults". __________________________________________________ Project "C:\DailyBuilds\Tove\ToveDailyBuild\BuildType\TFSBuild.proj" is building "C:\DailyBuilds\Tove\ToveDailyBuild\BuildType\TFSBuild.proj" (RunTestWithConfiguration target(s)): Target RunTestWithConfiguration: TestToolsTask MetadataFile="C:\DailyBuilds\Tove\ToveDailyBuild\BuildType\..\Sources\Ebutik\Ebutik.vsmdi" TestLists=& ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. C# Lack of pointer confusion

    My lights are kept in the main Game class. I register my light sources with my render manager so all of the shaders know which light sources to use. I want to be able to update a light source in the Game class (like sunlight) and it be updated for my shaders. I'm passing the source in by ref, but when it gets added to the Dictionary (which holds the name of the light and the light vector itself) it seems to be adding a copy. When I update the light in Game, it is not being updated in that Dictionary. I am pretty much new to C# but have been programming in C++ for years. In C++, I'd just store a pointer. Thanks // This code is from the shader class m_LightSources = new Dictionary<String, Vector3>(); public void AddLightSource(S ...Show All

  • SQL Server datetime format

    Hi. I have two parameters called StartDate and EndDate.These parameters are from datetime type. I want to view the records between these dates.I have some questions: 1)In the database, these parameters' values are like 15.11.1984 23:59:14. It has time value near the date value.But I don't want to view the time value.I only want the date part. 2)In the preview tab, I choose a date clicking the calendar image near the parameter textbox. For example I choose 02.05.2001 and when I click the view report button, it changes to 05.02.2001.So there is a format difference.I want it to show like dd.mm.yyyy 3)By default, if the user doesn't enter a date, I want to view all the records.Any idea about this Thanks! 0) ...Show All

  • .NET Development Multiple elements in a configuration section

    Hello All, I would like to know whether it is possible to have multiple configuration elements with the same name within a custom section. Changing the element name to say "operation1" instead of "operation" (see sample file below) seems to work but i would like to use the same element name. I think i have to set something like maxOccurs=unbounded but not sure where to do it inside my custom classes. I have already implemented custom classes inherting from ConfigurationSection,ConfigurationElement and ConfigurationElementCollection to implement the stuff below. Am i missing something Currently if i add multiple elements with the same name within the section i see the following error "The element <opera ...Show All

  • Visual Studio Team System Copy task

    I'm trying to get my build to copy a selection of files into a standard pickup folder on a network share. This is what I have at the bottom of my TFSBuild.proj file: <!-- Variable to state which files to copy to the latest build folder --> < ItemGroup > < MyFiles Include = " *.dll;*.pdb;MainExe.exe;MainEXE.exe.config;cachingConfiguration.config " /> </ ItemGroup > <!-- Copy the files --> < Target Name = " CopyFiles " > < Copy SourceFiles = " @(MyFiles) " DestinationFolder = " \\MachineName\ Directory Name " /> </ Target > However, no files are copied into the directory and there is no build step logged or any errors. The direct ...Show All

  • Windows Forms Microsoft Office Document Imaging Viewer control

    hai I am using Microsoft Office Document Imaging Viewer control in my vb.net application (2005).I have to load the tiff images into this control. And i am keeping the path in a database table and, loads all the records into on datagridview control from this table.When i click one row in a grid the row should come to the edit mode (in seperate text box and its ok) .At the same time the image is loading in to one picture box control.If the user clicks the picture box it will open a new window which contains Microsoft Office Document Imaging Viewer control and loads the image , selected in the previous picture box.And i colse the new window the open it again it says file sharing violation error .And i cannot open it again . So that wh ...Show All

  • Visual Studio 2008 (Pre-release) Windows.FlowDocument Class

    Can I insert custom tags in the FlowDcument which are not interpreted by the Avalon RichTextBox control when the FlowDocument is assigned to its Document property. Something like <FlowDocument> <Paragraph> <Mycustomattribute> The text will be displayed but the Mycustomattribute will be ignored! </Mycustomattribute> </Paragraph> </FlowDocument> Thanks in advance You can mark xml namespaces as ignorable so that the parser will skip them <FlowDocument     xmlns=" http://schemas.micrsoft.com/winfx/2006/presentation "     xmlns:mc=" http://schemas.micrsoft.com/winfx/2006/markup-compatibility "     xmlns:MyCustomNS=" MyU ...Show All

  • .NET Development How to list or get all the entrypoints in a dll?

    Hi, Some time back there used to be an application called QuickView using which I could get entrypoints of a dll. I am not able to find that anywhere. Any Idea how to get them now Or where can I get a free tool to get it Thanks. For native dlls you have a tool called depends.exe that comes with Visual Studio (C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\bin) and Windows Support Tools (you can find it on the Windows CD or download it from here http://www.microsoft.com/downloads/details.aspx FamilyID=49ae8576-9bb9-4126-9761-ba8011fabf38&DisplayLang=en ). For .NET dlls you can use Reflector for example ( http://www.aisto.com/roeder/DotNet/ ). ...Show All

  • Visual Studio Express Editions How to: Adress multiple textboxes in one action?

    My application has different textboxes with different names: TxtBoxName, TxtBoxAdress, TxtBoxCity, etc These boxes will be enabled after pressing a button. On the Button_Click eventhandler, I currently have to code: TxtBoxName.Enabled = True TxtBoxAdress.Enabled = True TxtBoxCity.Enabled = True What I want is a script that recognizes all textboxes and sets the enabled status to true for all instances of TextBox. Is this possible And if yes, how do I do this For each c as control in Me.Controls if Typeof C is TextBox then c.enabled = true Next If the textboxes are in a groupbox then itterate on that container as opposed to Me ...Show All

  • Visual Studio Tools for Office Freezing Panes on a non-active sheet.

    I do know you can freeze a pane on an Application.ActiveWindow, but how do you freeze panes on worksheets that are not active I only have one window per workbook, so is there a way to freeze panes on all the worksheets in a workbook without switching focus to each worksheet Hi Edward The best place to get information on working with an Office application is the corresponding newsgroup, as listed in the " Please Read First " message at the top of this forum. Try asking the Excel specialists in the excel.programming newsgroup :-) ...Show All

  • Visual Basic Dynamic drawings in VB.Net

    Hi, Is there any VB.Net equivalent to the vbXorPen and vbNotXorPen options of the DrawMode property in VB6 These options were very usefull to create dynamic drawings. Thanks by advance, Pierre I think the only option is to use GDI Calls if you wish to use those functions (wrappered by the graphics object GetHdc and ReleaseHdc methods). There doesn't seem tto be the ability to do what you want directly. However, the new drawing techniques available don't really require the old VB6 methods (drawing 'rubber bands' and such). ...Show All

  • Windows Forms Print Preview Control

    Okay ladies and gentlemad I have to apologize ahead of time if this is too easy for you. I have a pdf file savced and a print preview control on my form. How do I preview the pdf on my print preview control. Please don't get too advanced I am still new. Thank you ...Show All

  • SQL Server How to add gridlines to a table?

    Hi Guys, Is there anybody who knows how to add a gridlines to a table report Sincerely, --Amde ...Show All

©2008 Software Development Network