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

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

cmsesan1

Member List

Ravishesh
JamesZ
dczraptor
R1ZWAN
jayakhanna
FassaBortolo
KedarP
l Bllizzd l
sandeep srivastava
brad.p
arthurmnev
Alba
ivl
akeiii
N_John
C#leve
Lovens
Trisha1802
kuria
Santosh A H
Only Title

cmsesan1's Q&A profile

  • .NET Development Loop thrugh Properties.Settings.Default.Properties

    How do I loop (foreach .... or for ..) on the Properties. Settings .Default.Properties collection I want to make a list for run time. That's probably because you display SettingsProperty.DefaultValue. Try PropertyInfo.GetValue(). ...Show All

  • .NET Development reduce the time tring to connect tcpclient

    hi, i'm building an app that searches diff host to see if they exist or not, the host are microprocessor on a car, so when they are in the area i can connect to them otherwise i cannot. but when i am trying to connect i takes to long, and during this i cant do anything else with my form is there a way to speed the try of connection up currently i use this in a loop: tcpclient micro = new tcpclient(); //start loop try {miro.connect(ipadress,portnr);} catch {//change ipadress} plz help thx Also, in V2.0 of the framework, there is an overload to TcpClient.BeginConnect() that takes an array of IPAddresses. It will try to connect to each of the addresses you specified and ...Show All

  • Visual C# Object class and value data type

    Hi All, I cheked the Object.ToString method in MSDN this morning. It says that This method can be overridden in a derived class to return values that are meaningful for that type.For example, the base data types, such as Int32 , implement ToString so that it returns the string form of the value that the object represents... After reading these, I've two questions. Q1)Can Int32 be considered as a class I checked the Int32 definition. It's a struct that implements the following interfaces. public struct Int32 : IComparable, IFormattable, IConvertible, IComparable< int >, IEquatable< int > Q2)How can the ToString() be overridden in the Int32 since it's not derived from Object class (based on the above definition) I kn ...Show All

  • Visual C# How to update DB from dataGridView using OdbcCommandBuilder ?

    The full text of my program is below. Form has 2 buttons and a data grid. Button 1 fills a dataset with rows from either a local Dbase table or rows from a SQL server table - depending on which connection string you choose to use. The rows show up in the data grid and I am able to edit the data within the grid. Button 2 attempts to update whatever changes have been made to the in memory dataset back to the physical database. After making changes within the data grid, clicking button 2 yields the following error: "The ConnectionString property has not been initialized." No matter if I am getting data from the local Dbase table or from the remote T-SQL server table, I get the same error. I'm stumped. Am I out of scope on s ...Show All

  • .NET Development DataAdapter.Update is not updating the source database

    Hello all, I have a dataset that contains new rows. But these rows are not been added to the database table when I call the update method. The program runs without any errors but there is no data when I view the table. Thanks. The code is below: public class MemberFileReader { private MemberFileReader() { } // Parse the given positional data file. public static void ParsePositional(string FileName) { Member member = new Member(); int numOfLinesParsed = 0; string fileLine = ""; string[] fileLines = FileReaderUtil.SplitFileByLine(FILE_NAME); bool tableHasData = false; //Determine if there is any d ...Show All

  • SQL Server microsoft visual studio cannot shut down because a modal dialog is active

    if i get this message one more time I am going to put my fist through my monitor I am also getting this error on occassion. I am developing a report with several subreports that use a string parameter (@parameter | Fields!fieldname). MS VS 2005 8.0.50727.42 (RTM.050727-4200) MS .NET FRAMEWORK 2.0.50727 MS Windows XP Professional Version 2003 SP2 MS SQL Server Developer Edition 9.00.1399.06 ...Show All

  • SQL Server SQL JOB Never completes if more than one step is added

    I need to add a SQL Job the deletes three tables in two diffrent databases I set up the steps as follows Step 1 delete table in Dynamics database go too step two Step 2 delete table in tempdb database go too step three Step 3 delete table in tempdb database finish and report success to log simple at best, but when job runs it never completes the first step and just sits there running. All three steps work perfect if in diffrent jobs and this works if run from query window with "go" between each delete statment also works if I but all three in one step with a "go" and do a database change for the one table. what am i missing in this very simple task     CHeck whether users are connected to Dyna ...Show All

  • Visual Basic Datagrid Scrollbar

    Can some one help me please In my program i need to turn off the enable of the datagrid the problem that when I turn it on again it's scrollbar becomes inactive , so the user can't use it to move between the datagrid rows I use VB 2003 thanks for your help Thanks for your reply, but the problem is that I need to close the Datagrid so the user can'nt choose another row for some minutes to make changes in other data in textboxs the readonly property stop editing but the user can still move between the rows if the user change the row , it will change the data in textboxs ...Show All

  • Visual Studio Express Editions Object and Property Descriptions

    I am making a managed dll in C++ to use in later projects for C++, VB, and C#. When ever you click on properties of MS user controls in the design portion IDE it tells you what that property is, ect. I would like to know how describe properties in the same manner. Also when you look at an object in the object browser it gives you a summary; I would also like to know how to define these summaries in C++. Thanks in advance for any help The summary description of classes and members that you see in the Object Browser are generated from the XML documentation comments in your source code. ...Show All

  • Smart Device Development Device Sync problem

    Hi, I bought a new smart phone Dopod 577w. In my system, ActiveSync 4.2 and Visual Studio 2003 and 2005 have been installed. The question/problem is I couldn't run compact framework applications (VS 2003/2005) in that device. Please send your suggestion or links. Note: But that device(smartPhone) sync well. Thanx M. GANESAN Hi,           Yeah I thought so and made some changes according to the following link:-            http://blogs.conchango.com/stuartpreston/archive/2005/11/10/2376.aspx            Now its connected well only do the following steps:  &nbs ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DRAW simple 3D CUBE - InvalidCallExeption

    Hi guys, I was able to succesfully complete the 3D Cube tutorial, The build was succesfull,but It throws an Exception at this line: graphics.GraphicsDevice.DrawUserPrimitives< VertexPositionColor > ( PrimitiveType .TriangleList, 12,nonIndexedCube); Does anyone have the complete code and if you guys do could you please copy and paste it.If some one from the XNA Team could please check this Exception I would realy appreciate it. Also i would love to know where to place, the folowing lines of code : VertexPositionColor[] nonIndexedCube = new VertexPositionColor[36]; Vector3 topLeftFront = new Vector3( -1.0f, 1.0f, 1.0f ); Vector3 bottomLeftFront = new Vector3( -1.0f, -1.0f, 1.0f ); Vector3 topRightFront = new Vect ...Show All

  • Visual C# COM object returning a null object reference to a C# client

    My C# client has a reference to the com server that contains CPipingModelEx. Here is the method of the COM interface that is returning a null pointer: STDMETHODIMP CPipingModelEx::GetElement(IPipingElementEx **pIElement) {  HRESULT hr = CoCreateInstance(CLSID_PipingElementEx, NULL, CLSCTX_ALL, IID_IPipingElementEx,   reinterpret_cast<void**>(&pIElement));  return hr; } The CoCreateInstance method succeeds and I have a vaild interface created. IPipingElementEx **pIElement is declared as an [out,retval] in the IDL file. Upon return from this method, the return value in the calling method is NULL. Here is my C# client's call: PIPINGINPUTEXLib. PipingElementEx ipe = model.GetElement(i); ipe ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Where is the download?

    It is 12:48 pm here (GMT + 1)... in Nuku'alofa (GMT + 13) it is tomorrow... So where the hell is my download link :-D EvilOneSD wrote: Hmmm... the holy grail is here on my desk. Btw... it's "tomorrow" now... What, you have one too :p It's been "tomorrow" here all day... heck, it's almost the day after here! ...Show All

  • SQL Server Create sdf relationships in VS2005

    Hello, I've created a database in VS2005 for my mobile app, but I can't figure out how to establish the table relationships. I'm not new to databases, but I'm new to VS. Any help is appreciated. Thanks, Thanks for the information Nick. I understand the need to differentiate the product's editions, but these differences should be at the product's high level functional capabilities. Something like this isn't conducive to rapid application development. Even Access provides this capability. ...Show All

  • Visual Studio Tools for Office Hooking into form when adding new contact

    I am trying to figure out how to hook an event into the new contact form. The scenario is a user clicks create new contact. They enter the name in the name field and tab or click away. I want my event to be called so I can check the name against our CRM system. Is this possible I've figured out a way to get signaled in VBA (on the contact form itself), but all the code that communicates to my CRM is in .NET (through VSTO). Is this possible Thanks!  I actually figured out something right after I posted it.   I did the same exact thing.  The only problem is since you have a application variable as objContact that is set on the NewInspector event, a user could open a se ...Show All

©2008 Software Development Network