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

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

Pman0401

Member List

Dipendra
CGuyArun
Raybritton
Synced
Tim Joyner
ace333
Bertrand Caillet
Emanuel Dejanu
Alepodrakoulas
mario.muja
Sondre - MSFT Regional Director
Will Merydith
Noordin
maglor_elf
Jim Keifenheim
tronix
Eric-NZ
marcy
Rattlerr
stswordman
Only Title

Pman0401's Q&A profile

  • Windows Forms Datagridview

    Hi all, I am new to .NET.. I am trying to use the datagridview for this application that I am writing, but it's throwing a steep curveball at me.. I've designed an unbound datagrid view that have 1 textbox, 2 checkbox and 1 combobox.. I can't seems to insert data rows into it... how can I insert data for this kind of datagridview Also, I need for one of the checkbox to be checked (During runtime) when specific data in the combobox data has been selected. D ...Show All

  • SQL Server selecting the values with criteria ?

    hai , This is my Table . Table TN963 :- Access Allowed. TN963 :- Access Allowed. TN963 :- Access Allowed. TN964 :- Access Allowed. TN964 :- Access Allowed. TN964 :- Access Allowed. TN963 :- Door Not Allowed! Access Disallowed TN963 :- Access Allowed. TN963 :- Access Allowed. i want to select the values before :- in the above table . So that my output will be TN963 TN963 TN963 TN964 TN964 TN964 TN963 TN963 TN963 Cheers, Raghu.G Thanks . But the value of the no may differ . example TN9633 TN9636 TN9636 TN964g TN964eeee TN964w345 TN963ee TN963ffere TN963333rfref Now how to select that ...Show All

  • .NET Development I Want Code a Notepad but I have Problem in Unicoding....

    I Code a Notepad Application and this is Have a small Problem , when I Open an ExeFile, My Application Can't View This Means Windows Notepad (why) my Question : Which one Of Unicode Can Support Source of ExeFile Characters What do you mean by "ExeFile Characters" Executable files usually contain mostly binary data. That's why people often use hex editors to "view" the files. They may of course also contain strings, both Unicode and other encodings. ...Show All

  • Visual Studio Express Editions SerialPort 101 for a beginner

    Hello, I have spent a lot of time trying to use the serial port command in the toolbox but i was unsucessful. I looked at the samples posted online but i always get errrors. Can anyone explains what are the steps needed to have a sucessful communication (read and write) from and to a serialport.If you can post the code it would be great...Please help Thank you what you have done so far is correct now to implement the dataRecieved event handler you can do this programmatically or via the Form designer so: click on the SerialPort object/control you have added on the form, then look at the properties Window. Click on the lightning icon, which indicates Events and double click on "DataRecieved". This will not create the DataRec ...Show All

  • Visual Studio Team System How to abort execution once a test case failed?

    Hello, I am writing unit tests in VS for visual C# application. Is there a way to abort testing once a unit test fails Thanks Hello, You can use ordered tests to stop execution once one of your unit tests fail. By default, a property of the ordered test called "Continue After Failure" is set to false. If you add all your tests to the ordered test and run it, execution will stop once a unit test fails. For more info on ordered tests, take a look here: http://msdn2.microsoft.com/en-us/library/ms182629(d=ide).aspx Hope this helps David Gorena Elizondo [MSFT] VSTS ...Show All

  • SQL Server Web Service Task always failing

    Executing the simplest of Web Service tasks consistently fail with the error: "Object reference not set to an instance of an object". This really isn't a very helpful message for this task, and there's nothing from the task editor that can be adjusted. I am using SP1, the HTTP connection to the service tests OK, the WSDL file downloads OK, and the methods and parameters appear OK. Suggestions Richard Hi, I have the same problem in the same webservice, but i must use a proxy, company will not allow me to bypass the proxy. Is there a fix to overcome this problem Is there a workaround I'm passing the parameters that the webservices provides i'm not using variables to fullfill ...Show All

  • Visual Studio Team System Listing global groups on TFS

    Hi, Is there any API to list the names of global groups on TFS eg, [SERVER]\Team Foundation Administrators, [SERVER]\Team Foundation Valid Users etc. Manasi You can find the list of global groups on TFS for a particular project using "IGroupSecurityService" namespace of "Microsoft.TeamFoundation.Server". You can get the list of valid groups as follows: Microsoft.TeamFoundation.Server. IGroupSecurityService igroup = tfs.GetService( typeof ( IGroupSecurityService )) as IGroupSecurityService ; Microsoft.TeamFoundation.Server. Identity [] ident = igroup.ListApplicationGroups(ProjectURI ); ...Show All

  • Visual C# How to create variables and configuration settings for C# Windows Project

    I need to store configuration details like Database Connection String, and other config details in a single location so that I can access it from any .cs file of the prj. How is it possible Thru some particular xml file or a text file PLZ reply asap as its urgent you can use the App.Config file. Right click project > add new item > Application Configuration I'm not sure entirely how to use it but I thought I will tell you how to add it to your project ...Show All

  • .NET Development Why System.Reflection.FieldInfo.SetValue() works for "Class" but not "Structure"?

    Hi, I wants to use System.Reflection.FieldInfo.SetValue() to set the value of a "Field" of in a "Structure", I fails. Following is the code I modify from the Example of System.Reflection.FieldInfo.SetValue() from MSDN (The underlined word is what I have changed). My question is how set the value of a "Field" of a "Structure" by giving the name of the "Field" in a string variable Imports System Imports System.Reflection Imports System.Globalization Public Structure Example Private myString As String Public Sub New ( pValue as string ) myString = pValue End Sub ReadOnly Property StringProperty() As String Get Return myString End Get End Prop ...Show All

  • SQL Server New problem getting data from xml table in sql db (Newbie)

    Hello, I have this xml tablerow in a table in my db. 2 examples <Toyconfiguration version = "1" name = "Lego"> <Ballconfiguration version = "2020" name= "Adidas"> If I would want to get the name of the toy or ball I would write Select Tablerow.value('((@name)[1]', 'varchar(100)') From table This would return Lego and Adidas But what if I want to know which kind of configuration it is How do I do this The answer I want is Toyconfiguration and Ballconfiguration.. Any help would be appreciated! You could use local-name() function: select Tablerow . xml_col . value ( '(//@name)[1]' , 'varchar(100)' ) ...Show All

  • .NET Development Help!Same web page with same load in .net framework1.1 and framework2.0 Performance Issue

    please help! I have following problem: Same web page with same load(means concurrent user and data) in .net framework1.1 and framework2.0 have different Performances Note: performence of framework2.0 is not as good as fm1.1 can you please suggest any solution for that. thanks in advance. Hi, Can you post more information 1) How did you migrate the 1.1 page to 2.0 2) What kind of operations does the page run (internal hashing, database, webservice com, etc) 3) Server and IIS versions 4) Do you run them as a virtual application or a website 5) What kind of application pools do you use 6) How do you measure performance Thanks ...Show All

  • Visual Studio Questions about Sandcastle

    I have some questions and observations regarding the July CTP of Sandcastle when using it to generate documentation. The generated CHM file doesn't seem to have an index. There's no Index tab displayed in the viewer. The generated CHM file doesn't seem to have search capability. There's no Search tab displayed in the viewer. When the CHM file is double-clicked to open it for viewing, the right-hand pane of the viewer shows a mostly-blank page with a small warning icon in the upper left-hand corner. This mostly-blank page goes away when any of the entries in the table-of-contents in the left pane are clicked. In the CHM file, the documentation entries for class constructors always seem to have ".ctor" prepended to them. The table ...Show All

  • Windows Forms How can extract an object from form.designer by string name? (for examble a buttton dropped on)

    i would estract an object from my form, for example a button by name. I drop a button in a form, named button1: and try: Dim o As Object = CallByName( Me , "Button1" , CallType.Get) but don't work because he said that error message: "Public member 'Button1' on type 'Form1' not found" someone have any solution thank's There's no need for anything as drastic as reflection. As long as the UserControl is declared in the same project, it can see and use the TableAdapter class just like the form. All you need to do is have the form pass a reference to the xTableAdapter instance to the user control. Something like this: Public Class MyUserControl Private mA ...Show All

  • SQL Server [SQL2k5] Dynamic SQL Query Select on all user tables

    In one query, I would like to query every user table in a specified database for SELECT TOP (3) COUNT_BIG([Event Count]) AS EventNum, [Target IP], MAX([Time]) as LastSeen GROUP BY [Target IP] ORDER BY EventNum DESC How is this possible Please give examples, I am a beginner. Assume every table has the same structure for columns event count, target ip, and time. Hi, try the following: sp_msforeachtable 'SELECT *,'' '' AS TableName FROM (SELECT TOP (3) , COUNT_BIG([Event Count]) AS EventNum, [Target IP], MAX([Time]) as LastSeen FROM GROUP BY [Target IP] ORDER BY EventNum DESC) SubQuery' But keep in mind that this should be just used for administrative task and adhoc queries not for busine ...Show All

  • Visual Studio Express Editions Database confusion amazon enabled movie collection example

    Let me use the amazon enabled movie collection as an example because it is readily availible to anyone by download. If you publish this program as is you get the following files with cd dvd instalation option MyMovieCollection1_1_0_0_0.application MyMovieCollection1.application setup.exe A folder named MyMovieCollection1_1_0_0_0 DVDCollectionDatabase.mdf.deploy DVDCollectionDatabase_log.ldf.deploy DVDCollectionDataSet.xsd.deploy EULA.txt.deploy MyMovieCollection1.exe.deploy MyMovieCollection1.exe.manifest A folder named Resources icon_magnifyingGlass.png.deploy A folder named Web References A folder named AmazonServiceSDK Reference.map.deploy Now if you burn all this to disk and run the setup.exe file on a computer that h ...Show All

©2008 Software Development Network