Netix Liu's Q&A profile
Smart Device Development Automatically scrolling to the bottom of a multiline textbox with scrollbar in CF 1.0
Hi, Is there a way to automatically scroll to the bottom of a multiline textbox with a scrollbar in CF 1.0 I would like to generate the equivalent of "scrolling output" in my CF 1.0 application, and I am using a multiline textbox to hold the text that I would like to scroll as I add more text to it. Thanks, Mark Rejhon Mark, The whole .NET CF is built on a top (wraps) Win32 API's. If you still think SendMessage ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Disable FSAA for some primitives each frame? (disable it temporarily)
If I set my device to use 4x FSAA for example, can I temporarily disable it when rendering primitves or somehow make primitives that isn't affected by the FSAA I have a graphical user interface that render text and quads with point filtering, that way making it "pixel perfect". Much like blitting a sprite but I'm using triangles instead. However this method breaks miserably when I add antialiasing, since the pixel precision is lost and ...Show All
Visual Studio Team System Attempting to auto assign to triage user
Under our AD we have a user called triage, created with the intent that this user will be logged in during the morning war-room meetings where dev and qa meet to discuss new bugs and what to do with them. I'm trying to set team system to auto-assign any bugs with status of New to this triage user, but whenever I try to verify the xml through the witimport tool, I keep getting the error: '[domain name]\triage' is not a valid user or group name. ...Show All
Windows Forms Unable to paste CSV format into Excel
Hi, I am trying to put data onto the clipboard which can be pasted into Excel. I have successfully implemented HTML, Text and XML Spreadsheet but cannot get the CSV format to work. Even the example provided by MSDN won't work: string comma = System.Globalization.CultureInfo.CurrentCulture.TextInfo.ListSeparator; String csv = "1" + comma + "2" + comma + "3" + Environment.NewLine + "6" + comma + "8" + comma + "3"; byte [] ...Show All
.NET Development Socket.EndReceive question - in which scenarios does it return 0 (zero)?
Hi, I have an application that works just fine. I am puzzled by the following issue though - in certain scenarios, Socket.EndReceive returns 0 bytes. According to the documentation, this happens when the remote host calls Socket.Shutdown or closes the Socket in another manner. Generally, I observe this to be correct . However, there are several types of apps (remote hosts) for which this does not hold (the code is not mine so I cannot see ...Show All
Windows Forms save a multi-page Tif
OK, this should be REALLY simple, but im having a very difficult time getting it to work. Dim img As Image = Image.FromFile("C:\temp\2.tif") img.Save("c:\temp\dsfsdafsadfdsfsadfdfs.tif", ImageFormat.Tiff) The 2.gif is a multi-page Tiff, when calling the save method, it only saves the first layer of the file. I have tried using Bitm ...Show All
.NET Development System.Reflection (Reading Assemblies)
Anybody knows about System.Reflection I'm reading an Assembly and I'm taking the types(classes) and their fields(attributes). But there is a problem, because I'm doing that well but when I take a type that inherits from a class, I mean, i get a class that inherits from another, when i do the getFields(), it doesn't bring me his father's fields. The question is: There are some way to get the fields from a father of a class How ca ...Show All
Windows Forms search a string within a string
Hello @all, I've a little problem to check if a string exists within a string. if I try this example it works fine: [code] Dim result As Integer dim subj as string = "My mom has a fat dog..." dim filter as string = "Peter" result = su ...Show All
Windows Forms Grouped column headers
Hello, for my company I need to modify a Windows.Form.DataGrid, so it has grouped column headers. The column header should look like: +----------------------+--------------+ |.......animals...........|.....flowers....| +------+-------+------+------+------+ |.name|..legs..|..ID...|.name|.color| +--- ...Show All
Game Technologies: DirectX, XNA, XACT, etc. May seem like a silly question... (DirectX logo)
What are the terms for using the DirectX logo in a game Been looking all over without finding an answer. In my case I'd like to display it as an icon while performing initialization and during configuration. I had the same question just recently, and emailed our Friendly Community Manager :), in doing so I got a really good and helpful answer. What I found out is that there is no official logo bundles available, ...Show All
Visual Basic Database question....
In my VB 6 app I used an access DB with 77 tables each representing a different company products. They are ALL the same format just different company names for each table. In VS2005 I would like to use just one table and have about 3000 records with the column MFG. Obvioulsy this makes for quick response from the program. Here's the problem.... In the old app I populated a combobox with each table so the user could quickly navigate to the ...Show All
Visual C# image in textbox
Hi I had paste a image in my textbox.. and worked fine.. the problem is that i cant get it from there.. i want to store all the content of the textbox in SQL Db so .. i need its content including image.. txtBox1.Text wont work.. i lose the image... does anybody knowes hwo to do that Cheers! Hi! Paste image into TextBox May be you mean RichTextBox RichTextBox has RTF property so you can save all formatting or it have SaveFile() method so ...Show All
Windows Forms How to use MsgBox in c# for a class library
Is this possible In this exemple: http://msdn2.microsoft.com/en-us/library/9cdb5eda(VS.80).aspx they are using MsgBox which is in Microsoft.VisualBasic namespace. However, I can't use it in c#. Because I don't have a windows program, I can't use the MessageBox as well because I don't have access to System.Windows namespaces. Is it possible to have a messagebox in C# If so, how ! thanks. Hi, the mess ...Show All
Visual Basic loggin
I created a loggin form and dont know how to do the loggin databases so i figured id code the loggins. but it doesnt work can u help me with this or say how to do the databases If (UsernameTextBox.Text = "Loggin" & PasswordTextBox.Text = "Password" ) Then Dim openform1 As Form1 = New Form1 openform1.ShowDialog() End If End Sub Hi. I'm not sure what & does in VB, I thought ...Show All
Software Development for Windows Vista WWF and ASP.Net
Any news on how WWF will integrate with ASP.Net I am hoping that it will provide a way to graphically manage the workflow of an ASP.Net application. It always bothers me having to bury navigation instructions in your code - if WWF can improve on that then please let me know!! Jared Bienz wrote: I agree: There is no documentation here that is helpful for workflow orientated Webforms. So far, I ha ...Show All
