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

Software Development Network >> Steve Giergiel's Q&A profile

Steve Giergiel

Member List

Christian Sciberras
ifaber
lu2vik
Riekey
pkarun
Delmer
No.1 Of Mew
Barry Kwok
Chuck Cobb
Richard_Mason
rottengeek
ReneeC
msbuilddude
Minherz
pjmvn
Mjoyner24
Shyamal Patel
WV John
strelzj
Eric Kinateder
Only Title

Steve Giergiel's Q&A profile

  • Visual Studio 2008 (Pre-release) ListView, I would like somthing like SelectionMode.None ?

    I know it’s a little odd. But is there a way to make the ListView “readonly”. I was thinking something in the line of: ListView1.SelectionMode = SelectionMode.None; I know I could just ignore the SelectionChanged event. But the problem is that the styling shows that an item is selected. Best regards,   Thomas S. Andersen   BTW, as a workaround I'm using this at the moment: ListView1.SelectionChanged += delegate ( object sender, SelectionChangedEventArgs e) {     (sender as List View ).SelectedItem = null ; };   Drew: I can’t change the style, because our application will support (runtime loaded) customer styling. But thanks for the xaml paste, it ...Show All

  • Windows Forms Simple Event Help

    Hello, I am trying to understand some really simple event matters. I have a windows application, where i want to change a label everytime an event is risen. To be more concrete: I start a thread process in the Form_Load section. Let's say that the process runs a simple for loop counting numbers from 1 till 1000 and raises an event, when the number is dividible by 7. When the event is risen the number should be written out in a label in windows application. To be more specific. I want to port the example on the link bellow, to be working in a windows application, where the loop that raises an event runs in a seperated class. Link: http://www.codeproject.com/csharp/csevents01.asp Thank you for your reply. It ...Show All

  • Visual Studio 2008 (Pre-release) Transformations on AdornedElement are also applied to Adorner?!

    Hi, I’m using Adorners on shapes and other controls. I’ve noticed that the Adorner is scaled, when the AdornedElement contains a transformation with a scale transform. But I don't want the Thumbs and the bounding rectangle in the Adorner to be scaled also. Is there an easy way around this, or do I manually have to scale these back again. In ArrangeOverride I might be able to scale down the Thumb accordingly if I find that there is a scale transform applied to the AdornedElement. It might not be that easy with the pen used to draw the bounding rectangle though, since it's no likely that it should be scaled down equally on all sides. Thanks in advance! / Joel You'll need to override Adorner.GetDesiredTransf ...Show All

  • .NET Development Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

    I'm having issues figuring out how to get my application set up properly so it will authentiate correctly. I need to be able to use windows authentication (all access is internal to the domain) so that the user's credentials will be used to access an external resource. I've looked at the dcomcnfg but am now sure what needs the access updated. The com object that I"m attempting to use isn't listed there so I'm guessing there is something else I need to update. The server is Win2k3. Here's the error from the event viewer and the error from the page: Event code: 4011 Event message: An unhandled access exception has occurred. Event time: 12/19/2006 11:58:15 AM Event time (UTC): 12/19/2006 5:58:15 PM Event ID: fa2e0deea3 ...Show All

  • Visual Studio Express Editions pictureboxes without stiply lines around them ?

    Hi... I would like to know if someone could tell me, how to get rid of the annoying stiply lines that are around pictureboxes Even if i set the borderstyle to "none", there are still stiply lines around the pictureboxes. Can they be removed Thx in advance... Sjas www.123hjemmeside.dk/dottedborder1 here is a screenshot... ...Show All

  • SQL Server FOR XML AUTO, ELEMENTS Problem

    I have a column ('ProblemResolution') in a table ('Incident') that holds plain text. I am doing a query against that column and converting the results to XML as follows: Select ProblemResolution From Incident Where RowID = 2 FOR XML AUTO, ELEMENTS The problem is the XML that is being generated. It appears the XML that is generated is illegal (in some cases) because if I save the resulting XML in a text file and load into Internet Explorer, IE generates errors. Here is the plain text (actually part of it - enough to demo the problem) as stored in the column. The quotes are not stored. "8/11/2006 dabonder - Carol – Thanks for the detail. I looked at the 6060 transaction and it was as you thought – thes ...Show All

  • Visual Studio 2008 (Pre-release) Is WPF right for my app?

    I am in the process of determining if WPF is right for my app. M y app requires that my main entry form look like a paper form for example a IRS 1040a. I can draw this form very easily on a Canvas, but because the canvas is position based, it doesn't resize with the screen, however I need to be able to resize the whole canvas based on screen size. I have tried the grid and stack panel but the wrapping and resizing doesn't work for what I want. I have to maintain the look of the form and maintain the aspect ratio as well. Any suggestions or where to look for examples would be greatly appreciated. rockowpb A few things to try Yes, experiment with Viewbox. Also, take a look at LayoutTransform - a ...Show All

  • Visual Studio Team System Response time Vs Connections

    Hi, I am doing load testing on web application. I have executed the test with 100 users with Connection pool size was 50. Average response time was 27 seconds and I got the errors for average connection time out counter. I have increased the connection pool size from 50 to 100. When I have executed the load test second time I did not get errors for average connection time out counter. But response time was 60 seconds which is almost double than first time (27 seconds) Why response time varies when connection pool size increases. Is it right that increasing connection pool size when we get the errors for average connection time out counter In forum I have seen some messages connection per user is better ...Show All

  • .NET Development Shutting down network computers?

    I suspect that I once again have someone leeching of my Wireless router again and I can't connect and lock it for some reason. So I thought perhaps I could shutdown the computer who is leeching off my network As a lesson :P There are probably a lot of software out there that could do this but it would be nice to learn how I could create such software. ProcessStartInfo thePSI = new ProcessStartInfo("shutdown.exe"); thePSI.WorkingDirectory = Environment.GetFolderPath(Environment.SpecialFolder.System); thePSI.Arguments = "-s -f " + storedVars.arguments + " -m \\\\" + storedVars.computerName; Process.Start(thePSI); Doesn't work other than on my computer ...Show All

  • SQL Server Manage instances in another machine

    I'm trying to manage another SQL Server 2005 instance in another machine. I'm doing this by connecting to another computer thru Computer Management. When I go the SQL Server 2005 Services, the right pane is showing There are no items to show in this view. How can I view the services Another problem that I have is that I have to turn off the Windows Firewall in the other machine. What exceptions are needed I have tried by adding the specific TCP used by the instance. As far as I know the Computer management console can only adminsiter the local instances fpr Sql Server 2005. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • SQL Server COM objects under 64-bit?

    Hi everyone,   Primary platform is Framework 2.0 under 32-bit Production platform will be Framework 2.0 under 64-bit.   I'm concerned about what object should I use in order to launch DTS 2000/7.0 from our .Net service.   Currently it tested fine from a 32-bit environment (sql server 2005 as backend).   Reference: "Microsoft DTSPackage Object Library" Physical file:  dtspkg.dll   My wonder,   is there any limitation when it's gonna to work on 64-bit   Generally speaking, any limitation/issue/drawback for COM objects under 64 bit In my project properties appears Any CPU, x86, x64. I've got now Any CPU.   Thanks for your advices,   ...Show All

  • Windows Live Developer Forums MSWORD 2003 PRO - help locating default dictionary (not custom)

    Hello out ther! I am having some trouble locating the default dictionary in MSWORD 2003 PRO Edition ... I would like to be able to add and remove words in the dictionary for my permanent spell checking purposes . I would use the custom dictionary option however it will not allow me to remove words which are housed in the default dictionary , it would seem that I have no control over this. is ther a solution Thank You. This forum is for discussions related to Windows Live development. For questions related to Word, please visit the one of the newsgroups for Word: http://www.microsoft.com/office/community/en-us/default.mspx . ...Show All

  • Visual Studio 2008 (Pre-release) How to instantiate PropertyPath for the StoryBoard with the Dependency property in C#?

    Hi All Below is the Xaml Code which is working as per the need to animate an image. I am tring to animate the same image through C#. Can Someone help in Setting the Storyboard.TargetProperty in C#. How to instantiate PropertyPath for the StoryBoard with the Dependency property for Image Translate.XProperty in C# as shown below eg. ( UIElement.RenderTransform).(TransformGroup.Children)[0].(TranslateTransform.X) which is in XAML. < Grid xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:ccl = " clr-namespace:CustomControlLibrary;assembly=CustomControlLibrary " xmlns:mc = " http://schema ...Show All

  • Visual Studio 2008 (Pre-release) Simple .avi playback - WMP runs fine - WPF samples run slow (i.e. software rendered)

    Hi, I'm new to WPF and am having trouble getting a Sample video player to run without software rendering on one of my small .avi files. The .avi video file plays fine with WMP (Version 11.0.5721.5145) but runs at less than 7FPS with the Sample WPF player (and also my own WPF player - code lifted from one of the many 'example' posting). WpfPerf shows that I'm not using hardware rendering. I've been careful to install all of the various .NET , Windows SDK, and VS 2005 extension packages on my XP-SP2 system as well as making sure my video drivers (ATI Radeon 345M - version 6.14.10.6392) are up to date. Is there a WPF utility that will show if I've got all of the required software installed correctly Alter ...Show All

  • Audio and Video Development Event Target

    Hi Chapter 8 of specification gives the larger picture of Event Processing. It says that user events are fist processed by the script and after that markup gets chance to process the event. eg if a user presses a navigation key then first the script (through event handlers ..if one is regestered ) first processes the gesture and after that (if allowed by script) the markup processes the gesture --changes the focus to the next element (depending on the navigation key). If the above is correct then this means the target for the keyboard events is always the current focused element. One exception might be access ( or shortcut) keys in which case the target is the element for which the short key is defined. ie script cannot override the acc ...Show All

©2008 Software Development Network