kaffeeschluerfer's Q&A profile
Visual Studio Express Editions Closing an application
I need to close an application, Microsoft Outlook in particular. How do I do it in VB 2005 Express Thanks, Antonio Hi ReneeC, That did it! Most grateful. A bit sad though, I would have never done it on my own, the proc.id >4 is a difficult one. Again, many thanks, Antonio ...Show All
Visual J# Running a Simple Program in J#
I created my first application in J#. In the Form1_load procedure I put System.out.println("Hello World"); I build the application. It compiles clean. How do I run it It's not too obvious. I did install the J# Redistribution Package. HELP! This is so simple.. but I'm stumped!!! I figured out a way to get the "form as text" info. Before print Expand the section that says "Windows Form Designer generated code". I need this so that I can see what the students created on their form. It also helps me find the cheaters. (Those with th same EXACT form layout.) I have another problem. My VB kids cannot run t ...Show All
SQL Server High CPU Usage SSIS Package
Anyone aware of anything I can look at to improve performance of my SSIS packages i basically have two master packages that call about 15 child package tasks each. All the package tasks are called sequentially and all they do is just load flat files into temporary tables and execute a simple stored proc. Each package tasks check to see if a file is there and if so it processes it else it just ends. The packages are scheduled to run every minute to check for files. If I watch the CPU during execution i can see the two instances of DTSEXEC.exe running and consuming about 25-30% of the CPU. The box that this runs on is a Quad processor with 4 ...Show All
Visual Studio Express Editions argc, argv???
Hi, I have just started coding and am using MSVC++ express, I have spent a while trying to work out how you set argc and argv, when they are used as 'main' inputs to your program..i.e. int main( int argc, char * argv[]) If anyone knows how this is done I would be gratefull for any help Thanks in advance.. Tom Take a look at http://msdn.microsoft.com/library/default.asp url=/library/en-us/vccelng/htm/basic_21.asp for more details. Hope this helps! Thanks, Ayman Shoukry VC++ Team ...Show All
.NET Development Problem rendering svg text
It sounds like you're seeing gaps due to ExternalLeading. Consider getting better control of your output by using the TextRenderer.DrawText method. It takes a TextFormatFlags argument that you can set to Bottom, Top, ExternalLeading, etc. ...Show All
SQL Server WMI Event Watcher is not working properly
Hi, I have an SSIS Package to get the data from an Excel Source. For that I am using WMI Event Watcher to find when the file drops into a specific folder. It is working fine when I check any folders in the local machine. We have a separate WebServer and Database Server for our application. The application is deployed in the Web server and the SSIS package is deployed in the Database server. Since the files are dropped through application, it is dropped in the Webserver. I have mapped that drive in my Database Server and I am trying to link that folder in the SSIS package, but the event is not firing. Please provide me some solu ...Show All
Windows Forms Closing a Windows form from another form
I am working on a program that has a timeout routine running in the background. After three minutes of inactivity, a timeout warning window is displayed on the screen. After an additional 3 minutes, the program times-out and I display the login screen again. My problem is that I want the program to close any open windows when it goes  ...Show All
Visual C# Checking if a Form is running
Hi. Could some1 explain to me how to check if an instance of a form is still running...I am doing a program with a lot of timers, and I want to check if one of the forms is running, if it is not I dont't want to open a new instance... Hello By using the following code, you can loop thorugh the instances of the currently opened forms FormCollection fc = Application .OpenForms; ...Show All
Visual Studio Tools for Office taskpane
in the ms-access2003 task pane, we can see home, next and previous buttons. when i click on any of these buttons, i want to remove controls from the actions pane and display the other one. now the point is how to access these home, next and previous buttons from my vsto appln Hi, VSTO suppors customization of the actions pane in Word 2003 and Excel 2003 only. I don't think there is a way to programmatically access the Home, Previous and Next buttons of the task pane in those appplications. You might have more luck with questions about Access 2003 by posting your question to an Access newsgroup ...Show All
Visual Studio Express Editions SQL Server 2005 Express Edition April CTP fails to install
I have spent the last hour trying to find other cases of the same install error on the web, but w/o luck. Does anyone know how to fix the following. I have Windows XP SP2 with VS 2005 Beta 2 (April 2005). When trying to install the "SQL Server 2005 Express Edition April CTP" I'm getting an error at the end of the install. Here's some of the messages: The initial error dialog: "Microsoft SQL Server 2005 CTP Setup" (window title) Microsoft SQL Server 2005 CTP Setup was unable to install on your computer. Microsoft SQL Server 2005 CTP Setup has encountered a problem and will end. After clicking on the "What does this error report ...Show All
Windows Forms Adding events through a DispInterface has created a problem
I want to expose events from my IE hosted control to JScript. I added a DispInterface to my control to accomplish this, thusly: [Guid("1F98211C-7A71-4588-8D4A-AD85CA80BAE7")] [InterfaceType(ComInterfaceType.InterfaceIsIDispatch)] public interface IWvfCtrlCOMEvents { [DispId(0x60020000)] void UploadComplete(); } ///<summary> ///Control with attribute for DispInterface ///</summary> [ClassInterface(ClassInterfaceType.None), ComSourceInterfaces(typeof(IWvfCtrlCOMEvents))] public c ...Show All
Visual Studio Tools for Office Binding shortcut-keys in Word
Hi all, How does one implement key binding in a VSTS 2005 Word project For example I want to execute some code when the user presses CTRL+1. Thanks! Hi RyanTsai. I did a quick search and it appears this can be solved using the following steps: http://72.14.207.104/search q=cache:hrhyXrg-DCkJ:forums.wugnet.com/office/modules.php%3Fname%3DForums%26file%3Dviewtopic%26t%3D292504%26ex%3D-Word-2003-VSTO-Customise-Keyboard-+keybindings+vsto&hl=en&gl=us&ct=clnk&cd=3 Let me know if this solves it for you. -Mitch ...Show All
Windows Forms How print all record/selected record in data grid?
How print all record/selected record in data grid pls provide any codes how to use this class.. im new here.. tnx so much ...Show All
.NET Development Will AnyCPU cause binaries to run as 64-bit on x64 machine
I used VS2005 professional to compile 18 .Net assemblies using the AnyCPU platform setting in configuration manager. I also have a startup executable that calls into one of the GAC libraries to start/run the program. I compiled both the program and all assemblies on at 32 bit Windows 2000 OS using the "AnyCPU" platform setting On the 64-bit computer running XP-Professional(64)... All assemblies were successfully loaded as 64-bit gac assemlblies using \v2.0 64 bit\bin\gacutil.exe. The startup program is shown running without the "*32 "suffix. The program is running but from "program performance" its behavior appe ...Show All
SQL Server Cannot fetch a row from OLE DB provider "BULK" with bulk insert task
Hi, folks: I created a simple SSIS package. On the Control Flow, I created a Bulk INsert Task with Destination connection to a the local SQL server, a csv file from a local folder, specify comma delimiter. Then I excute the task and I got this long error message. [Bulk Insert Task] Error: An error occurred with the following error message: "Cannot fetch a row from OLE DB provider "BULK" for linked server "(null)".The OLE DB provider "BULK" for linked server "(null)" reported an error. The provider did not give any information about the error.The bulk load failed. The column is too long in the data file for row 1, column 1. Verify that the fi ...Show All
