Software Development Network Logo
  • SharePoint Products
  • Windows Vista
  • .NET Development
  • Windows Forms
  • IE Development
  • Visual Studio
  • Visual C++
  • Smart Devicet
  • Visual C#
  • Visual FoxPro
  • SQL Server
  • Visual Basic
  • Audio and Video
  • Microsoft ISV
  • VS Team System

Software Development Network >> arieltk's Q&A profile

arieltk

Member List

PK2000
punchycool
allison_h
sarathy
Capt. KDS
M.Glenn
etcheverrjc
jdrawmer
mstep100
MikePHall
RobertMC
VS2005_evaluator
TELII
David S. Anderson
REspawn
ahmed921983
DusanMihajlovic
Pita69
Donaghy
Sébastien Nunes
Only Title

arieltk's Q&A profile

  • Smart Device Development Getting own phone number or SMS Service Number from a POCKET PC

    Hi, I'm trying to get the my own phone number from a POCKET PC 2003, in which I placed my SIM CARD. But I can't find the appropriate function. Is there a function doing this Thanks Hi Gurhan, take a look on lineGetAddressCaps function. #define TAPI_API_LOW_VERSION 0x00020000 #define TAPI_API_HIGH_VERSION 0x00020000 #define CAPS_BUFFER_SIZE 512 HRESULT SHGetPhoneNumber(LPTSTR szNumber, UINT cchNumber, UINT nLineNumber) { HRESULT hr = E_FAIL; LRESULT lResult = 0; HLINEAPP hLineApp; DWORD dwNumDevs; //number of line devices DWORD dwAPIVersion = TAPI_API_HIGH_VERSION; LINEINITIALIZEEXPARAMS liep; DWORD dwTAPILineDeviceID; const DWORD dwAddressID = nLineNumber - 1; lie ...Show All

  • Software Development for Windows Vista Porting VC6 Apps and DLLs to Vista

    I want to link into the new Vista-specific API by rebuilding a DLL. Can I use VS6 (or VS7.1) and just install the latest SDK I am asking all these questions because porting these apps and dlls using VS8 seems to either not build or not install correctly on Vista. My alternative is to rebuild with VS8, but am I then forced to convert to Unicode Is an alternative method to link a VC6 or VC7 executable with a VC8 built DLL that has hooks into the latest API Will that work Yes, you can use VS 6 or VS 7.1 to build apps with Vista, I already do this (although this scenario is NOT supported officially by Microsoft). The best approach if you just have one or two Vista specific APIs, just to use LoadLibrary and GetProcAddress, inste ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. I want to use a simple fx shader on a simple loaded model

    What I want to do seems very simple to me. I want to do this - Load a 3D model using ContentManager.Load<Model>(...) Load a shader Effect from a .fx file using ContentManager.Load<Effect>(...) Render the 3D model using the shader from .fx file. Can anyone give an example of this that is as straigh forward as humanly possible It does not seem like this should be a difficult thing to do, but I have no idea since I've never used shaders. Also, if anyone has a simple .fx file I can use to test my code, that would be great! I'd love to give my Buttermilk game / GUI engine the power of shaders! Thank you for reading! There is no standard set of parameters ... they are defined in the shader. I ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. My managed directx is horribly slow.. help!

    Hi there. I have been writing games for years now and most recently in Blitz3D which uses dx7. I am now converting to managed dx with c# as that is the language I use at work and with managed dx now coming into it's own I though it was as good a time as any. Anyway, I wrote a small program with a camera following a ufo mesh around a ground plane with other ufos present in the scene. In blitz3D I can have over a hundred in the scene with no slowdown at all but in dx 9 if I move the ufo around, as soon as more than 4 or 5 appear I get about 2fps!! I've tried what I know (its using hardware and not reference or software except for vertex processing) but its such a simple program I don't know what else to do. Any Ideas I'm happy to p ...Show All

  • Software Development for Windows Vista Test Case 18, ProductVersion constraint

    The test case 18 in the Certified for Windows Vista Test Cases document has a constraint which I only partially understand. My setup project (built with Visual Studio 2005) contains two rows in the Upgrade table, both with the same UpgradeCode , one having a null VersionMax , which makes sense: xxx 2.0.8 - - 258 - NEWERPRODUCTFOUND xxx 1.0.0.0 2.0.8 - 256 - PREVIOUSVERSIONINSTALLED The test case 18 requires that neither VersionMin nor VersionMax be null. However, the first row above seems perfectly legal: any version newer than 2.0.8 triggers the NEWERPRODUCTFOUND action and specifying a VersionMax there seems silly. Is the requirement of Test Case 18 broken or do I have to somehow specify a huge VersionMax to make the c ...Show All

  • Visual C++ CryptoAPI and FIPS 140-2

    Does anyone know with authority if the CryptoAPI is 140-2 certified Example, if I create an application that uses Microsoft's CryptoAPI, i.e. key exchange(Diffe/Hellman), data encryption, etc, will my application be 140-2 certified, validated or compliate I have read some blogs stating CryptoAPI is 140-2 certified but when I go to the NITS database I do not see it as a listed certification, at least a 140-2 certification. As a note: I see that the FIPS.SYS is 140-2 certified, but only for Window Server 2003 and the last certification for the CryptoAPI, number 103 from the NITS database, is for 140-1. Thanks Sorry if this gets double posted, new to these 'forums'. I asked around ...Show All

  • Visual Studio Help with Drillthrough and Back Button Error Please

    I am using ReportViewer control in remote mode and am getting an error after I drill through reports 3 levels. The 3rd time I drill through it will say The path of the item "(null)" is not valid. The path must be less than 260 characters long and must start with slash. Other restrictions apply. (rsInvalidItemPath) At that point if I hit F5 to refresh the page then it will load the drillthrough report correctly. We have tried everything to fix this and cannot figure it out. Also whenever you hit the back button in the reportviewer you get the error : Back call without drillthrough report Please help if you have any suggestions on what could be causing these errors. Are you using Visual ...Show All

  • SQL Server DateTime problem

    I need to UPDATE DateTime in database. But input paramter (@DatumPozadovany) is not in Default format 'mon dd yyyy hh:miAM', but in Europian one 'dd mon yyyy HH:mi'. This code don't work, becuse it converts standart input into unstandart output. I need the oposite of it. UPDATE DoslaObjednavka SET DatumPozadovany = CONVERT(datetime, @DatumPozadovany, 13), Oznaceni = @Oznaceni WHERE (Id = @Id) Please, help. SELECT CONVERT ( DATETIME , GETDATE (), 109 ) --returns 2007-02-12 21:09:56.970 SELECT CONVERT ( nvarchar ( 26 ), GETDATE (), 109 ) --returns Feb 12 2007 9:09:56:970PM From the SQL Server 2005 Books Online topic CAST and CONVERT (Transact-SQL) "In the following table, the two columns on the left rep ...Show All

  • Visual C# How to Insert Only the newest row added to the dataset

    I have a dataset that contains some 3 rows....when i add a new row and I want to insert that new row it inserts all three rows again so i end up with seven rows the 3 that were there already, a copy of the 3 that was there and then 1 for the new row.....when i just want it to insert the newest row that i added to the dataset...Is there anyway to get this done foreach (System.Data.DataRow currentRow in _dsContacts.Tables[0].Rows) { currentRow["CustomerID"] = this ._CustomerID; currentRow["TypeOfContact"] = this ._ContactType; string sql = System.Configuration.ConfigurationSettings.AppSettings["ConnectionString"]; using (SqlConnection connect = new SqlConnection(sql)) { using (SqlC ...Show All

  • Commerce Server BizDesk Report Execution Failed

    Hi! It seems that my static reports in BizDesk are failing to execute. When I click Run after selecting one of them, the Report Parameters window is launched but after I click "OK" without changing the settings I get the message "Report execution failed <name of the report>". Nothing related to this problem is registered in the Event Log. Can anyone help me, please I've just found the solution to my problem: http://support.microsoft.com/kb/816604/en-us ...Show All

  • Visual Studio 2008 (Pre-release) WASHost?

    Hello, Wondering if anyone has any information on 'WAS Hosting' I've found a sample in the SDK but it doesn't look complete. Is this technology alive yet Thanks, Scott. Is WAS Hosting functionality available in Windows Vista (client) Or, if I am a developer using Vista, how can I test my WCF Services using WAS Host functionality like non-http hosted endpoints Thanks, Scott. ...Show All

  • SQL Server How to relate InstanceID of RunningPackage object to logging?

    Iterating through Running packages as in this code from MSDN: RunningPackages pkgs = app.GetRunningPackages("yourserver"); // Enumerate through each package in the collection and display some data. foreach (RunningPackage package in pkgs)     {         Console.WriteLine("InstanceID: "+package.InstanceID);         Console.WriteLine("PackageDescription: "+package.PackageDescription);         Console.WriteLine("PackageID: "+package.PackageID);         Console.WriteLine("PackageName: "+package.PackageName);         Console.WriteLine("UserName: "+package ...Show All

  • Windows Forms combobox control is loading slowly ,tried other forum tips too

    Hi, I 'm trying to load around 60,000 record (1 col) in a combo ctrl .It's taking long time to load. Is there any other alternative for this. venp-- ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Get cue list by AudioCategory

    I am trying to programmatically extract the list of sounds/cue in an AudioCategory...and it seems that is no API to do that!!! I want to randomly pick a beat sample from the sound bank and play it. There is no AudioCategory.GetNames() or such method/property :( I know that I could parse the XAP file, but it would really be sad to have to that. (it's not even XML!!!) And the cue list/sound list headers/text file are even more worthless (you don't even have the categories!!!). Regards Yes, you can! Get a Cue instance from the SoundBank: Cue myCue = m_soundBank.GetCue("mySound"); myCue.SetVariable("Volume",0.5f); or myCue.SetVariable("MyVariable",0.9f) ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. C++ and C#

    Hey sorry if Im asking a dumb qeustion: What is the differens between C++ and C# Im thinking about start working on a game but I dont know if I can learn C#. If you can code in C++, you can code in C#, it takes a little getting use to but the Visual Studio IDE helps a lot as does the sample code. ...Show All

©2008 Software Development Network