VikasAgr's Q&A profile
SQL Server Issue programatically building oledbTransformation.
I get the following validation error when i run a package which contains an OledbTransformation. The external metadata column collection is out of synchronization with the data source columns. The column "Param_0" needs to be updated in the external metadata column collection. The column "Param_1" needs to be updated in the external metadata column collection. Please advice as to how to add the external columns of oledbTransformation to external meatadata and map them to the input columns programatically using C#. ...Show All
Visual Studio Changing Server for Implementation
Help me please ... I have been searching the internet for a week for a solution to this and the boss's patience is wearing very thin..... I have a very simple application producing a set of reports based on an SQL database. Everything works fine, the users like the layout, the info is spot on, the works... BUT..... When I have tried to install on the user machines, the application runs perfectly, but before producing the report, it pops up a box showing the development server name. If the correct server name is substituted for the development one, the report appears, correct in all aspects. How do I change the server that the application attempts to access when live . I have tried changing the SetDatabaseLogon para ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Programs used to make .bmp files and such?
I was wondering what programs people use to make the .bmp files and other image files for their heightmaps and stuff. Please dont say Adobe Photoshop as one, I have GIMP where that comes in. but any other program names will be very helpful, thanks BodyPaint 3D is somewhat popular: http://www.maxon.net/pages/products/bodypaint3d/bodypaint3d_e.html ...Show All
Visual Studio 2008 (Pre-release) WPF ships, but no decent tooling available
I was glad to hear that .NET v3.0 came out a few days ago. As a software architect I find WPF, WWF and WCF very interesting, because they allow me to use more flexible architectures. I tried out WPF and I was very disappointed by the WPF designer (Cider). It doesn't even allow me to hook up an event to a button using the GUI I have to manually add the 'Click="OnClick"' attribute to the Button tag. Then I need to figure out how the function prototype looks like and start the implementation. Even in the early VB versions this was possible, but late 2006 this isn't possible Another limitation is the designer's facilities to work with docking panels (although I've seen it work in previous MSDN TV sessions). If I want to dock a co ...Show All
SQL Server managing SQL server 2000 servers with 2K5 management studio
For some reason when I try to use sql 2005 management studio to manage a sql server 2000 server and attempt to use activity monitor to view processes I get an error (see below) (BTW I love being able to copy the message text). I can perform this operation from enterprise manager without issue. Is this a problem with management studio TITLE: Microsoft SQL Server Management Studio ------------------------------ Cannot show requested dialog. ------------------------------ ADDITIONAL INFORMATION: Unable to execute requested command. ------------------------------ Unable to launch Activity Monitor. You may not have sufficient permissions. (ActivityMonitor) ------------------------------ Timeout expired. The timeout p ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Graphics and xnb files
I'm just trying this thing out, and being frustrated by what seems like a nonsensical error. I'm trying one of the tutorials. It says to create a sprite. I add an image file to my project. I use the asset name in the code in the LoadGraphics Content method: myTexture = content.Load<Texture2D>(@"my asset name"); It gives me this (inner) exception: "Could not find file 'C:\\projects\\MyFirstXNAProject\\MyFirstXNAProject\\bin\\x86\\Debug\\my asset name.xnb'.":"C:\\projects\\MyFirstXNAProject\\MyFirstXNAProject\\bin\\x86\\Debug\\my asset name.xnb"} System.Exception {System.IO.FileNotFoundException} Is there some step I'm missing The tutorial says to add this code, then build and run. I did search, but I cam ...Show All
Software Development for Windows Vista delay driven event on a state
I'm sure i'm overlooking this, but how do you put a delay driven event onto a state I'm trying to design a state machine workflow such that if the workflow has been in the State for more than X hours or days, to fire an event (causing a state transition). This is logic specific to the design of the workflow. Some states might need this, others not, in some workflows, not others. Thanks :) EventDriven activities require that their first child is an IEventActivity, which a Delay activity is. When the timeout completes there is no need to fire an event to transition, you can just use a SetStateActivity. If you do decide to fire the event and it is calling back into the same workflow, make sure you set ...Show All
.NET Development Run Time Error message
Whenevr I go to a certain Website I get an error message saying, "Running. Time." Can someone please tell me how to fix this problem Also, I have been trying to scan a photo, and I got an error message saying ,"HTTP 404 Not Found. ...Show All
Visual Studio Tools for Office Infopath Addin CustomTaskPane
I have created an Infopath Addin and have the following code in the addin : private void ThisApplication_Startup(object sender, System.EventArgs e) { CustomTaskPane ctp = this.CustomTaskPanes.Add(new UserControl1 (), "My UserControl1"); ctp.Visible = true; } Now I want to have in my Infopath Formcode, access the control in the addin I am told to use Globals.ThisApplication.CustomTaskPanes[index].Control But, can not see Globals in myformcode, so was told to use the following reference : Microsoft.Office.InfoPath.Application.ComAddIns ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Networking Capabilities with XNA....?
Hi Guys, We are a team of students just starting with XNA. We are developing a pretty simple 4 player game and not really sure what XNA's networking capabilities are and how difficult the implementation is. We may just focus on simple LAN networking as opposed to WAN, really the simplest method will end up being our plan. I have seen some info on Torque X, the new Garage Games engine which implements key features of Torques 3d and 2d engines to XNA. Does anyone have feedback or insight on using Torque X for simple networking on Windows.... Or, would anyone have any other advice as to the best networking approach to take with XNA..... sorry if this is too broad a post. we are noobs to XNA and just wanted to get some community as ...Show All
Visual Studio Team System Merged Changesets Report
Hi All, I am trying to get a report that would tell me what changesets that were merged. For example, I merge 10 changesets from my Dev line to my Test line and then commit the merge by checking it it. This would create 1 changeset coz of the checkin and the merge operation is complete. Now, can I generate a report that tells me what 10 changesets went in to the Test line. Any suggestions Hi, The warehouse does not store merge information like you are describing. The most straightforward way would be to use the Version Control APIs to get this info. You can post your question on the VC forum here : http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=478&SiteID=1 mauli ...Show All
Visual FoxPro vfp command to eject a cash drawer
hello, i would like all you experts to help me out in figuring out how eject a cash drawer after finalizing the transaction. I need it to be done in vfp. my second question is, what is the command to write the code to print the transactioin in the receipt printer. thank you in advance Jason Unfortunately I don't have an exact answer as I do not use the device. Cash drawers are either RS-232 or USB connections, right You generally access RS-232 through MSComm or some ActiveX and you send the proper command (like CHR(12) to eject paper in most old printers). Wouldn't the command you are looking for (how to open cash drawer) be in the cash drawer manual I wouldn't be surprised if they use the ASCII form feed&nbs ...Show All
SQL Server Trouble upgrading an MSDE 1.0 engine to SQL Express 2005
I am creating an install for our product and as part of the changes I am making, I want to upgrade a user's DB engine, if they are still using MSDE 1.0, to SQL Express 2005. The upgrade path we have chosen is the following..... MSDE 1.0 --> MSDE 1.0 sp4 --> SQL Express 2005 I believe this should work, yes Anywho, I am trying to run a "passive" install of SQL Express and I am using the following parameter list: /qb UPGRADE=SQL_Engine INSTANCENAME=MSSQLSERVER ADDLOCAL=ALL DISABLENETWORKPROTOCOLS=0 SECURITYMODE=SQL SQLAUTOSTART=1 SQLBROWSERAUTOSTART=1 SQLACCOUNT="NT AUTHORITY\SYSTEM" SQLBROWSERACCOUNT="NT AUTHORITY\SYSTEM" When SQL Express is installing, everything installs ...Show All
Visual Studio What happens to large (>5GB) Databases?
Hi! Microsofts recommends to keep the size of the repository smaller than 5GB. What are the problems when the size is bigger Is it causing inconsistencies or is the analyze-run slower Thx! It's slow to run analyze, backup etc... The real hard limit is any particular file can not be more then 2GB (actually a bit less then 2GB) ...Show All
Windows Forms Redirecting a new Application request to an existing Process
In .NET, I want to make it so my App can only run one instance at a time. But rather than just showing an error message that another instance is already running, I want to set the focus on the existing one. Better yet, if I double-click on a data file (which automatically loads the app and loads the file), I want to set focus on my App and load the datafile that was selected. I know that many standard applications do this. Any ideas on how Thanks! -Nathan The best way to only allow a single instance of an application to run is to use the mutex class. Check out the article http://www.codeproject.com/csharp/cssingprocess.asp which shows you how to accomplish both a single instance and placing the f ...Show All
