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

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

torque_sherry

Member List

fanse
Damann
Vicé
AliceSee
Ti133700N
kicke_
Ingwanjawa
Jakob Ehn
Alexander Lowe
Nathan Kerr
LubosSykora
Andre_B
Rpotthoff
Jason Brower
Magic Hat 9
Wommat
ehuanghai
Four Score Technologies
朵朵
John Morales
Only Title

torque_sherry's Q&A profile

  • .NET Development How to lock up a file

    I am writing some C# code which processes a set of files in a source directory and then moves the files to a destination directory. The code must be able to handle a situation in which one of the files might become locked while the files are being processed. I am not concerned at this point with how to handle the exception when a particular file is locked. What I need to know is how can I lock up the file You see, I must test my code against a file that is locked up. I tried locking up a file by selecting it, and then right clicking on the file and selecting rename. I also tried opening the file for edit. Neither of these two methods will ...Show All

  • Visual Basic Calling Fortran routines from Visual Basic

    Hi there! I would like to know if there's some way to succesfully mix Fortran-Visual Basic codes. I've already followed some examples included in Fortran manual but had no results at all. I always get an error message that says: "cannot find insertion point in dll ". Can someone help me with this issue Thanks! A VB dll is not a common dll at all. It's entry points are available via .NET, and perhaps COM, if you create a COM object with it. There is a Fortan.NET ( very expensive ) which would solve your issue. otherwise, I'm not sure what else to suggest, unless Fortran can talk to COM. ...Show All

  • Visual Studio End-to-end samples and updated customization guide available

    We now have samples available for the November CTP .  The samples illustrate the use of the new validation and deployment features together with a variety of advanced features of the DSL Tools, and are accompanied by detailed guides. They include: 1. A new End-to-End sample showing how to use a DSL to generate much of the code within a project, and how to deploy it to your colleagues.  The sample generates code for a wizard, the sequence of pages being defined in a DSL. The accompanying guide explains the scenario in which a DSL author creates the wizard-sequence DSL, and the framework that generates wizards from it. S/he dep ...Show All

  • Windows Forms Error initializing form containing button with image

    When I set the image field of a button on my form, I get the following error when my form is initializing. A first chance exception of type 'System.Resources.MissingManifestResourceException' occurred in mscorlib.dll Additional information: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly.  Make sure "Form1.resources" was correctly embedded or linked into assembly "test2". baseName: Form1  locationInfo: test2.Form1  resource file name: Form1.resources  assembly: test2, Version=1.0.2162.17278, Culture=neutral, PublicKeyToken=null The statemen ...Show All

  • SQL Server Upgrade issues from RS2000 to RS2005

    Is anyone aware of any upgrade issues moving from RS2000 to RS2005 My situation is that I am using RS2000 against a remote SQL Server (also 2000). The RS server is using SSL and also has Sharepoint installed and it all runs under Win2K3 server OS. Due to other issues, I am not wanting to upgrade the DB Server to 2005 at this time, just RS, to take advantage of the new features (such as the cube reporting enhancements). Should I be concerned about any particular issues Any problems continuing to house the RS db's in SQL Server 2000 Should I just be able to run the SQL CTP install on the RS server Thanks! ...Show All

  • Visual Studio Team System Install issues with 2005 developer edition ctp

    Hi,    I am trying to install the SQL Server 2005 Developer Edition CTP that came along with the VS2005 Beta 2 Team Foundation Server.    I am not able to install the software. Setup always exits with this message. "--------------------------- Windows XP Setup --------------------------- Please go to the Control Panel to install and configure system components. --------------------------- OK   --------------------------- "    Please help! Thanks abdullah If it asks you to provide a strong password use a batch file to run setup.exe EX: create setup.bat with the following ...Show All

  • SQL Server SQL Server 2005 Express remote access?

    I am currently using a Microsoft Access (MDB) for my application. But I am looking at allowing other users on the network access the same database -- I know a Microsoft Access database is not the best solutuon for this enviroment. I'd like to use SQL Server 2005 Express in this case. I am very fimilular with SQL Server 2000 Std/Ent editions. My question is, can I use the free SQL Server 2005 Express edition and allow remote users to connect to that database Or  is it supposed to only be used as a local database accessed by only the machine it's installed on   Thanks, Jason Hello,  I am in a similar ...Show All

  • Visual Studio Tools for Office Ability to lock worksheet

    This may not be a VSTO question per-se, but in Excel, is there a way to make a sheet read-only Excel has the command to do a Protect Sheet which would be what I am looking for....hence how does one excute specific Office commands via VSTO The VSTO applications which I have created have an upload page which shows what the user will be uploading to a foreign web service. I don't rescrape the page and upload, hence any user changes would not upload. So to avoid confusion, if I could lock the page, that would imply no editing to the user. advTHANKSance Use the equivalent in VSTO to access the object model. In this case, Protect is availa ...Show All

  • Windows Forms VS 2005 Winform designer Issue

    I am getting the following error whenever i tried to open forms in VS 2005 solution in design mode. I tried rebuilding the solution several times, but still the issue persists. I referred couple of messages in the forum and applied the resolution provided in those, but still the issue persists. I am stuck and not able to do any modification to the controls and their properties. Is there is any fix available for this issue One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. Clicking on each error will take ...Show All

  • Software Development for Windows Vista Enabling aero glass?

    Is there something in particular that has to be done to enable this I've installed Avalon and the other pieces with it, updated my gfx driver the the latest version from nvidia, but I'm still getting the plain aero, and I don't see anywhere to enable aero glass. My system is far above the requirements needed for it: Athlon64x2 4400, GF7800GTX, 2GB RAM... Hi, See section "Enabling Aero Glass" in the article below: http://www.windowsdevcenter.com/pub/a/windows/2005/08/16/vista2.html Regards, Vikram ...Show All

  • Windows Forms DataGrid

    When a row in a datagrid is selected, you change the value of a cell and based on that value, the value of another cell in the same row changes. How is this done in the code please Is there something like MyDatagrid(colNum, rowNum) i.e. if (MyDatagrid(2, 3) = "some value") {    MyDatagrid(6, 3) = "new value" } Thanks Hi, Ok, i kinda got it (I really hope so). Try this on your datagrid's CurrentCellChanged event:    DataTable datatable = dataset.Tables["test"];    int curCol = dataGrid1.CurrentCell.ColumnNumber, curRow = dataGrid1.CurrentRowIndex;   & ...Show All

  • Visual Studio Team System Web Testing Javascript code

    Currently I am testing against some sharepoint modifications we are making to a site. I am wondering if anyone has any ideas on how to test this in a web test. The event fires when the clicking the Save and Close button on an issues form. I know that javascript is currently not supported by this tool, but was wondering if anyone had any other thoughts on how I might accomplish this. Thanks Eric Landes http://aspadvice.com/blogs/elandes Hi Eric, I am not sure what you are trying to do with javascript but you can look at this blog where Josh has explained "Simulating Javascript with cod ...Show All

  • SQL Server how to clean all messages of a queue ?

        How to clean all messages of a queue     Online books says it can be done as below:         RECEIVE * FROM ExpenseQueue      But it only delete a row every time,and I found all the three statement only delete a row:         RECEIVE * FROM ExpenseQueue          RECEIVE TOP(1) * FROM ExpenseQueue          RECEIVE TOP(n) * FROM ExpenseQueue  The RECEIVE statement (as it exists today) only fetches messages belonging to a si ...Show All

  • .NET Development Connecting to a database and parameters in sql

    Hi, I am creating a small web app, that searchs a database depending on the information the user enters onto the web form. I create the connection to the database by using the visual studio wizards by binding the data top a grid view. Below is my code SqlParameter word1 = new SqlParameter(); word1.ParameterName = "@tb_1"; word1.Value = TextBox1; SqlCommand cmd = new SqlCommand("SELECT * FROM ApprovedComponents WHERE Vendor = @tb_1"); cmd.Parameters.Add(word1); //Used this in hope after entering cmd into SqlDataSource1.SelectCommand after cmd failed const string command = "SELECT * FROM ApprovedComponents WHERE Ve ...Show All

  • SQL Server Reading and writing same variable to a script

    It looks like its not possible to both read and write the same variable from a script using the conventional Me.Variables.<variable> syntax. I can only assign a variable as Readonly or ReadWrite and not both. If I assign it ReadOnly I can only access it in the PreExecute subroutine. If I assign it ReadWrite I can only access it in the PostExecute subroutine (in fact doesn't this just make it WriteOnly in fact ). So I can only either read in or read out a variable using this syntax, noth both. Is this right So the read and write a variable to a script, the VariableDispenser approach is the only option to use. Is this right and is ...Show All

©2008 Software Development Network