yema2001's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Making games forward-compatible with Content Pipeline?
Hello, I was wondering if there is any documentation explaining how the Content Pipeline API will work. I want to make sure my code will be as forward-compatible as possible when it's finally released. Thanks, Tom Michael posted an overview of the content pipeline to the team blog: http://blogs.msdn.com/xna/archive/2006/08/29/730168.aspx And I've been writing some about it on my blog: http://blogs.msdn.com/shawnhar/ If you have any more specific questions not answered there, I'd be happy to write moer about whatever areas you are interested in... ...Show All
Smart Device Development Connect To GPRS
Hello Experts, How can I establish an internet connection using GPRS from my Pocket Pc application I want my application to check if GPRS connection is active, else automatically activate it. Can this be done using OpenNetCF If yes, how I tried, but it simply checks if the connection is live, but doesnt connect automatically. Please help. Regards, Suman Ghosh prawin wrote: U Can check for a gprs connection using the following code: Use OpenNETCF.Net AdapterCollection adapters = Networking.GetAdapters(); foreach (Adapter adapter in adapters) { int ras = adapter.Name.IndexOf("RAS VPN"); int activeSync = adapter.Name.IndexOf("Serial on USB"); // Check if this is a GPRS/GSM/ ...Show All
Visual Studio Express Editions vb 2005 or vc# 2005??
I have the option of wither taking visual basic.net 2005 or visual c# 2005 in a college class (3 credits, 4 months long)..What should i take, i know how each looks and feels, however, i need some advice from the pros..I just want to make sure that whatever i pick up, it going to be a good choice...also, i hear a lot of neg remarks about vb6, i havent heard to much about vs 2005.. Thanks " there is no language better than the other but there is a programmer better than other programmer, and vb is like smoking if you start to smoke you should stop soon, if you didn't , its better not to start" I would go with C#, in my name ' NeederOfVBHelp ' the VB= Visual Basic, but since I first suscribed to these forums, I hav ...Show All
Microsoft ISV Community Center Forums question about word automation(how to insert header)
hello i am trying to develope an application for word automation.the application should generate a word document and need to insert a header into document.i have find the code from msdn and it works well.but i can't insert header.(i have found the code for inserting header from msdn too) but it doesn't wrok this is the code i user for header: foreach (Word.Section section in oDoc.Sections) { object fieldEmpty = Word.WdFieldType.wdFieldEmpty; object autoText = "HELLO THIS IS HEADER"; object preserveFormatting = true ; //section.Headers[Word.WdHeaderFooterIndex.wdHeaderFooterPrimary].Range.Text section.Headers[Word.WdHeaderFooterIndex.wdHeaderFooterPrimary].Range.Fields.Add( ...Show All
SQL Server Comparing DateTime to UK Format
sorry folks the other message was on the wrong board! Hello friends, I am trying to return all records between 2 dates. The Date columns are in DateTime format, and i am ignoring the timestamp. The user should be able to input UK Date Format (dd/mm/yyyy) and return the rows. This sql code works fine for American date format, but i get an error: converting from varchar to datetime when i put in a UK format. eg. 22/11/06. Please advise on this problem! many thanks! ALTER PROCEDURE SalaryBetweenDates ( @WeekStart datetime, @WeekEnd datetime ) AS BEGIN SET @WeekStart = (SELECT REPLACE(CONVERT(DATETIME,@WeekStart ,103),' ','-')) SET @WeekEnd = (SELECT REPLACE(CONVERT(DATETIME,@WeekEnd ,103),' ','-')) END BEGIN SELECT s.StaffNo,s.S ...Show All
Visual Studio Sandcastle: Problems with HTML display in Firefox
I just noticed that the Prototype-style HTML generated by the September CTP of Sandcastle does not display properly in the Firefox browser. While not a problem when building the CHM or HxS versions of the documentation; it is a problem when trying to create a web-deployable version of the documentation using using Eric Woodruff's GUI. I haven't tried the VS2005 style to see if it has the same issues. Given that the ability to post generated documentation to the web is a deployment option that seems to be of interest to multiple parties, it would be nice if more than just IE was supported. — Eric — Did you download and apply the SCPresentationPatch.zip file that went along with the last release of ...Show All
Visual C++ Strange Error - Please Help
Hi all, I wrote a dll (using a definition file). When I call one of the function within the dll from another application (to test the function), I receive a strange error (Messagebox format): Application.exe - Ordinal Not Found - The ordinal 34 could not be located in the dynamic link library. Note I have linked with the .lib file, have included the header file and copied the .dll file to the application directory. (Note that I'm exporting 34 functions) Can anyone help Thanx Sarath, thanx for the reply. Yes, according to me I have exported the functions correctly. The thing is all the functions work, except the last three. The names of the last three functions for example is: function_1 function_2 function_3 In def fil ...Show All
SQL Server Spool command in SQL Server 2005
Hi Can i have the output of my queries on the console window as well as in a text file at the same time something that Oracle's SPOOL command does. Regards Salil hi Salil, Salil wrote: Hi Can i have the output of my queries on the console window as well as in a text file at the same time something that Oracle's SPOOL command does. Regards Salil SQL Server does not provide these kind of "features"... SQL Server "just" returns result sets and messages in a native format known as Tabular Data Stream over the network libraries.. it's then up to the "client" to "consume" the results accordingly to it's needs.. you can sometime use the command line ...Show All
Silverlight (formerly WPF/E) Running WPFE in Window Sidebar
Isn't is possible to run wpfe contents in Windows Vista Sidebar homam Do I need to clarify my question I tried to put a html page containing WPF/E content in Windows Sidebar as a gadget. But it seems that WPF/E doesn't run in Sidebar, it displays a white blank place holder instead of the WPF/E content. Any suggestion ...Show All
.NET Development Possible Problem With Sockets 2.0 Implementation in .NET 2 with McAfee Software?
McAfee (Privacy Filter and Personal Firewall) installs it's own TCP/IP driver layer. This new driver does not seem to support sockets correctly. When attempting to connect to a remote server IPv4 TCP/IP using the Async BeginConnect you get "not supported on this object type" (unistall the Mcafee driver and it all works fine). If you do a sync connect using Connect the connection is established . However, if you then try to do an async send after connecting you don't just get an exception you get a full blown unmanaged general protection fault. This seems to be a pretty big problem has anyone else out there experienced it or maybe got a work around To answer your previous question, I don't know ...Show All
Visual Studio 2008 (Pre-release) error 2738.Could not access VBScript run time for custom action
Im trying to install blackberry 4.2 service pack 1 On my windows vista for my blackberry phone and i keep gettin this message.. Can someone please tell me what i need to do Take a look at the blog entry above, http://blogs.msdn.com/heaths/archive/2007/05/31/windows-installer-errors-2738-and-2739-with-script-custom-actions.aspx . ...Show All
SQL Server an OpenRowset little doubt
Hi all. Seeing that the old system table syslang is no longer updateable(Not even in DAC) i decided to take a look at the definition of it, just to see where the languages are stored.(out of curiosity) Select Object_Definition ( Object_Id ( 'SysLanguages' )) and it returns Select ....... FROM OpenRowset ( TABLE SYSLANG ) The odd thing is I tried to run that query but it gives me an error telling an incorrect sintax near TABLE. so, the question is if does anybody knows why i can't run the same query that the object_definition returned any comments are most apreciated Thanks a lot! i copy and attached the mssqlsystemresource as an standar database and it worked out. Tha ...Show All
Visual Basic How to access the clicked item?
Hello, with wich variable can i access the clicked item in a MenuStrip I’ve tested it with MenuStrip1.ClickedItem but that doesn’t works. Please help me. Thanks. No, that couldn’t be the right for my problem. I create a new Form and a new Item in the MenuStrip, (tabbed mdi) so, the form has an public string ID="Window1", "Window2", "Window3". This string is setted, when i click on the "New-Window-Button". So, the Item in the MenuStrip gets the ID from the Window as ToolTipText. Now i want to maximize the Form, when i click on the Item in the MenuStrip, so i have this script: Private Sub MenuStrip1_ItemClicked( ByVal sender As Sys ...Show All
Visual C# FileSystemWatcher to monitor directories not working.
Hi all, Hopefully someone can help me find a solution to a problem i'm having. I have an application that downloads files from an FTP site to a specified download location. The application then launches an SSIS package to process the downloaded directories. What i want to do is set up a FileSystemWatcher object to monitor the download directory. As the SSIS package processes the directories it removes them to an archive or quarantine location. As they are removed i want the FSW Changed event to fire and to update a label in the application to show the number of directories remaining in the download folder. Can someone polease nelighten me as to how this can be done. At present the FSW Changed event doesn't seem to be firing and i don't knw ...Show All
SharePoint Products and Technologies SharePoint Portal server 2003 - No Gantt chart??
I just upgraded from Sharepoint Services 3.0 to SharePoint Portal server 2003. For my surprise the Portal Server doesn't have the Gantt Chart webpart, a very important tool in our organization.. How is this possible .. anyway is there some way to export the gantt chart from Sp Services to SP portal server .. you can check this links to know what I'm tslking about.. http://www.sharepointhosting.com/tutorials/create-sharepoint-gantt-chart/create-sharepoint-gantt-chart.html http://www.sharepointhosting.com/tutorials/work-with-sharepoint-gantt-chart/work-with-sharepoint-gantt-chart.html I wouldn't call it an upgrade if you go from WSS 3.0 to SPS 2003. SPS 2003 uses WSS 2.0 (the previous version) ...Show All
