Sandoc's Q&A profile
Visual Studio Tools for Office how to insert a string in html format in a word object?
I have to insert a string which is in html format in a word document. Exist a built-in component of Microsoft that can help me to do this job When i insert this string in document, it apear like plain text (like <p><strong>ggggg</strong></p> ). I want this string to be parsed and the word to view it like html (not to view tags, but to view it bold and italics). This is a simple example, but my strings are ...Show All
Visual Studio Express Editions rich text box
Hi, I placed the rich text box,and i applied some font settings to the selected text of rich text box. Now to save the changes to a file i used the following statement richTextBox1.SelectionFont = new Font (fontname, fontsize, fstyle); richTextBox1.SaveFile(fn, RichTextBoxStreamType .RichText); where fn contains th filename. but now also the changes are not applied to the file. Please help me. ...Show All
Visual Studio 2008 (Pre-release) Changing the cursor programmatically
Hello, can anyone tell me how I can set my cursor in the code with a relative path to my .cur tnx in advance, kimme button.Cursor = new Cursor("foo.cur"); Note that we only support cursor files on the file system, not pack: or http:. ...Show All
Visual FoxPro EDSETENV
I want to set up runtime environment as far as the way memo fields are displayed in the editor. I tried to use the code I found in Help: SET LIBRARY TO EDSETENV = EDSETENV("x") First, there is no library file by this name, at least I could not find it. Second, the whole thing is not recognizable by the compiler. How do I define string "x " Do I have to write a C++ module to do it But my first concern is to make the f ...Show All
Visual Studio Team System GetLatestVersion while compiling
Hi all, we are 3 programmers working on the same project. Files are included in Team Foundation Server Source Control. Is there any option like "Check latest version while compiling" E.g. if Programmer A modifies a file and checks it in again, Programmer B could not notice this, right If B checks out the same file, a message is displayed that there is a newer file in Source Control available. That's good. But there is no such message w ...Show All
Visual Basic Accessing database from remote machine
hi, i want to about accessing the database from remote machine help me pls siva.U Use SQL Server and simply specify the server and database on the connection string and your good to go. http://www.connectionstrings.com/ is an excellent site for findign appropriate database connection strings for various different database types. VB Express IDE doesnt support remote machines but all versions above Express t ...Show All
.NET Development StrongNameIdentityPermission
ok bear with me here as I am not exactly sure if I am using this correctly: I am fooling around with StrongNameIdentityPermission I have two assemblies (both assigned the same .snk file in there AssemblyInfo.cs) Assembly Namespace MyApp.Utility.dll MyApp.Utility MyApp.exe &nbs ...Show All
.NET Development VB. NET decompiler
Hello All, Is there utility availble to decompile: That is given a compiled VB.NET .exe, the utility would generate the .vb file with the source code Thanks Prashant H. K. Easy: http://www.google.com/search hl=en&q=vb.net+decompiler ...Show All
Visual Studio Express Editions Make a socket
how to use socket for reciving and sending with tcp/ip protocole in Vb http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpqstart/html/cpsmpnetsamples-howtonetworking.asp Best regards, Johan Stenberg ...Show All
SQL Server There is already an open DataReader error when scripting a view
SQL Server Management Studio: When I try to script a view by right clicking on the view and select Script View / as CREATE TO I get the following error: Exception has been thrown by the target of an invocation. (mscorlib) There is already an open DataReader associated with this Command which must be closed first. (System.Data). This must be a bug Charles http://lab.msdn.microsoft.com/productfeedback/ ...Show All
Visual Studio Team System Access to Private Variables
I'm just gettting started with unit testing in VSTS. I know that VSTS is supposed to have the capability to generate accessor classes to provide access to private variables in the class under test, but I've looked all over and can't find an example of how to use an accessor class in a VSTS unit test. Here's an example: Class ToTest Sub SetValuex(int y) private int x = y End Sub How can I test that the value of "x&quo ...Show All
.NET Development "The remote certificate is invalid according to the validation procedure
Hi, I am trying to send HTTPS request using HttpWebRequest in c# under framework 2.0. The server require x509 certificate. when trying to connect i get message that says "the underlyning connection is closed could not establish trust relationship for the ssl/tls secure channel" The inner error is "The remote certificate is invalid according to the validation procedure". i know that the certificate is valid and i ...Show All
SQL Server Return more than 4000 characters from CLR stored procedure
Hi, I have a clr stored procedure that takes in 2 parameters, input xml and a query name. The stored procedure transforms the xml with a the xslt for the given query name (stored in a database). I am currently using and output parameter that is of type NVarChar(4000) to retrieve the xml in .net. This all works fine unless the xml that is being transformed is greater than 4000 characters which will happen. Are there any ways of returning a string ...Show All
Software Development for Windows Vista Beta 2.2 does not require WinFX RTC? What about WPF then?
I am quite confused now. I am currently on Beta 2. That requires WinFX RTC. Now with Beta 2.2 it's saying it's not compatible with any WinFX RTC. Does that mean I could not develop WPF apps with Beta 2.2 because that depends on WinFX Feb CTP Hi Perry, If you are using WPF you should stay with the WinFX Feb CTP which is the latest WinFX CTP currently. WF Beta 2.2 is not directly compatible with that CTP and so you should not install WF B ...Show All
Visual Studio Fails to display Image button, button inactive and Image reports= red cross
Hi, I got Three problems : CR11/W2KS 1- In the .net viewer , the button picture (export, print etc..) are a red backslash 2 - Those button are not responding (no export, no print..) 3- pictures on reports are small red cross Some idea Thank You Lucien Sounds like a permissions issue. could be one of two things, insufficient permissions to the C:\Program Files\Common Files\Business Objects\3.0\crystalreportviewers11 d ...Show All
