olaf's Q&A profile
.NET Development Closing an External Program
Hello Everyone and thanks for your help in advance. I have a third party program that is opened daily using Windows Scheduler, which in turn runs a process. However, at the end of the process, the program does not close itself instead simply terminating and leaving itself open. Because of this, Windows Scheduler fails on the next attempt to launch the program unless someone manually closes the program daily. I know a Windows form can launch an external exe, and assume it can also be used to close an external program or process, however, I do not know how to do this. Any insight on this topic would be greatly app ...Show All
Visual Studio Express Editions Databases!!!
Hello, I have a problem trying to connect to an Access Database, the problem is that I want to make a working project without thecontrols, I only need the source code to do that. I would like to know about working with databases without using the bindingnavigator, how can i do that. I don't know, please help!!!:D I imagine the code in this article will cover what you want to know, there's lots of similar articles on that site as well: http://www.codeproject.com/vb/net/atcl.asp ...Show All
Visual C# putting attributes into existing assemblies
Hi, I was told that there is something called "Byte Code Engineering Library" for manipulation of Java Byte Code. Similar to that there is a "Microsoft Byte Code Engineering Library" (MBEL) for .NET. It is in the link given below. http://www.cs.arizona.edu/mbel But the thing I was asking was in the "limitations" section of that library.It seems the internal structure of custom attributes in .NET is complex. Can you specify some resources where I can find the internal structures & all those stuff about attributes in .NET assembly. Thank You. Hi, &nb ...Show All
Visual Studio Tools for Office 4 Lines C++ Code, How it is working?
#include #include #include main() { string word; while(cin>>word) cout<<"\t ["<<WORD<<"]"<<WORD.LENGTH()<> is working inside while loop condition. I would be very thankful if anybody explains the code to me... This is a .NET Framework forum for VSTO, which is only available for VB.NET and C#. Your question does not belong here. You may find someone who can help you here: Office Automation : office.developer.automation newsgroup http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.automation&lang=en&cr=US Otherwise, yo ...Show All
Visual Studio Team System Team project creation failed
After some day's of hard work I succeeded in installing Visual Studio 2005 Team Foundation. But when I want to create a new Team Project I an error message: Initialisation for plugins "Microsoft.Pcw.wss", "Microsoft.Pcw.currituck" failed. I have Team Foundation Servr and Client installed on the same machine, and I am always logged in as machine administrator. The site http://test-jb2dms7g05:8080/bisserver/EleadWebService.asmx is available, also the sites: http://localhost http://reports http://reportserver/reportservice.asmx Does anyone know what to do This is the project creation log file: 10.25.2005 09:10:19.671 | Module: ELeadServiceMe ...Show All
SQL Server Foreach Loop is killing me!!!!!!!!!!!!!!!!!!!!!!
I would like your help with the Foreach loop container. Boy, am I having issues with using it for looping through an ADO.NET dataset or what! ! My control flow has a data flow task that is executing a Data Reader task (creating a .NET dataset for me). Now I go back to the control flow and add a Foreach loop container to loop through each record in my dataset. But which type of the Foreach loop container should I be using I see an option to use Foreach ADO.NET schema enumerator but not sure how to configure it. Also I used the Foreach ADO option, but setting up variables to go through every column is an absolute pain in the you know what!! !! ...Show All
Visual FoxPro InteractiveChange
I have a combo box with a list and a text box with a discription on a form. In the combo box's InteractiveChange I have added THISFORM.REFRESH When I run the form and select something from the combo it does change it in the textbox but nothing is displayed in the combo box anymore and it won't let me reselect anything else Somehow you are losing the control source for the combo after thisform.refresh(). Set Step On and look at the control source for this combo, also add the combo.value into the watch window. I had something similar happen, never did find the cause. I just deleted ...Show All
Visual Basic msgbox on client browser problem
am facing this problem hope some one can help.. I have developed web applications that uses msgbox, when I run the application from server side under the VS2005 it runs very well and msgbox pop very nice: The instruction I use to pop the msgbox is : MsgBox( "Password Has Changed, Please Click OK to Relogin with the new Password" , 4160, Omar.MsgTitle) When I run from vs2005 compiler it’s greate but when I publish to the server and run the application from the clien side this error will pop out: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a vali ...Show All
Visual Studio Team System Change priority from integers to strings
I've been customizing the Work Item template in the MSF Agile template. So far I've made good progress in implementing the states (Active, Closed etc) that we currenlty use. For Priority, we currently have High, Medium, Low, Memo but when I change the Microsoft.VSTS.Common.Priority type from Integer to string and added these values, it throws the following error when I import the template: Exception Type: Microsoft.TeamFoundation.WorkItemTracking.Client.Provision.ProvisionValidationException Exception Message: TF26038: Field type for Microsoft.VSTS.Common.Priority does not match the existing type. It was Integer, but now is String. ...Show All
Windows Forms Can't read data from Oracle using System.Data.Odbc.DataRead()
When I try to read data with the DataReader from Oracle database, Read() works in a cyclic way. It means when last row reaches next row will be the one and so on. Object DataReader hasn't methods to return a count of rows.. Please email me panvld@mail.ru Thank you Thank you for your answer! I've found the root of this problem. It's&n ...Show All
Visual C# dinamicly memory allocation..
does c# supprt dinamic memory allocation like c++ how Thanks! You allocate everything with the new keyword. That's how whatever objects are being allocated. Depends on what kind of data you want to store. If you want something similar to a traditional memory buffer you may use something like this: byte[] buffer = new byte[BUFFER_SIZE]; That creates an array of bytes, see MSDN about C# arrays to find out more. Generally: MyType[] buf = new MyType[1024]; Holds 1024 instances of MyType. The garbage collector decides how the buffer will be allocated and when it will be disposed. If you want to deallocate you object ...Show All
Visual C# Icon in Form
Hi All, I would like to make to change icon in the same form. By this means that the form has 2 functionality: when functionality is changed also icon must be changed in the same form. Is there any ideas for solving the problem Many Thanks. I don't understand. There is an icon property, that's how you set the icon. You can load an icon from disc, or embedd it in your resources. You really don't have any other options. ...Show All
SQL Server Having problem with my server
I just currently installed Microsoft studio express which includes SQL server and i get this error Server Error in '/WebSite1' Application. it also states " Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding" I am wondering do i have to have IIS on to run SQL server 2005 express adition. I am also having problem with SQL Express installation. After installing it, and configuring with SQL surface area for also remote access via tcp or pipe I still get the message: >sqlcmd HResult 0x2, Level 16, State 1 Named Pipes Provider: Could not open a connection to SQL Server ...Show All
Windows Forms Double Click between Datagrid Columns to Expand Column
How does the datagrid know to expand the width of the column to the length of the content (text) in the column. I would like to programmatically mimic this behavior. My app allows the user to select the column that they would like to see and save the names of the columns as a custom view. I use the column list to hide a ...Show All
Visual Studio 2008 (Pre-release) The 'http://www.w3.org/2001/XMLSchema:schema' element is not declared
Hi, I am using the FEB release of WCF. I am using typed dataset in my service. when I try to generate proxy for this service, i am getting the following error: The ' http://www.w3.org/2001/XMLSchema:schema' element is not declared the same was working fine in previous version of WCF. Some thing seriously wrong with recent WCF release (FEB release) Thanks in Advance, Venkat Can you please describe your scenario a little more. What the operation looks like and how it is imported etc. Thanks ...Show All
