mcass's Q&A profile
SQL Server send email task
I am generating the text file on run time using flat file destination. The text file is generated on the location C:\ SSIS or D:\SSIS based on the location specified in the configuration file. The text file contains the non matching rows during lookup transform task. I want to send this dynamically generated text file using the send email task. But while doing this, I receive an error during package validation: Package validation error: Error at send email task [ send email task ] : either the file C:\SSIS\Erroroutput.txt does not exists or you do not have permission to access the file. Error at send email task ; There were error during task validation. Please suggest as I need to generate the text file only in case of ...Show All
Windows Forms Change second form's selected tabPage in tabControl
Hello, Any advice or suggestions are appreciated! I'm trying to change the selected tabPage in a tabControl in a second form depending on an option chosen in the main form. So far, I have this in the main form (and tabControlDetail is on the frmDetail form): frmDetail myForm = new frmDetail (); myForm.SelectNextControl( TabPage ); ... I know--not much. The tabControl.tabPage property doesn't appear in anything I've tried so far. I'd like to do something like: myForm.tabControlDetail.SelectedTabPage(1) where 1 (or n) is the selected tabPage. Thanks for any advice, Tess You do NOT set it in the main form. You tell the detail form to set it's own tab: frmDetail myForm = new frmDetail (nTa ...Show All
Visual Studio Express Editions Accessing web text box
I am making a program that automates the downloading of a file from a website of one of our providers. There is a login page which I can load up on Form1_Load() which has a user name and password box. Looking at the source code, these are called : document.forms[0].userName.value = ""; document.forms[0].password.value = ""; There is also a submit button : input type="submit" value="Go" How do I access these I want to push a button that enters the username and password and then hits the Go button and effectively submits the data. Any clues Aha! Progress! I saved the web page and took out all the code leaving just the declaration of the form box and it works. The frame is called "mainFrame& ...Show All
Visual Studio Visual Studio 2005 Addin
Hello I have an Addin with a toolWindow that works fine. In my ToolWindow I have a ToolStrip. Just my question is in rendering the thema of my toolstirp are differnet to other toolbars of VS2005. How can I render it as the other toolbars. Any idea appreciated. Thanks Mohsen Thank Carlos for your answer. Yes I saw your Control Explorer in MZ-Tools. If you are using windows XP thema you can see your toolbar in Control Explorer looks different to other VS toolbars. I know this is not a problem in rendereing but what I was looking for was the colors that they have used. Regards Mohsen ...Show All
Visual Studio Team System Modification/customization of WI type "Task" cause Team project Creation failure. Process template is customized for WI "Task".
Scenario: I am working on customization of Work Item Type "Task". Scenario: I am customizing the CMMi process template to suit my Project requirements . To achieve this I changed the Work flow for the Work Item Type “Task”. Also I added few values to the “Discipline” field for WI Type “Task”. When I am importing this Work Item using “ witimport” it is working fine. But when I am adding this WI task.xml to Process Template and uploaded the process template on the server. Now am creating Team Project based on this Process template it is giving me error below: Event Description: TF26214: Cannot save the work item. Fields with errors: State,Discipline Exception Type: Microsoft.TeamFoundation.WorkItemTracking.Clien ...Show All
Software Development for Windows Vista Getting exception: retrieve loaderexception property for more information
Hi, I have a statemachine workflow and lately I am getting error mentioned in subject. If i compile my project, and tries to open the WF in design mode, I am getting this error, however, if i close the solution and re-open it, i can see all states in the WF and everything looks good. Even it compiles successfully when I reopen and build the WF project, but after build, if I tries to open the WF in design mode, it throws the error. Any idea what could be wrong Thanks, Hiten I guess you are working with the RTM version of .NET 3.0 Anyways couple of things might be going on here - Do you have any custom activities/types referenced from a different assembly There is an active bug which ou ...Show All
Software Development for Windows Vista Changing Order of Rules With The Ruleset Editor
As the order of rules placed in a ruleset is the default order in which they will be executed, it seems like the ability to move rules up and down in the ruleset editor to adjust their execution order is an important (but missing) element of functionality. This feature's absence is peculiar in light of its importance. The only techniques that I have been able to find for changing the order of rules once they have been entered appears to be by assigning the Priority property or directly modifying the xoml file. These seem like very fragile approaches for use in an enterprise where there may be many rules in a single ruleset. As very few business analysts or developers will be capable of describing complex rule orderings properly the firs ...Show All
Gadgets HTTP Requests from Gadget always made with a HTTP header : referer
Here is two requests, one from IE, and one from my gadget for the same file. IE 7 GET /clientraw.txt x=0.16605528136779068 HTTP/1.1 Accept: */* Accept-Language: en-nz UA-CPU: x86 Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2; FDM; .NET CLR 1.1.4322) Host: johna.freewebpage.org Connection: Keep-Alive HTTP/1.1 200 OK Date: Sun, 04 Mar 2007 02:46:07 GMT Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6 DAV/1.0.2 mod_perl/1.24_01 mod_throttle/3.1.2 Last-Modified: Fri, 12 May 2006 01:29:33 GMT ETag: "10b92-243-4463e4fd" Accept-Ranges: bytes Content-Length: 579 Connection: close ...Show All
Visual Basic help with adding points to a pathdata type
I am trying o use the drawing2d.pathdata type to contin the points to draw a line. How do you go about adding points to the pathdata, I keep getting index out of range when trying to add. pitch_path as new pathdata() bbs as new pointf() pitch_path.Points(1) = bbs doesnt matter what you start with, I still get array index error. The redim statement doesnt seem to work in initializing the array ...Show All
Microsoft ISV Community Center Forums DAO can't connect to Access2007
Hi all, I'm using DAO to connect to an Access2007 database file. But it reports such an error "unrecognized database format". Does anyone know if MS supports using DAO connect to Access2007 Is there a new release of MDAC along with its Office2007 Thanks in advance, - Haojun I am having the same Problem.. Can anyone Help Also - This looks like a seasoned forum of Users who are still using DAO. have any one you guys used the DAO in Client-Server Mode across the Networks Can I have multiple users ( from different Systems ) connecting to an MDB on the Server Any help will be appreciated. Venkat M desikan.venkat@gmail.com ...Show All
Windows Forms Date Range for Data Grid
Hello Could anyone please help me. I have a form and a datagrid. I want to attach a query to the data grid so that it displays content between 1 date range and another. Firstly I am using an access database so on the query I use for teh filter I use = for teh date field which then creates a toolbar an a little text box to enter the date. What I need to do is have an option to pull data into the grid using a date range instead. If anyone can help it would be great. Thanks Joe so you only want to calculate data from the data shown in the datagridview I believe you would have to iterate through that column on the datagrid and add the values as you go along. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Problems with Microsoft.DirectX SDK versions
Hi, I'm trying to do the Coding4Fun Game Devlopment tutorial, but I can't seem to get it to work. I first tried it with the latest DirectX SDK (june 2006). But when I add the references to Mircosoft.DirectX and Microsoft.DirectX.Direct3D the Direct3D is version 1.0.2902.0 and the DirectX is version 2.0.0.0 This results in this error: The type 'Microsoft.DirectX.Direct3D.Device' exists in both 'c:\WINDOWS\Microsoft.NET\DirectX for Managed Code\1.0.2902.0\Microsoft.DirectX.Direct3D.dll' and 'c:\WINDOWS\Microsoft.NET\DirectX for Managed Code\2.0.0.0_x86\Microsoft.DirectX.dll Why is the Mircrosoft.DirectX.Direct3D dll a different version then the Microsoft.DirectX dll I would expect to get the latest version of both in the SDK... ...Show All
Visual FoxPro Edit field in Browse do not respond
*===================================== In the following module Item code entered in the "Datafile" is checked with codes in stock master in the order of codes. The code exists in the Stock master, and the Return 1 is effective. But the cursor is not moving to enter the next Name field. *========================== SELE 1 USE STKMAST ORDE CODE SELE 2 DATAFILE *---------------- 50 Blanks added to Datafile CTR = 1 DO WHILE CTR <= 50 APPE BLAN CTR = CTR+1 ENDDO *----------- Data Entry GO TOP BROW FIEL SRNO:H="Ser#", CODE:H="tem Code"; :V=CHKITEM(CODE)>0,:E="Code Error":F,NAME:H="Customer Name" CLOS ALL RETU *----------- ...Show All
Visual C++ Excel Automation using MFC C++--> How to select a particular sheet in a workbook to read a cell value
In the code below, please tell me how to change the last line so as to read a value from a specified sheet. The code below, specifically the last line, only uses the first sheet in a workbook as the default. if (oExcel.m_lpDispatch == NULL) { oExcel.CreateDispatch("Excel.Application"); } // Show Excel to the user. //oExcel.put_Visible(TRUE); //oExcel.put_UserControl(TRUE); // Add a new workbook and get the first worksheet in that book. oBooks = oExcel.get_Workbooks(); oBook = oBooks.Open(m_Filename, covOptional, covOptional, covOptional,covOptional, covOptional,covOptional,covOptional,covOptional, covOptional,covOptional,covOptional,covOptional,covOptional,covOptional); oSheets = oBook.get_Worksheets() ...Show All
.NET Development How to add SOAP header using C#
Hi, Am a newbie in .NET environment and trying to pass a custom soap header containing userId for all my web service requests. <foo:MyHeader userId="1" xmlns:foo="com.a.b.security" /> I was able to intercept calls by extending SOAPExtension but could not find any code that demonstrates adding above soap header to the soap message. Can some one guide me on how to add header element in soap request. Thanks & regards, Kapil Sure, There are many examples in the web for that, here you have some links: http://www.devpapers.com/article/23 http://msdn2.microsoft.com/en-us/library/system.web.services.protocols.soapheader.aspx http://samgentile.com/blog/archive/2002/04/09/759.aspx Rgds Rodri ...Show All
