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

Software Development Network >> Marco Minerva's Q&A profile

Marco Minerva

Member List

Christina853
Duncan-Countrywide
hannesaj
Programmer Chang
Magius
Whoisit
SharePointing
gibic
zdrae
shax
Tony Vaughan
AnnNeedsHelp
PedroCGD
SuperSaiyanZero
kawano1h
Piddo
Karim Hemani
shmulik_segal
Luis Simões
M.A.T
Only Title

Marco Minerva's Q&A profile

  • Visual Studio Express Editions open text file

    i need to open a txt file in a richtextbox using a openfiledialog... what would be the code for this Your two options really are either compiling the input code yourself or manually writing code to search the input text for given commands and how to handle them. If you are looking to support more than just a couple of commands your best bet would still be to look into compiling the input.</P ...Show All

  • Microsoft ISV Community Center Forums Command Buttons (Delete, Run, and Close)

    Ok I have a userform that asks if you would like to calculate now. There are two command buttons on the form, one says Yes the other says No. I need the form to automaticlly open when the user opens the workbook. When the user clicks on No I want the form to close. When the user clicks on Yes I want it to delete the last worksheet in the workbook and then run a process (called process). One is this possible (I know the No button is) and two how do I get it to work Thanks for any help or ideas. I used the first bit:- Private Sub WorkBook_Open() Userform1.Show End Sub > but it dodnt work for me! Comes up with hte debug prompt. The name 'UserForm1' is the same. I stuck wh ...Show All

  • Visual Studio Team System CPU usage

    I am currently testing an asp.net system and have created a load test for it. The agent machine is a intel core2 duo machine with 2gb of RAM so not exacltly low spec! The problem i have is that when i run a load test with more than 3 concurrent users, the CPU usage goes through the roof and the results become skewed. Is there anything i can do to correct this. Simon, two questions: 1) Are you using the built-in Web test data binding feature to retrieve the test values from the database, or did you write your own code to retrieve the values 2) Although you have think times specified in the Web test, it is possible that they are disabled in the load test settings, so check that they are not disabled in ...Show All

  • Visual C# COM Class Factory not found

    I couldn't find any better forum to post this in, so here goes. I've installed some software that was supposed to include an OLE automation DLL. I found a file called lmwole.tlb and ran tlbimp.exe on it. It gave me the DLL file I needed and I referenced this in my .NET app, but when I try to create some of those objects I get the error Retrieving the COM class factory for component with CLSID {FE32602E-78DB-4315-886A-3D1765EED909} failed due to the following error: 80040154. , which I assume means that no DLL got registered with that guid. My question is, I have a whole mess of DLL files that came with the software, and maybe one of them is my OLE Automation COM server. Is there any way to find out, and if so, can I just run regsrvr32 on ...Show All

  • .NET Development How to control root node name for the DataTable.WriteXML method

    I am trying to leverage ADO.NET 2.0 DataTable WriteXML method and serialize a datatable as an XML file.. dataTable.WriteXml(xmlFile) Unfortunately, the root node of the output file is always DocumentElement. Is there way to control the name of the root node for the XML output Here is a sample. Table name creates a placeholder for each row in the resultset. Root name still stays named as a DocumentElement. So you will get something like this: <DocumentElement>     <TableName>         <column1> </column1>         <column2> </column2>         etc.     </TableName> ...Show All

  • Visual Studio 2008 (Pre-release) What is the difference between DataContract and MessageContract?

    What is the difference between DataContract and MessageContract Contract Type Member Attributes Description ServiceContract OperationContract Describes the operations a service can perform. Maps CLR types to WSDL. DataContract DataMember Describes a data structure. Maps CLR types to XSD. MessageContract MessageBody, MessageHeader Defines the structure of the message on the wire. Maps CLR types to SOAP messages. http://dotnet.org.za/hiltong/pages/53552.aspx ...Show All

  • .NET Development Why am I getting OutOfMemory Exceptions???

    This is the second time I have asked this question. I will try to be more specific this time. I have written/deployed a service in C# using VS.NET 2003. This guy is getting OutOfMemory exceptions which I cannot explain. This service does consume (managed) memory from the heap. However, all pointers to the uses of managed memory are held in local variables with my class's methods. I don't have any class level variables (like arrays) which hold pointers to managed memory. So, when these class methods (that consume memory in local variables) go out of scope, then I expect that the memory becomes available for release by the Garbage Collect thread. I have added a call to the GC.Collect() method to manually initiate the Garbage Coll ...Show All

  • Architecture Reverse engineering Sql Server database with Visio

    I'm trying to reverse engineer a remote Sql Server 2005 database with Visio Pro 2007. Using the Reverse Engineer Wizard, I first select a database driver of "Microsoft SQL Server". For Data Source, is displays a few local ones, but since the is remote I select "New". Following the steps there, I enter and verify the data to connect to a remote data source. Testing is successful, create my data source with Microsoft SQL Server ODBC Driver Version 03.85.1117. After that, the data source should show up in the selection list, but it doesn't. I've tried entering the info three times, creating three data sources, restarting Visio, etc., and the new data source never shows up. I also tried using Visio 2003 for Enterprise Archi ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. GSE and Vista

    So I heard on letskilldave (and the FAQ mentions it too) that there will be no Vista support for awhile, but I was really curious as to what the policy of GSE on Vista was. Is there some technical reason that it will not run, or is it something discouraged due to lack of testing e.g., will I be able to convince it to run by fooling/mangling the installer, or will it explode when I try to do anything with it Having just installed Vista 5536 on my best machine (the one sitting next to my 360 and the one with a new video card) and loving it, I don't think I could stand switching back to XP. I also need to do some ‘real’ dev under Vista, so that makes things difficult too ;( Thanks for any info anyone knowledgeable can ...Show All

  • Visual Studio Express Editions Need a parameter for saving an image

    I can't use b.Save("C:\MyPic.bmp") here because the user specifies the location and name when saving the image. I have no idea what parameter to use. Public Class Form1 ' Controls: Button1, Button2, PictureBox1, OpenFileDialog1, SaveFileDialog1 Private myImage As Bitmap ' User opens an image of his choice. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e _ As System.EventArgs) Handles Button1.Click OpenFileDialog1.FileName = "" Me.OpenFileDialog1.Filter = "Images (*.BMP;*.JPG;*.GIF)|*.BMP;*.JPG;*.GIF|All files (*.*)|*.*" If OpenFileDialog1.ShowDialog() = Windows.Forms.DialogResult.OK _ Then myImage = CType(Bitmap.FromFile(OpenFileDialog1.FileName), Bitmap) Pict ...Show All

  • Visual Studio Team System Drop Existing Objects Option

    Under project deployment there is an option: Generate Drop Statements for objects that are in the Target Database but not in the Database Project I'm assuming that if you have a table in your database that doesn't exist in your project then this will be deleted as part of the deployment. This isn't the case when I deploy. Is it that this option doesn't work or am I misundertanding what it's intended to achieve. I think my dodgy get-around for this will be creating a post-deployment script to recreate all of the User Objects (they're also recorded in a transactional "User" table). However it'd be great to see if anyone has any ideas, if I'm missing something, or if perhaps making the build ...Show All

  • Internet Explorer Development ftp error ie7

    im sorry but wen the mod told us to look in comunities i didint know were to go, perhaps a reference please or can u answer our question i cant access my ftp from ie7 its nothing wrong with the ftp as my frend can. i need my ftp asap as im running my website from it and it does need to be working and edited. 1. Don't just type url into browser(IE7), it doesn't handle if the same as IE6. But do go into Tools-->InternetOptions-->Advanced: Check "Enable FTP folder view (outside of Internet Explorer)", located under "Browsing." Apply. 2. Create a new shortcut on your desktop. Enter "explorer ftp://yourDomainOrIP/", as the location of item. Name it whatever, "FTP to moms server." ...Show All

  • SQL Server Performance issue

    I have a server that has a performance issues all of a sudden, when I run sp_who2 I only notice that the log writer and check point are in a suspended status. I am not sure what this means. I have done couple of restarts and they are still in suspended status and still have the same performance issues. Can anyone help me to figure out this issue. Emad They are almost perpetually going to be in a suspended status. What this means is that the process is running, it just isn't currently executing anything on the SPID when you look at it. This is normal operations for the log writer and checkpoint processes. (In previous version, it showed up as sleeping although this wasn't exactly accurate.) ...Show All

  • Visual Studio Tools for Office How to copy part of Excel to another Excel using C#

    I am new to Excel programming using C#. Can someone help me to copy only part of excel sheet to another excel and this has to be run nightly and the data in destination excel can be deleted and updated. Thanks Hi Ankola this forum is specifically for questions about using VSTO technology. The best place to get a discussion about how to do what you need would be the office.developer.automation newsgroup; Excel object-model-specific questions are best directed to the Excel.programming newsgroup. http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.automation&lang=en&cr=US http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.excel.programming&lang=en& ...Show All

  • .NET Development help regarding requiredfieldvalidator

    Dear All, i am making web application using asp.net ,C# (Visual studio 2005).i have a web page with couple textbox conntrol and dropdownlist controls(Some of them autopostback is true). In order to check whether this control is not blank i use requiredfielfvalidator control. my problem is i want all required validator only check at save event event not whenever there is postback. that is let say textbox control having postback true only check all its previous required validator. Not succesor validator Is it possible. if yes how can i do it . please guide me Find each control that causes a post back and shouldn't check required fields and change the CausesValidation property of the control to False. ...Show All

©2008 Software Development Network