wcottee's Q&A profile
Smart Device Development INSERT problems on a sql server database....
Hi, Here's my present problem : I'm parsing data and I need to insert them into my database. So far, so good, but i'm experiencing some problems, apparently using bit values. My present table is (almost) set as follow : code : int name : nvarchar[4] IsDegr : bit MsgDegr : nvarchar[20] HighestVir : float i've got some other collumns too, but all the data types are defined here. I've already inserted values of int and nvarchar type into other tables and no problems occured. Here's how my insert SQL query works : INSERT INTO param(code, name, IsDegr, MsgDegr, HighestVir) VALUES (1255, 'myName', 0, 'none', 5000) And i get the following err ...Show All
Smart Device Development Phone call in evc++ vs2005
Hi all, The project created is in win32 console programming I have written this code #include "stdafx.h" #include <windows.h> #include <commctrl.h> #include <phone.h> //this is the main entry point for the application int _tmain( int argc, _TCHAR* argv[]) { PHONEMAKECALLINFO info; memset(&info 0, sizeof (info)); mci.cbSize = sizeof (info); info.dwFlags = PMCF_PROMPTBEFORECALLING; info.pszDestAddress = TEXT ( "+1234567890" ); PhoneMakeCall(info); return 0; } The code is givving the following error Erro ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Can't Run Any Programs On Others Machine
What I am running: DirectX 9.0c & C# I am trying to run the compiled version of ( http://www.c-unit.com/tutorials/mdirectx/ t=38 ) this tutor on another machine. These tutorials only work in October Version of DirectX I believe. What I downloaded: ---Microsoft .NET Framework Version 1.1 Redistributable Package http://www.microsoft.com/downloads/details.aspx FamilyId=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=en ---DirectX 9.0c Redistributable (October 2005) for Software Developers - Multilingual http://www.microsoft.com/downloads/details.aspx FamilyID=9930efa6-9f7b-4c8a-aea2-97dd6ab307a2&DisplayLang=en ...Show All
Visual C++ Is it a BUG? regarding AutoComplete Menu for User defined lib
Hi, Iam using Visual Studio 6.0. I Created my own library. In the IDE under tools Options i supplied the source directory, Lib Directory, Include Directory. in the OS Environment path i appended the DLL path.. When iam using my dll in another project, It is working fine. BUT, the functions are not displaying(AS Tool Tip) (Auto Complete). when i press . or -> even i pressed <Ctrl> And <Space> to Auto Complete the Function Name, It is also Not working. I know that this is all related to the IDE. How to resolve this Any Help regards Murthy I am not sure if some one would be a ...Show All
.NET Development Problem with Datetime type in MS Access
When I want to find the records between a date range, there is a column 'Saledate' which type is Datetime, I always use below way to do that: Select * from Table1 where SaleDate >= #1/1/2001# and SaleDate <= #1/1/2002# It works fine in MS Access UI. But it doesn't work in my C# program. My program like: private System.Data.OleDb.OleDbCommand oleDbSelectCommand1; private System.Data.OleDb.OleDbCommand oleDbInsertCommand1; private System.Data.OleDb.OleDbCommand oleDbUpdateCommand1; private System.Data.OleDb.OleDbCommand oleDbDeleteCommand1; private System.Data.OleDb.OleDbDataAda ...Show All
Windows Forms keycode
hi everyone....... i think most of you heard about this problem many times, but still i want to ask again. actually, i have already did the things that i have to do to solve this problem based on solutions that i've got from websites and forums but still the problem occurs. the solutions are: - Register Crystal Report - Register crqe.dll usin ...Show All
SQL Server Drop List problem
Hi, When I'm creating a dropdown list prompt from a field which has large number of distinct values (OrgUnit codes etc.) I get an empty list. Can anyone advice on this issue hi i dont think there would be any problem with the fields size u need to create a separate dataset for the drop down list prompt. and then choose the from query parameter... hope it solves your issue. regards, www.snktheone.com ...Show All
Visual Studio Express Editions How to you Abort a "Delete"
I'm trying to figure out how to abort "Delete" in the BindingNavigator Delete Event Have spent hours getting nowhere. Please help! Here's some code I've been working with: Private Sub BindingNavigatorDeleteItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BindingNavigatorDeleteItem.Click Dim ruSure As DialogResult ruSure = MessageBox.Show( "Are you sure you want to delete this item " , "Delete" , MessageBoxButtons.YesNo, MessageBoxIcon.Question) If ruSure = Windows.Forms.DialogResult.Yes Then What to put here Else What to put here ...Show All
SQL Server Using images in database
We are building mostly read Real estate web site where there are many pictures what users will see from their browers.We have come up with 3 ideas.But we need help,is there any alternatives to these. 1.Put them into the database we are using . 2.Seperate the images to another instance and record images to that instance . 3.Use the filesytem. What is the best way of storing and retreving images for a concurrent web application We are building mostly read only Real estate web site. We have 300.000 and more pictures(50 kb) what users will see from their browers. We have a problem storing those images. The speed is the ma ...Show All
Visual Studio Team System VSTS 4 DB : How about OLAP?
Hi all, Forget about other RDBMSs. Are there any plans to support SQL Server Analysis Services as well SQL Server Database Engine Generating change scripts, creating baseline schemas, cascading changes, unit testing, data compare, data generation......these are as equally relevant to SSAS as they are SSDE. I realise this won't be in v1.0....but is it in the pipeline for the future -Jamie So I assume you mean when data is stored in the Analysis Service Engine, as opposed to storing your OLAP in a relational store. What would you expect to have in the project The XML/A ...Show All
Visual Basic source of playing card images
Is there somewhere where one can download (hopefully free) images of playing cards to use in programming a card game Have you had a look at the Black Jack starter kit http://msdn.microsoft.com/vstudio/express/visualcsharp/starterkit/#blackjack ...Show All
Visual Studio VS 2005 Crystal Report License
Anyone from BO... Can we up the 5 report connection limit by buying more If that's not possible, what do I need to do to get more than 5 connections to the report engine. Point me to some information please. Thx, Carl Hello Carl, This can be found on our web site at: http://www.businessobjects.com/products/reporting/crystalreports/net/licensing.asp This covers only the bundled versions and not the full products. Licensing information for our full products is also available from our web site. Keith - Business Objects ...Show All
Visual Studio Team System Developer Edition and Builds
Hello ! When I read the posts, it seems that we can run tests in a build only with Tester Edition. However, when I ran by build on the server, here is the mesage I got : "MSBUILD : warning : Visual Studio Team System for Software Testers or Visual Studio Team System for Software Developers is required to run tests as part of a Team Build." So I installed Developers Edition and no more complain. However, no test is executed and this is apparently because no one is defined in my test list. And of course, because I cannot edit my test list in DE. With the Team Suite (trial edition) I had before, I could configure my build to ...Show All
Visual Studio Express Editions data grid view column name
i have a data grid view that is bound to my data in ms sql 2005 now i want that the column names that i retrieve from the dbase be changed to my customised column names and this may not create inconsistencies in the the dbase. sample codes are welcome. Hi, I would like to help you about your problem...I think one way of solving your problem is through your SQL statement.. In your SQL statement you can customized the name of its fields, using alias to every field you retrieved from your database...I'm sure you you know sql statment very well.. Hope I have helped you with your problem ...Show All
Smart Device Development Asynchronous writing to serialport
Hi all I've been trying to get asynchronous writing to the serialport to work, because I would like to use infinite timeout but still be able to cancel the transmition, on user input, after the reciever has stoped reading from the port. I read that this is not supported on the serialport base stream by the serialport in the compact framework. Does anyone know if I can do this with beginInvoke and endInvoke I've been trying but ran into a not supported exception. Maybe someone can point me to a running example Thank you for any comments. Cheers Thomas Hi Anthony Thank you for the ans ...Show All
