plepper's Q&A profile
Visual Studio Tools for Office Export / Save Workbook without Customization
Hi all, I used VSTO and created a workbook so that users can inject data via action pane, but I now want to enable my users to export nothing just 'data' to a new file. I noticed that the "Save As" function will copy the 'customization' to the new file too, that's what I try to avoid, as I just want to enable users to export or save as (I don't know how to call this process) the processed worksheet to a new workbook. Otherwise, a cu ...Show All
Visual Basic mscomm vb6 --> vs2005
I have a very simple vb6 program I want to convert to VS2005. MSComm is nolonger available and I don't understand how to receive data without the mscomm_OnComm() event. Please advise. Also, can this be implemented so that the code is exposed to MSAccess 2000 Ultimately I need to communicate to a piece of Lab equipment connected to the serial port using a production application written in MSAccess. Thanks *VB6 Code* Dim ...Show All
Software Development for Windows Vista Deserialization in while loop
Hi, I am experiencing a performance problem in Beta 2 using a SequentialWorkflow. Every iteration of the loop attempts to deserialize the activities and that is not desirable since, in my case, a delay of a couple of seconds results. Can this deserialization be stopped by setting the UnloadOnIdle flag to false I am not explicity using a PersistenceService and do not wish to use the SqlStatePersistenceService. I have also seen a refer ...Show All
Visual C++ File open mode ios::ate is not working correctly with standard c++ library
In VC++ 6.0 the following sample program is not working as intended. It opens existing file and overwrites the contents. It should append at end of file because the mode ios::ate stands for: "ios::ate Opens an existing file (either input or output) and seeks the end. " It is working correctly if I use "fstream.h" in place of "fstream" or ios::app in place of ios::ate. Can any one tell me if it is known issue or do ...Show All
Windows Forms Update DataGrid
hi, i hope i am in the right place to ask question. i using VB.net n SQL and my question is: i able to fill my datagrid with my table.. but it seems i got trouble updating a new entry, or when i want to delete a entry; becau ...Show All
Microsoft ISV Community Center Forums "Custom" properties of office and other files...
I have been trying to figure out how to access the "Custom" properties of office documents from other programs. The exact thing I am trying to do is automatically gather the info from the custom properties within a pile of files. some of the files are office documents, others are actually SolidWorks files, but both have the same "custom" tab on the file properties dialog from windows explorer. In the ideal world, I would like ...Show All
SQL Server Running an INSERT statement a @variable without using EXEC
The Code-Piece below does not work because @Tablename is not an objekt. ============================================= DECLARE @Tablename varchar ( 256 ) set @Tablename = 'MyTable' insert into @Tablename default values ============================================= How can i make it work without using EXEC Thanks in advance Raimund You have to use dynamic SQL (which is what ...Show All
Windows Forms Why and How to get around Tab Control in UserDraw = large tabs
I am subclassing the tab control. As soon as I pass the SetStyle for UserDraw the tab rects are way bigger than they were drawn by the control itself. Is this a bug or what's going on How do I overcome this without having to resort t ...Show All
Visual C++ Loading a picture to FlexGrid cell?
Hello, I am using Microsoft FlexGrid in VC++ 6.0. I need to add a picture(bmp) to a cell in the flexgrid. I achieved this using VB and Flexgrid. But the function required to load a picture is not seen in VC++. What may be wrong with me Hoping to get a solution soon. TIA, Regards, Jahfer V P Hi All, Finally, I got the solution from the site www.codeproject.com. see the link below. http://www.codeproject.co ...Show All
Visual Basic How to use a Process to run CMD and a DOS utility to send Commands
Hello, I need some help. I want to write a program that will do the following: 1. Start a process that will run CMD.exe 2. Once in CMD window run the DOS utility (i.e., "C:\utility.exe Command) where Command is the command to send to a device. 3. There are about 5 or 6 commands that I need to send to configure a device using this utility. This utility exits with the "quit" command and returns to CMD window. Ca ...Show All
SQL Server SQL Server Management Studio Express CTP - not working
The SQL Server Management Studio Express CTP application is not working anymore after having done so for a day. No messages, nothing when I double click the icon. Everything else seems to be working OK. I have tried a de-install and reinstall with no success. Some of you who know where to start looking Regards TorB. Thanks Steven ! Hve downloaded and installed the new Nov. 11 build, and once again installed the S ...Show All
Visual Studio Express Editions starting another application with parameters
Hi there.. i want to start an application which name and path is stored in my.settings. so i use Process.Start(My.Settings.pfadname) when i execute my program and the filename in my.settings contains any command-line-parameters, vb tells me that the file doesnt exist.. so how can i make the programm start any other app using parameters Greetings Jan "JeriC" Eric "However, the question asked wasn't regar ...Show All
Visual Studio Team System using FXCOP from within VS.NET 2005 - Where are the settings stored?
In VS.NET 2005 project properties has an option to enable which FXCOP rules should the project output be checked for. Now where this setting being saved, in the project(.csproj..) itself How can I specify to VS.NET to use an external .FXCOP project file that I have created Thanks & Regards Pradeep Kumar You are right, the settings are stored within the csproj itself (which itself is a MSBuild project). Is there a reason why you wa ...Show All
Visual C# Formatting a string
hello all, Can u please tell me quivalent of below string in C#.NET strVehiNumber & " " & strVehiLocation & Chr(13) & strVehiTime & Chr(13) &strVehiSpeed & " Kmph" specifically,How to insert chr(13) in my C#.NET string Thanks , Anil Dhiman In C# you can insert any hexadecimal value in a string using the \xHH[HH] escape sequence like so: string str = "He ...Show All
Visual C# Urgent:How to write a message in C#
Hello: How can we write this using c# When the fullpath contains atleast one space, the user is required to include double quotes. IF the fullpath has no space, user is not required to use double quotes (but they can). The message that has to be displayed eventually with the above is "failed to load file" the path is: c:\Test ABC\Elite_Dms_SystemSetting.xml I'll write the mechanisme to check ...Show All
