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

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

en

Member List

Shawn O
Breezy-WA
MarkLuo
billqu
Quicker
modtran
_John Reynolds_
G Unot!
J Gilmore
maui_desu
MrBobo
Benjamin Prieto
Muntaser
IceStationZebra
Meyyur
Jacky Zhou
dikum72
Wayne Peterson
carrics3
warelock
Only Title

en's Q&A profile

  • Visual Studio Team System Shared auto-generated stub file in Source Control?

    We have a solution which contains a web service project and multiple client projects.  Rather than using a Web Reference generated by VS2005 we use wsdl.exe to generate the .vb file, then there are some manual modifications we make to that file.  We stick that stub file into a DLL project so it can be shared by the different clients. We have shared checkout for .vb files turned off in our Source Control to make life easier for our dev's.  The web service is split up into multiple .vb files, and multiple dev's may be working on different .vb files at the same time.  Since multiple dev's will be working on the web servic ...Show All

  • Windows Forms Let's kill a PDF!!!

    Hey guys, I was wondering if anyone has any experience printing an adobe pdf file programmatically, and then killing it so that the process doesn't stay open after the application ends. My problem is that I think I'm killing the process too quickly before it has a chance to spool the information to the printer. If anyone has any advice or experien ...Show All

  • Windows Forms FillWeight and binding (DataGridView)

    Is there any way to set the FillWeight property of a column in a DataGridView to 0 instead of its default 100 at the time of binding   The reason is I have a DataTable in a DataSet with an unusually large number of columns that I'm trying to bind to a DataGridView.  I'm getting the error message: InvalidOperationException:  Sum of the columns' FillWeight values cannot exceed 65535. This is happening on the .DataSource assignment. Because the FillWeight property is by default set to 100.0 for each column, this limits me to binding to a DataTable of no more than 655 columns.  This is unacceptable for my needs. I ...Show All

  • SQL Server cursor best practice

    Please suggest any best practice for using cursor in stored procedure and trigger, thanks! You should actually avoid cursors as far as possible. If there is a set-based logic that can solve the problem then you should use it instead of cursor based logic. Cursors are procedural in nature and not performant as such. There are however certain tasks that are simplified using cursors like looping through each table to run update stats and so on. So it depends. ...Show All

  • SQL Server Replication from Sybase 12.5 to SQL Server 2000

    Hello all, Does anyone know if this is possible If so, where would be a good place to start looking Thank you Chris ...Show All

  • SQL Server SQLSERVER 2005- JDBC, IntegratedAuthentication mode is not enabled

    Hi When I try to connect to my SQL 2005 database I keep getting the message: IntegratedAuthentication mode is not enabled. Here is my URL:    JDBCDriver=com.microsoft.sqlserver.jdbc.SQLServerDriver    JDBCConnectionURL=jdbc:sqlserver://mobal01c:1433;databaseName=mdb;integratedSecurity=true My SQLServer 2005  GA is set to Windows Only Authentication Mode, also I am using the Beta 2 JDBC driver. Thanks Ali But the release notes for the Beta 2 JDBC driver say it is supported. From the download page: What's New in the Beta The SQL Server 2005 JDBC Driver Beta 2 includes: ? Support fo ...Show All

  • Visual C# Abort a Thread

    hello, i have a problem that i really dont understand !!,, i cant abort a thread, my app get frozen... i have this function: socket is my Socket tcpListeer is a TcpListener listening is a bool listen is a Thread private void StartListening() { socket = null ; tcpListener = null ; tcpListener = new TcpListener(IPAddress.Any, port); try { tcpListener.Start(); listening = true ; lblConnection.Text = "Esperando Conexion en puerto " + port; btnListen.Text = "Cancelar"; //Here i wait for a connection and this can take long socket = tcpLi ...Show All

  • Visual C++ System.InvalidOperationException

    Hello NG do enyone now how can i update a Form during the runtime some code: ...loud() devForm^ devF = gcnew devForm(); devF->TopLevel = false ; this ->tabPageDEVControl->Controls->Add(devF); devF->Show(); end loud Online() ... //starting a timer timer... .... UpdateForm()... //Here become i a Exception this->devF->ShowData( myString); You are using multiple threads. As the message states, that exception is thrown when you access a control on a thread other than the one that created it. Have a look at the following post for information on how to avoid this: http://forums.microsoft.com/msdn/ShowPost.aspx ...Show All

  • Visual Studio Express Editions .NET Framework 2.0 Beta 2 won't install

    The Visual Studio Express install fails when installing Framework 2.0 Does Framework 1.1 need to be uninstalled   No other beta or Visual Studio software has been loaded on the PC before...any ideas Anyone had something similar happen Thanks, Ron Thanks for your reply. I used "iisreset /stop" from the command line and the installation progressed satisfactorily. For those who like working with a minimalist development environment there is a version of Jeff Key's excellent Snippet Compiler available for C# 2005. ...Show All

  • .NET Development NullReferenceException when calling PerformanceCounterCategory.Exists(categoryName)

    I am experiencing an odd error in one of my applications where I randomly seem to see NullReferenceExceptions when I call PerformanceCounterCategory.Exists() with a non-null category name.  I am working with version 1.1 of the .NET framework. I have verified that passing a null or empty category name would generate a different exception, so I am pretty certain that the problem is NOT that a "bad" parameter is being passed to this method. Has anyone seen this behavior previously and have any idea what might be causing this exception   I have multiple copies of this application running, and they are each updating counters in ...Show All

  • Visual Studio Express Editions Best Way to Handle Multiple Widget Types

    Hi, Here is my problem: My application handles multiple types of widgets e.g. a blue wudget, a red widget, a green widget etc Each widget has some different properties that are unique to that widget and no other widget has them e.g. a blue one has hieght, a red one has weight etc Now I want to build a form to edit widgets. Clearly as each widget has some unique attributes I cannot use one form (as there will be redundant fields on the form and it will look baaaad). So the question is how do I achieve this Do I create a single base widget form class and then derive a new for for each widget from that i.e. have m ...Show All

  • .NET Development Convering ASP to C#.net

    <%             Response.Buffer = True             Dim objXMLHTTP, xml             Dim strXML             strXML = "<ACTION><AUTH><ORDER-ID>simple_test_auth1</ORDER-ID><AMOUNT><SUM>1.51</SUM><CURRENCY>USD</CURRENCY></AMOUNT><CUSTOMER><FIRSTNAME>Anders</FIRSTNAME><LASTNAME>Andersen</LASTNAME><EMAIL>aa@nn.ne< ...Show All

  • Software Development for Windows Vista Link for Changes comparision from beta1 to beat2

    Is there any link which tells the changes happened in beat2 to compare from beat1. You can find a link to the upgrade document on Paul Andrew's blog at http://blogs.msdn.com/pandrew/archive/2006/01/19/UpgradeWFBeta2.aspx ...Show All

  • Visual Studio Datasource ReportView

    Hi! I want to set a DataSource for my LocalReport. There was no error shown after compling but the ReportViewControll: "The Source of the ReportView wasn't defined" objDataAdapter = New OleDb.OleDbDataAdapter(connstring, objConnection) ds = New DataSet objDataAdapter.Fill(ds) ds.DataSetName = "Aufenthalt_ds" Me.DataGridView1.DataSource = ds.Tables(0) 'The Dataset is accurate because the Grid have Data in it. Me.ReportViewer1.LocalReport.DataSources.Add(New ReportDataSource("Aufenthalt_ds", ds.Tables(0))) Do I have to use a BindingSource maybe Regards Tim Mischkin ...Show All

  • Visual Studio 2008 (Pre-release) About WCF Security

    I have a couple of WCF Services that a client is going to use. When the users login on the client i want to authenticate them using a authentication service that recieves the username and password. The authentication service compares the credentials to a userrow in a database. After the client it authenticated i want the user to be authenticated to all my services. My requiered scenario assumes that i get some kind of "object" as a result from my authentication service. I will pass this "object" to my services when i call them. My services then trust this "object" and look at it when authorizing the call. ...Show All

©2008 Software Development Network