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

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

Straw

Member List

blaise
Scott Hodgin
DragonsBlade
akinbahri
jayneag
wha
Benet Devereux
GauravBJain
cosmopoet
Behnam
Samridhi
JamieB
Flatscher Markus
Gabriela70026
myaspng1
adam11235
Benbun
thea.umali
Jarrod M.
poindexter
Only Title

Straw's Q&A profile

  • Microsoft ISV Community Center Forums Form Requery

    I have a command button on a form to create new records for the data shown on the form. When the code finished I want the form to have the new record available. I have this code at the end of the button code: Forms("frmDocumentDetail").Requery It does not work. The records do not update unless I exit the form or do something like hit the sort records button. TimD OK, that worked. Thank you. I really appreciate the time you have put into this. Now... When I went to execute the New Record a second time I got an error. I was closing the New Record form. I changed it to Me.Visable =False, but when I c ...Show All

  • SQL Server warning- not sure if I need to worry

    Hi, I got the following warning when I tried to run the package which has 1 data flow task with multiple ole db source and destination connections to load the tables. I am not sure what the warning meant and do I need to worry about it. [DTS.Pipeline] Warning: A call to the ProcessInput method for input 3758 on component  unexpectedly kept a reference to the buffer it was passed. The refcount on that buffer was 1 before the call, and 2 after the call returned. Thanks, Nope. that was the same kind of error that I got for 4 different tables except the component input number was different. I will try to ru ...Show All

  • .NET Development Authentication Failed - SMTP Email

    Hello, We are in the process of converting a VB6 project to .NET using VS2005. The problem is with sending the email. The error I am getting is the following: System.Net.Mail.SmtpException: Syntax error, command unrecognized. The server response was: 5.7.0 Authentication failed    at DCTEmail.Email.SendMail()    at CustAdmin.frmEmail.btnSend_Click(Object sender, EventArgs e) in E:\SaberTooth.V4\SaberTooth\SaberTooth\Forms\System\frmEmail.vb:line 67 My code snippet looks as follows: Try      Dim Message As New MailMessage(SentFrom, SendTo, Subject, Body)      Mes ...Show All

  • Windows Forms DataGridView vs DataGrid

    Hi I'm struggeling to manipulate the columns of the DataGridView when bound to a dataset. I've used ' DataGridViewCellStyle' to set some properties, but I also need to hide some columns on the grid (ID's etc.). The various MSDN samples uses dataGridView.Columns(0).Name = "Recipe" dataGridView.Columns(0).Frozen = True but this only works when you add the columns in code (i.e. unbound DataGridView) Any ideas Hi, found that dataGridView.Columns(0).Name = "Recipe" dataGridView.Columns(0).Frozen = True can only be done AFTER the form has loaded when the dataGridView is bounded to a Dataset. Not so n ...Show All

  • Visual Studio 2008 (Pre-release) Programmatically Creating a Binding to XML and a DataTemplate

    Hello, If you have a DataTemplate thus, <DataTemplate x:Key="DT"> <TextBlock /> </DataTemplate> and an XML document; for instance, <People> <Person> <Name>Bob</Name> </Person> </People> How can you create a Binding between the XML and DataTemplate in C# XmlDocument xml = // ... as above ... Binding b = new Binding(); b.Source = ; b.XPath = ; DataTemplate dt = (DataTemplate)FindResource("DT"); dt.VisualTree.SetBinding(TextBlock.TextProperty, b); such that the TextBlock's Text property display's the Name element Eg, Bob. (I can do this purley in ...Show All

  • Visual Basic Raise Event in container class from object in container

    I have a custom container and I also have a problem. I want to be able to raise events when methods of the objects inside the container do things and be able to handle the events. I can handle events from the container class because the main program has a reference to that object and I can use this, Private WithEvents myContainer As Container But inside the container class I never have a declaration of any kind so I cant use WithEvents or have a method that uses the Handles clause. I implement the container using an array so I do have this, Private myArray() As Object But WithEvents variables cannot be typed as arrays!! Is there something I ...Show All

  • Software Development for Windows Vista DelayActivity with presistance

    hello, I've a delay activity that fire every 3 seconds but the problem is once the workflow goes idle i presist it and then nothing happend and the timer is gone is there's any solution for this problem specially that i always read that the timertrackingservice within the workflow run out of the box Regards, Tamer You can set the loading interval on the SQL persistence service to indicate how often it should check for expired timers. The default is two minutes, so you will be waiting for a little while. You can set this property directly on the persistence service or pass it as a parameter to the c ...Show All

  • Visual Studio Team System Reverse Engineer and Sequence Diagram

    Exist a way to generate from Visual Studio .Net 2005 Sequence Diagram with Visio for Entreprise for Arhitects, and if no exist any add-on for Visual Studio .Net 2005 to do this Thanks Unfortunately Visio Enterprise Architect does not support reverse engineering sequence diagrams from code. Ian Bavey Software Development Engineer Visual Studio Team Edition for Software Architects ...Show All

  • SQL Server Discard Rows in a flat file

    Say I have a flat file with the form FHRxxxxxxxxxxxxxxxxxxxxx SHR1xxxxxxxxxxxxxxxxxxxx DataRow DataRow STR1xxxxxxxxxxxxxxxxxxxx SHR2xxxxxxxxxxxxxxxxxxxx DataRow DataRow DataRow STR2xxxxxxxxxxxxxxxxxxxx FTRxxxxxxxxxxxxxxxxxxxxx Where FHR=File Header, SHR=Section Header, STR=Section Trailer & FTR=File Trailer How can I discard all the header and trailer rows I have the manager defined as ragged right and have defined the fixed length columns. I know I can tell the flat file connection manager to discard n header records. I can also tell it to redirect rows which are truncated to "nowhere" but some headers & trailers still get through ...Show All

  • Software Development for Windows Vista role of .net framework in windows vista

    i would like clarification for how deep the integration between .net framework and vista is. this site claims that vista is built using native code and has nothing to do with .net : http://www.grimes.demon.co.uk/dotnet/vistaAndDotnet.htm please clarify the role of .net in vista I think Richard clearly answers your question, right The framework is a set of tools to enable to build and run managed applications to run in top of Vista, just like it's running in top of Windows98, XP, W2K, W2K3.   Willy. < connect2sandeep@discussions.microsoft.com > wrote in message news:ff72 ...Show All

  • Visual C++ Header File Inclusion problem?

    Hi guys, Please take a look at this code. I have some problems, This is not the real code, but a sample. /************************************************/ //File:   SomeObject.h class CSomeObject:public CObject {       //.....code goes here } //End File //File:   SomeObject.cpp #include "someobject.h" CSomeObject::CSomeObject() {       //.....code goes here. } //End file /************************************************/ /************************************************/ //File:     UsingSomeObject.h class CUsingSomeO ...Show All

  • Windows Forms How to improve Listbox performance in ADO.NET 2.0?

    I have a bunch of listboxes on my windows forms with a couple of thousand records in each one of them. It takes almost about a minute to load a form in .NET 1.1 We are migrating the application to .NET 2.0 and was wondering if there is any way to improve the performance in ADO.NET 2.0 so that the listboxes are loaded faster in .NET 2.0 I tried running speed test as per: http://msdn.microsoft.com/msdnmag/issues/05/11/DataPoints/default.aspx fig=true#fig6 and was really satisfied with the promising results. Please let me know if you have general tips / suggestions to improve performance of ADO.NET Windows Forms Application in g ...Show All

  • SQL Server Report performance issues

    I currently have a report that is taking about 30 minutes to generate. It's displaying about 5000 rows in total, but all the data processing is done on the server and is being retrieved from a stored procedure in a single dataset, with no complex processing being done by the report. If I call the stored procedure directly, it returns the data in < 1 minute. The report is applying various cell formatting (I'm using a coded function to retrieve formatting from a stylesheet which hasn't proved problematic so far) and has several levels of grouping in a single table with sub-totals for each group level and an overall table total. There's a ...Show All

  • Microsoft ISV Community Center Forums Left Joins with Multiple Conditions in VBA

    Hello, I am trying to run a query in Excel VBA. The query has a left join with a two conditions -- every time I run it excel crashes. If I remove the brackets enclosing the two conditions, the query fails. The query itself is correct because if I run it directly in Oracle it works. Also I can run it thru excel via Date->Import External Data but not thru VBA. Also if I restrict myself to one condition instead of two it works thru VBA. Any one have any insights into what the problem could be Or any proposed workaround... Thanks in advance. Saleem Dim db As Database Set db = OpenDatabase("", dbDriverPrompt, False, "ODBC;DSN=FM;") Query = " ...Show All

  • Visual C++ Is it Possible ?

    to jump to VC7 without learning VC6 or its just a compiler difference I would suggest that if you want to learn Visual C++ that you take a look at the new Visual C++ 2005 Express Edition: http://msdn.microsoft.com/vstudio/express/ ...Show All

©2008 Software Development Network