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

Software Development Network >> R W D's Q&A profile

R W D

Member List

Will Buchanan
Polar Bear
Spanglishone
rachbabe
ezikiho
Miguel Rion
laserbeam
nbrege
rbedard
RB_Banc
Ofir Epstein
Shamirza
febwave
Richard Karner
Matt Clements
Lenmax
Igor Mendizabal
Peca55
SomeRandomName
TJ2007
Only Title

R W D's Q&A profile

  • Visual Studio 2008 (Pre-release) How can I get perfect performance when I draw 1000 lines?

    I'm creating an app that draws 1001 buttons, 1 center button and 1000 normal buttons, and 1000 lines, that each line connect the center button and one normal button.When I move the center button, the 1000 lines are refreshed.Now, I use a GeometryDrawing, but I get bad performance. How can I get better performance You should check out StreamGeometry class. MSDN documentation says: StreamGeometry is light-weight alternative to PathGeometry for creating geometric shapes: it does not support databinding, animation, or modification. Use a StreamGeometry when you need to describe a complex geometry but do not want the overhead of supporting databinding, animation, or modification. For example, because of its efficiency, the Stre ...Show All

  • SQL Server SQL 2005 Express and Visual Studio 2003 - Connecting

    I have Visual Studio 2003 and had used it successfully with MSDE. I recently upgraded to SQL 2005 Express and cannot seem to connect to the SQL server. it appears in the list of servers on localhost, but when I try to create a new database it tells me that it "cannot create databases on this server." It will not even open up any existing databases. I have .NET 2.0 installed. I uninstalled SQL and reinstalled it, but nothing seems to help. I feel I must be missing something, but do not know what. I no longer have the MSDE installation files, so I hope I can get Studio to talk to SQL Express. Any help is appreciated. Looks like VS 2003 confused about the version of SQL Server installed ...Show All

  • Visual C++ Win 32 Wrapper Class

    I was looking around for a while on different forums and sites and couldn't find any help to my problem. I'm trying to make a windows wrapper class. I'm using VS 2005 and doing it in visual C++. I'm declaring my handle as a private variable inside the class. private : hWnd; Then in my functions I have HRESULT cWindows::WinCreate() { hWnd = CreateWindow( "wndName" , "" , WS_OVERLAPPED, 0, 0, 600, 480, NULL, NULL, hInst, NULL); if (!hWnd) {return E_FAIL;} return S_OK; } hInst is a variable that I keep stored in the privates of my class and pass it in through the constructor. The WNDCLASS is registering itself fine, but whenever I try to create the window, I keep getting a a NULL ...Show All

  • SQL Server HOW TO DELETE OLD BACK UP FILES AND TRANSACTION LOGS IN SQL 2005

    SQL 2005 DOES NOT HAVE THE SAME FEATURE THAT WAS IN 2000 TO DELETE OLDER FILES OLDER THAN CERTAIN DAYS. I DO HAVE A JOB THAT CREATES A FULL DAILY BACKUPS BUT SINCE I DON'T HAVE ENOUGH SPACE, I WOULD LIKE TO FIND A WAY TO DELETE ALL OLD BACKUP FILES OLDER THAN X AMOUNT OF DAYS AND ALSO DELETE TRANSACTION FILES OLDER THAN X AMOUNT OF DAYS. IS THERE A TOOL TO DO THIS. CAN ANYONE HELP PLEASE. EMADKB This is exactly what was happening to me- our plan had "*.bak" as the extension, which caused the maintenance plan to do nothing. When I changed it to "bak", it began working perfectly. It would be nice if MS added some validation logic to the maintenance plan designer to check for things li ...Show All

  • Visual Studio Is there any way to have "external" HTML pages linked into help?

    I would like to be able to have some extra HTML pages a part of my help file. Is there any way to add pages that don't come from comments If so how If not, can we get this feature please If you are using the help file builder, add the pages or the folder to the AdditionalContent property. There is extensive support for additional content including the creating of folders within the table of content based on the folder hierarchy on disk. See the help file for full details. Eric ...Show All

  • .NET Development Regular expression hang

    Hi there, if I execute this sample code Console .WriteLine( "Start" ); Regex regularExpression = new Regex ( @"<%!( <declaration>(.|[\s])*)%>" ); regularExpression.Match( @"<%! %>Check that all declared methods can be called next to relevant statement so sure it is executed" ); Console .WriteLine( "Before hang" ); regularExpression.Match( @"<%! %>Check that all declared methods can be called next to relevant statement so sure it is executedCheck that all declared methods can be called next to relevant statement so sure it is executed" ); Console .WriteLine( "After&q ...Show All

  • Visual Studio Express Editions Running Windows-Command Lines in 2005 Express Ed.

    Hello! OK. I have a batch script that I am using and it works awesome! However, I want to make it work using Visual Basic 2005 Express Edition. Can someone show me examples on how to run windows command lines under a Visual Basic 2005 Express edition program So in other words… Having a form that shows an OK button disabled until my script that is running Windows Command lines in the background is finished. Then the OK button will enable. I know how to make the OK button disable and enable…I just want to know how in the world you can have command lines work in VB. Another quick question…what is a good book out there for a beginner Thanks Chapio OK. So I ...Show All

  • .NET Development Security Exception

    I am trying to host an ASP.NET 2.0 application (written in C#) which calls a native code C++ dll. The application works well on the localhost, but the hosting ISP has set the trust level of the ASP.NET 2.0 environment to Medium. Consequently, whenever the ASP.NET 2.0 application tries to load the dll, it bombs out with a security exception. Try this.... create antother managed dll that calls the C++ dll .... sign the managed dll and put it in the GAC. Rgds, Rodrigo ...Show All

  • Visual Studio Team System Excel datasource problem - number format

    I have a web test that binds some Post Parameters to an Excel spreadsheet. I notice that some of the values read from the spreadsheet are set to "" (empty string) even though they have a value in the spreadsheet. Debugging the web test and looking at the spreadsheet it appears that the cells that are being read as "" are those with leading zeros. For example, here are 2 rows from my spreadsheet, the first row, second column will be read as "" (empty string) even though it has a value ( 0692189409). All other cells are read correctly. 106500804887 0692189409 81005 106500062973 5520163826 49255 It appears that the formatting of the cells is having some effect ...Show All

  • SQL Server Can't I dynamically read from any file? - Connection Manager does not exist

    I have a Parent package and a child package. I have hard coded the value for the User::FilePath variable in the parent package. I am mapping this variable to the value of the same variable in the Child Package. I created a directory and sql file: "C:\temp\sqlb.sql". I have verified that the path variable value is passed to the child package by using a Script task with a messgbox call. How do I define an execute sql task to execute sql file: @[User::FilePath] & "sqlb.sql". I'm using this expression for the SqlStatementSource property. I have entered the OLEDB server information and specified the SQLSourceType = fileconnection. However I get the error: [Execute SQL Task] Error: Connection manager &qu ...Show All

  • Visual Basic Redistribution

    How does one redistribute PrintForm Are we limited to the provided installers Regards, - Mike On my project I've got a setup project. I'm using now the PrintForm instruction and I did nothing on my setup project and no new files have been added automatically. But on a target machine where I installed my new version of software which use the PrintForm instruction I checked that the: Microsoft.VisualBasic.PowerPacks.Printing.PrintForm.dll was correctly installed. ...Show All

  • Windows Forms Accesing selected text in other application

    I'm running a Tray Application which gets on focus when a hotKey is pressed. In a few words, the user will select a piece of text in any application (IE, word, acrobat, or any custom application), press the hotkey registered by my application, and the application should be able to read and display the selected text. Could anybody guide me to accomplish this Is it possible Thanks, Seb. That's not really helpful... For one I'm doing this in C# and don't know anything about C++ (may seem strange, but I'm new to C# most of my knowledge for that comes from Java) So the whole C++ article isn't useful, I did take a look at it...but I couldn't even find it doing anything similar to what I want. An ...Show All

  • .NET Development Error installing .NET 3

    When I try to install .NET Framework 3 on a Windows 2003 Server R2 new instalation (no betas on it) I get an error. The error log file contains [02/01/07,12:39:58] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603 [02/01/07,14:29:54] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603 [02/01/07,14:30:03] WapUI: [2] DepCheck indicates Windows Communication Foundation is not installed. [02/01/07,14:32:34] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603 [02/01/ ...Show All

  • Visual Studio How To: Solve Addin error?

    we write an addin and  try to use it normally , but suddenly it gets dll in use error, although we close all . we didn't use the dll in any way . when at last we logoff , the Tools menu  hasn't open till now and have this error when we press it: 'The Add-in supporting this command could not be loaded. ...' And asks to remove the command.it doesn't matter if we press yes or no.any way we can't press Tools menu in any way. best regards,     It's difficult to say with that info but the general advice is: - Simplify your add-in commenting out code until it works again. Then re-add the removed code to see what causes the problem. - Use RegMon and FileMon from www.systinternals.com to see wha ...Show All

  • .NET Development problem with CLR dll, but only in debuger

    I am making a CLR dll in C++, and testing its consumption in C#. For the sake of this thread, the CLR dll will be called ' MyCLRdll ' and the test propgram will be called ' MyTest ' I know the problem relates to the progress bar parts of the dll and test and cross threading What I don't know is why this problem ONLY happens in the C# debugger, or how to fix it. When I go into the Debug folder and double click MyTest.exe every thing works perfectly; its just when I hit the play button in VCS Express that the problems happen. The thing is MyCLRdll pretty much has to work in the IDE too because it is a devolpment tool "You can not alter a progress bar from a different thread," but ...Show All

©2008 Software Development Network