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

Software Development Network >> Leandro Rodrigues's Q&A profile

Leandro Rodrigues

Member List

OldDrongo
Sami Karaeen
Alle
Reza Bemanian
jules_newbie
needToLearn
S Carter
Coss
Wee Bubba
JavaBoy
Michael E Golding
Fartlek
PremierITA
Pedro Felix
Michael Vainer
rene schrieken
GrandpaB
Rattlerr
Ather.
jrboddie
Only Title

Leandro Rodrigues's Q&A profile

  • .NET Development How to fully close an MDB File?

    Using C#, I've built an export engine in my WinForms app that successfully writes data into a series of tables in an MDB file. At the end of the operations I dispose of the connection object - ie. "conn.Dispose();" But yet, until I close my app, the MDB's companion "LDB" file doesn't disappear. What else do I need to do to get the LDB file to disappear as soon as the export is complete Robert It's possible that connection pooling may be keeping the database open for a short period of time. That may explain why the .LDB file is still present. It's also possible that you may have other or implicit connections from your application. In a networked multi-user scenario this is also ...Show All

  • Visual Studio Team System Get labled files with TFS API

    Hi, I can get latest files from TFS using GetStatus status = ws.Get(serverItems, VersionSpec .Latest, RecursionType .Full, GetOptions .Overwrite | GetOptions .GetAll); but, how can I get all the files that belong to a label Thanks. You might want to take a look at the VersionSpec class in the documentation.  There is a subclass of VersionSpec called LabelVersionSpec that has functionality for specifying labels.  Passing an instance of LabelVersionSpec as your second parameter instead of VersionSpec.Latest could be a good bet.   http://msdn2.microsoft.com/en-us/library/microsoft.teamfoundation.versioncontrol.client.labelversionspec(VS.80).aspx   ...Show All

  • Visual Studio Team System Team Foundation and device applications

    Hello, Two questions: Does TFS support code analysis and Test runs for Compact Framework applications out of the box If not, can TFS be tweaked to do so Does Team Edition for Architects support distributed systems that include device applications If not, can it be tweaked to do so Thanks in advance, Peter Vrenken Hello Luis, thanks for your response. About the test runs and code analysis. If I am correct, both analysis and unit tests are executed through reflection. Because desktop and device applications differ just a bit (like using other core assemblies), my fear was that it was not possible to use these two great features of TFS on device applications. I am glad to hear that code analysis is supported. ...Show All

  • Visual Studio Default Font for Textbox

    Is there a way to change the default font used when you add a textbox to a Report http://connect.microsoft.com or http://connect.microsoft.com/SQLServer/Feedback -- Robert ...Show All

  • Visual Studio Express Editions how to use native Win32 in clr

    Hi, I would like to code a routine in native Win32 within a CLR project... is it possible Thanks Did you install the PlatformSDK properly We can't tell what might be wrong without seeing the error messages you are seeing. ...Show All

  • Visual Studio Express Editions Need Help Please

    I am currently making a program which fixes errors with Disk Clean-up which some computers encounter. Which means editing the registry, Would anyone know a code which i could use to delete a section of the registry. Anyhelp would be amazing! Mitch there is however you will face security issues in that the user account may not have read, write or readwrite priviledges. in the mean while take a look at this: http://msdn2.microsoft.com/en-us/library/microsoft.win32.registrykey.aspx http://msdn2.microsoft.com/en-us/library/microsoft.win32.registrykey_methods.aspx ...Show All

  • SharePoint Products and Technologies Folder "CryptnetUrlCache"

    Hi ! Does CryptnetUrlCache folder and its subfolders "Content" and "MetaData" under username\application data\microsoft\ on WS 2003 has to do something with InfoPath Is there anybody who know what they are for BVR Melii This folder applies to Windows XP SP2 and similar applications. It has to do with Windows certificates. If you have a %SystemDrive% folder on your desktop, you should see the same (internal folders) in your User account. Look in C:\Documents and Settings\Your User Name\Application Data\Microsoft\. See the following MS article for further information... hope this helps. http://support.microsoft.com/kb/887196 ...Show All

  • Smart Device Development time function

    Hi, I'm new to C++ and I am writing a project in it that I want to build on both Windows CE and VxWorks, so I am compiling the project in both MS Visual Studio and Wind River Workbench. There are a number of places in the app where I want to get the current date and time (number of seconds since 1/1/1970) but I can't figure out how to make it work! From what I can tell, time(time_t * timer) is the way to go, but while this compiles fine for VxWorks, when I compile it for Windows I get a strange linker error which says that there are unresolved externals in the function that contains the call to time(). Help! (Thanks in advance!) Rachel Oops, don't get cranky with me. I just said that it implemen ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Where is the download?

    It is 12:48 pm here (GMT + 1)... in Nuku'alofa (GMT + 13) it is tomorrow... So where the hell is my download link :-D It's just about 12:30 AM, my guess is you'll still have to wait several more hours, probably at least 8 and a half since the workday starts for most people in the US around 9 AM. Even then I don't expect to see it until later in the afternoon Pacific time. ...Show All

  • SQL Server Watermark Generation is Invalid Error

    We are currently doing a proof of concept using SQL 2005 merge replication.  However we are currently encountering the following errors: "The common generation watermark is invalid at this replica since it does not exist or metadata for changes not yet propagated may have been cleaned up." " The merge process failed because it detected a mismatch between the replication metadata of the two replicas, such that some changes could be lost leading to non-convergence. This could be due to the subscriber not having synchronized within the retention period, or because of one of the replicas being restored to a backup older than retention period, or because of the publisher performing more aggressive cleanup on articles of type download ...Show All

  • Visual C# save then clear event logs

    Hello, i'm a freshman on C#... currently, trying to save the eventlogs of Windows to specify location then clear it. how could i save the logs of system & application thanks for your assistance Richard Hi Richard: To create event logs check this example: using System; using System.Diagnostics; using System.Threading; class MySample{ public static void Main() { // Write an informational entry to the event log. EventLog.WriteEntry("MySource", "Writing warning to event log.", EventLogEntryType.Warning); } } You can clear the event logs (of your custom ones) if you have the right permissions using EventLog.Clear(); example ...Show All

  • SQL Server Cannot open database on local server

    Server Error in '/QuickStartv20/aspnet/samples/data' Application. It looks like the user in the machine/domain MLHPR called ASPNET is the one trying to access the database. I'll bet there's no login for that user in the system. The first thing to do is try and see if you can connect at all - on the server where SQL Server lives, type this at a Windows command prompt: osql -E -d pubs -Q "SELECT 'I got in.'" If you see the words "I got in" on the screen, then SQL Server is up and running. If not, either SQL isn't installed or there is no database called "pubs" on it. You can read more about SQL Server security here: http://www.informit.com/guides/content.asp g=sqlserver&seqNum=35&rl= ...Show All

  • Software Development for Windows Vista TransactionScopeOption - what no "Supports"?

    I'm in the process of converting a .net 1.1 program to use System.Transactions. However, I've hit a problem. The current code creates a ES version of a transaction scope and sets the equiv' TransactionScopeOption to "Supports" which means enlist in a transaction if one is there otherwise don't bother. However in System.Transactions there only seems to be {Required|RequriesNew|Supress}. I don't want to have to a put an "If" around each call and I'd rather not have to wrap the TransactionScope object but what choice do I have I feared that was the case, although in my example the requirement is simple. I have a client where the user can choose to run under a transaction and take loads longer (already posted about th ...Show All

  • .NET Development Interop Debugging with ICorDebug

    I'm working on a debugger using the ICorDebug interfaces. I'vem only just started and I'm trying to get a proof of concept for my boss. I'm able to launch or attach to managed apps and I'm getting all the proper DebugManagedCallback calls for attach, create process, load module, etc. Things get wierd when I add the unmanaged callback and set the flags for interop debugging. My unmanaged callback gets called and I call ICorDebug::Continue with the value of the out of band flag that's passed into the function. Everything works until I get the initial int 3 call. In that case the out of band flag is FALSE but whether I call Continue with TRUE or FALSE, the app is never fully launched and I don't get any of the managed callbacks. I've tried ev ...Show All

  • Windows Forms sizing the windows forms to fill the screen resolution independent

    how to size the windows form to maximum size to fill the screen irrespective of what the reolution on the screen is how to accomplish this. please show a code snippet if possible. Check this thread too... ...Show All

©2008 Software Development Network