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

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

mspinder

Member List

Chris Honcoop
codekaizen
darthziv
Lars E.Nes
IGiberson
jatdex
TalhaAziz
bonskijr
Dick Campbell
nmirhan
Steve98796
james_cline_
TomZz
Ronny Lewandowski
Jandost Khoso
ItsMe!!!
bluedash
SomeGuyOnAComputer
mor911
viveque
Only Title

mspinder's Q&A profile

  • Windows Forms Appending Rows to Datagrid

    Hai i want to append rows to datagrid. I am using dataset as the datasource of datagrid. But when i set the datasource as dataset ..only the new rows are displayed ..existing rows are removed I want to see the added rows plus the new rows ..how is it possible Thanks Ratheesh how are you adding the new rows in the dataset usually you would do this: object[] theNewRows = new object[] { " field1Value" , " Field2Value " }; theDataSet.Tables[0].Rows.Add(theNewRows); this.theDataGrid.DataSource = theDataSet.Tables[0].DefaultView; does this not work for you ...Show All

  • Visual C# accessing custom entity objects throughtout the project

    Hi, When we define a ProductEntity class for example. If I want to use the class object myProduct in a form1 and form2 and access the properties from different forms. Let s say, first I load an mdi form  mymdiForm, then I click a button that loads form1 and in form1 i click a button that loads form2 and so on.. My concern: 1- where do I instatiate myProduct object. In the mdi, or in form1 or in form2 knowing that myProduct  properties are assigned from controls located in the form form2. Also I want to make sure that I can access those properties in the mdi and form1 forms and all the project Do I declare myProduct  as public or friend or what Also how can I access the object myProduct  and ...Show All

  • Visual Basic Help on Access Databases using VB2005

    I am a new user to VB, and need to get started using databases. I am capable of connecting to databases using bound controls to forms, but need to be able to programmatically connect to a Access database, add, edit delete, and close the database. Most examples I found referes to SQL databases. Could anyone provide me with links or samples to connect to a Access database, running a query, retrieving a dataset, then add,edit and delete records, and close. Specially Error Handling, is always a great concern. Thanks Sure. Well in a sense its the same but more specifically....you need to read about the OleDbCommand: http://msdn2.microsoft.com/en-us/library/system.data.oledb.oledbcommand.aspx ...Show All

  • Visual Studio 2008 (Pre-release) NetTcp with RM not being kept alive

    Hello all, I have been trying to get a client/server channel in WCF that is kept alive even when inactive. Basically, I want to have a pool of connections open that will be shared on my application. I have written some sample code that looks like the following: Service: [ServiceContract(SessionMode = SessionMode.Allowed, Namespace = " http://tempuri.org/Services/IServiceContract ")] public interface IServiceContract { [OperationContract] string DoSomething(string arg); } [ServiceBehavior(Namespace=" http://tempuri.org/Services/ServiceImplementation ")] public class ServiceImplementation : IServiceContract { #region IServiceContract Members public string DoSomething(string arg) { return str ...Show All

  • .NET Development XML is not visible in Internet Explorer 7

    XML documents are not visible when I try to open them with Internet Explorer on my desktop. The same documents are visible in Internet Explorer on my laptop. Why would XML documents be visible on one copy of Internet Explorer and not another. Netscape and Mozilla will open XML documents on my desktop. At this point I'm relegated with using Mozilla to work with and view XML documents when I'm working on my desktop. Mozilla is not my first choice of browsers, but it's the only workaround at my disposal at this point. I've checked the XML settings in Internet Explorer and they seem to be fine. Windows XP shouldn't be the problem, but there is probably some setting in the registry that needs to be changed. Does anyone have a suggestion ...Show All

  • Visual Studio Visual Studio 2005 Beta 2 Uninstall error.

    I am receiving the following message when I try to uninstall VS 2005 Beta 2 Setup is unable to determine a valid ordering for the installation.  See the error log for further details. Has anyone else received this message   And where is the error log located that is supposed to contain "further details". Thanks. Yes, what a piece of c r a p.  It's broken everywhere. Some one has a solution   Help!!!!!!!!!!!!!!!!!!!!!! Here is the tail of the error log 2/17/2006 17:47:16] <3144> Running action [2/17/2006 17:47:16] <3144> Running RegDeleteKey action [2/17/2006 17:47:16] <3144> Recursively deleting 50215 key from Software\Microsoft\.NETFramework\policy\v2.0 [2/1 ...Show All

  • Visual Studio Team System Still Performance Problems

    Hi, after solving most of the performance problems in CTP5-Refresh and CTP-6 I still got performance problems when I change some central views. Example: I have one view Patient_View which is used in let’s say 100 other views. If I now change the PATIENT_View it takes about 3 hours at 100% CPU to actualize (or whatever) the database or the project. I think it is the same problem we had in CTP-3,4 when loading the project alone took this long. Can you please do some optimizations on this dependency check, recompile code because this is a showstopper to us if we have to wait 3 hours just because we changed some central Views. Sometimes when it takes so long we also get the error message "Failed to retrieve msbuild property DB ...Show All

  • Visual C++ Active X Control, DLL, Active X exe for API-like interface?

    I am maintaining an existing console application (VC++ 6.0) that provides our users a DOS based, command line interface to query our financial database for information. This utility uses a Unix like syntax to allow the user's to specify their input parameters. For example: c:\myapp\myapp -s10/31/2006 -e11/3/2006 -vPrice -tIBM >myoutputfile.csv would be the command line that would instruct the application to return the stock price (-vPrice) for IBM (-tIBM) for the dates 10/31/2006 thru 11/3/2006 (-s10/31/2006 -e11/3/2006) and redirect the output into a file called myoutputfile.csv. I would now like to provide a programmatic interface to this application via a DLL, an ActiveX Exe or an ActiveX Control so that some of our more tec ...Show All

  • Software Development for Windows Vista wf.Parameters

    I saw many place there is code like wf.Parameters[ "Parameter1" ].Value = 1; But,when I added this code to my program, I got a compile error said Parameters is not the member of wf. How can I do to solve it or is this not available in my WWF version I'm using WWF beta 2.0. After beta 1 - there is not longer a Parameters collection on Activities (workflows) - now any public property can be set as a parameter - you create a Dictionary and pass that data to CreateWorfklow Dictionary<string,object> params = new Dictionary<string,object>(); params.Add("Parameter1",1);//assumes a public property named Parameter1 on your workflow type WorkflowInstance w ...Show All

  • Visual Basic Timer: Elapsed event doesn't trigger

    I've started learning vb.net and created a custom timer class. The problem is that the elapsed event doesn't trigger. Can anybody tell me why this is the case   Option Strict On Public Class Form1     Dim WithEvents MyTimer As CustomTimer     Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load         MyTimer = New CustomTimer()     End Sub     Private Sub btnStart_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnStart.Click         MyTimer.HourLeft = Convert.ToInt32(TimePicker.Value.Hour)    & ...Show All

  • Visual Studio 2008 (Pre-release) Custom Message class vs Message Contract

    Hi, Having looked around on the web and at the online docs, I'm still a little confused about when to define a class marked as a message contract and when to derive from the abstract Message class to create a custom implementation. What's the difference between the two I have a set of headers that I wish to carry in the SOAP header in a message but also want to provide some helper classes to auto-populate, for example, the header for a reply message based on a request message. Sorry for the dumb question, but if anyone can enlighten me I'd appreciate it. Cheers Paul Hi, Take a look at this article: Designing Service Contracts with WCF by Michele Bustamante. Although it was written a lon ...Show All

  • Visual Studio 2008 (Pre-release) Does "System.Windows.Controls.Label" support text wrapping?

    Long text will be clipped by label bounds. But i need text wrapping functionality like in TextBox control: TextBox textBox; textBox.TextWrapping = TextWrapping .Wrap; Actually, you can set TextBlock as Label's Content, so you can get text wrapping support on Label: <Label xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> <TextBlock TextWrapping="Wrap" FontSize="46">Long Text Comes Here!</TextBlock> </Label> Sheva ...Show All

  • .NET Development SQL my final Straw

    I am having a bad time with a join, what I am trying to do is get the details of a customer into a data grid. The problem is that the on info available is a booking ID which is linked to the customer table. "SELECT tblCustomer.[customerID], tblCustomer.[firstname], tblCustomer.[surname] FROM tblCustomer WHERE tblBooking.[bookingID] =" & bookingref, myConnection) This is what I have so far. Please any help you may be able to give I would be great full for. Kind Regards Graham Field which you put in the where clause, should also appear in the FROM clause. So you should at least mention the tblBooking in the FROM clause. There are 2 ways af making a join between 2 tables. Select * from table1, table2 where table1.ID = tab ...Show All

  • SharePoint Products and Technologies Infopath xsd and sharepoint workflow serialization problem

    I have a simple form that I am using for Association in my workflow. The form works fine and I can associate my workflow to the document library. The problem comes in when I try to use the form data in my workflow. I am using the following code to import the form data into the AssociationData class. I exported the form code, ran "xsd.exe /c /l:vb mychema.xsd" which generated the appropriate class. I am using the following code to generate my class from the form data (extra lines removed for readability): Public Class PurchaseReqWorkflow Public workflowProperties As SPWorkflowActivationProperties = New Microsoft.SharePoint.Workflow.SPWorkflowActivationProperties Public assocData As New AssociationData() Private Sub codeA ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Unable to share a windows game - Followed the instructions on the manual

    Okay, so I finished my first game using XNA Game Studio Express, it has been only a few days since I installed it, and it has been quite easy, having experience at making games. Now, I want to show this game to my friends, so I send it to a couple of them (both of them have XNA Game Studio Express installed), and it works great. Now I want to show it to some other friends, these who do not know what making games is about, these who do not have XNA Game Studio Express. I ensure they follow these instructions, from the manual: Sharing a Windows game On Windows you need to distribute your game executable and any content required by your game. In addition you need to ensure that the user has the following redistributables installed ...Show All

©2008 Software Development Network