Zadoras's Q&A profile
SQL Server SSIS..Problem Parsing FlatFile Source
I'm trying to Move data from a FlatFile Source to an SQL destination row delimiter {LF} Column Delimiter is "comma" Number of columns in each row : say 7 Example Rows Example 1: 1,1,1,1,1,1,1{LF}2,2,2,2,2,2,2{LF}3,3,3,3,3,3,3{LF}4,4,4,4,4,4,4{LF} Example 2: 1,1,1,1{LF}2,2,2,2,2,2,2{LF}3,3,3,3{LF}4,4{LF} There is no problem parsing Example 1: With Example 2. The Old DTS used to parse fine..when it encounters a row delimiter it fills the rest of the columns with null... While the New SSIS flat File source is following column count in each row...and is considering " 1{LF}2" as column item rather than a row delimiter... Is there any way around it or is it a bug Thanks for any help in advance ...Show All
Visual Studio Express Editions downloading visual studio express
I am attempting to download the img version of the complete visual studio package (c++, c#, vb etc). i need to download approx 450mbytes for each language. i think that this is because each package includes the msdn documentation and the net frameworks. these files are probably identical in each case. is it possible to download the individual img files without these files (so each download will be approx 80 mbytes instead of 450mbyte). And only download the full package once. Thanks That is not possible at the moment. If you would like to suggest this to microsoft you can add a new suggestion on the connect site. http://connect.microsoft.com This way other can see your suggestion and vote ...Show All
SQL Server sql generated by report builder?
Is there a way to view the sql statement generated from the report builder I'm creating reports through report builder and need to see the sql statement it generates. Thanks in advance!!! That's correct -- it is not supported in this release. You can get the report server to log the queries, however: http://blogs.msdn.com/bobmeyers/archive/2006/07/05/657125.aspx Hope that helps! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX 9.0 Agust 2006 SDK, and Can't use it to Make Keyboard Controls...?
Hi, ... ... ... Allah Is Here... ... ... ... I'm using the Visual C++ and the DirectX SDK August 2006 version, so please advise... So then, I try to use the DirectInput materials to make use of my keyboard to control some DirectX Graphics that I made, but it just doesn't work... Well, you see, I think that the codes that I use maybe outdated, probably because the Newer August 2006 SDK, still just wondering... If anybody knows why, Please tell me Exact what I need to change... So, actually, the codes that I use are below... /////////////////////////////////////////////////////////// int Game_Init( void *parms, int num_parms) { // this function is where you do all the initialization // for your game i ...Show All
Windows Forms proplem when adding collection as a property to the datagridviewcomboboxcolumn
hi to all iam trying to create a new column type for the datagridview ,the new column is like the built in datagridviewcomboboxcolumn but with some new properties therefore i subclass the datagridviewcomboboxcell and the datagridviewcomboboxcolumn and i add my new properties. everythink going to be ok for the new properties Excep for the Collection when iam trying to configer it throw the collection editor it work ok but when i leave the collection editor the setting for the properties was lost my collection is very simple i create class that contains three properties [Serializable()] public class myobject { private string caption; private int order; private bool visible; } then i make my collection that co ...Show All
Visual C++ Existing MFC app. Switching from ODBC to OLE DB. ATL or MFC? Can I mix?
I have an existing MFC app in which I connect to a VFP database using ODBC. Since VFP no longer supports ODBC, I am switching to OLE DB for the connection. Should I be using MFC or ATL to implement this interface Can I mix ATL classes in my MFC application The MSDN library has the following comments that I don't understand: The following example assumes that you are adding OLE DB consumer support to an existing ATL project. If you want to add OLE DB consumer support to an MFC application, you should run the MFC Application Wizard, which creates all the support necessary and invokes MFC routines necessary to execute the application . When I originally created this APP I did run the MFC Application Wizard at that time. B ...Show All
Visual C++ Cannot add member variable
Whenever I select "Add member variable" menu from context menu at dialog editor, I only get blank form with nothing in it, totaly blank. What's wrong It goes the same for MFC project, CLR, Win32, etc. I'm using Visual Studio 2005 update version and Windows Vista Business update version. I'm sorry for making you feel bad. I don't think that way. I really apreciate every help that I can get. That's why I've tried your suggestion. By the way, the "Add new member variable" wizard works fine on XP. Thank you. ...Show All
SQL Server Stored Procedure that return Dataset(Select Query)
Hi all, I have a SP that return a dataset and I was thinking to execute that SP inside of other SP then catch the dataset to put into a variable or put into a temp table. What I know is you can not use recordset on output and input parameter in SP correct me if im wrong. I'm just wondering if I there is a work around in this scenario. Thanks and have a nice day to all. Teo: If I understand you correctly (1) you have a pre-existing stored procedure that you want to use as an internal component of another stored procedure. If your first stored procedure returns a record set then you can use a temp table inside of your new stored procedure to capture the output of your existing stored procedure ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Distributing games with XNA runtime
So what's the best way to distribute the XNA framework with a game Just point people at the framework download on the Microsoft site Include the XNA framework installer with the game I was clicking around and found in the project properties-> "Publish" -> "Application Files..." options, I can set the publish status of Microsoft.Xna.Framework.dll and Microsoft.Xna.Framework.Game.dll to "Include", which copies the dlls with the game. Is this enough to get the game running on another PC, assuming Framework 2.0 is present and DirectX is up to date Thanks! Hi, I’ve found a post that proclams how to add XML framework as prerequisite: http://blogs.msdn.com/pstubbs/archive ...Show All
Visual C# How do I programmatically shutdown the computer?
How do I programmatically shutdown the computer after waiting for 3 seconds and use a timer to countdown why would it not help on Windows Server Editions of course it will work, if you have permission to shut down the machine, even if its the local machine. you would be better off using the shutdown utility than to P/Invoke as you should avoid using P/Invoke as much as possible as it not only slows down performance but can also defeat the purpose of the .NET Base Class libraries. the way of using the shutdown utility is as follows: shutdown /m \\ computerName /s /t 5 /m specifies the machine name /s is to shutdown the machine (/r is to reboot the machine) /t is the number of seconds until it starts to shu ...Show All
Visual Studio 2008 (Pre-release) Help me "Svcutil.exe" error
I installed dotnetfx3_x64.exe When I attempt to run svcutil.exe to generate a proxy, using the following syntax: svcutil http://webserver/Note/AdmissionNote.svc wsdl I get the following error: Error: An unexpected error has occurred in the tool. Error: 無法從組件 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, Public KeyToken=b77a5c561934e089' 載入型別 'System.ServiceModel.Description.MetadataTra nsferClient'。 When I attempt to access the wsdl from IIS using http://webserver/Note/AdmissionNote.svc wsdl , it works fine and I can see the XML. Any idea what's wrong Thanks, George George, does svcutil.exe work correctly if you point it at " http://webserver/Note/Admissi ...Show All
Windows Forms exit addnew
hi i want to know how to prevent the addnew to occur in this situation. Private Sub BindingNavigatorAddNewItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BindingNavigatorAddNewItem.Click If type = 0 Then If Me .ToolStripButton1.Text = "Supplier" Then CODE TO PREVENT MY DATAGRIDVIEW TO DISPLAY THE NEW RECORD LINE MsgBox( "Please select a supplier" ) Exit Sub End If End If End Sub First set the AddNewItem property of your BindingNavigator to (none) . Private Sub BindingNavigatorAddNewItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BindingNavigatorAddNewItem.Click ...Show All
Visual C++ How to write and read config files
hi, i would like to know how to code the writing and reading of config files in C++/CLI ( in visual studio 2005). please kindly teach me. :) In order to load data from application’s XML configuration file (having a name like "MyApplication.exe.config" and located in the directory of your executable), then I think you can use ConfigurationManager class. For example: String ^ myValue = System::Configuration::ConfigurationManager::AppSettings[ "my key" ]; It reads the value declared in configuration file like this: <configuration> <appSettings> <add key="my key" value="my value"/> </appSet ...Show All
Visual Studio Team System TFS Error: TF60059 Incremental Migration TFS Beta 3 Refresh
I'm currently performing an Incremental migration to team foundation server (TFS Beta 3 Refresh) - Single server deployment. I've followed the migration process specified in the how to for VSTFS http://msdn2.microsoft.com/en-us/library/ms400695(VS.80).aspx The following steps completed successfully as specified in the above document 1 - 7 but when I perform step 8 to do an incremental migration process (2 new labels in the VSS project) I get the following error message TF60059: The Visual Studio Team Foundation source control folder $/SLIC is not empty. Specify an empty folder for migration. I cannot find any article related to the error TF60059. Please advice. Thanks JKC ...Show All
Visual Studio Express Editions Save collection into a file, then read back
Hi folks, I have been doing some searching here about how to store the data in a collection into a file, to be able to read it back in later. I could save every data item one by one into a file, and then read it back one by one, but this is a painstaking and errorprone process. I found some articles about serialization/deserialization into an XML-file, but I cannot quite grasp it (yet). I am not sure if the serialization works with collections. Simply put this is what I want: (<<< is what I need to know>>>>) 1- create a (public) collection and fill it with all kinds of data 2- invoke a Save command, and obtain the filename and path to save to 3- <<< store entire collection into said file >> ...Show All
