Software Development Network Logo
  • Windows Live
  • Smart Device
  • Architecture
  • Windows Forms
  • Visual Basic
  • Visual Studio
  • VS Team System
  • Game Technologies
  • Visual C#
  • VS Express Editions
  • Visual FoxPro
  • Microsoft ISV
  • SQL Server
  • Visual C++
  • Windows Vista

Software Development Network >> mfenske's Q&A profile

mfenske

Member List

Mr Pro Tools
jerrymei
bjornstoro
MumbaiKaChela
jaypee68
tswaters
SealedSun.ch
Razvan_G
dmcgiv
comwiz_y2k
Aali
HH
Paul McMahon
deepforest
Pooja Jain
swart
Vittorio Bertocci
sjayachandran77
Amr Ouf
Chad Boles - MSFT
Only Title

mfenske's Q&A profile

  • Windows Forms Context Menu Question

    Alright.  I have a docking manager on my mainform (using Weifen Luo).  The mainform calls a second form called xform (naming differently).  xform is created onto the docking manager.  the xform has a context menu.  The context menu calls yform.  Now yform I want to dock it automatically.  See.  The forms are generally added to the docking manager from the event like this: // click event to start up xform in the mainform private void viewevent_Click(Object sender, System.EventArgs e) {    m_viewxform.Show(dockingManager1); } Now the m_viewxform is the object to the class (xform) that I w ...Show All

  • Visual Studio Express Editions Replacement of Winsock in Visual Basic 6?

    Hello Microsoft. Is there anyway to make any replacement of the Winsock Protocol in Visual Basic 6   I find that the WebRequest class and associated System.Net classes are great. I would recomend that you learn to use the Object Browser. The ObjectBrowser is your friend!!!!! ...Show All

  • .NET Development i keep getting a comdlg32.ocx error

    what is it and what can i do to fix it In what context are you getting this erro and what does the error say This ActiveX control shipped in Visual Studio 6.0/Visual Basic 6.0 and is used for showing common dialogs (open/save).  You should be able to find this control in your windows\system32 directory.  Perhaps you just need to re-register it by typing "regsvr32 comdlg32.ocx" from the command line in the system32 directory. Hope this helps, Adam Braden Visual Basic Team ...Show All

  • .NET Development DrawString in the PrintPage event and StringFormat

    Hi all, there is next code in the PrintPage event of PrintDocument class, it is based on StringTrimming enumeration example code from msdn: StringFormat format1 = new StringFormat (); string quote = "Noteverything" ; format1.Trimming = StringTrimming .Character; format1.FormatFlags = StringFormatFlags .LineLimit; e.Graphics.DrawString(quote, m_font, Brushes .Black, new RectangleF (10.0F, 10.0F, 50.0F, 20.0F), format1); e.Graphics.DrawString(quote, m_font, Brushes .Black, new RectangleF (210.0F, 210.0F, 250.0F, 220.0F), format1); First DrawString, which is from msdn, draw ...Show All

  • Visual Studio Team System Team Foundation Server MSSCCI Provider Beta 2 Now Available (Feb 20, 20006)

    The Team Foundation Server MSSCCI Provider Beta 2 is now available here . IMPORTANT:   Beta 2 is not strongly signed, so you'll need to disable strong name validation as mentioned in the README.  You can find details at http://blogs.msdn.com/buckh/archive/2006/02/21/536260.aspx . New in this beta: Support for Visual Studio 2003 and Fox Pro in addition to the already supported VB6 and VC6. Integrated Checkin - you can now associate/resolve bugs and specify checkin notes with your checkin Improved performance - opening controlled solutions, get, checkout, checkin, and compare/diff are much faster M ...Show All

  • Visual Studio Team System TeamBuildTypes and branches

    Same question as here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=155956&SiteID=1 The TeamBuildTypes folder seems to be required in the project root. So, I'm at a loss how this works in a branching environment. For instance, our tree: $/ECS /TeamBuildTypes /main /solution1 /.. /solution7 /v1.0 /solution1 /.. /solution7 So, what I'm not getting is how we're supposed to effectively deal with this. Do I have to make a TeamBuildType for each branch So I'll end up with "V1.0CompleteTests, V1.0SomethingElse, MainCompleteTests, MainSomethingElse" Also, if someone has mapped $/ECS/main to C:\ECS, how do th ...Show All

  • Visual Studio Team System webtest file and code generated for webtest file

    I recorded a test for webtest. Then I generated code(.cs file) for this recorded script (.webtest file). I modified the code to populate the field value dynamically. Now when I run the test, I would like to get the value from .cs file for .webtest file. Basically, I want to synchronize .webtest file with .cs file. Is there anyway I can do that. If we can not synchronize it becomes two objects (.cs file and .webtest file). Is that we have to maintain two Any help will be appreciated. Thank you in advance. Tampali A coded web test does not synchronize back with the .webtest it came from.  Thi ...Show All

  • Visual C# menu items calling forms

    I've been trying to find information on how to call forms from menu items.  The help system isn't helpfull.  Can someone point me to some helpful information including sample code Thakyou, How about using the click function from MenuItem class and then displaying the form using Form.Show() function ...Show All

  • Software Development for Windows Vista generic interface issues

    I'm having an issue trying to use a generic typed interface with WWF. I have an interface defined like so: [ ExternalDataExchangeAttribute ()] public interface IInterfaceName <TCommand> where TCommand : ConstraintType { void MethodName(TCommand Request); event EventHandler < ExecuteEventArgs <TCommand>> ExecuteStarted; event EventHandler < ExecuteEventArgs <TCommand>> ExecuteValidated; event EventHandler < ExecuteCompletedEventArgs <TCommand>> ExecuteCompleted; } This compiles fine, but when I try to use this interface as the InterfaceType for a HandleExtern ...Show All

  • Windows Forms passing variables between forms again :)

    I have read about five different threads about passing variables between forms and none of them have made much sense to me or helped me. I know i am very new and green but can't seem to figure it out. So one more time could some one help me in simple terms. Show me how to be able to access data from one form to the next. I am wanting to for example access a string that i have assigned in form1 and use it in form 2. Don't know how to do it. I am using VS 2005 C# Thanks for any help with me being so dense. Generally the easiest way is to make a property (accessor method) on the form that has the variable and a ...Show All

  • Windows Forms Forms problem

    Hi, what im trying to do is get the value of a textbox in form2 and then display it at the textbox of form1. heres my code FORM1 --------------- Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click         Dim form2 As New Form2()         form2.Show() End Sub FORM2 ---------------- Private Sub But ...Show All

  • Visual Studio Express Editions problem connecting to sql server express from c#

    Hi, Just started at looking at connecting to local SQL Server Express DB from C# and I'm using the MS Press C# Step by Step 2005 book. Page 413 and it says that you do the Data\New Data Source menu and then click the New Connection button and choose the "Microsoft SQL Server" data source and then select the ".Net Framework Data Provider for SQL Server" Only problem is, I don't have the "Microsoft SQL Server" listed - just "Microsoft Access Database file" and "Microsoft SQL Server Database File" - and it doesn't work with the second one when I select the MDF file for the example's Northwind da ...Show All

  • Windows Forms Hosting Windows forms Control in IE

    Hello, I have hosted a Windows fomrs control in IE using the object tag < OBJECT id ="UICtrl" style ="WIDTH: 50%; POSITION: static; TOP: 0pt; HEIGHT: 25%" classid ="FlowCtrl.dll#FlowCtrl.CFlowControl" name ="UICtrl" > </ OBJECT > It works just fine, but if 'Enable Content Expiration' is set to immediately it stops working. It does not work since IE tries to download the assembly into Temporary Internet Files and GAC. Why is a .NET control downloaded to Temporary Internet Files Do I have to turn off 'Enable Content Expiration' for the user control to work Is there a w ...Show All

  • Visual C# Checking values of variable at runtime.

    I have created a C# project using Visual Studio 2003. I have declared a string variable 'strTest'. I want to check the values of strTest.Substring(0, 2) at runtime. I tried checking its value in quickwatch window but getting the following error: error: 'strTest.Substring' does not exist I get the same error for strTest.ToUpper() etc. but its working fine in vb.net. Can anyone plz suggest a solution. Thanks. Ashok Make sure the variable strTest is in the current scope. Where do you declare it and where is the current statement when you try to check the value You can also try the immidate w ...Show All

  • .NET Development storing certificates in a database

    Is it possible to store digital certificates in a database and then install and use them for signing SOAP mesages from there Hi, Storing of certificates in a database is possible. You can store the certificate as a base64 encoded string. You can also use the X509Certificate class in the WSE 2.0 to load the certificate from the database. Check the FromBase64String static member of the class for that purpose. Signing with that certificate is a different story. It will depend to the type of the certificate and if the private key will be marked as "exportable". If for example the certificate is stor ...Show All

©2008 Software Development Network