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

Software Development Network >> Mirko Messori's Q&A profile

Mirko Messori

Member List

mohammed barqawi
Closer
RJDBA
dlevers
FredDabb
thussain
theinspector
laja
stuart54321
Mark064
Anderss22
lfarzati
Haziman
Vaish
n00bie
Bernhard Huemer
mrotoloni
Ken_Bussell
Puntor
siva_Baskar
Only Title

Mirko Messori's Q&A profile

  • Visual Studio Express Editions Ugh....Driving Me nuts....

    I am in the middle of writing a prog that takes a file within a directory on a HD renames it to the directories name and then places the newly named file on the root of that HD. Here is the code. and I am not getting it.....I would really appreciate your help. Thanks Imports System Imports System.io Imports System.IO.DirectoryInfo Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim dlg As New FolderBrowserDialog Dim FileNamesSelected() As String Dim SelectedFolder As String 'Dim FileFound As String SelectedFolder = Me .FolderBrowserDialog1.SelectedPath FileNamesSelected = System ...Show All

  • .NET Development msxml 4.0 SP2 (kb 927978) istalling continuously

    I reinstalled my sistem three weeks ego.Updates coming one by one,every minute ,non-stop.After every update finished,in my C disk is making a new file like ff22b18b93b61efeac529dda2518...calling.There is more than 400 of those files.Can someone tell me if is something wrong with my laptop and if it is what to do thanks! Friend of mine had this problem and solved it by uninstalling MSXML4 and installing it back. ...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

  • .NET Development how to save file to xmlserializer?

    Hi, I've been working on my project using C# windows application. I'd like to know how can I save information to disk. In this case, I want to save when user clicks save button; private void m_SaveButton_Click(object sender, EventArgs e) { XmlSerializer serializer = new XmlSerializer(typeof(Person)); using (FileStream fs = new FileStream("C:\\Documents and Settings\\Ken\\My Documents\\Visual Studio 2005\\Projects\\ListView2\\ListView2\\list1.lvx", FileMode.OpenOrCreate)) { serializer.Serialize(fs, persons); } } If I do that, I get exception. I'd like to know how should I save information using xmlSerializer. Thanks for help. I succes ...Show All

  • Visual C# count number of files in c#

    hi all i am trying to find a way to count the number of files in a particular folder. i have done the same very easily in visual basic 6 but as i am creating a similar application in c# i am stuck up with this.. can anyone please help me with a code snippet or provide me some kind of assistance.. thank you. it would be really greatful if someone helps me ...Show All

  • Visual Studio Express Editions template link errors

    I've been looking for a solution for this all day now, and it's driving me crazy. I have a C++ couple of C++ template classes that I'm using in a test executable for a DLL I built. The templates are used in the DLL as well, but in all cases that I use it, to avoid errors, I have all the template code in the header, so when it's included all the code is available for the compiler to do the type resolutions. When I build the DLL, it compiles and links just fine. However, when I build the executable, I get unresolved token and unresolved external symbol errors for the template, but only for the one that I use in the executable, not for the ones used in the DLL. I have tried to change the type temporarily to int and have copied and p ...Show All

  • SQL Server Dts Package foreach loop container and Excel connection manager

    How can I use a foreach loop container with an Excel connection manager. It is virtually impossible to configure the ConectionString property through expressions builder. Everything works fine with a Flat File connection manager but when it comes to Excel, I get the following error message: Error 1 Validation error. Extract Four: Extract Four [1]: The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009. Tarification.dtsx 0 0 Please ! Heeeelp ! tel me how I can loop through Excel files ! Thanks Rafael !!!!!! Here is what my problem was : When I created the varFileName variable, I simply did not assign it a value ! I just c ...Show All

  • Visual C++ please help with variable argument lists

    Hi, I have ripped the following out of an object I am trying to get working in order to simplify the problem. Source code: void trace(int level, char* string, ... ) { va_list args; char buffer[256]; char *str = ""; va_start(args, string); str = string ; while (str != NULL ) { std::cout << "---" << str <<"\n" ; strcat_s(buffer, 256, str) ; str = va_arg(args, char*); } va_end(args); std::cout << "XXXX!!!-> " << buffer << "\n"; return; } int main () { trace (0, "Hi fred", "There", "Now") ; return 0; } and the output I get is \debug>"testing classes.exe" ...Show All

  • Windows Forms redistribute clickonce application

    Hello all I'm still struggeling with redistribution of ClickOnce Apps to be hosted and deployed on customers computers. I found a message from June 2005 saying that there will be a recommended practices doc on howto redistribute Clickonce applications available soon. ( http://blogs.msdn.com/saurabh/archive/2005/06/28/433403.aspx ) Unfortunately, I havn't found soumething like that yet. The biggest problem is the re-signing of the manifest, as the target computer might not have the SDK installed (and therefore Mage.exe is missing) Are there any news about this, especially about the best practice doc ...Show All

  • .NET Development Concurrent Remoting and socket connections

    Hello Having been trying to find the root of this problem for several days I now hope that you can help me. I’m implementing a distributed file system – consisting of, at the moment, a testing client (C), a http-server (H) and a file server (F) - with the following setup: H acts as an external interface to F, that is any given C connect to one H in order to access files at F. The communication between H and F uses remoting, ie. F registers a FileServerObject which interfaces the local file system which acts as the file storage. Testing H and F alone works fine. The communication between C and H uses regular sockets and uses the HTTP1.1 protocol for communication. These two work fine together. The problem then is ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA compiled programs crashing

    Hi, i downloaded XNA Game Studio express Beta an hour ago. The application itself works pretty well, but when i compile an application (like the Spacewar starter kit or a new project), the exe that i find in *project folder*/bin/Release/ won't launch : it crashes and asks me if i want to send a report to microsoft. I know it's kinda normal since it's a beta software, but if anyone knows an issue to this problem, it would be very helpful ;) Thanks in advance. I have an other problem, SpaceWar starts, but what buttons must i press to select the options I've tried all but it lock at the title screen ...Show All

  • SQL Server Error after migrating to SQL Server 2005

    I'm trying to migrate MS Access 2003 query into SQL Server 2005 view. I'm getting error for the following query. ERROR: Incorrect syntax near the keyword 'LEFT' MS-Access query: SELECT tbl.*, tblP.ParticipantLastName, tblP.ParticipantFirstName, tblP.ParticipantAmount, tblP.SocialSecurityNumber, tblP.Comment FROM tbl LEFT JOIN tblP ON tbl.AutoNumber = tblP.RecordNumber WHERE ToBeProcessed='YES' and [Cancel]=0; SQL Server View: CREATE VIEW dbo.[qryReport] AS /* * Generated by SQL Server Migration Assistant for Access. * Contact accssma@microsoft.com or visit http://www.microsoft.com/sql/migration for more information. */ SELECT tbl.*, tblP.ParticipantLastName, tblP.ParticipantFirstName, tblP.ParticipantAmount, ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Game Studio versions?

    Hello! I have questions about the XNA Game Studio: the FAQ would seem to suggest that there are three versions of XNA Game Studio planned: the Express version for students/hobbyist, the Pro version for actual game studios, and an Enterprise version (the FAQ refers to a Studio version). Is there any kind of comparison chart which would show what the differences between the versions are Another question I have regarding XNA Game Studio are the compiler requirements: the Express version requires C# Express, which would suggest that other versions of the Game Studio product will also require a seperate compiler to be installed. Is this correct, or will the other versions of the Game Studio come with C# Professional or Visual Studio (in t ...Show All

  • Visual Studio Team System Can Code Coverage ignore private methods?

    Assuming the "Black Box" approach of testing is there any way to set up Code Coverage in TFS to ignore private methods etc Any help would be much appreciated! Hi Michael: I should add that these attributes are only respected at the method level in 2005. We are looking into respecting the DebuggerNonUserCode attribute at the class level (thereby automatically ignoring all methods contained in the class). Several designers automatically generate their types with this attribute at the class level but not the method level (the strongly typed resources designer, for example). Thanks again for your question. Regards, Peter Huene Developer Visual Studio Team Edition for Developers ...Show All

  • Visual Studio Tools for Office How to add an image via schema/xml (programmatically)?

    Hi I have a schema ,that has several elements, some of which are of type image (xs:base64Binary) what I want to do is to 1) open a word document 2) attach this schema to Word 3) add the elements from schema into word document ( of course the the image elements too) 4) Then I want to save the document as as *.ml and *.xslt 5) then I will use this *.ml,*.xlst and an *.xml to recreate the orignal document so that the xsd tags are replaced with values from xml ( including the image) Now the tag line is I can perform the above mentioned steps for elements other than those of type image. Can anyone please tell how to add images in the word document from xml. is there any problem with xs: base64binary or images have to added some other ...Show All

©2008 Software Development Network