Mark L. Olson's Q&A profile
Visual Studio Tools for Office Can I use Actions pane control in my shared addin project?
Hello. I want to make shared addin moudle for MS-WORD, which use the actions pane control. Is there any way I know that actions pane control can be used in the office document or template project. However the coded template file(.dot) can not be used as the global template. So, I want to make the shared addin module for any document. Please let me know how it is possible Best Regards John This is a large project but in basic terms we have the following components; VSTO Solution Assembly Uses a User Control that reads from the document cache a Dataset that says how and what to render in the task pane dy ...Show All
Visual Studio Express Editions Unable to download vwd and .net framework 2
Unable to re-establish connection to server (atempt 5 of 5) - for about 3 days now. Any news on this anyone TIA, Vogue Sandhya wrote: Could you send the log file dd_vsinstall80.txt from %temp% of the machine Thanks! I've got the same problem doing an install on Win XP Pro SP2 on Virtual PC 2004. Can you provide an address to send the txt file to ...Show All
Windows Forms ListView
Ok. I have 3 timers, 3 textBoxes, and a ListView. In the ListView, I have 2 Columns. The 3 textBoxes have starting values of "0". In a button click event, I start timer1, and what it does is increment the value of textBox1 all the way up to 10, and while it is incrementing the value, it places the numbers in all the textBoxes into the first column of the listView. Like so... public void timer1_Tick( object sender, EventArgs e) { // Link textBox values to the ListViewItem textBoxItems = new ListViewItem (textBox1.Text + "-" + textBox2.Text + "-" + textBox3.Text); // Here I added the ...Show All
Windows Forms Terrarium Server problems
Hi there, I've finally got a bit of time to develop an organism for this software and both the .NET 1.0 and .NET 1.1 clients do not appear to work. My firewall and router are configured to allow inbound/outbound TCP on port 50000 the client starts no problem, shows a number of peers and a number of animals. I get the waiting for animals to be ...Show All
Visual Basic QueryTables.Add Method: Data import from networked computer
I'm fairly new to VB programming. How can I modify the 'Connection' of the following code to directly import the text file from a networked computer I have been ftp'ing the file to my workstation and manually importing into excel from there and would like to cut out that step. The networked computer also requires a user id and password to log on. Thanks for any help. Sub SP1Log() With ActiveSheet.QueryTables.Add(Connection:= _ "TEXT;C:\Documents and Settings\kxwelch.FGDOM01\Local Settings\Temporary Internet Files\Content.MSO\C1CAECB7.log" _ &nbs ...Show All
SQL Server Installation support for XP SP2
When I try to install SQL Server 2005 on my computer (Windows XP with SP2) I get a warning from the installer telling me that my operating system is not supported, this is the warning I get. - SQL Server Edition Operating System Compatibility (Warning) Messages SQL Server Edition Operating System Compatibility Some components of this edition of SQL Server are not supported on this operating system. For details, see 'Hardware and Software Requirements for Installing SQL Server 2005' in Microsoft SQL Server Books Online. now I'm not able to install SQL Server itself, just the client components, does any one know a solution to this thank ...Show All
Windows Forms How to cause bindingsource to goto new record via code
When you create a detail view via Data Sources, you get a navigation strip that contains a New Record button. When the button is clicked, the binding source creates a new record in the datatable and moves focus to that record. That works great, but I cannot figure out what code is executed to make that happen. I would like to move to a new record based on the click of a button on my form. What code do I run to make the binding source move to a new record Both the Add() and AddNew() events fire when the new record is created, but What event do I need to fire to initiate the new record Thanks for you help. Dave Y ...Show All
SQL Server SQL Server 2005 Express on VISTA
Greetings! I tried installing SQL Server 2005 Express on my VISTA Beta 2 Box but before doing so, I checked if IIS is already installed and running. During the assesment of my current configuration, SQL Server 2005 Express is still looking for IIS. Are the conflicts regarding IIS 7.0 to SQL Server Express or the feature is not yet available. I will be continuing to do experiments with this one and hope there will be people who can share their experiences too. Thanks! I could not get SQL Express running yet, too. But it seems to be a known issues, because before installation I got an error that is a known compatibilty issue. ...Show All
Visual C# How to save html file and respective dependent files in server
Hi All Currently iam working with web application using C# ,my requirement is need to save a html file ,whenever saving a file the related image files should save in a folder Ex: When you click http://aspalliance.com/150 in URL when we use save as we can save it as HTML file and the related images are saved in related folder I need to implement the same concept Could any one please guide me Thanks a lot Probably you can using regular expression to find any external links (aka <img src="" /> etc) in the targeting html file, and then save those files pointed by those links, and then save the html text fil ...Show All
Software Development for Windows Vista Certificate for Signdigitally?
Can an example be given of how to properly use makecert.exe to create a .cer file for use with Signdigitally I'm using the code from Bob Watson's article: void SignDocument(string srcXpsDocument, string certFilename) { XpsDocument document = new XpsDocument(srcXpsDocument, FileAccess.ReadWrite); X509Certificate certificate = X509Certificate.CreateFromCertFile(certFilename); document.SignDigitally(certificate, true, XpsDigSigPartAlteringRestrictions.None); document.Close(); } But get various error messages at SignDigitally saying that the certificate is corrupt, or can't be found, although when I mouse over "ce ...Show All
.NET Development Types of JIT Compiler
Hi all, I heard that there are different types of JIT compilers available.Is it so If YES..What are the different types of JIT compilers available right now Thanks, Suresh. I guess there are specialized compilers for each platform (x86, x64...), but they would not be "available" - the framework would choose the correct one for the platform it runs on. I've never heard of any other JIT compilers to choose from... ...Show All
SQL Server Sequence Container
i am trying to insert data into a table and roll back if this fails. What i have done is created an Execute SQL task with a SQL statement of BEGIN TRANS .. if the constraint = success then it goes to a Sequence Conatiner that amoungst other thing includes an Execute SQl task that does INSERT statement . outsied of the container i have 2 execute sql tasks that to a COMMIT TRANS ond a ROLLBACK Trans . when executing it i get an error the Rollback Transaction request has no corrasponding Begin tranaction. I have seen this in a SSIS created by one of the Wizards and it works fine, im oviously missing something fundemental .. any pointers C ...Show All
Visual J# Access SQL Server from J#
Hi, I'm triying to make a visual java project that includes a SQL server database and I don't know how. It's the first time I do that. I have made the SQL database, but I don't know how initiate the connection with it. Hi, You may also like to refer this post . This post has got a working sample code also. I would still suggest you to go use Data Configuration Wizard instead of writing the code yourself. Code in the recommended post has also been generated using the Data Source Configuration Wizard only. Thanks. ...Show All
Windows Forms Datagrid ColumnStyle MappingName To SubClass of A Collection?
Hello: I am binding a collection of strongly typed objects to a datagrid without a problem. However, when I attempt to set the mapping name of a column to an object property within the base class the mapping does not take. For instance: I have ClassA that has a property of the type ClassB with a property PropA that I want to map t ...Show All
.NET Development Best Place To Locate Connection String and Other Initial Information?
New guy here...thanks for your patience ... I have a console application I'm building w/ .Net 2.0, C# and SQL Server. When the application starts I would like it gather some "initialization" information. Maybe a couple of items like its name, log file location, etc. I definately need a way to provide it w/ a Connection String so it can log in to a named SQL Server with either WAM or a user id/password. I'm familiar with the idea of using a config file for my application. I've seen the .Net 2.0 stuff on AppSettingsReader and other items. I'm wondering what's the preferred practice to store a ...Show All
