protovision's Q&A profile
Smart Device Development Problems using TAPIV2
Hi, I'm trying to use the TAPI-Wrapper for C# from Alex Feinman. I have Visual Studio 2005 with the WM5.0 SKD for Smartphone and for Pocket PC installed. Now I'm simply trying to compile the sample "MakeCallSP" but when I try I get the error "Metadata file 'c:\tmp\Visual Studio 2005\Projects\Tapiv2\TapiLib\bin\Debug\TapiLib.dll' could not be opened -- 'Version 2.0 is not a compatible version.' I tried changing the references, tried changing the destination-plattform for both projects, tried using the v2.0 mscorlib.dll instead the v1.0 and the other way around but it still doesn't work! I'm a bit helpless now, could someone please enlighten me :) Thanks! Yes, TAPI is a beast... Somehow it w ...Show All
Game Technologies: DirectX, XNA, XACT, etc. fireballs follow character?
ok, im not sure what im doing wrong... but when I stop press space bar(character is facing right) to fire and then decide to move my my character left the fire ball moves backwards with the character and vice a versa I can move my character left, right, left right repedatly and the fireballs stays with the character until I stop moving and they finish the x distance and disappear here are two methods im using protected void AddFireball() { if (_fireballsElapsed == 0) { bool _addFireball = true ; foreach ( KeyValuePair < string , Sprite. Sprite > aFireball in _fireballs) { if (aFireball.Value.Visible == false ) { aFireball.Value.StartPosition = new Vector2 (_tif.Position.X + 50 ...Show All
SQL Server Advice on indexes
I have a table (detail) with 4 columns and over 30 million rows . Say the columns are called ColA, ColB, ColC, ColD ColA and ColB form a foreign key as this table is a 'detail' table for another master table in the database (master). The master table uses these two columns as its primary key. To speed up joins between the two tables I have created an index over ColA and ColB I frequently need to join the two tables together and so most of my queries are of the form: SELECT master.*, detail.ColC, detail.ColD FROM master JOIN detail ON master.ColA = detail.ColA and master.ColB = detail.ColB WHERE master.ColA = @valA ORDER BY master.ColB, detail.ColC This could return up to 60000 rows for a specific value of @valA. This is usually a sub-q ...Show All
Internet Explorer Development Help me Uninstall Old IE7 Beta 2 to install RC1 !!
When I try to uninstall IE 7 Beta 2, I get an error that I can't uninstall due to a file I don't have. Now, I can't uninstall at all! Please help me!!! Lance Leonard wrote: Be sure you're looking for " Windows Internet Explorer 7 ," not just "Internet Explorer 7." Hope this helps... -- Lance I have this issue as well....Found the above in Add/Remove but it doesn't give you the option to remove when selected. ...Show All
Smart Device Development What is the best Pocket PC
Hi Everyone, Looking for a palm pocket pc to run a program for my computer. This what is required. 1. .NET Compact Framework capabilities 2. Networking or internet connection capabilities, we need to some how connect it to a point, so we can upload new information, and download current information. 3. A palm that does not require any program to connect to the network or internet. 4. Able to connect either a sq ...Show All
Game Technologies: DirectX, XNA, XACT, etc. .FBX files over Xfiles
Iv never used .FBX files before so i was wondering if anyone have some incite into using one over the other, i understand that XNA is still coming and that how they are used mite make the deciding factor... basically they are similar in respects it will be easy to load with XNA. FBX just makes things easier for modelers to model things accross programs and import them into other things. I have talked to a couple of game devs that prefer it to anything else because it is so independent. ...Show All
Visual C# Properties.Settings.Default.Save(); does not save a user.config file.
I have settings that are in the user scope and I can update them at runtime. When I call the save method,nothing gets saved. Any ideas Did you ever get this figured out I am having the exact same problem and none of the solutions provided have helped. Thanks ...Show All
Visual Studio Team System Selective schema comparing
Is it possible to filter which classes of objects will be compared/synchronised A couple of specifics from a sync I've just done: 1) Schemas and Logins. The development database has a couple of logins which we don't want on the production databases, but I've not seen anyway of telling the schema compare to ignore them. There's also a schema (unused and could be deleted, but...) on the dev database which we don't want to sync 2) My dev databas is SQL 2005 Developer and one of the target databases was SQL2K MSDE. On this database I couldn't do a write updates because I got an error about fulltext enabling the database, which wasn't available at the target. I don't want to check for this anyway. Kev ...Show All
Visual C++ How to call thread functions within the same thread?
My reference only states that it is possible to call SuspendThread() from the same thread, or from other threads too. How is this done Is there a GetHandle() sort of function for threads, or do I pass it via the LPVOID pParam I tried static_cast the handle to LPVoid, then back again in the threadproc function, but it didnt work. I did something like the following: CWinThread pThread = new CWinThread; pThread = AfxBeginThread(ThreadProc, static_cast<LPVOID>(pThread->m_hThread)); UINT ThreadProc(LPVOID pParam) { HWND* temp = static_cast<HWND*>(pParam); ::SuspendThread(temp); } Argh, found it! I was looking at the parameters needed for AfxBeginThread and AfxCreateThread when i stumbled on ...Show All
Smart Device Development serial port
Hi, Im trying to make a program to communicate with something that is connected with the serial port. The device i wanna connect to the serial port knows several commands. So basically there needs to be a simple connection with the port so that i can put commands in the console and the device reply's me and sets its output on the console. So far i got this: static SerialPort serialPort; public static void Main() { serialPort = new SerialPort("COM1", 19200, Parity.None, 8, StopBits.One); } I hope someone could help me a bit. Thanks in advance! You need to ask specific question. Please see this, items 7 and 15: http://www.danielmoth.com/Blog/2005/03/please-read-before-posting-to-ng.html ...Show All
Visual Studio 2008 (Pre-release) XAML xmlns problems
Hi, I'm having problems with XAML and the designer. It seems like the XSD doesn't support certain tags. I copied this code from MSDN and tried it. I always get an error that < RadialGradientBrush.GradientStops > is an invalid child. Anyone < Page xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " Title = " RadialGradientBrush Example " Background = " White " Margin = " 20 " > < StackPanel > <!-- This rectangle is painted with a radial gradient. --> < Rectangle Width = " 200 " Height = " 100 " > < Rectangle.Fill & ...Show All
Visual Studio 2008 (Pre-release) Changing namespace attributes in WSDL
Hi, I know that to set the various namespace attributes in the generated WSDL you have to set ServiceContract, ServiceBehavior, DataContract and BindingNamespace all over the place. And yes wouldnt it have been so much nicer if there was a centralised place to set these rather than using 3 different attributes and config, but i cant find one as of yet. The problem is that the setting of these namespaces using attributes means its the developer who has to make the decision to put it in the code and get it correct everytime. So what i am trying to do is write a service behavior that will at least replace the default tempuri.org on services where the developer has not explicitly set it. I current have a class using the IServiceBehvai ...Show All
SQL Server Read CSV file - Save Columns into Rows
I want to import CSV file and convert columns into rows depending on Customer count(2nd record in each row of CSV file) and save to SQL table --CSV file format State, Customer_Count, Name_1, Total_1,Name_2, Total_2,Name_3, Total_3..can go upto 600 GA,2,'John Doe',14.00,'Roger Smith',15.00 FL,3,'John Doe',14.00,'Roger Smith',15.00,'Sally Cox',16.00 SC,5,'John Doe',14.00,'Roger Smith',15.00,'Sally Cox',16.00,'James Brown',17.00,'Rick Davis',18.00 Data in SQL table from csv file should look like this State,Name,Total GA,John Doe,14.00 GA,Roger Smith,15.00 FL,John Doe,14.00, FL,Roger Smith,15.00 FL,Sally Cox,16.00 I have multiple CSV files with millions of records. How can i achieve this using Integration Services or Bulk Data ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Using a Primative to obscure View
I'm creating a loading screen. I'm doing this by drawing 2 primatives to form a simple positioned coloured vertex as a rectange. The square is black, and is the width and height of the screen (as in device.DisplayMode). I'd like this to rectange "cover" the screen while textures are loaded. I'm doing it this way so I can fade the loading screen out to reviel the environment once everything is ready to go. However, because the position of the primative is 0, 0, 0 - and I do not wish to move my camera, the primative is obviously at a distance (not covering the screen). Mathamtically, what is a good way to position this rectange directly infront of the camera, without moving the camera, and without adjusting the perspective ...Show All
Smart Device Development Csharp Code to get IMEI of SmartPhone and PocketPC
Please help me Is there any code in Csharp to get IMEI of SmartPhone and PocketPC This post should answer your question: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=109823&SiteID=1 Michael ...Show All
