morfil's Q&A profile
Visual Basic Runtimeerror 429 ActiveX component cannot create object
I wrote this to read the fileinformations from a power point prensentation and put them in a table in a word document. Anyway, I always get an error on opening the presentation (I marked the line in the code) Runtimeerror 429 ActiveX component cannot create object Would be really pleased if someone could help. Thx Ivonne Sub AuslesenPowerPoint() Application.DisplayAlerts = False Dim file As String Dim name As String Dim thema As String Dim kommentar As String Dim appWD As PowerPoint.Application   ...Show All
Visual Studio Team System Error 28925. TFServerStatusValidator:Calling the Team Foundation Server ServerStatus Web service failed.
I followed the .chm file to the letter installing Team Foundation Server RC on Windows Server 2003 Standard Edition using Domain user accounts specified and running all the windows updates and installing all the patches. But I get this error. Error 28925. TFServerStatusValidator:Calling the Team Foundation Server ServerStatus Web service failed. I had two warnings come up about memory requirements before installing but that was all. I'm running this as a VM on my local machine and it's connected to the DOMAIN I'm working in. Any ideas [02/22/06,20:52:26] Microsoft Visual Studio 2005 Team Foundation Server - ENU: Install(): bAttemptInstall: ...Show All
Visual C++ DLL and LIB problem
Hi, Please help. I want to create a library of utility functions in Msdev 6.0. But I only get the DLL file as output. I don't get the LIB as output. I do this so as to keep this library with me for future use. I clicked on the Win32 Library option initially when creating this project. I think I am going around this in the wrong way. Please suggest the correct way of doing this. Thanks Nibu thomas Under "Project Settings" on the Link page, there is a checkbox for "Doesn't Produce Lib", so that might be on. I also think that no lib file will be created if you are not actually exporting any classes or functions. ...Show All
Microsoft ISV Community Center Forums close excel when finish
hi, i am importing files from excel to access. the problem is that when i finish importing the excel process (in task manager) is still running. is there any way to terminate the process from VBA i tried "close" and "quit" mothods and it's not working. this is my code: Public Function ImportFile(xlFile As String, tbl As String) As Boolean On Error GoTo errorHandler Dim ObjXL As New Excel.Application Dim ObjXLBook As Excel.Workbook Dim ObjXLSheet As Excel.Worksheet Set ObjXLBook = ObjXL.Workbooks.Open(xlFile) Set ObjXLSheet = ObjXLBook.ActiveSheet Row = 1 Col = 1 While (ObjXLSheet.Cells(Row, Col).Va ...Show All
Windows Forms Help: Hosting .net form controls in IE
I have been trying to make a .net form control work in internet explorer without getting a System.Security.SecurityException: Request for the permission of type System.Security.Permissions.SecurityPermission. I have searched alot on the web about .net security I have been trying to make a .net form control work in internet explorer without getting a System.Security.SecurityException: Request for the permission of type System.Security.Permissions.SecurityPermission. I have searched alot on the web about .net security and it seems that no one has a straight answer on how to solve this problem. The ony thing I want to do is make it so th ...Show All
.NET Development Bug in VS2005 Custom Tool (XSDs) or VS2003 conversion problem
I'm trying to convert an application from VS2003 to VS2005. My latest problem involves xsd files (dataset specifications). None of my VS2003 xsd files compiles within 2005. I get a similar error for each: Error 2 Custom tool error: Value cannot be null. Parameter name: ServiceProvider C:\Documents and Settings\user\My Documents\Visual Studio 2005\Projects\EDS C2 R13d (Perf fix DM)\PCIU_Projects\Main\SupportingData.xsd 1 1 Not very helpful. We used to be able to go to the xsd designer and remove and recreate the dataset but I don't see how this is done now and I don't know if it would even help. Any ideas ...Show All
Windows Forms NullReferenceException in Unknown Module when binding 2 checkboxes.
Hi, I am getting a nullreferenceexception in Unknown Module, additional information: Object reference not set to a instance of an object when databinding 2 checkboxes in my form. This form is a secondary form called modally from the startup form. When I step through the code slowly, I don't get this error, I also don't get this error when I call show instead of ShowDialog. When I comment out one of the binding statements, I also no longer get this error. What am I missing It seems like there is a validation event occuring somewhere but I can't find the actual code that is running Any help would be appreciated. Kevin ...Show All
Software Development for Windows Vista How to pass parameters from one activity to another?
Hi, I am new to WWF. I am trying to create an Submit Request --> Approve/Reject Request workflow of type Sequential Workflow. I have an EventDrivenActivity in which there are 2 activities HandleExternalEvent that waits for user's approval and a CallExternalMethodActivity called ApproveRequest that will update the database. Here, I have created an event handler and defined properties like [Serializable] public class UpdateRequestArgs : ExternalDataEventArgs { private string _updatedBy; private string _status; public UpdateRequestArgs(Guid InstanceID, string updatedBy, string status) : base(InstanceID) ...Show All
Visual Studio Express Editions New to express
Calling all vC++ users, I am brand new to express and I have a problem already. I have made a sample app that just has a toolbar drawn on it. It worked on the PC that i made it on, but when I emailed it to my other PC and tried to open it it came up with an error saying that the "Application" wasn't "configured" correctly. Can anyone help please Could it be because I need to make it standalone some how Chris Start here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=353193&SiteID=1 . BTW, in one of the links to the links that that post links to ( ), it makes reference to a file calle ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Direct Input
How to receive coordinates of the mouse in pixcels Could you not just create an event handler for the mouseMove event and use the EventArgs to grad its position Or does your program need more fuctionality ...Show All
Visual C# Notification when a process ends.
Hi, How to get notification when the process gets terminated in the TaskManager & without calling the eventviewer Prcess again and again which may cause overhead / performance in the application Is there is any seperate class to check for notifying the end of the processes Thanks in Advance, Aravind No, you have to write a loop that checks all processes and fires an event. I would make it in a separate thread so that its not distrubing rest of the app. ...Show All
Visual Studio Team System Custom rule: skip analysis of Form Generated Code.
Hi all, I have made a rule to enforce some naming confentions of our company, public PrivateInstanceFieldsHaveUnderscorePrefixAndAreCamelCased() : base ( "PrivateInstanceFieldsHaveUnderscorePrefixAndAreCamelCased" ) { } public override ProblemCollection Check( Member member) { Field field = member as Field ; if (field == null || !field.IsPrivate || field.IsSpecialName) { return null; } // rest of analysis Well as you can see from the snippet i am ...Show All
Visual Studio Team System Unit Testing Web Service that returns DataTable type
I am trying out the team testing facility in VS 05 against a web service and am not sure what the intended use is, and can't find a good example. I have a webservice with one method which returns a data table, and have used the "Create Unit Test" option to generate a test method which has created the proper web reference in my test project, providing generated class to interact with the service. The response from the web service method is being packaged in what appears to be a generic type for xml responses. This type is being cast from object on return from the service, but does not seem to be capable of being cast to any other type, ...Show All
Visual Basic Connection String in Module
Hi, I'm currently working on an application that has only one Form + 2 Modules. In one of my modules i need to have access to 2 Access DataBases. I know there are some objects we can add to our forms to gain access to databases, but I dont want my form to have access to the databases, just one of my modules. Is there a way to do that or do I need to use the form thanks a lot for helping. Its been a long time since I worked with DB. Typically the form is used as the UI only and all db work should be done in a DAL comprised of modules and or classes... So yes you can put your connection string in a module (recommend looki ...Show All
Visual Basic File association
Hello people, quick question with hopefully a simple answer. Using VB.NET2003, after I associate a particular file type with my application, how do I go about coding my application to load that file upon execution For example, notepad.exe is simply an application, but whenever you double click a .TXT file, notepad loads and automatically loads the .TXT file into it's workspace. Thanks very much in advance. Nothing special in your program is needed, just the right registry entries. My Computer + Tools + Folder Options, File Types tab, New, type your file extension, click Change, Select program, Ok, Browse and pick your EXE. ...Show All
