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

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

Quazarman

Member List

GuidoBrunner
tryCatchdEbug
oag_hboyce
Kevin Won
Rok Yu
Luis Esteban Valencia Muñoz
Puvab
Jayaram Krishnaswamy
Manfred D
Anthony Kautz
Jin12551
Joey Lau
countzero
Kent Liu
gerard555
Qing Fang
arup08
dave_mwi
Paul Chin
Jat the great
Only Title

Quazarman's Q&A profile

  • .NET Development C# SerialPort Read termination issue.

    The new SerialPort class is fantastic and works great. However, I'm now in a situation where I need ReadLine() to return when a 0xC1 is recieved in the port, as all of the incoming messages begin with a 0xC0 and end with a 0xC1. Trouble is, the NewLine property only takes (unicode) strings, making this seemingly impossible. I cannot read one byte at a time (WAY too slow). Please help Oh Gurus! :-) The problem isn't that SerialPort.NewLine takes a Unicode string it's that by default the SerialPort class uses the ASCIIEncoding to convert the bytes that it receives to characters. This encoding would convert 0xC0 byte to 0x3F or ...Show All

  • Windows Forms Databind short date to masked text box

    I'm having a hard time binding a DateTime column of a typed dataset to a masked textbox. I have a masked textbox with the mask of 00/00/0000. The binding works, sort of, but if the date is something like: 02/14/2005 then the textbox drops the leading zero giving me 21/42/005, which is obviously not what I want. I opened a bug on this (FDBK29210) and was told the problem wasn't with the textbox, but rather with the databinding. A comment on the bug suggested I add the following format to my databinding code: "MM/dd/yyyy". I went ahead and did that and it still fails. My databinding code looks like this: birthdayMaskedTextBox.DataBindi ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. SurfaceLoader

    I was using SurfaceLoader.Save(filename, ImageFileFormat.Png, surface); to save screenshots in my old MDX project, now I'm switching to MDX2 and I know that it is beta and "shouldn't be used" but I haven't had much trouble at all converting. However, this stumbles me. Is SurfaceLoader renamed / moved or just simply removed And is it possible to save the backbuffer to a file in MDX2, or do I have to wait for the february sdk beta questions in beta newgroup, where I beleive your 1st question has already been answered http://msdn.microsoft.com/directx/beta/default.aspx ...Show All

  • Windows Forms Enable/Disable Textbox on Current-BindingSource-Item

    Hello, please have a look at the follwing scenario: *I have a DataGridView to show a list of DataRows (bound to a DataSource). *Some Textboxes ans other controls show the current-selected row. The Problem: If there is NO DataRow in the DataSource, or none is selected the Textboxes are enabled! Users could think of inserting text, even if there is no row. How could I bind the Enabled/Disabled property of controls to "is a row selected /is there a bindingsource.current " thank you!! the help file is wonderful. . . BindingSource.Current Property BindingSource.Cu ...Show All

  • Visual C++ printing data

    hi i have created a dialog box application with two controls on it (Button and List control with report view style). what i want, when i click on button data present in list control should get printed with help of printer. Now problem is how can i instruct printer to print only those data which is present in List control. Regards Pankaj Native MFC Managed An MFC solution here: http://www.codeproject.com/listctrl/listprint.asp ...Show All

  • Visual C++ Setting the Listing File

    VC++ compiler can create a text file that shows the assembly code generated for a C/C++ file. I can set the C/C++ compiler options to generate the listing file in Project Settings dialog of VC6. But I don't find how to do this in VC++ 2005 Express Beta. I just want to know how to get the assembly code in VC++ 2005 Express Beta. I don't have access to the Express Version of Visual C++ but in the full version of the product the option to create an assembly listing is on the Project Properties dialog under Configuration Properties - C/C++ - Output Files. There is an option "Assembler Listing". ...Show All

  • SQL Server Update of text collumn

    In a batch job , I use the following (pseudo)sql for updating of a col text column - basically a search of char1 and replace it with char2 - ---------------------- declare @i as int select @i = count(*) from <table> where <col> like '%char1%' WHILE (@i > 0) BEGIN DECLARE @textptr BINARY(16), @patIndex INT, @patLength INT , @str varchar(10) SET @patLength = DATALENGTH('char1') set @str = char2 textUpdateLoop: SELECT TOP 1 @textptr = TEXTPTR(<col>, @patIndex = PATINDEX('%char1%', <col> - 1 FROM <table> WHERE PATINDEX('%char1%', <col>) <> 0 IF @@ROWCOUNT = 0 GOTO endLoop UPDATETEXT <table&g ...Show All

  • Visual Studio Express Editions Search

    Ok i was wonderin. Can I, and if so, how do you search or if you like 'Scan' a hard drive with vb for a filename such as lala.exe or what eva. I'd love to know! Directory.GetDirectories and Directory.GetFiles can be used to recurse over a directory structure and apply a search string. ...Show All

  • Smart Device Development Cannot compile in Visual Studio 2005

    Hello, I unzipped a Microsoft Visual 2005 solution from a fellow worker.  I am able to open up the solution and everything looks fine.  When I try to build anything I get a message box with the following information The operation could not be complete. Unspecified error. If I change the solution back to Pocket PC 2003 I can compile.  I need to build this solution for 2005 Thanks, Joe Hi Joe, Do you have the Windows Mobile v5.0 SDKs (Pocket PC and Smartphone) installed If not, then the solution won't build properly on your machine. PPC can be found here: http://www.microsoft.com/downloa ...Show All

  • Visual Studio Team System VS team and VS professionalb differences

    does the "out of the box" visual studio 2005 professional include unit test and fxcop utilities or would I need VS Team for Software Developers i've looked at the diagram on the VS team site and it looks like all team editions use VS2005 professional so I'm hoping someone will explain the differences. http://msdn.microsoft.com/vstudio/products/compare/default.aspx Visual Studio 2005 Professional does not include static analysis (FxCop) or unit testing. But you can install the stand-alone FxCop , and some third-party unit testing tools like nUnit . ...Show All

  • Visual Studio Team System Creating database during build

    Hello! Is it possible to create a database during a team build We have the database structure scripted including test data. I would like to recreate this database when we run a team build. Is this possible at all Cheers, Chris Chris, You can use osql to execute the script through the Exec task in the TfsBuild.proj by overriding a target in the "Program Files\MSBuild\Microsoft\VisualStudio\v8.0TeamBuild\Microsoft.TeamFoundation.Build.targets" and checking in your sql script file into the $/TeamProject/ folder. For Eg: Add the following in the TfsBuild.Proj. < Target Name = &q ...Show All

  • Visual Studio Team System Code Analysis tool in VS 2005 RTM version

    Hi,    I am using VS 2005 Team Edition for Software Architect RTM version. When I create a project and go to project properties I don't see code analysis option as it was in VS 2005 professional edition of RC version. Am I missing something here or CAT is not part of software Architect version   Regards Mahesh It's either the Team Developer or Team Suite SKUs that have CAT.  Cheers, ET ...Show All

  • Visual Basic Using Modules for the Underexperienced...

    I have created a public module to hold often used functions like cut, copy, paste, undo. I have something similar for print-related functions. I have the correctly named buttons on my form that correspond to the Subs in the module(s). Now how do I call the darn things If you have declared the functions as Public then you simply invoke them: Answer = SomeFunction(A,B,C) or Answer = ModuleName.SomeFunction(A,B,C) ...Show All

  • .NET Development web service encoding

    I have a web service that allows user to retrieve "User Data".  When I browse to the Web Serive and click on a method, I see the SOAP request response details.  In which I see the encoding is set "utf-8". Where should I make a change so that this encoding is changed to lets say "ISO-8859"   Thanks for your help. Hi, Thanks for answer... that solved may questions I was also asking about the encoding management of SOAP response (my problem is the same than above). However, I am quite surprised no tool exists to set the encoding of XML/SOAP messages in ASP.net / IIS... ...Show All

  • .NET Development e Proxy AutoConfiguration Issues.....

    I am having some difficulties getting connectivity to external web sites through a proxy server using .Net Framework 2.0.5727 with Visual Studio 2005. I am also noticing that the same problem exists in the Microsoft Document Explorer, returning the error "Unable to connect to the remote server" for MSDN Online, Codezone Community & Questions search locations. The documentation suggests that the proxy should be automatically configured (unless configured otherwise) to use the IE settings. I have checked the app.config and machine.config and there are no entries specific to proxies (other than the initial settings in machin ...Show All

©2008 Software Development Network