ano's Q&A profile
Smart Device Development Windows Mobile 5.0 support RS232?
I am going to developing an application on PDA by using Visual Studio 2005, Windows Mobile 5.0. The application is linked to a RS232 RFID. I was wondering that if the WM5.0 support the COM port If yes, what is component that available to be used Thanks. Hi. Use System.IO.Ports.SerialPort component. You can drag it onto the form from the Components tab in designer view. ...Show All
Visual Basic How to: tansfer records/data in dataset to datagridview in windows application
Attn: alll users I need ur help to help me in my project.... How to tansfer the selected record/data to another dataset/datagrid like u click the button transfer and the details will be on the other datagrid pls provide link to relevant topics and alos sample code asap OK, Imagine this then 1 Dataset (called TData) 2 DataTables (Called Table1, Table2) 2 Binding Sources (Table1Binder, TableBinder2) 2 DataGridViews(Data1, Data2) We want to copy selected columns from a selected row in Table 1, to Table 2 So we could do something like this Dim SelectedRowView As Data.DataRowView Dim SelectedRow As TData.Table1Row SelectedRowView = CType (TableBind ...Show All
.NET Development Sending large number of mails
Hi every one Here I have a problem. I need to send over 2,000,000 mails or more (to the members only not Spam) in asp.net web application. I don’t know how to handle the situation. I ma looking for any help you guys. Any code snippet or article on how to will be highly helpful to me. Thanks in advance. Please help me. The SmtpClient class is your friend here. Take a look at http://msdn2.microsoft.com/en-us/library/system.net.mail.smtpclient.aspx for more info. You may need to specify credentials if your default credentials dont work on the smtp server. Also, this forum has other threads that have sample code on this. ...Show All
Visual C# FxCop is great, but is there a recommended tool for automating reviews of source code for style etc?
Hi, I use FxCop in my development environment and think it's great. But it works on the IL, so I was wondering if there was a tool that anyone could recommend that enforces rules on source code For example: Comments Style of braces White space ... Thanks in advance, Conor Conor Crowley wrote: Does anyone use any other commercially available tool that they would recommend or comment on Thanks For C++ code (you didn't specify language), I recommend PC-Lint . I don't remember how well it works on C++/CLI though. ...Show All
Visual J# merging redistributable package with project...
So I want to publish my Visual J# project and want to merge the restributable package with it to assure it'll work on computers I install it on, but I don't really understand the instructions to do so. And I do have the redistributable package installed on my computer. Any help Hi, You can create a set up project for your application and add J# redist as one of the launch conditions. Please refer http://msdn.microsoft.com/msdnmag/issues/04/10/Bootstrapper/ to know how to create setup projects using VS 2005. Thanks. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 3D Playing Cards ?
How would I approach a 3D representation of a playing card(s) If using a model, would 52 different models be required so that each card has it's own texture Can user primitives (i.e. 2 triangles to make a card shape) have different textures on each side What would be the best method for this Bill Reiss wrote: And when I say I'd like a 3D card rendering engine, I'm not talking about the dime-a-dozen card engines out there, I'm talking about something almost photo-realistic for the cards (similar to how pretty the Pocket-Jongg sample in the video montage makes those mah-jongg tiles look). And I'd like it to be free to the XNA community. Hey well I can dream. So who wants to take that project on ...Show All
Visual Studio Team System TFS API: How do I list all users for a project
I want to list all users for a spesific project. Anybody got ideas on how to do this borge3000 Hi, I tried the code in this posting and it works perfectly with one exception. I had a team project that for some reason had the "SERVER\Administrators" group as a member of the contributors group. Then i got an exception TF30290: There was a problem accessing the database on the server. See the Team Foundation Server event log for details. When looking in the event log I find this " Detailed Message: The statement terminated. The maximum recursion 100 has been exhausted before statement completion." so this makes me think there is a problem here somewere. My guess is tha ...Show All
Visual C++ How to get full user name in C code ?
I tried to use GetUserName() in XP, but this API cannot get full user name, any ideas Thanks in advance. #include <windows.h> #include <stdio.h> TCHAR* envVarStrings[] = { "OS = %OS%", "PATH = %PATH%", "HOMEPATH = %HOMEPATH%", "TEMP = %TEMP%" }; #define ENV_VAR_STRING_COUNT (sizeof(envVarStrings)/sizeof(TCHAR*)) #define INFO_BUFFER_SIZE 32767 void printError( TCHAR* msg ); void main( ) { DWORD i; TCHAR infoBuf[INFO_BUFFER_SIZE]; DWORD bufCharCount = INFO_BUFFER_SIZE; // Get and display the name of the computer. bufCharCount = INFO_BUFFER_SIZE; if( !GetComputerName( infoBuf, &bufCharCount ) ) printError( "GetComputerName" ); printf( ...Show All
.NET Development Enterprise Library 2.0 on Vista?
Hi! Is there anyone who can confirm if the "Enterprise Library 2.0 January 2006" is supposed to install on Vista RTM or not When I try installing it on my development laptop running Vista Ultimate RTM I get an "Installation ended prematurely because of an error" and the Event Log says: Windows Installer installed the product. Product Name: Enterprise Library for .NET Framework 2.0 - January 2006. Product Version: 2.0.23366.0. Product Language: 1033. Installation success or error status: 1603. And: Product: Enterprise Library for .NET Framework 2.0 - January 2006 -- Installation operation failed. Is that the expected bahaviour on Vista I did try disabling the UAC and also "Run as administrator&q ...Show All
Visual Studio Localization
What are the guidelines for localizing of the domain model I have noticed the Localize property on Classes and Values Properties, but I haven't figured out how it works Thanks! Mike Mike, We have changed to an entirely new localization scheme in the new bits that will release later this summer. Howie Hilliker MSFT Lead Writer DSL ...Show All
Visual Studio 2008 (Pre-release) ListView - Get Columns from Datatable
Hi, Does anyone know if it is possible to establish the columns for a listview in gridview mode from the columns in a datatable I have a datatable which will have a variable number of columns when the window is opened. I can programatically add the columns but I would prefer to use a Xaml declaration. If anyone can point me in the right direction I would be grateful. Regards, Trev ...Show All
SQL Server Business Intelligence on ROLAP
Hi all, I am inquiring whether I can have some business Intelligence on Relational DBMS in SQL 2005 as projecting the number of patients within a health care basing on the available data. Please help me out. Regards, Ronnie Hi: I think what are really looking at is using Data Mining in SQL 2005 - to do predictive analysis. There are several algorithms that would allow you to do this including Microsoft Time Series. Thanks. Suranjan ...Show All
Visual Studio 2008 (Pre-release) Slow Render Performance (2000+ UIElements)
I’m creating a Grid that is 35x35, each cell containing a ContentControl with a ContentTemplate defining a TextBlock inside a Border. It is necessary for the entire grid to be rendered at one time. Perhaps obviously, there is a noticeable delay after my code ends (building the grid dynamically) and when the grid displays on the screen. (based on Timers and a Debug.Write) The delay also seems to occur when I’m building the grid for printing and its not actually rendered. I would guess I’ve reached a limitation of WPF, but is there something I can do to minimize this delay Thanks for suggestions. ----- Code --- <Style x:Key="DefaultCellBox" TargetType="{x:Type ContentControl}"> <Se ...Show All
Visual Studio Express Editions Application to generate MS Word document?
Is it possible for a C++ application to generate the MS Word *.doc files For example, if I had a form with two text boxes and a button on it. When the button is clicked, would it be possible for the program to make a new MS Word document that has a 2 cell table with the text box values in each cell, and save this Word file to the current directory If so, any pointers to the libraries to use or whatever tools I would need would be greatly appreciated. Thanks in advance I tried the code above and changed it for word 2002 // openword.cpp : Defines the entry point for the console application. // #include "stdafx.h" //#import "C:\\Program Files\\Microsoft Office ...Show All
Visual Studio 2008 (Pre-release) WPF Text blurry
Hi, I'm wondering if this is a known problem: I have a multi monitor setup and whenever I move a WPF window from one screen to the other the text becomes totally blurred. Also, moving the window across to the other screens is very slow. Sometimes, this blurry text effect also appears on the main monitor, for example when I expand a combo box, etc. Anybody knows what's going on there Thanks, Tom Hi Tom, This problem has not reported before (the aforementioned SnapsToDevicePixels property does not affect Text). I wonder if your second monitor is actually set to its optimal resolution setting. Does non-Avalon text show up clearly on both monitors -Seema ...Show All
