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

Software Development Network >> Laura Badinelli's Q&A profile

Laura Badinelli

Member List

fatcat1111
hb3Burgh
Mariya Atanasova
Ken Lyon
skinned_knuckles
bikeman123
ControlBox
Geze
CalvinR
2dipikke
Dario_Bello
zzy
little_Attila
MrSnipey
HarshVardhanModi
Andre998SFE
Patrick in Canada
peancor
Kedar.Potdar
espar
Only Title

Laura Badinelli's Q&A profile

  • Windows Forms work with resource files

    hello i need an article to teach me how to work with resource files for languages thank you for the help and for the time Check Visual Studio magazine, they had a great article about this a couple of issues back. -Edward ...Show All

  • .NET Development Never trust a tickcount

    Hi, For those who use tickcount for any calculation on your application... DO NOT USE IT. Simply, for some idiot reason the tickcount returns an integer, so if you have a server that runs all the time or if you have a multiprocessor environment the tickcount overflows and returns 0! But for my surprise if you use Tickcount.ToString() actually returns the string version of a 64bit value, so is not 0!!! Funny when you are trying to debug your application and ToString() says 43453345345444 but the property returns 0 One of those funny things, pretty sure that tickcount internally is a 64 bit value and the property cast it to a 32bi ...Show All

  • Visual Basic Compare two text files

    Thanks for taking the time to read this. My problem is below. I have two directories with music in them. one on my C: the other on a removable drive. I use dir > list.txt to output a list of the contents of both folders. I want to build a program that will compare the two text files and show me what is in the C: and not in the H: i have the GUI developed and some basic code, however, i am undersure how to do the actual comparision. Any help would be appreciated. Many thanks No problems, glad to help. To answer your directory control question: well, it depends on what you want to do with it and how you want to view it. You could use ...Show All

  • Visual Studio 2008 (Pre-release) binding to a function call instead of property?

    Hi, If I have following function class LanguageHandler { public static string GetString(string key) { } } Is anyway I can binding a textblock - text to the GetString function thanks/chong I thought you could specify a MethodName in ObjectDataProvider, no < ObjectDataProvider x:Key = " Code1DSKey " d:IsDataSource = " True " ObjectType = " {x:Type MyNameSpace:Code1} " MethodName = " MyFunction " /> .... < TextBlock Text = " {Binding Source={StaticResource Code1DSKey}} " /> Thanks, -Unni ...Show All

  • Visual C++ aspell compilation problems

    Hi, I tried to post on the forum but it kept coming up with an internal error so i was wondering if you could help me with the following:I have recently been trying to compile aspell (a spell checker written in c and c++) in visual studio .NET (2003) which has taken forever but i managed to get it to compile a dll now. When i come to add this dll file into another project which will be using the methods from this dll it keeps giving the following error and not allowing me to add it: "Add Reference: Error adding reference to the project.". Does anyone have any suggestions on how to overcome this Any information woul ...Show All

  • SQL Server Location of default instance SQL server 2005 files

    I have just installed SQL Server 2005.  I was not given a choice during installation (that I remember seeing anyway) about which drive I wanted to place the default SQL instance on. It ended up on C: and I needed it on D:.   So my questions are: Is there a way to move it to D: that is easier than the way you had to go about it in SQL 2000 Is there a way to do it during setup so I can avoid this in the future Dan: This is critical tidbit that surely belongs in Embedding SQL Server Express in Custom Applications . That's a 32-page article (from November 2005) at the Microsoft ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DirectX and winforms

    im using the sampleframework in window mode and was wondering if there was a way to lock the form so it cant be resized thanks You could specify in your class that inherits from form that the border style is FixedSingle e.g. FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; I hope this helps. Take care. ...Show All

  • Visual Studio Express Editions Beginner Code help

    I need to read from a text.txt file If "C:\standards" exists within the text file I want to replace it with "P:\standards" else If "P:\standards" exists within the text file replace with P:\standards Mike Public Class Form1       Private Sub Form1_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load         TextBox1.Text = ReplaceString( _         "Now is the time for all good men to come to the aid of their country. Now is the time ...Show All

  • .NET Development ViewState breaks W3C validation

    Greetings all. With ViewState by default is stored as hidden variable _ViewState in a <form>, unfortunately many form pages will break W3C HTML validation ( http://validator.w3.org ). This is because undescore is not permitted as the first char of an input field id. To use the good bits of ViewState (ie populating and setting the initial value of fields, hiding or shows divs) is it possible to do either: 1. Rename "_ViewState" to "ViewState". 2. Shoving ViewState into (perhaps) Session (the payload isn't changed much - not what we're after just here). Basically, I looking to either change the hidden f ...Show All

  • SQL Server Script Component in loop tries to evaluate connection

    I have a script component which loads a file which is in a custom format. The script component is inside a For Each Loop Container and it uses a flat file connection manager. The loop sets the connection string for the connection manager. The problem I'm having is that the connection string needs to be set to something every time that I start the package but I don't know ahead of time what file there will be, so I get a System.IO.FileNotFoundException error on the script component. If I manually set the variable for the connection string and point it to a file that exists, then the package runs fine but at the end of the package the conne ...Show All

  • Windows Forms WebBrowser's .Navigate method crashes

    Hi There, I have been using Visual Studio 6.0 on Windows XP (with Service Pack 2). I have hosted the Web Browser control inside my MFC application. Following is what when I do, I see a crash: 1/From the main application I start a thread . 2/This thread makes a call to .Navigate method of Web browser. 3/On this call I see an exception which I  ...Show All

  • .NET Development Problem with ThreadAbort in App_Web_dlt0v2t4.dll

    Hi, I faced a problem in ASP.NET 2.0 where the application is retrieving data via OLE-DB and then suddenly it starting throwing TheadAbortException. Even though the application continued, but it seems a problem in the future at the back of my mind so if anybody can help with the below questions it will great. And the following is the Output from Output and call stack Call Stack: > App_Web_dlt0v2t4.dll!login.initialize(Object sender = {ASP.login_aspx}, System.EventArgs e = {System.EventArgs}) Line 23 Basic Output: Warning: Cannot debug script code. Script debugging is disabled for the application you are debugging. ...Show All

  • Visual Studio Team System FxCop and coding style

        Is there any plan that the next generation of FxCop would also support some kind of coding style checking For example,checking of the space between specific items      In my previous project under java platform,we enforce our coding standard with a tool named checkstyle,I hope there would be a similar tool under the .net platform and it seems the FxCop would be a good candidate... Unfortunately as it stands currently, FxCop is only a binary checker. Due to this, things that are only represented in source code (such as spaces, layout of braces, etc) cannot be che ...Show All

  • Visual C# Use DllImport attribute to invoke functions in a native DLL

    I need to transfer information through shared memory between 2 exe files. I've found a C++ code that pretty much do exactly what I need to do, but I don't know how to do it in C#. Is there a way to convert this code to C# or write something in C# and would be able to receieve information for the C++ code Sample C++ Code: #include <windows.h> #include <stdio.h> #include <conio.h> #define BUF_SIZE 256 TCHAR szName[]=TEXT("MyFileMappingObject"); TCHAR szMsg[]=TEXT("Message from first process"); void main() { HANDLE hMapFile; LPCTSTR pBuf; hMapFile = CreateFileMapping( INVALID_HANDLE_VALUE, // u ...Show All

  • SQL Server SSIS Clustering Doubts

    1. On a cluster how a running ETL process is handled when there is a failover 2. How the half-completed dataload is handled Regards, Balaji Thiruvenkataraju Balaji Thiruvenkataraju wrote: 1. On a cluster how a running ETL process is handled when there is a failover As Darren has said on your previous thread, SSIS is not cluster aware. I don't think the SSIS service falling over during a package execution should have too much effect (but don't take absolute word for it) because packages do not rely on the SSIS service in order to execute. Balaji Thiruvenkataraju wrote: ...Show All

©2008 Software Development Network