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

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

BroadSurf

Member List

bcecile
cab15
Trey Nash
Akhraden
Steven Johnson
Imad.Ozone
boran_blok_edan
Roman S.
Ruben S Salazar
Cyril6910
colecovizion
Tony_
lovy0000
srj115
Juniorbl
Nagendra Rao S.V
Troglite
tkn0507
dv83d
Marcus
Only Title

BroadSurf's Q&A profile

  • SQL Server .Net and SSIS

    Hi, Is there way I could pass on an object to an IS package from a .Net component Basically I need to validate a file using c# and pass the valid records to an IS packet to be uploaded to the database. Is this possible without me writing the valid records to a file and using that as input for the IS packet I tried doing the validation on the IS side as well but seems extremly slow so going to try to get a c# program to do that for me. Appreciate your help.... If you want to reuse this code - write a custom data source component for data flow. If this is to be used once only - use a script component to cr ...Show All

  • SQL Server Problems with Identity Specification - deleting rows

    First of all, I'm new to the forums, and I'm still getting started with VBEE and SQL. I'm building a simple Windows Application that has a SQL Database with three tables, related to each other. In all of them I need to set one column as a simple index for the rows (1, 2, 3... etc), to work as a PK and relate to the other tables' FKs. I've set the property Identity Specification of the column to Yes, and added some rows of data for testing. If you just keep adding rows, the PK columns work fine, but if you start deleting rows, the numbering gets fragmented, and the relations between the tables lose integrity. I've tried the MSDN Onl ...Show All

  • Visual Basic serial port - com

    I toke from the VB6 the example about using the serial port with MSComm. I run this program in VB2005 after it was upgrade ofcourse by the VB2005 and try to send and receive strings in a loop(1-1000). But sometimes in this loop the string that I'm sending is stuck or something that I don't understand why I run this loop with the some strings a lot of times and everytime is a different string that stuck. if someone can tell me why In VB2005 there is something similar to MSComm that I can use Hi, Look I'm still a rookie in VB2005 but I'll try to help you... So I guess that ...Show All

  • Visual Studio Express Editions Directory.Getfiles

    i want to do a search for all textfiles in C:\ so i did this ListBox1.Items.AddRange(IO.Directory.GetFiles("C:\", "*.txt", IO.SearchOption.AllDirectories)) but i get an error saying "Access to the path C:\system vloume information is denied", if it was in a loop i could say on error resume next but with this you cant, is there any other way around it thanks. 1 year later... The extra \ (C:\ to C:\\) is because \ is an escape character. For example: "C:\\No problem" would be the string: "C:\No problem" (\\ -> \) "C:\No problem" would be: "C: ...Show All

  • Visual C# Need parent domain of child domain for AD lookup code

    Here is our situation. We are checking if a user is in the Schema Admins group and were working off a child domain server and all our functions return the child domain server’s domain and we need the parent domain. -GE (Parent Domain) -Server A (in parent domain) -US (Child domain of GE) -Server B (in child domain) I need to query Server B for its Parent Domain and I always get back US and I want GE for AD lookup purposes because of rights issues. I need a consistant reliable way that works on windows 2000, xp, 2003 etc. Here is the current code we use to loo ...Show All

  • .NET Development Xml.XPath.MoveToNext() not working

    I have this simple code:                 WriteSettings.Load(MainApplication.FileLocation + "settings.xml");                 XPathNavigator Nav = WriteSettings.CreateNavigator();                 Nav.MoveToRoot();                 Nav.MoveToFirstChild();                 ...Show All

  • .NET Development System.Threading.Thread.CurrentThread.CurrentCulture.Calendar.TwoDigitYearMax

    I opened, converted, and rebuilt an existing class lib in 2005.  It compiled without error, but there was a runtime error with the following: System.Threading.Thread.CurrentThread.CurrentCulture.Calendar.TwoDigitYearMax=2050 Apparently this property is readonly now.  Paradigm shift   What to do Jeremy Paradigm shift may be a bit lofty but you are correct - in Whidbey, we've made the default CurrentThread.CurrentCulture read-only. You can, however, clone a copy, make modifications, and set the CurrentThread.CurrentCulture. try the following: CultureInfo newCI = ( CultureInfo )Syste ...Show All

  • Visual Basic VisualStudio 2005 BUG

    Am developing a forms app using vs2005. All going fine till decided to publish via ClickOnce…. Having published to ClickOnce, now every time I try to debug (F5) the app after doing a code change or opening up the Publishing Project Properties, get “The operation could not be completed. The process cannot access the file because it is being used by another process” Try again – then get “Visual Studio could not copy a support file to this location: Q:\Development\Visual Studio 2005\Projects\projectname\projectname\bin\Debug\projectname.vshost.exe. Please verify the path exists and is writeable”. (projectname changed to protec ...Show All

  • Visual Studio Team System Preferences: Use documentation from:

    I am using the current version 1.32 and my setting is the default http://www.gotdotnet.com/team/fxcop/docs/rules.aspx version=1.32&url = However, a click on the documentation links gives an error message. Could not invoke link: Application not found. How do I resolve this Best regards, Paul. There's something awry with your configuration, I don't think this is an FxCop issue. What happens if you select Start/Run (from Windows), paste the following link into it, and select OK http://www.gotdotnet.com/team/fxcop/docs/rules.aspx version=1.32&url=/Design/AbstractTypesShouldNotHaveConstructors.html My ...Show All

  • Visual Studio Team System Chaining together work items?

    I would like to activate/create Work Items as others are completed.  That is, I don't want the "Do Design" task to be visible before "Do Requirements" has been completed. This requires some sort of workflow engine that I'm not sure is part of the Work Item engine. Is there a way to do this without writing a whole lot of code   Or, if not, any ideas on where I need to hook into the TFS in order to achive this Thanks, Niels http://blog.flensted-jensen.com Workflow between work items is not supported out of the box.  You can write a tool against the work item tracking API to enforce this yoursel ...Show All

  • .NET Development WebMethod with business objects

    I'm using VS2005 July CTP, I've a web service which has some methods to return business object , and some update methods to accept business object as parameter. And I've a winform application consume the web service. When I add it as a web reference in VS2005, in the proxy class it generated, all my business object type is replaced to DataSet. I opened Refernce.cs and replaced all line with DataSet with my buiness object type in order to pass my object between web service and winform application. But, Refernce.cs is updated everytime the web refernece is updated, I'm required to edit it again.... And it is very time consuming ...Show All

  • Visual Studio Add Shortcut key to my Add-In

    Hai.....,          How can I assign a shortcut key to my Add-in so that when installed, my command has a shortcut assigned to it. By default when we assign a command to the Tools menu, we specify parameters such as the Command Name, Button Name, MSOButton, etc., But where must we specify the shortcut for our command Regards, Hemant You get "The Parameter is incorrect" is because you are trying to assign an array of object to Command.Bindings. Command.Bindings is of type of Object, so just try cmdAddCode.Bindings = "Text Editor::CTRL+E"; HTH ...Show All

  • Visual C# how to get the PC-Name from connected PC's

    Hi @all, I ping the whole network (192.168.2.1 - 192.168.2.254) and return all IP-Adresses who returns the Ping-Request. The result is a list with the IP-Adress, but not with the PC-Name How can I get the Name of the other PC's from my Network thanks for your fast help Nikolai Hi Nikolai, The System.Net.Dns class's GetHostByAddress method will help you there. ...Show All

  • Visual Studio Team System Get Latest Version changes a file's 'Date Modified' and 'Date Created' attributes

    Hi, We are currently using Team Foundation Server as our source control solution for a pilot project. When a user right clicks on a file in 'Source Control Browser' in Visual Studio 2005 and selects 'Get Latest Version,' he/she gets the file without any problem. However, the 'Date Modified' and 'Date Created' attributes of the local file are set to the time he/she got the file from the source control. It is important for us that we get the files with the exact date attributes that they were checked in with. Use-case senario: -User A modifies a file on June 20th and checks it in. -User B gets the latest version of the file on J ...Show All

  • Visual Studio Express Editions "DataBindingNavigatorDeleteItem" click event

    I get the following error message when updating [saving] a database after using the "DataBindingNavigatorDeleteItem" click event to delete data: "Update requires a valid DeleteCommand when passed DataRow collection with deleted rows". Can anyone please tell me what this means and how to deal with it newtWales Hi, Can you post the function code where you are using this deletecommand, so that we can help you out. Thank you, Bhanu. ...Show All

©2008 Software Development Network