DnKostya's Q&A profile
Visual Basic can Serial device data be transmit to web_page.aspx directly?
Hi there, Please help me. I have a serial WiFi device connected to a barcode scanner. Is it possible to create a "web_page.aspx" which can "talk" to the serial device to transmit the captured data to the "web_page.aspx" It's something like this... Barcode scanner (connected to serial WiFi device) --> [Transmit data via WiFi] --> "web_page.aspx" Previously i've used HyperTerminal (HT) to try out the connection. HT uses TCP/IP to connect to the serial device and the transmittion of data is possible. If it is possilbe to replace HyperTerminal with web_page.aspx, how can i do it That's pretty unusual. I don't know enough about it and you real ...Show All
Windows Live Developer Forums Where can i get the Windows Live ID SDK
Hi, Do you know where can i get the Windows Live ID SDK The Windows Live ID Client 1.0 SDK Alpha has been posted!! You can download it at http://connect.microsoft.com/site/sitehome.aspx SiteID=347 . Please come back here to the forum to leave feedback. ...Show All
Windows Forms Help coloring individual cells in datagridview based on cells beside them.
Hi, I have this requirement to color individual cells in the datagridview based on the value of the cells right of them. There is how the data looks like: ID Time D1 D1Q D2 D2Q D3 D3Q ..... 1 '1/1/2007 00:05' 35 BLUE 23.5 GREEN 42 RED 2 '1/1/2007 00:10' 38 BLUE 24.8 YELLOW 38 YELLOW 3 '1/1/2007 00:15' 41 RED 23.1 YELLOW 33 RED 4 '1/1/2007 00:20' 36 RED &nb ...Show All
SQL Server Unable to Connect - SQL Express on Server 2003 from Vista
Getting error 1326. I'm running SQL Express on Server 2003 SP1 (workstation - although, I did dcpromo promote and demote prior to installing SQL Express). I'm trying to connect from SQL Studio Express on Vista. TCP and Named Pipes are selected in Surface Area Config; sp_config remote, access..., 1 was run (per KB); ports 1433 & 1434 are open (I think 435 also was opened when I ran the KB instructions); Mixed mode is selected, user is set for SQL Auth, password is correct; all permissions are granted. I found an article online which stated that mixed versions of MDAC can lead to the problem. The server has 2.82.1830 and the client has 6.0.5600.16834. Could this be the problem If so, how to solve Thanks, John ...Show All
SQL Server Using Configurations Class within Script Task
How do I access the configurations collection of a package within a Script Task component Is there any sample code anywhere Thanks! You set SSIS configurations as part of the package definition, and the ability to set a variable value is a perfect use for them. Go to the Package menu, and select Configurations to set this up. ...Show All
SQL Server Bulk Insert from CSV - trouble with .FMT
I need to bulk insert from multiple files which are comma-separated with quotes as delimiters around each column. I cannot use DTS because the filenames are variable (unless someone knows how to get DTS to read 'DIR *.csv' and then load each file ) This .fmt doesn't work because SQL sees "","" as "" - meaning no terminator - then ,"" where it expects whitespace. 8.0 6 1 SQLCHAR 0 1 "","" 3 Prefix SQL_Latin1_General_CP1_CI_AS 2 SQLCHAR 0 1 "","" 5 Forenames SQL_Latin1_General_CP1_CI_AS 3 SQLCHAR 0 1 "","" 4 Surname SQL_Latin1_General_CP1_CI_AS 4 SQLCHAR 0 1 "","" 6 Job_Title SQL_Latin1_General_CP1_CI_AS 5 SQLCHAR ...Show All
Visual Studio Team System CTP6 - Cannot create project
I've just installed CTP6 and cannot create a 2005 project. I am getting the following error: "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections". I have specificed a local instance of SQL Server 2005 ('localhost\SQLServer2005' is the value I put in the Tools | Options | Data Connections page and Tools | Options | Design-time Validation database page). My local instance does allow remote connections and I can connect to it without any problem from Management Studio. Thanks for your help - Amos. At first I was getting ...Show All
Visual Studio Express Editions Why were MFC, ATL and masm not included in VC++ Express?
First off, while I do have a degree in Geology, my minor in college was Computer Science. Even though I do not have a job that needs much in then way of computer skills, since college I have been trying to keep up my computer skills. When I found out that Microsoft was offering VC++ 2005 Express Edition as a free download, I was excited because I thought that I would be able to compile programs that I would find of use to myself. At any rate, I am a little disappointed with VC++ Express Edition because of its limitations. My question is what was the reasoning behind not including MFC, ATL and masm in VC++ 2005 Express Edition I understand that the amount of programming that can be done in VC++ Expr ...Show All
Smart Device Development DRA::RelayoutDialog don't Work?
i just only create a Simple Dialog based applitation, but the following code don't work: #if defined(_DEVICE_RESOLUTION_AWARE) && !defined(WIN32_PLATFORM_WFSP) void CTESTDlg::OnSize(UINT /*nType*/, int /*cx*/, int /*cy*/) { DRA::RelayoutDialog( AfxGetInstanceHandle(), this->m_hWnd, DRA::GetDisplayMode() != DRA::Portrait MAKEINTRESOURCE(IDD_TEST_DIALOG_WIDE) : MAKEINTRESOURCE(IDD_TEST_DIALOG)); } #endif it is just the About Dialog. Windows XP + SP2 Visual Studio 2005 professional + Windows Mobile 5.0 PPC/image thanks. THANKS. but in other Dialog Proc, it can work well. and what about the WIN32 API of AfxEnableDRA() just now , i try it. the result is the same. the Function can not change ...Show All
SQL Server "Package Configurations" Problem
Hi all, I have just set up my first deployment utility for the Integration services package i've been building. I seem to be getting problems with the package Configurations. I added an XML config file so that i could change the values of my SQL connection manager at deployment time. This was so that i could deploy it on both a test environment and the live environment. Any other variables can be changed in code by the calling application. As soon as i added the options for the sql connection manager and enabled package configuration i got errors when running the application: [Execute SQL Task] Error: Failed to acquire connection "InternalProductionData Connection Manager". Connection may not be configured correctly or you may no ...Show All
Visual Studio 2008 (Pre-release) how to show page title in navbar?
WPF browserlike app. I'd like to show the Title of the current Page in the Navigation Chrome of the NavigationWindow. But how I guess I need to provide a new ControlTemplate for the NavigationWindow, which is no problem, but I got no idea how to bind the Title of the current Page to a Textblock. < TextBlock Text = " {TemplateBinding NavigationWindow.Content.Title} " /> in the new NavigationWindow ControlTemplate does not even compile :( Thanks, Sam Where in my ControlTemplate for the NavigationWindow do I give the Page a name My Template looks like this: < Style TargetType = " {x:Type NavigationWindow} " > < Setter Property = " Tem ...Show All
SQL Server SMO Trace and the use of template files (*.tdf)
Hi Micorsoft, I was just wondering if there are any plans to provide the ability to start a trace without a template file. At the moment I have to dynamically create a template file (which is binary by the way) in order to allow a user to set filter options. It will be nice for SMO to provide a better way to interface to these options. (XML file, SMO Class properties ...) Let me know if there are any plans to do this down the track, as it affects my overall design of my application which is currently based on SMO trace technology. Thanks, Jim K. ...Show All
.NET Development XP Pro IIS/Framework 2.0 and Srv03/Framework 2.0
I'm having challenges moving my working asp.net app in VS05 running on xp to production server running srv03/iis6/FW 2.0. Are there do's and dont's that i should know about I've posted two other threads to no avail. Please advice. ( First thread ) was directed to post here after first thread (Second thread) I will take the assumption that you are intelligent in the field of IIS and the .NET framework, and know beyond a doubt that my problem is code and not IIS or the Framework. I hope that the solution lies in my code, and that IIS or the framework is not the issue, because it is extremely frustrating that to have someone say "post in asp.net forum" and come to find out asp.net is not t ...Show All
.NET Development How to update data based on dataset entries
I have a xml < xml version="1.0" > <Amazonbooks> <Mybook> <MyBooktitle>Astronomy</title> <booknumber>b121</booknumber> <city>SHILLINGTON</city> <state>PA</state> <description>Astronomy b121 Description on 19 dec</description> </Mybook> <Mybook> <MyBooktitle>Geology</title> <booknumber>b212</booknumber> <city>West Palm Beach</city> <state>FL</state> <description>Geology b212 Description on 19 dec</description> </Mybook> <Mybook> <MyBooktitle>Astrology </ ...Show All
Visual Studio Team System /analyze + Windows Vista SDK + VSTS2005 = crash :(
Apologies for the cross post but this doesn't seem to be generating a lot of interest in 'Visual C++ General' I have been using VSTS2005 for sometime, main reason for upgrade was to use the /analyze compiler option for unmanaged c and c++. Two days ago I downloaded the Windows Vista SDK, installed it and clicked on 'All Programs->Microsoft Windows SDK->Visual Studio Registration->Register Windows SDK Directories with Visual Studio 2005'. Since then compiling my project with /analyze causes VSTS2005 to crash. I would rather not uninstall the SDK as the compiler seems to be finding a lot more issues with my code, before it crashes! Any suggestions what I can do Thanks in advance. ...Show All
