djmikke's Q&A profile
Visual Studio Tools for Office PowerPoint Paste Special using C#
Hi, how can i use the "PowerPoint Paste Special" using C# or VB.Net etc I have a picture to paste in PowerPoint. The picture is a metafile containng texts and Symbols. But the normal paste transform the symbols and i become incorrect symbols. Thanks, Abongs. Hi Abongs This group is specific for questions concerning the VSTO technology. At the top of this forum there's a posting "Please Read First" with a list of links to newsgroups for posting questions about automating office applications and using their object models. I suggest you post to the newsgroup for Powerpoint, or possibly to Office.developer.automation. But I think the Powerpoint group is your best bet. http://forums.microsoft.com/MSDN ...Show All
Visual C# Comparing values in an array and SqlDataReader?
Hi ya, I'm trying to compare an array and the values of SqlDataReader and I can't actually figure it out. I used to work with ADO and new to .net I want to compare them and then if the values are not matched to the SqlDataReader, I want them to store it into a recordset but there is no recordset in Ado.net plus i think my logic has some flaws as well. Cheers The code: for ( int i=0; i <=countme-1; i++) { myCommand.CommandText = "select * from tbl_empDetails" ; SqlDataReader myReader = myCommand.ExecuteReader(); while (myReader.Read()) { if (myReader.GetString(abc) != SID[ i ]) { Response.Write(SID[1] + " " + givenName[1] + "<BR>" ); } el ...Show All
Windows Forms How can I make update version for application which was signed with certificate now expired?
If I change expired code signing certificate to new one and publish updated application, client will fail to launch. And code signing fails if I try to use expired certificate. How can I make update version for application signed with old certificate Hi, If your certificate has expired you need to renew the certificate from Certificate authority like Verisign or say your company has a Certificate server. The new certifcate must have the same public/private key pair as the original certificate which was expired. Alternatively you could continue signing with the expired ceritifcate but the ClickOnce Trust manager prompt will always display Unknow Publisher as the certificate has expired. If you ...Show All
Visual Studio Express Editions window.h not found ?
Hi: I've now been programming for almost a year with CodeBlocks and decided to switch to VisualC++ as I joined a team that is using it. So I install it and try to create a blank project: everything ok. The I add this line: #include <windows.h> Compiler says that the file does not exist so I copy window.h to the VC++ include folder along with all the other headers i had in the CodeBlocks include folder. I try to compile again and here's what i get: 1>------ Build started: Project: myOwn, Configuration: Debug Win32 ------ 1>Compiling... 1>myOwn.cpp 1>e:\applications\microsoft visual studio 8\vc\include\winnt.h(3035) : warning C4103: 'e:\applications\microsoft visual studio 8\vc\include\winnt.h' : alignment changed after in ...Show All
Windows Forms Webbrowser.DocumentText Need Help
I have a webbrowser object that I am using as a ticker at the bottom of my application. I use the following marquee html to handle what I am trying to do and I use stringformat to replace the {0} with the text I want. Then I use the webrowser.documenttext = this string and like magic there is my ticker. < html > < head >< meta http-equiv = " Content-Type " content = " text/html; charset=windows-1252 " ></ meta > < title > New Page 1 </ title > </ head >< body > < MARQUEE direction = " left " width = " 100% " scrollamount = " 5 " >< STRONG >< font size = " 8 " color = " black " > ...Show All
Visual Studio Problems with Panels
Sorry for the cross posting but I suspect my similar posting in the "Debbugger" forum will result in a "blame the IDE guys" and as this is the closest form I can find for reporting problems with the IDE in general here it goes: Our entire project team has experienced on more than one occation double-clicking on a project dataset in the solution explorer resulting in all of the datsets in the project to get checked-out from VSS (as if the IDE in it's infinte wisdom felt the need to change something for you in all of the datasets). I posted this problem to the VSS forum and they said they do what the IDE tells them to do (IOW not their problem). We're using VSS 2005 client and server. At this very moment I'm l ...Show All
Visual C++ Text field question
Hi Folks; I have a text field that gets its contents from a SetDlgItemText call. The text goes beyond the length of my text field so I was wondering if anyone can point me to a list of flags so that I may allow the user to read to the end of the text field. Please remember to tag comments as answers if someone is able to help you. This makes it easier to see who's getting help, and who's not, as well as improve search results ...Show All
SQL Server Reg DropDown
I have a few report parameters. As soon as the report loads if choose a value in the first dropdown the values in the remaining drop downs must show the default value instead of showing <Selet a Value> Plzzzz help me ...Show All
Visual Studio Team System TFS SP1 and problem with get latest version
Hello, I have installed TFS SP1 and have got the problem with VersionItems table. When I try to do "Get Latest Version" operation the error occures in rpc_Get stored procedure. It says that there is a collation conflict (SQL_Latin1 and "normal" Latin1). The stored procedure is encrypted so I cannot know what it tries to do. All other operations (check in, change workitems, etc) seem to work notmally. Can anyone help me and explain how to fix the problem Thank you. This was a bug which we fixed in SP1 RTM. It would occur if your TFS version control database collation was different than the collation of your tempdb. Alexey - did repairing SP1 work out ...Show All
SQL Server Ordering columns in data flow (simple?)
Hello, I am new to SSIS. I am trying to write a simple package to export data from some SQL 2005 tables and into a flat file. In my data flow, I am using the OLE-DB data source and then the flat file destination. This all works fine except that I cant get the package to write the columns out in the order I want. Even when I drive the OLE-DB source by a query, they columns are getting written to the flat file in a different order than I want. How is SSIS determining what order to write the columns in and, more importantly, how can I change it to do it in the order I want Please help if you can. As mentioned I am new to SSIS so please give clear+simple answers. Thanks Mgale1 Hi Phil, You are correct - ...Show All
Windows Forms how can i import excel data to a datagridview
Hi all. I've been searching around for a easy way to import a excel file to a datagrid. I have tried a few of these examples, but nothing works. Why don't this work: private void button1_Click( object sender, EventArgs e) { DataTable test = getDataFromXLS( "c:\temp.xls" ); if (test != null ) dataGridView1.DataSource = test; } private DataTable getDataFromXLS( string strFilePath) { try { string strConnectionString = "" ; strConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=" + strFilePath + "; Jet OLEDB:Engine Type=5;" + "Extended Properties=Excel 8.0;" ; OleDbConnection cnCSV = new O ...Show All
Visual C++ 64Bit Compiling: MIDL Property Page
In the following "64 bit" settings article: http://msdn2.microsoft.com/en-us/library/9yb4317s.aspx ...it says " Target Environment is set to /env x64 or /env ia64 . For more information, see MIDL Property Pages: General ." The only problem is: there are no "MIDL Property Pages" on my projects. According to the documenation, presumably under a property sheet called "MIDL", the pages are: "General," "Output," and "Advanced." But the closest thing I can find to these alleged MIDL Property Pages is the "Embedded IDL" page under the Linker property sheet. Sadly, all documentation simply assumes that the location of these pages is self-evident. Furthermor ...Show All
Windows Forms Property not being modified during design mode
I have a custom control that inherits from the DataGridView and I need to extend the Data binding functionality. I’ve implemented the DataSource and DataMember properties hiding its inherited member with the keyword new as shown below, however while in design mode my new DataSource property is not being modified. The DataMember property is being modified just as expected. I suspect that the base.DataSource property is still being modified because when modifying the Property in design mode to a BindingSource data source the columns are displayed. However if the DataSource property is set to a DataSet the columns are not displayed. I've changed the debug properties of the project to launch a new version of devenv.exe and set a breakpoin ...Show All
Visual Studio Documentation Compiler - Sandcastle
We did code complete of documentation compiler ( code named "Sandcastle") on June 15th and currently we are testing the tool building our .NetFramework documentation. We would like to release the CTP version of Sandcastle in Microsoft download center by next week. The perf in our testing has been great as we are able to build the entire framework content in less than 1 hour. I am in the process of going through final check and code signing required to post this in our download center. Please expect the CTP in the next week or so and I will provide an update here as soon I post the CTP. Anand.. Hello Anand., Is there any news on Sandcastle Can we expect the CTP soon I'm really anxious to try it, and from what i can see ...Show All
.NET Development Class issue
Hi, I have some code that initiates a different class depending on what treeview node is clicked. I have the name of the class stored in an XML file. What I'd like to know is would it be possible to retrieve the class name from xml and then declare it by using that name. The problem I've been having is getting visual basic to recognize it as a class object. Is there some way I can do this Thanks for any help Chris Hi, Thanks for your help. I'm not sure what to put as MyDll.dll. I want to create an instance of a class from a string from the main form of my project. Do I put the assembly title of my project This is my code 'Get Grid settings for each service Dim GetGridSet ...Show All
