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

Software Development Network >> hmayer's Q&A profile

hmayer

Member List

nikki01
Ical
asalcedo
fatquack
tamasu
yandrea
MitchellH
EvilOneSD
Greg Van Mullem
DKB
Nick Martyshchenko
Ritesh Singh
Steve Wenck
Yuhang
Hiral
StangGT325
87jerome
Umberto
ConfigSSIS
smoon
Only Title

hmayer's Q&A profile

  • Windows Forms How to do a new line return on a rich text field

    I am having a stupid issue with a Rich Text Field and needing to drop a new line programmatically. In writing to the Console, it is easy, just use "\n" to cause the string to the next line; well I am just wondering how I would do the same thing for a rich text box Say for example, I want to print 10 sentences out in a Rich Text Box. After each sentence I want to go to the next line so the sentence does not overwrite the previous; what can I do to achieve this for ( int i = 0; i < 10; i++) { RichTextBox.Text = "The brown fox ran fast"; //How can I get this to drop to the next line each time it is printed } Thanks, Flea for ( int i = 0; i < 10; i++) { RichTextB ...Show All

  • .NET Development Memory consuming during BinaryFormatter Deserialization

    Hi, I have a problem and I need your help please, I have made a large aplication that takes a very long time to generate the results, so I have serialized the intermediate results periodically in a binary files using BinaryFormatter in order to save it from any suddenly problems like shutdown or restart. Now I need to Deserialize all saved files to continue my work. The size of the saved file is about 6.5 GB devided into about 260 files. When I try to deserialize it one by one, the first three files were deserialized in about one or two min. , and then the speed is very slow down, and the memory is fully consumed. I think that when the reading process starts the memory begins free and it then filled out with each reading ...Show All

  • Visual Studio Team System TFS version control vs Perforce?

    All, Thank you for reading this email. I have done Clearcase, Cvs, Subversion, Perforce and various SCM tools. Now, evaluating the new TFS version control for a company that only has Windows developments. Can anyone help me with the following questions 1. Is TFS version control out of beta phase yet 2. Is there a list of comparison between Perforce and TFS version control 3. In addition, is there a list of comparison between MKS integrity and TFS version control Thank you in advance. B. This post has been answered in the version control forum. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=543517&SiteID=1 Buck ...Show All

  • Smart Device Development wince 5.0

    Hi, I have a program writen in C# Visual studio.net 2005. Can I run this program on a Handheld that run winCE.net 4.2 OR the handheld need to be with winCE 5.0 or Mobile 5.0 Jeanet Jeanet. Windows CE 5.0 supports .NET compact framework 2.0, but currently Windows CE 4.2 does not. It is currently in progress with the recent release of Service Pack 1 for the framework. If your application is written in .NET 1.0 then it should work, otherwise you will have to wait for the update to the service pack. ...Show All

  • Visual C# Attributes

    I just wanted verification on this. If I use custom attributes to document bug fixes in my code, will that effect run-time performance [ BugFix("01/01/07", "Fixed problem with calculation...")] [BugFix("01/04/07", "Added error-handling....")] public void MyMethod() { ................ O'Reilly gives the Bug Fix as an example of using an Attribute, so i guess it is OK http://www.oreilly.com/catalog/progcsharp/chapter/ch18.html . Custom Attributes You are free to create your own custom attributes and use them at runtime as you see fit. Suppose, for example, that your development organization wants to keep track of bug fixes. You already keep a database of all ...Show All

  • Visual Studio Express Editions Writing strings in a specific column

    Im am doing a receipt sub-functions where in i have to print an invoice. I want my strings to be in a specific columns so if ever strings are long they would be trimmed and will not affect the positions of each strings. The strings are appended on each line by using a Rich TextBox. Please help me with my codings: Public Sub AddToBasket() Dim Qty As Integer Dim Quantity As String Dim Code As String Dim Description As String Dim UnitPrice As String Dim Subtotal As String Dim ItemRow As String Dim space As String = " " 'Dim sep As String = LSet(" ", 5) Qty = Integer.Parse(POS.LblQty.Text) CalculateSubTotal() Quantity = LSet(Qty.ToString, 4) Code = LSet(POS.lblCode.Tex ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Starting work on my GUI system

    Well, I've hit a wall with my game's development, and since there was no GUI with XNA 1.0, I've decided to go ahead and make my own GUI system. I implemented a lot of mechanics for my game, but I need greater interaction to proceed development in a sane manner. So far I've just implemented the text drawing stuff from scratch. It uses only monospace fonts generated with BMFontGenerator without using the generated .xml file. It's decidedly minimal to use only monospace fonts, but keep in mind two things - 1) my particular game doesn't require anything more robust than monospace fonts and 2) a game's engine should be designed around the game's specifc requirements. Otherwise you're scope creepin. I remind myself constantly not to let cool ...Show All

  • Visual C# eventhandler for datetime control

    VS 2005 - I want to add an event handler for a datetimecontrol using the event ENTER. When the datetime is entered I want it set to todays date I have tried using the object.value but it does not seem to work. Can anyone correct the for me - thanks void hnOnEnterDT( object sender, EventArgs e) { /* date picker - handler for (Enter) * Set the control to the current date */ = System.DateTime.Today; } well you can implement the enter event as you probably have done then in this event you want to set todays date and to do this, as you have also stated, you should use the Value property but what happens when you say it does not seem to work ...Show All

  • Visual Studio How to install Management studio from Vitual Studio 2005 Professional correctly?

    I installed the Vitual Studio 2005 Pro Edition but first I uninstalled all previous express edition. After I installed the pro edition, the Management studio did not get installed Isn't it from the 'wrokstation, ....' option OK, I did exactly what you said: When installed SQL Server 2005, on the "Components to install" screen click on "Advanced" and select only the "Client Components". The rest other option I did not select. The Client component has the Mangement Tools which is the Management Studio. But when I installed it gave me error: 'A component that you have specified in the ADD_LOCAL properties is already installed. To upgrade the existing componen ...Show All

  • Visual C# dynamic asp button click doesn't work first time

    Hi all, I'm creating some asp buttons dynamicly and I associated them an event handler btnDel.Click += new EventHandler (btnDel_Click); but the first time I click on the button goes to the Page_load but the btnDel_Click is not fired. Somebody knows the reason Thanks in advance. P.D.: Sorry for my english. Hi all, I have solved this problem by changing the asp button to html button, and adding them an "id" instead of taking the .net one ("ctl_1", ...). I realized also, that the only the first button hadn't the click event associated the first time. Also, the others were taking the arguments of the previous button, i.e., the second button was taking the arguments of the first button, th ...Show All

  • Visual Basic Call EXE method from DLL

    Hi Is there a way that I can call a method in an EXE (managed code, VB.NET) from a .NET DLL by passing a reference to the instance of the EXE Multiple instances of EXE might be running and loaded in memory and I need the DLL to invoke a method within the running instance by passing a reference (such as the application title, window handler etc). In case you are wondering why the DLL is calling the EXE method and not the other way around, it is because this DLL is like a wrapper class and the method that invokes the method in the EXE is actually called from an Access VBA module. TIA Oh. and I should probably mention...this is a clickonce app. I'm looking at using the StartupNextInstance handler, but it doesn't look to promising ...Show All

  • .NET Development DataTable.Select() Question

    I've searched high and low for an answer to this, but all I can find is stuff about the filter/sort bug, so hopefully someone can help me. I want a distinct list of instruments where the date is the first date where the instrument has data. Ignore the possibility of null values. Normally I would write this is SQL: Select ValueDate, Instrument, Price where Instrument = '0001' and ValueDate = (select min(ValueDate) where Instrument = '0001') For some reason I just can't get this to work, no matter how many variations I use. I hope I'm missing something terribly obvious. Thanks in advance, James If you are using DataTable.Select(), you can simply achieve what you want by using strFilter = ...Show All

  • Visual Basic Visual Studio Is Busy?

      Pentium IV - Northwood 3.5 Ghz - I Gb of Ram. XP SP2 .. all current patches applied. VS2005 RTM Team Suite On occasion while debugging the IDE becomes nonresponsive and I receive a Bubble message informing me that "Visual Studio is busy waiting for an internal operation to complete - If you receive this message often, please inform Micorosoft" After I receive this message the IDE never recovers. All I can do is to delete the process and restart it. Any idea what's occurring It's happening consistently for me any time I try accessing a remote site. The site was working yesterday, but when I got in this morning, I am unable to access it via VS 2005. I can get in fine using 2003, though. If I resolve t ...Show All

  • SQL Server Can't attach to database

    Hi, I have a database that I developed using both Toad for SQL and SQL Server Managment Studio. All was working fine. I could connect to the database with one of the above and also run two an applications I developed (one in C# and One in VB.NET using VS Express) using the standard SQLConnection class. the following connection string worked fine... Server="(local)"; Trusted_Connection="yes"; Database="CDEvolution"; Now, for one reason or another I decided to create a new data source in my Visual Studio project and pointed it to the database fine. At first it seemed ok as I could see all tables from teh database. However somethign strage has happened. I now can't access the database in TOAD or ...Show All

  • Visual Studio 2008 (Pre-release) possible 3D LookDirection bug

    the scene has a cube at the origin. the camera is looking down on it from LookDirection="0,.0001,-1" ... and that works. but if i change it to LookDirection="0,0,-1" ... then the cube cannot be seen. i'm assuming a DivideByZero bug happens somewhere during processing Just copy/paste the XAML below into a file and open in IE. Thanks, casey < Canvas ClipToBounds = " true " Width = " 400 " Height = " 300 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:d = " http://schemas.microsoft.com/expression/interactivedesigner/2006 " xmlns:c = " http://sche ...Show All

©2008 Software Development Network