hommer's Q&A profile
Windows Forms Draw on rich text box
Hi Every one, I'd like to know that it is possiable to draw on the richtext box control or not and if it's possiable how can I do it thanx Here is the code in C# for an extended RichTextBox,which allows you to draw on a richtextBox.You can convert this code to VB.Net. using System; using System.Drawing; using System.Runtime.InteropServices; using System.Windows.Forms; namespace WindowsApplication1 { /// <summary> /// Summary description for RichTextBoxEx. /// </summary> public class RichTextBoxEx : RichTextBox { private const int WM_PAINT = 0xF; public RichTextBoxEx() { } protected override void WndProc( ref Message ...Show All
Windows Forms Windows Form - Set form size
Hi , I am using VB 2005 Is there any way to set the size of the windows beyond the screen resolution. e.g 3000 x 3000 . I have tried to set it but it keeps changing back to the maximum size of the screen resolution. Thanks Hi, Sorry, my mistake. It is indeed not possible. You can take a look at the post of Gabriel that gives an explanation of the problem: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1058342&SiteID=1 Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All
Visual Studio Express Editions Multiple fonts in a richtext box
How do I change the font of only specific words in a richtextbox, for example: Suposed that there are two text boxes called: Box1 and Box2, and a Richtext box called RBox RBox.text = (box1.text + Box2.text) And I want to display the box1.text in bold, and the box2.text in Italics. How do I do this Eslucafe, According to your problem description, I guess you may be not familiar with the RechTextBox bery well. I suggest you to read the intruduction on this class in MSDN followed as : http://msdn2.microsoft.com/en-us/library/system.windows.forms.richtextbox.aspx Then read the sample code and hope that can help you: Public Sub CreateMyRichTextBox() Dim richTextBox1 As New RichTextBo ...Show All
Visual Studio Team System Issue installing Visio for Enterprise Architects from MSDN
HI, I get the error message "You must first install one of the qualified Visual Studio editions" when attempting to install my MSDN version of Visio for Enterprise Architects. I have Visual Studio .NET Enterprise Architect 2003 installed. Why would i be having this issue What qualified edition would it be looking for Thanks James Howson Hi James, Visio Enterprise Architect is available only as part of Visual Studio 2005 Team System (Developer, Tester, Architect) or as part of Visual Studio Professional with MSDN Premium. It is necessary to install any of these verions of VS 2005 before Visio Enterprise Architect installation. Regarding to the Visual Studio .NET Enterprise ...Show All
Commerce Server Need MessageManager configuration in Web.Config
Hi guys i am developing some proof of concepts in the Commerce Server 2007.I done some of the things in cs 2007, now i moved to do some basic things in Pipeline concepts. i created some some code and add the basket.pcf in the Pipelines folder in my project . while i running throgu i got an error message like this, Please configure the MessageManager in the configuration file. How to configure for my basket.pcf file. Hi Vinayak if i given as "CommerceWebApplication" the error comes like this, Unable to load the specified assembly CommerceWebApplication Server Error in '/SampleSite' Application. ...Show All
Visual FoxPro excel and foxpro
Dear friends, when exporting datas to excel from foxpro using the copy to command, there after trying to do some calculations and formating the excel file using automatation macros how could I integrate this in foxpro, I don't know where to start. thanks for explaining me the functionality satish Dear friends, I found out the great prg file and my project works as I wanted. nice weekend, thanks for all your kind suggestions especially for cetin satish ...Show All
Visual Studio 2008 (Pre-release) "remote side security requirement was not fulfilled..."
I am new to WCF and want to learn about setting up security between server and client. I have read Keith Brown's article in the August MSDN magazine, which explains things clearly but I need more sample code, showing particularly how to configure endpoints, bindings and behaviors to set up message-based and transport-based security via the app.config file. I have come across a couple of blog entries with sample code, but they are from earlier times and the APIs have changed sufficiently that they don't build any more. I am now using RC1, the latest. (Trying to figure this out from just reading the docs is HARD!) Thanks: based on your suggestion I checked on the way the server machine (VM) was s ...Show All
Visual Studio visual studio 2005 installation error
Installation on a Microsoft Server 2003 - application that I'm trying to install is Mircosoft Visual Studios 2005 - installed .NET FRAMEWORK 2.0 - installed Mircosoft Visual Studio 2005 Document Explorer (DExplorer.exe) MSDN Setup error In order to complete installation of this application, you need to install or upgrade the Microsoft Visual Studio 2005 Document Explorer. That is the error that windows comes back with when I try run the setup.exe for visual studio. Are you getting this error when you try installing MSDN Do you know what version of the Document Explorer is installed It should be 8.0.50727.42. You can check by running msiinv.exe to see what version ...Show All
Visual C# Setting up IDE to P/Invoke C DLL
Hello all, I'm very new to the VS2005 IDE (it seems almost everything has been changed from VS6). I'm also new to using P/Invoke to call my C-style Dlls from C#. I've found info on using P/Invoke, but I don't know how to set up my project options so that the environment can see the Dll. Should I just put copies of my .dll/.lib/.h files in the same folder as my .cs source files Are there project settings in the IDE that have to be changed as well If you respond (and I hope you do), please detail exactly the IDE steps (ex: "Project...MyProject Properties...Reference Paths...etc". As always, thank you everyone! Sorry, I dont quite understand. Are you wanting to access/Pinvoke a dll (su ...Show All
Smart Device Development How to center a dialog box
Hello, Looking at some of the msdn code I found the snippet below that I am trying to use for a customize dialog box. MSDN states this is available on compact 2.0 but I get the message stating it's not declared. Any help would be appreciated. John Dim form1 as new form() form1.StartPosition = FormStartPosition.CenterScreen This is indeed confusing and I have sent a message along to our documentation person to take a look at what is going on. For members that are supported on .NETCF, I would expect to see something like the following in the "Version Information" section on the relevant MSDN page: Version Information .NET Framework Supported in: 2.0, 1.1, 1.0 .NET Compact Fra ...Show All
Visual C# Where is the web site templates ?
how can i get or load the web site templates back when i open a new Website .(File->New->WebSite ) there wasn't any web site template in "New Web Site" window . just standart c# templates . IIS was loaded . What is the problem Note: I also try "denenv /installvstemplates" ...Not working... Create a blank solution. Right click on the created solution (or an existing one), one of the options is Add. The next drop down has New Website or Existing Web site which will give you options for web services as well... This threw me for a loop for awhile myself. ...Show All
Visual Studio Tools for Office Create worksheet with precoded events attached?
Hi, If I have a class worksheet e.g. sheet1.cs. Is it possible to add multiple instances of this worksheet to a workbook For example if the user clicks a button a button a new sheet of sheet1.cs will be created each time with all previously coded events and controls associated with it Thanks in advance. Ben. Hi There is not the normal inheritence style of ways to do this, you can capture the events for New Worksheet and then add functionality to this if you wish through code. Regards ...Show All
Visual Studio Team System MSF Essentials book: natural vs. planned vs. externally facilitated checkpoints
Hi all, What are natural checkpoints, planned checkpoints, and externally facilitated checkpoints I found them in MSF Essentials book, Chapter 3, p.36, which says: "MSF builds in natural checkpoints ... help a team reflect and assess successful and not-so-successful aspects of a project. Planned checkpoints throughout the MSF Governance Model help teams to make midcourse corrections... MSF emphasizes the importance of organizational-level learning from project outcomes by recommending externally facilitated project checkpoints and post-project reviews." Would anyone explain it for me Thanks in advance! Checkpoints are a chance to sync up and/or compare plans with reality. The main differe ...Show All
Visual Studio HELP with internet explorer 7
Hey, i need help.. i'm only 12 years old so i don't understand a thing about this stuff. I'm using mozilla firefox because a viruus attacked my internet explorer and now the program is gone... I can't see my dsktop and all i can do is task manager to run this firefox.. it says it cant fine the EXPLORER.EXE and i need the normaliz.dll to be reinstalled.. o.o i dont get it.. PLEASE help me.... i have even tryed re downloading the internet exploer 7 again but before it can finish setup it gives me that message again then another pop up came and says this" setup was unable to initialize. please look at the logs in C:\windows for more information" and thats where i ge ...Show All
Software Development for Windows Vista How to pass parameters from one workflow to another?
I have one workflow (workflow1) defined, and it contains a property isAuthorized. Then I have defined Workflow2 and used the invoke workflow activity to invoke workflow1 in workflow2. When the workflow1, which is a part of workflow2, is completed, I need to read the value of isAuthorized property to determine which activity in workflow2 should be invoked. How can I read that value (isAuthorized) in workflow2 Thanks, Marko Vuksanovic. Marko, the InvokeWorkflowActivity will start workflow1 asynchronously. Passing parameters (via binding) is easy, but retrieving them when you need them is another story; that's why Jon has developed his custom activity & WorkflowRuntime Service. Serge ...Show All
