Siraris's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. XNA Localization
Hello, I'm wondering how localization will work ... I mean, I know that currently you can simply embed, say, string resources in a satellite assembly and the framework will pull them out based on the CurrentUICulture. Can we reasonably assume that the XBox360 will set the UICulture :-) Sounds like something that should get put in connect. Rather than a special method, Joel is correct that it should just use the normal .Net localization APIs as long as those are something that exists on the compact framework on the 360. ...Show All
Visual Basic Visual Studio Is Busy?
Pentium IV - Northwood 3.5 Ghz - I Gb of Ram. XP SP2 .. all current patches applied. VS2005 RTM Team Suite On occasion while debugging the IDE becomes nonresponsive and I receive a Bubble message informing me that "Visual Studio is busy waiting for an internal operation to complete - If you receive this message often, please inform Micorosoft" After I receive this message the IDE never recovers. All I can do is to delete the process and restart it. Any idea what's occurring Just started happening to me this afternoon. No clue why. HArd drive is really active. Dead in the water with this tool. No report is being generated to Microsoft. It just goes back to the VWD program and lets me try to open any ...Show All
Visual Studio 2008 (Pre-release) Post file in WinFX
I want to make a file upload control in WinFX.I have seen lauren's code,but in that code there is no functionality to post file.So if any one has code for that functionality let me know. you can use WebClient class from System.Net namespace, WebClient class has a method called UploadFile() which enables you to send a local file to a server, and it also has a method called DownloadFile() which does the opposite. all you have to do is build a simple UI consisting of TextBox, Button and Microsoft.Win32.OpenFileDialog. Sheva ...Show All
SharePoint Products and Technologies Programmatically Start Workflow built using SharePoint Designer
Hi, I have a very interesting problem. I have created a workflow using Sharepoint designer against a List on my Sharepoint site. (With Workflow start options as Start Manually and Start on item Change) I have installed this workflow on this list. I need to kick start the this Workflow everyday against each and every item in the list. So I programmatically change a field's value for every item in the list. But this doesn't Trigger the workflow. Also tried to start the Workflow using SPList.WorkflowManager.StartWorkflow(SPItem item, SPWorkflowAssociation association, string initiationData, Bool autostart) Since there is no Initiation Data I passed a blank string. This triggers but the workflo ...Show All
Visual Studio Express Editions Accessing Excel files.....
Hi, I'd like toi import data from an Excel file using Microsoft Visual Studio 2005 in C++.....are there any examples of how to do this I've searched and found some info using C# or VB but didn't see any direct example using C++. Thanks! Alejandro. Are you wanting to do this from managed code or native code If you are using managed code then I would look at the C# examples on MSDN: they should give you a good idea of what you need to do in C++. If you are using native C++ then this sample might help get you started: http://msdn.microsoft.com/library/default.asp url=/library/en-us/vcsample98/html/_sample_com_comexcel.asp Note: it is from Visual C++ 6.0 so you might have to make some changes t ...Show All
SQL Server How to render reports to Word format?
We are using SQL Server 2005 Reporting Services and looking to render our reports to Microsoft Word format. We’ve searched around and haven’t really found any useful information on how to do this. Is Microsoft planning on releasing a Word rendering extension If so, when Has anyone written a custom rendering extension for Word Or, does anyone know how to write a custom rendering extension for Word We need either a Microsoft solution that’s already built-in to Reporting Services or a solid, free solution. We are not in the market of buying a third-party product like OfficeWriter. Any help would be greatly appreciated. Thanks! Hello, Word export is very high on our wishlist for a future ...Show All
Visual C++ error LNK2019: unresolved external symbol _strncmp referenced in function "public: int __thiscall ...."
Hi I am new to C++. There is a project earlier written in VC++ 6.0. I opened the same project in VS. NET 2005 and I am trying to compile. The code compiles properly (with couple of warnings) but while linking I am getting unresolved external symbol errors like this: sha.lib(Sha.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 USBClient.obj : error LNK2001: unresolved external symbol __RTC_Shutdown sha.lib(Sha.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown USBClient.obj : error LNK2001: unresolved external symbol __RTC_InitBase sha.lib(Sha.obj) : error LNK2001: unresolved external symbol __RTC_InitBase USBClient.obj : error LNK2001: unresolved external symbol "co ...Show All
Windows Forms Input String was not in a correct format
Hi I am a new bie to the c# programing . i am getting this error at the time of form_load. where when i run the form it works properly.i have come to the conclusion that the problem is at the line cmd.Parameters["@vendorid"].Value=int.Parse(cmbSrchVendor.SelectedValue.ToString()); Problem is that , this problem only exists at the time of form_load. required help and a solution ASAP. private void cmbSrchVendor_SelectedIndexChanged(object sender, System.EventArgs e) {SqlConnection con; try { con=new SqlConnection("connetion string"); con.Open(); //int id = Convert.ToInt32(cmbSrchVendor.SelectedValue.ToString.SelectedValue); // string str="select * from tblvendor where (vend ...Show All
Windows Forms DatagridView, commiting changes immediatly please!
Hope I explain this right. I have a DataGridView, whos DataSource is a DataTable. This DataGridView has two DataGridViewComboBoxColumns. When I select an item from the ComboBox, I have to click on one of the other rows before i choose to save, or else the data is not commited to the DataTable. Is there a way that I can have any changes I make take affect the instant I select an item from the ComboBox Thanks. Hi, After you select an item from the combobox, the selectedinexchanged event fires. Therefore, you may put your save code into this event handler. How do I handle the SelectedIndexChanged event Sometimes it is helpful to know when a user has selected an item in the ComboBox editing control. ...Show All
Visual Studio Team System How to get DB Pro ?
I do have asked this question in the Visual Studio Newsgroups, but didn't get feedback. So I'm hoping to get some light from this group :). I do have Team Edition installed already, however without Database Professional. On MSDN there is a 3.88 GB ISO with Team Edition Database Professional and a Trial Editon of 19 MB. I actually only wanted the extra bytes in addition to my current Team Edition. Can I use the Trial Edition or do I really have to get the whole 3.88 GB I dont even know what "Team Suite" is. We have Visual Studio 2005 Team Edition, and I just want to add DB Professional to my install. We're licensed for Team Edition... shoudln't that cover this This seems awfully confusing ...Show All
SQL Server Excel 2007 import error
I've been working in Excel 2007, importing data from SSAS and I started getting this error when I try to connect to SSAS: Data could not be retrieved from the database. Check the database server or contact your database administrator. Make sure the external database is available, and then try the operation again. I realize this isn't the Excel help board but was wondering if anyone else is seeing this In regards to the message, I know that the SSAS is online and available - I can connect and browse the cube via Managaement Studio. This problem started happening after I processed the cube. I've stopped/started the SSAS service, closed/re-opened Excel and rebooted the SSAS machine and Excel still keeps giving that error. Any hel ...Show All
SQL Server Help with CURSOR
We have a tree structure containing section names. Each node is a section name and each section can have subsections. I have to copy the tree structure but need to maintain the parent-child relationship established within the id / parent_id fields. How do i acheive this For example i have the tree Section 1 |-Section 1.1 Section 2 |-Section 2.1 The "Section" table contains 3 fields: id, parent_id, and caption. ID is the identity of the section record and parent_id contains NULL or the ID of this record's parent to create a child. So "Section 1" (id=1, parent_id=null), "Section 2" (id=2, parent_id=null), "Section 1.1" (id=3, parent_id=1), "Section 2.1" (id=4,parent_id=2). I would like to ...Show All
Windows Search Technologies Cannot install WDS 3.0 RSW
In the event veiwer I get the following The Windows Search Service has failed to created the new system catalog. Internal error <7,0x80070002> The Windows Search service terminated with service-specific error 2147749155 (0x80040D23) Running XP64 It doesn't appear that I have any of the Search\Data\Config\*.txt files, but I do have Search\Config\msscolmn.txt. Is there anyway to force the search service to re-install itself under Vista so everything works again Thanks, Dean ...Show All
Visual Basic Performing operations on out of focus windows forms VB 2005
I have a Mdi application I am coding. One screen is a datagridview and from that the user double clicks a record to open a new window. On the new window I have next and previous buttons. Is it possible have the highlight on the datagrid move with the click of the next and previous buttons without leaving the focus of the details window So I have been giving it a try but it seems when I try to get back to the datagrid screen from the details screen the col and row properties are set back to 0 for the gridview object. Actually they go to 0 when the grid is out of focus. ...Show All
SQL Server How to use parameter with LIKE?
Hello. I have a query that ends like this: WHERE ID LIKE '12345%' I want to replace the '12345' with a parameter name p_id. If I'm useing only p_id without the % it ok but if I'm useing the % after the parameter I'm getting an error. I'm working ORACLE database. Any ideas Thanks in advance, Roy. Or, if using native Oracle vs. OLE/DB: Where ID Like :your_parameter || '%' Hope this helps, Don Shelman ...Show All
