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

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

Ransome

Member List

Mark Benningfield
Weston Williams
Rik Dodsworth
Cuinio
Stckmn3
ChrisCo
ambe
Chuck Catron
Ying06
Bhavtosh
DonOfMcLean
Michiel_999
duck16
donkaiser
regthesk8r
nbrowne1
David Mc Dermid
Kennon2005
BlackCatBone
bohiti
Only Title

Ransome's Q&A profile

  • Visual Basic visual basic performance vs vb6

    I developped a project to solve sudoku puzzles using visual basic 6. I upgraded to 2005. vb6 solves a puzzle in 0.26 second. For the same puzzle Vb 2005 needs more then 6 seconds!!! Is there any reason to explain the loss of performance in the new release Thanks. Gabriele how are you measuring this time The vb6 exe will be a native exe, whereas vb.net will need to be jit-compiled. Theres more info on this, and a description of a utility that can help reduce this @ http://www.codeguru.com/Csharp/.NET/net_general/toolsand3rdparty/article.php/c4651 .I'd also suggest that you run your activity a number of times (e.g. get it to solve 100 sudoku's in one go), to get a better comparison, In addition, if you u ...Show All

  • .NET Development Webservice problems.

    Hello. I am desperately trying to send data from a client application to a webserver via a webservice. Apparently I cannot pass an object class as a parameter, so have decided to use a dataset. When I run the code, I get the following error at this line in Reference.vb: Dim results() As Object = Me .Invoke("SendSpecs", New Object () {serial}) An unhandled exception of type 'System.Web.Services.Protocols.SoapException' occurred in system.web.services.dll Additional information: Server was unable to process request. --> Object reference not set to an instance of an object. This occurs even when I simply request a dataset from the webservice. Here is the code for my webservice. <WebMethod()> Public Function ...Show All

  • SQL Server UDF returning a recordset

    Not sure if this discussion belongs here, but I couldn't find anywhere else to post this. I have inherited a process that is called from an ASP.net site that runs a query who's from table is a UDF returning a recordset. The question I have is, if the underlying tables in the UDF are properly indexed, will the calling query utilize those indexes, or will the process ignore them I have indexes set for those tables, but when the query is executed and the results are a few hundred records, it comes up quickly, but if the recordset is over 1000 records it is noticably slower and if over 10,000 records it is exponentially slower. Can indexes be put on a UDF (I pretty much already know the answer, but I have to ask) ...Show All

  • Visual C# is there a readline library available for c#?

    Hi, For a java project once upon a time I used a version of gnu readline ( http://tiswww.tis.case.edu/~chet/readline/rltop.html) to help with console input. It was very handy as it allowed the user to edit command lines as typed in, use tab completion, use the up arrow to repeat the previous command, etc. Is there anything similar for c# I'm running on the .net 1.1 framework. Thanks, Beth All I was able to find is the Mono-Readline project: http://mono-readline.sourceforge.net/ However, that page hasn't been updated in quite some time and it's possible it only works with Mono, anyway. So, no, there doesn't seem to be a useful C# wrapper for readline. On the other hand, you may be able ...Show All

  • Visual Studio Tools for Office Download Prerequisites for VS Installer

    I created an Outlook Add-in and it works on my machine because I have all the prerequisites installed but I can't figure out how to add them to my install project. On the prerequisites for the install file it does not list the prerequisites that I need to add. I followed all of the steps in this article ( http://msdn2.microsoft.com/en-us/library/aa537179(office.11).aspx ) and it does works for my machine but not others. In the article it says I need to select Microsoft Office 2003 Primary Interop Assemblies and Microsoft Visual Studio 2005 Tools for Office Runtime but they are not available in my list of prerequisites. Does anyone know where I can download them so they show up in my list of prerequisites I couldn't quite figure out what ...Show All

  • SQL Server Transactional Replication - Undistributed commands

    Hello, I have a publisher set up to transactionally replicate just one table which has about 19000 rows. The snapshot agent finished and everything was OK the first day. Now (day 2) the replication monitor estimates that latency to the subscriber = 10 hours and undistributed commands>600,000 and growing each minute. How could this be when data is only inserted into this table and it has <20,000 records Please advise...thanks! Some things I'd look at for a clue: 1) What kind of errors do you see in the SQL log or in the application log that might be causing this 2) Is the subscriber on a different server Have any permission changes occurred with that server 3) Do you see anything that m ...Show All

  • Visual Studio Express Editions 50% CPU usage when idling

    Hi, My VB program mystyriously consumes about 50% of the CPU power when idling. Is it possible to find out what the CPU is doing and where it spends the time How do you do that Any advice is appreciated. Regards, Daniel Is this in the development environment (IDE), or the compiled and release version of the executable I've noticed relatively high CPU Usage in the IDE, but the compiled version there's very little. ...Show All

  • SharePoint Products and Technologies MOSS 2007 render mht documents

    I've created a document library with a custom content type of Document. When I create a new document it opens Word and I'm able to create a new document of type mht. This is nice because it will render the document as a web page instead of opening Word to view the document. My question is, can I show the navigation when I display the mht page. Currently when I click on the document in SharePoint it displays the document in the browser with out any navigation. So the user will have to use the back button to get back to the site. ...Show All

  • SharePoint Products and Technologies Worklow association to Content Type by CODE

    I am facing with a problem when I tried to associate a workflow to a Content Type through code. I want to create a Content Type that has a workflow associated to it. Later on when users can add this Content Type to their libraries, the document inside libraries can initate this workflow. I have done all the SPWorkflowAssociation bit and have done the ContentType.AddWorkflowAssociat ion(association) stuff. Everything seems to be working ok. I then added the Content Type to a newly created Document Library. And then I newed a document with that Content Type, the document item has a Workflows button (from the pull down menu)--this leads me to think that the Workflow has been successfully associated to the Content Type. But when I ...Show All

  • Visual Studio Team System BUG?: Source control explorer/checkin asks to save/checkout inappropriate file

    I have a solution loaded that I may have (or may not have made changes to the solution file) - (It didn't ask me to checkout before now... so I don't think I did). I went to source control explorer and checked out a word doc that was not in the solution. I edited it and went to checkin, both from the SCE and the pending checkins window it asks me if I want to save the solution file and gives me Yes, No, Cancel. If I say Yes, it asks me to checkout (which I don't want/need to do and should not be required since the file is unrelated.) If I answer No it doesn't save and doesn't checkin. If I answer cancel it doesn't do anything either. This seems like a significant issue as due to the integration in the IDE I can't work on i ...Show All

  • .NET Development insert row into table with autoincrement primary key

    I have a table in a dataset with a column being autoincrement and primary key. My question is: How do i insert rows into this table been using DataRow Row = Table.NewRow(); and then setting fields and Table.Rows.Add(Row); But if i don't set a value for the id column it won't let me insert the row. Shouldn't the id column be updated automatically Hi, To avoid this mishaps, you must get the newly generated ID of the table after the insert statement. Use @@IDENTITY or ident_current('tablename') to do that. After getting the new ID set it to your datatable. cheers, Paul June A. Domag ...Show All

  • Visual Studio Team System Unable to connect to workitemstore after windows update

    Hi! We have a web service which are inserting work items to the tfs work item store. After windows update ran on Wednesday I get the following exception when trying to connect: Cannot complete the operation. An unexpected error occurred. at Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.HandleComException(Int32 hr) at Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.DatastoreClass.ConnectEx(String connectionString, Int32 hCredentials, String defaultCachePath, String instanceId, String userSamName, String userFriendlyName, String userSid) at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.InitializeInternal() at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.Microsoft.TeamFoundation ...Show All

  • Visual Studio new features in 2005

    hi im a new user can anybody tell me that what are the new features in VSS 2005 that were not previously in vss 6 , specifically the functional features . http://msdn2.microsoft.com/en-us/library/th1ac915(VS.80).aspx I've also seen this mentioned to: Database format is not changed between VSS6.0 and VSS2005, so older clients can access databases created with VSS2005. LAN Booster and HTTP web services cannot be accessed by older clients (and in fact they are only used from VisualStudio when VSS2005 is used as client). Hope that helps. ...Show All

  • Visual Studio Express Editions What Code Behind Access Forms?

    Greetings again, Sorry if this is the wrong place to post this. I'm working with Access 97 and the VB code behind a form is not .Net. Trying to write is a struggle for me for I'm not familiar with older versions of VB. Can you tell me if newer versions of Access use .Net as the code behind a form If available, which version of Access started using .Net Many Thanks ...Show All

  • Visual C# textbox issues

    Hello. I got a little program that requires a user to enter in a charicter name. Using an if statement, I got it so the user cannot just simply press the accept button and bypass entering something. The problem is that I found out that I can just simply put in a space of two and my whole if idea gets bypassed. I though about using the validating feature, but I beleave that would force me to have the user enter a name that is X charicters long and contains no spaces. Is there a way to force the user to enter something in other than just spaces works but I get one undesired result. When I press the accept button (button1), it still closes the form and opens the next form. Here's what I have: private void button1_Click( obje ...Show All

©2008 Software Development Network