Cuzco's Q&A profile
Visual Studio Plugging in the SDC WiX tasks to Team Build
One for the sdc team! I am trying to use the CompileMsi task from Microsoft.Sdc.Tasks, the documentation uses the following example: <CompileMsi SourceFiles="SourceFile1.wxs;SourceFile2.wxs" OutputFile="OutputFile.wxsobj" ...Show All
SQL Server FlatFile Parsing Problem - Urgently Need Assistance!
We have a BIG problem that has been occurring for quite sometime. We have a RAGGED-RIGHT FFS (FlatFileSource) component which receives a FF and then transforms to XML. We define 10 FIELDS with the last field as {CRLF} per ragged right style. Simple right The source file is sent to us from multiple separate groups, some of which don’t use the last two fields and have early line termination, so they basically are not there. The problem is that when we define X amount of fields in SSIS, it expects X amount of fields to be there. So when we receive the source file that doesn’t contain last two fields, SSIS tries to read in the next line, and in ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Saving a Volume Texture to a File
I have some trouble saving a volume texture. The D3DXSaveVolumeToFile Function only saves one level of my 32 layer volume texture (total size: 256x256x32). I tried jpg, png and bmp format. The same happens when I use the D3DXSaveTextureToFile function. Can somebody help Thx. Did you try dds format Maybe the formats you tried only support 2d images... ...Show All
Visual Studio reports reside on another server and I get the "Load report failed" error
Hi all. I have been working on this for couple of days now. I have a program that’s sole purpose is to be a dynamic report viewer. I have decided that this would be a good project to move to vs 2005 from vs6 c++ and make it a web app. So I began from scratch and have finished most of it, however I have ran into a problem with the crystal viewer. The reports reside on various servers and moving them is not an option. I have got some of them to work on the local machine, but the second I move them to a server I get the "Load report failed" error. The share permissions for the folder they reside in are set to everyone full control to try to el ...Show All
Visual Basic Add combox in Datagrid 2003???
Dear Team DO you have a simple code for adding a combobox in datagid Thank you very much I have added a text file with some extra comments... The code I have sent assumes you want a databound combobox in the datagrid Let me know what you think and see if you can follow my code... ignore the bits where I build a DataTable... it's just so that you can see data in the table and comboboxes when you run the Form... ...Show All
Visual Basic Error Msg - "multiple definitions with identical signatures"
I recently had to recover a hard drive. I was able to get an earlier draft of my program and rewrite most of what I'd lost, but meanwhile had to wipe the drive, load a newer version of XP, etc. I've gotten everything back except now I get this one last error msg and I can't find the source. This wasn't happening earlier when the very same language was running: "Private Sub InitializeComponent() has multiple definitions with identical signatures." This comes up in the designer view of a second form I call from a button click on form1. I suspect that you are running on VB 2005. If that is the case, check your .designer fi ...Show All
Smart Device Development WSAEINPROGRESS
When i use the method getRequestStream() of an object HttpWebRequest, and try to write to this stream i got a socket exception. The errorcode is 10036, WSAEINPROGRESS. Dim postBytes() As Byte Dim asciiEncode As Encoding = New ASCIIEncoding postBytes = asciiEncode.GetBytes(Me.mQuery) httpReq.ContentType = "application/x-www-form-urlencoded" ...Show All
Smart Device Development VS2005, How to create Mobile5.0 project
If I want to create a project for PPC2005, (WM5.0), how do I do that in VS2005. When I click to create new project, I see only the following options under Smart Devices. PPC2003, SP2003 and CE5.0 devices. If I create project for CE5.0 device, the screen sizes are not for PPC devices. We have to adjust each screen's size as well as calling PPC's unmanaged API's throws exception. Can somebody help Thanks. You need to download and install WM 5.0 SDK (there's one for PPC and one for SmartPhone). As soon as it's done, WM 5.0 project(s) type will appear. http://www.microsoft.com/downloads/details.aspx Fa ...Show All
.NET Development Domain Login in ASP.Net
Hi all In an ASP.Net application if the active directory user has already logged onto the network then no need to show the domain login form but if the user has not logged onto the network then show the domain login form before showing the home page I have to do the above task.But I could not find any solution to accomplish this task.Please send some information for the above problem Regards bijaya I think would want to do something along the lines of enabling integrated Windows authentication for your web application, and then redirect users to the logon page if integrated authentication fails. You should probably post ...Show All
Windows Forms Grid column-styles widths not applied (see style code)
I have a not-strongly-typed VB. NET 2003 dataset and one table displayed in a datagrid using a dataview. The display is entirely proper prior to applying a style. Applying a style (code below) results in very small column widths, with everything scrunched to the left. Expanding the columns using the cursor shows that all other style directives have been applied; just column widths have not been applied. Here’s the style code: Private Sub gridstyle() ' Set the styles of the columns of the grid. Dim dgY1 As New DataGridTableStyle dgY1.GridLineColor = System.Drawing.Color.Green ...Show All
Visual Studio Express Editions Extending the Card Game Starter Kit / Newbie question
Hi All- I'd like to extend the Card Game Starter Kit to a multi-player on-line Dealer's Choice Poker Game, with the ability for players to chat. I'd also want to keep track of each player's chip balance at all times. This game wouldn't involve any real money, just a place for people to play poker & chat & have fun. I have a couple questions but will post each question separately. My other questions will assume that the answer to my question below is yes :-) I'll delete the others if the answer is: go look for another way to make your game. My first question is:  ...Show All
Windows Forms Running System Tray Application Prevents Computer Shutdown
I have created a system tray application that functions as expected, but the computer will not shutdown while the application is running. In another post, it says to look at SystemEvents.SessionEnded; however, I'm still not sure what to do with this. Can someone please provide an example of how to automatically exit the application if the user attempts to  ...Show All
Microsoft ISV Community Center Forums VBA in EXCEL - Connect to SQL Server
I am a new programmer try to write some VBA codes in excel to get data out from the Sql server database. When I try to compile the codes, it said "compile error: user defined typed not defined" for the following sentences Dim dbsCurrent As Database Dim qdfPassThrough As QueryDef Dim qdfLocal As QueryDef Dim rstTopFive As Recordset Dim strMessage As String What I need to define for Database,recordset or QueryDef Please help!!! Ah.... I found an answer. I need to add the reference of DAO object library. But there is another problem....... sqlstring = "select * from customer" connstring = "OD ...Show All
SQL Server Unable to restore SQL Server 2005 Beta 2 databases in SS 2005 Final
I'm in trouble. We moved to MS SQL Server 2005 Final release after using Beta 2 release. I switched the installations. When I tried to restore the database backups, I got following message. System.Data.SqlClient.SqlError: The database was backed up on a server running version 9.00.0852. That version is incompatible with this server, which is running version 9.00.1399. Either restore the database on a server that supports the backup, or use a backup that is compatible with this server. (Microsoft.SqlServer.Smo) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.00&LinkId=20476 Kind ...Show All
Visual Studio Add-in language neutral resources
I've implemented an add-in for Visual Studio 2005. For the .addin xml file I've set up @XXX strings for the description, about box etc. For the toolbar I'm loading custom images (using the AddNamedCommand2). All is fine as long as I provide a satellite dll with the same culture as VS. However, if my add-in is installed on a system with a localized version of VS and I don't provide a satellite dll for that exact culture the add-in doesn't start up at all (fails to load resources). I have also provided language neutral resources in the main dll for the add-in. Does this mean that VS doesn't support the standard .NET resource fallback m ...Show All
