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

Software Development Network >> Bernardo Piano's Q&A profile

Bernardo Piano

Member List

Duy Thai
pcompassion
Tommi Pitkälä
r3dw1ng
Sransom_au
DMAR330
pintu
Degremont
Praveen_wm
AAAchiel
Shrek.NET
seva04121973
mivecxtr
R2ks
Keith Hill
paso
bunkscene
Kartit
Martin Eley
Boy from Turkey
Only Title

Bernardo Piano's Q&A profile

  • Visual Studio error in debug

    In vb 2005 I got an error in debug. When I stopped debug I could no longer get to my form design. Then I ran debug again and it asked if I want to run the last good build and I say OK. and it ran great. But when ended debug, I still could not get to my form design. How do get back to the last good build. Do delete something in the debug folder What this means is that the bin\foo.exe that is sitting around from last time could still be run - it has not been overwritten by the compiler as yet. It's not a "backup" per-se. John ...Show All

  • Visual Studio Team System Build with tests fails with no indication of where

    I have setup two builds on my TFS project - one to run when code is checked in that only verifies that the code will build, and one to be run automatically that will run our tests. The first build appears to work correctly, but when I run the second (from my VS) it fails. When I look at the BuildLog.txt file, I can't see any failures, and the build results in VS show red "X"s next to the "Running tests" and "Running tests for Any CPU/Debug" entries. I have looked at this post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=673795&SiteID=1 and based on that tried installing VS Test edition on the build machine, with no change in the results. I am running Team Suite on my machine. Can anyone ...Show All

  • SQL Server Icons used in SQL 2005

    I searched BOL, and I couldn't find information on icons used in all SQL Server 2005 sub-systems and what they mean. I am mostly interested in SQL Agent job icons. You'll find most of the graphics explained in each particular topic, other than the obvious red, green and yellow ones. You can also file a question in Books Online by using the feedback, where you can send a screenshot. If the document doesn't have a good explanation, you can ask them for one and they will put in a bug request for you. Buck Woody ...Show All

  • Visual Studio Tools for Office Retrieving Excel data

    I have been assigned to write a Visual Basic .Net Program using Visual Studio 2005 to retrieve data from an Excel spreadsheet. The data is then going to be used to update an Access database that is used for a website. Does anyone know where I can find the code to do this Hi, I suppose you will be using automation and not VSTO Please, correct me if I am wrong. Here is an article that can get you started with automation. ...Show All

  • SQL Server Can't uninstall or reinstall nonfunctioning sql server

    In previous post in the Getting Started section, I discussed problems trying to run queries on multiple databases: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=299240#299240&SiteID=1 Nobody could help with the problem. I eventually got a query to run after several attempts at deleting and recreating databases. Then, I was hit with the following error message: Class does not support aggregation (or class object is remote) (Exception from HRESULT: 0x80040110 (CLASS_E_NOGGREGATION)) (Microsoft.SqlServer.SqlTools.VSIntegration) Nobody could help with that either but based on posts with the same message, I tried uninstalling sql server. It wouldn't uninstall nor can I repair or reinstall. Uninstalling thru Add or Remove ...Show All

  • Windows Forms BindingSource.AddNew from a DataGridView

    I have a DataGridView bound to a BindingSource whose DataSource has been filled from a SQL table. A dgv popup menu offers an 'insert a copy' option, ie it allows the user to insert a new row initialised to values in the row under the mouseclick. I cannot insert rows at dgv level because direct dgv inserts are not permitted when a dgv is bound; evidently .NET 2 evidently wants me to use BindingSource.AddNew. Very well, I add a handler to be called by BindingSource.AddNew ... bindSrcMaster.AddingNew += new AddingNewEventHandler(bindSrcMaster_AddingNew); The popup menu item event handler for CopyRow can figure out which dgv row to copy ... private void CopyRow(object sender, EventArgs e) { ToolStripItem menuItem = sender as ToolStripItem ...Show All

  • .NET Development setting XML attribute

    I'm trying to set a XML attribute whenever someone presses a radio button for example: before radio button click <row type=""> after radiobutton click <row type="header"> i can select the row and change the value however i am having problems writing the change back to the file. if i use the xmltextwriter it seems to clear the file the code im using to get to the button currently is XmlNodeList nodelst = _doc.GetElementsByTagName("row"); foreach (XmlNode node in nodelst) { XmlAttribute attr = node.Attributes["type"]; attr.Value = "header"; } can anyone help at all Colin Gemmell that part works fine and ...Show All

  • Visual Studio Express Editions Search a file in a directory

    Hello world, i've a problem with my application. I must store some information on a specific file in specific folder, i.e.: filename, format, extension. Intially i've the path of the folder that contains the files. How i can search file in a folder How i access file information and store they in a datatable Thanks. ok thanks for clearing it up. Hmmm. you mean something like a picture viewer Kind of done that here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=858930&SiteID=1 you can of course modify it to your needs but thats the basics there, to show images from a selected directory into a picturebox which you can then view images from selecting an image from the listbox. When you click on ...Show All

  • Visual Basic How to modify the Code Comment Symbol

    How do you modify the visual studio 2005 visual basic code comment symbol so that the ide will insert "continuous" apostrophes rather than 2 apostrophes and a space and 2 apostrophes and a space ...ad infinitum Visual Studio 2003 visual basic inserted consectutive apostrophes without any intermediate spaces !!!! e.g. what it does now (inserts a space after 2 apostrophes VB2005) ' ' ' 'code line 1 ' ' ' 'code line 2 e.g. what I want it to do ( does not insert spaces after any apostrophes VB2003) ' ' ' 'code line 1 ' ' ' 'code line 2 Joe, This is a strange one then...because I just checked my version and it is EXACTLY the same version.. Microsoft Visual Studio 2005 Version ...Show All

  • Software Development for Windows Vista Error while attempting to compile a workflow into an executable

    I am trying to compile a workflow containing only one custom activity. The custom activity is as simple as you can get - it only displays a message. When I attempt to compile it into a DLL the compilation works fine. Then I set my WorkflowCompilerParameters.GenerateExecutable to True, try to compile it again and get the following error: Program '<path_to_the_compiling_workflow_execuatable>' does not contain a static 'Main' method suitable for an entry point I tried to add a static Main method to my custom Activity class and it didn't help. Then I searched around and found this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=560408&SiteID=1 After reading it I went ahead and removed the x:Class="< ...Show All

  • SQL Server XML DML question

    I am trying to insert XML node which holds XML variable into another XML variable. Commented code, when inserted node is static, works. Using sql:variable() function I get syntax error. Who does know what is wrong here Can the function be used at all in this context DECLARE @mainxml xml , @addxml xml , @s varchar ( 1024 ) SET @mainxml = '<root><a><b>bvalue</b></a></root>' SET @addxml = '<c>cvalue</c>' SET @s = cast ( @addxml as varchar ( 1024 )) --SET @mainxml.modify('insert (<c>cvalue</c>) as last into (/root/a)[1]') SET @mainxml . modify ( 'insert sql:variable("@s") as last into (/root/a)[1]' ) SELECT @mainxml ...Show All

  • Commerce Server Problem unpacking DW.PUP

    Please answer my Question in thread http://forums.microsoft.com/forums/ShowPost.aspx PostID=1024482&SiteID=1 I have added the needed info to understand how i tested not using named SQL server instances (Default). And Yes clients installed since I could install in Step 1. //Johan ...Show All

  • Gadgets Localization of <title> string

    Hi, I am trying to localize all the string for the preferences dialogue - However, while using ids and .document.getElementById("myID").innerHTML = LOCAL_SETTINGS_TEXT_STRING1 works for all the html within the <body> tag, for some reason, it does not work for the head <title> innerHTML. Any advice on how to change this using JS Many thanks in advance Have you tried document.title Like this: <HTML> <HEAD> <SCRIPT type="text/javascript"> <!-- var iCounter = 1; function setTitle() { document.title = "Counter: " + iCounter; iCounter++; setTimeout("setTitle()", 1000); } //--> </SCRIPT> </HEAD> <BODY onload=&quo ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Animating Billboards Using A Single Texture

    I just finished a basic billboard class that is capable of reading in multiple textures and animating. However, I would like to read in a single texture file and be able to simply change texture coordinates to change the appearance of the billboard. Now, I could recreate my VertexBuffer each frame, but that would be a lot of wasted processing. Is there a way to dynamically alter the texture coordinates for VertexBuffer objects each frame Edit: As a bonus question, how do I enable the alpha channels in my textures Right now it shows up white. I am using the BasicEffect. Would I have to write my own effect just for that Seems rather silly but I will if I have to. Edit 2: As bonus question 2, how can I disable antialiasing of my textures I'm ...Show All

  • Silverlight (formerly WPF/E) Z-Index

    From what I've seen there's not currently support for Z-Index on UIElements. Am I missing something though Is there a way to set the Z-Index of an element out of my experience, you have the ZIndex propery for <panel> element and grid element. panel.ZIndex is intelisenced grid.ZIndex is not, but works fine. mugile ...Show All

©2008 Software Development Network