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

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

s26f84

Member List

K.V.Bharath
ramesh_n3
xplosiv_1
Helen999888
Saishyam
Michal Konecny
VSab
Alex Farber
Kyle Leitch
laiseng
hindu
Andrey M.
Doug DeBug
cgkitab
palestine
Janxels
Sweed
smalamas
ps1terry
John1010
Only Title

s26f84's Q&A profile

  • .NET Development AccessViolationException with C# Ping class

    I have a "watchdog" program, c# console application, coded with VS 2005. Program runs every 3 minutes. And one part of program checks pings to ~20 ip's. I'll give that function code: static private bool ping ( ref String ip) { bool success = false ; Ping pingSender = new Ping (); if (pingSender.Send(ip).Status.Equals( IPStatus .Success)) { success = true ; } else { success = false ; } return success; } Usually this works.. but sometimes (once a day on the average) it throws an exception and program crashes: Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. I checke ...Show All

  • SQL Server SQL standard

    I just want to know which SQL Standard does the SQL Server & Oracle follows SQL-86 SQL-89 SQL-92 SQL1999 SQL-2003 as far as i know both sql server and Oracle 9i Database support/comply to the ANSI SQL-92 , thoug these are just the standards , actual implementation differs with the vendors. ...Show All

  • Windows Live Developer Forums PushPin Pop-up with small map zoomed...

    Hello all, Just got into VE, it's a lot more fun to figure this one out than the others. I hope the community continues to grow. I have been cracking the surface of using VE in the past week and have been trying to get a small map to show up in the pushpin roll-over div. I am not sure how to approach this, so what I started to do is create a fuction that creates another instance of the MAP, but with the current lon/lat and a closer zoom to see the pushpins exact location much closer. I can't figure out how to get this into the DIV popup... it's driving me nuts. Is this possible in VE I am sure it its, but not sure what all is offered in the current version of the VEPushPin constructor.. Any help would be cool. Thanks! Yeah, I see ...Show All

  • Visual Studio Express Editions Automatically Fill in Array

    hi im trying to automatically fill in an array with incriments between the numbers 0 - 5 but i want to be able to automatically change the incriments eg. incriment of 1 puts the numbers 0, 1, 2..5 into the array while an incriment of 0.5 puts 0, 0.5, 1.......5 in the array etc. the reason im doing this is because the user will be able to adjust the accuracy of some calculations by changing the incriment. and i want the array, which will be used for the calculations, to automatically adjust. this is what ive got so far Public Class Form1 Private Sub cmdGo_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdGo.Click Dim array() As Double For t As Double = 0 To 5 St ...Show All

  • SharePoint Products and Technologies Setting the ContentType for a new SPListItem in a SPList?

    How do you set the ContentType property when adding/creating a new SPListItem in an SPList An SPListItem has a ContentType property but it is read-only in the WSS 3.0 object model. We prefer to do it directly through the object model (vs. CAML or a web service). Here's an example: http://www.sharepointblogs.com/tonstegeman/archive/2006/08/06/9763.aspx It will be interesting to see where this is documented in the WSS 3.0 SDK. ...Show All

  • SQL Server Access to TaskHost from derived Task class.

    Hi, for some reasons, I have to get access to the TaskHost during validation and execution. For example, I wanna know, if my task is within a container or not (parent is Sequence). For the UI during design time, there is the TaskHost parameter. What about the execution time or during validation Any hints Thanks. Thorsten I am wanting to do something similar to allow me to have access to the TaskHost.  I have a controll flow task and I want it to be able to read the initial start time from the outer-most container.  I would also like to get the path of the Package that this task is in. Example: I call dtexec to run Package_a.dtsx Package_a.dtsx calls Package_b.dtsx Package_b. ...Show All

  • Visual C# About Windows EventLog's Explanation

    //**************************************************** For more information , see Help and Support Center at | http://go.microsoft.com/fwlink/events.asp . //************************************************************** The up information is always showed in the Explanation of windows eventlog. Now I want to delete the Explanation when I write the enentlog. Below is my source. //***********************SOURCE*********************************** if (!EventLog.SourceExists("Test")) { EventLog.CreateEventSource("Test", "Application"); } EventLog ev = new EventLog("Application"); ev.Source = "Test"; ev.WriteEntry("test& ...Show All

  • Visual Basic Command Line Switches

    Okay, A really easy one here. I want to pass a single command line switch to my application, where if there is a specific switch it will show one form, if there is no switch or an unrecognised switch, it will show another form. Just need to know how I would go about finding out what switch was supplied - see, easy!! Thanks in advance Hi, Still having difficulty with this. I've got: Module Module1 Sub main( ByVal cmdargs() As String ) If cmdargs(0) = "/c" Then Else Dim frm As New Saver End If End Sub End Module Where saver is the name of my main form. But the form doesn't appear. So I tried (r ...Show All

  • Visual Studio Team System Code Reviewer Report

    How would I go about creating a report that listed changesets in a project and the name of the code reviewer. We require the "Code Reviewer" field to be populated with a name durring check-in. And want to get a report on that field. Thanks for your help, Nate I tryed emailing mauli a while back but got no responce. Then I thought I didn't need this.... but it turns out... I need to be able to get the code reviewer in a report. Can someone help me with this Thanks again for all your help -Nate ...Show All

  • SQL Server nested set model

    Hi, I am storing some hierarchical information using the nested set model. I would like to transform the data into XML to bind them to a TreeView object. Did someone do something similar before. Any input would be very much appreciated. Many thanks. Christian SQL Server 2000 or 2005 Also you'll need to post some DDL to get any sort of answer ...Show All

  • SQL Server Should I use indexes?

    I have a very large table (about 200,000 records), but there are only 2 fields in the table only one populated with data. I need to update the 2nd field with the first field's data. UPDATE Table1 SET field2 = field1 This is taking a really long time to run about 3.5 minutes. Is this normal Can I create an index What can I do to shorten the run time Thanks, Ninel I'd assume that the update would be faster if the index had a low fillfactor... but so as not to merely speculate, I tested on my end...  Turns out, with a clustered index in place, the update is quite a bit faster.  Lower fillfactors are indeed slightly faster, but not much.  ...Show All

  • Windows Forms Changing the column type at runtime

    Hi ! I have the requirement where I need to change the column type of a cell from a textbox to column depending upon a certain situation. The datagridview is unbound and I have set the cell types of the grid to text initially. Can I change one column to a different type , like one row will have column 2 as text box and the second row will have the same column2 as combo. Please let me know. Thanks in advance ! You cannot do this without creating a custom column type. See http://msdn2.microsoft.com/en-us/library/7fb61s43.aspx for examples of how to do this. ...Show All

  • .NET Development Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following err

    i am also getting same problem while deployement , it is working properlly on my system but i am getting the problem after deployment. please help me We didn't get to see the full error message. Guessing: ensure that the Microsoft Office PIAs are installed on the target system and that it has the correct version of Office. ...Show All

  • Visual Studio 2008 (Pre-release) Where are the Windows Forms controls equivalents?

    Hi, I was wondering if we are going to see equivalents of the Windows Forms Controls and Windows Forms capabilities in WPF. Although WPF seems impressive, it lags the Windows Forms power and its also counteractive. My point beeing in addition to training we will need to focus on developing a UI framework ontop. Thats going to waste time. Why cant we have the existing windows forms controls in WPF as they are right now in .net 2.0 ...Show All

  • SQL Server Empty Measures

    Hi, I have a problem that confused me and I hope anybody can help me. I have create a Data Warehouse on SQL Server 2005. Then I built a cube with Analysis Services and deployed them. There are no errors during the processing. But when I start to browse, there are no data in my Measures. My dimensions are correct an have all data from the data warehouse but every measure are empty. Maybe, is the number of dimensions restricted I have 88 dimensions and 1 fact table. I hope anybody understand my description and can help me. The number of dimensions is not restricted, although 88 is quite a lot simply from the logical model perspective. You might want to look and see if some of these dimensions should really ...Show All

©2008 Software Development Network