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

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

beastrabbit

Member List

Nille
Noam_h
Kanis
Iulian Radu
sud
Stefan Dobrev
jodonnell74
krus
biz
Tyago Valença
danielwetzler
Mathematix
Bruno Valente - PT
wiz
Jose Bucay
CBrittWardSr
S.Jan
Jim Glass - MSFT
shakalama
Sodan
Only Title

beastrabbit's Q&A profile

  • .NET Development Invoke event of a control virtually

    How to Invoke the event of a control suppose like button's click event can be Invoked using "new Button1().PerformClick()" method . suppose if I want to raise an event of a control by other means how it is possible.. ya I can call the function directly . But Idon't want that . I want to trigger the event virtually like PerformClck()..Is it possible through P-Invoke Please any one help me :) Suppose I want to raise the TestChanged Event of a text contrl without actually the event to occour, I tried through reflection , but GetRaiseMethod(). returns null :(( textBox1.GetType().GetEvent("TextChanged").GetRaiseMetho ...Show All

  • Windows Forms Remoting from Embedded Control

    Any luck with remoting calls form a .net user control embedded in IE  The same control works fine embedded in a Windows form.  We have the security policy set to allow full access. Any luck on remoting from embedded controls in IE Browser Thanks ...Show All

  • Windows Forms SplitContainer "Continuous Layout" or "Show Contents During Reizing" Option?

    Hello, I am working with the SplitContainer control in VS .NET 2005 July CTP. When sizing a content area on the screen, such as when resizing a form or when moving a splitter bar, there are usually two ways to go about it. One is to draw the splitter bar / form bounds only, then resize and repaint the content area(s) and child controls once, when resizing is complete. The second way is referred to in Java as "Continuous Layout" and, I believe in Windows as "Show Window Contents During Resizing" (an OS-controlled option in Windows). I am trying to get this continuous resizing behavior with the SplitContainer control, such that the two S ...Show All

  • Visual Studio How to implement CODE SNIPPET by native code?

    Hi, Our language service is COM components written by native code. We want to implement CODE SNIPPET. Someone have told us how to implement that function in MPF. But we can't use the languagesevice.dll file correctly in our project. It seems that we have to inplement the interface IVsExpansionProvider by ourself, But there is no valid help information about this interface in VSIP document. Could any one give us some advice Thanks. Best wishes. Sean, This info is very useful. I managed to get to call IVsExpansionManager::InvokeInsertionUI with all the proper parameters but it throws a memory access exception. I'm using unmanage ...Show All

  • SQL Server Why can EngineThreads property on the data-flow task not equal 1?

    The question is in the title! Thanks -Jamie There's no better answer than the pipeline engine simply needs at least 2 threads to function correctly. Matt can give a more precise answer, but I think one thread is needed for the buffer manager and the other for execution. K ...Show All

  • Visual Studio Team System How can I delete a Team Project

    Hi, How ca I delete a Team Project, I try, but ins't works. Any Idea. Hi Raymundo, This command will only delete the project you specify. It will delete the SharePoint site, Reporting site, Source Code, Work Item Tracking, and all the project related data that was created when the project was created. Other projects on the server will not be affected. If you are concerned about this, you can do a backup of the databases to ensure that you will not lose data. -Dennis ...Show All

  • Smart Device Development Force Uppercase

    I have a textbox into which data is keyed. I want to be able to have the keys entered set to upper case before they appear in the textbox. I dont want the user to have to use the shift key. how can i do this Can i do something inside the KeyDown or KeyPressed event that will convert them to uppercase Add this code to the KeyPress event: if ( char .IsLower(e.KeyChar)) {     e.KeyChar = char .ToUpper(e.KeyChar); }   ...Show All

  • Visual C# BSTR type in c#

    I received a DLL which uses BSTR as string type: example : given in the include file DLLEXPORT BSTR WINAPI I2cGetInterfaceTypeStr (BSTR Interface); how do i access this function in vc#. This doesn't work. [DllImport("I2CAPI32.dll")] public static extern string I2cGetInterfaceTypeStr ( string Interface); Other functions of the DLL which don't use BSTR are working ok. Can anyone help me. Thanks, Jan It's pretty unusual to see a function directly returning a BSTR like that, but I think this should work: [DllImport("I2CAPI32.dll", CharSet=CharSet.Unicode)] [ return : MarshalAs(UnmanagedType.BStr ...Show All

  • Visual Basic Where is Clear? How can I clear all checks in a checkLISTBOX with out a loop?

    Why did they get rid of clear. I have a checkbox with 50 items. I want the user to be able to reset the selected checked items to none. I need to be able to clear the selecteditems in a checkbox. Any ideas besides doing a loop Thanks Theresa Me . CheckedListBox1 . ClearSelected () ...Show All

  • SQL Server how to encrypt and decypt as a IUSR with read and write only rights

    How to decrypt or encrypt without making user a db_owner. It is for a web application and I do not want make the web user a db_owner. Is there a way to make this work without making the user a db_owner. Currently the user is a db_datareader and db_datawriter. I created an asymmetric key for encryption by password. I am not using a master key because I want to keep the password seperately on the web server, so a hacker cannot get access to both if database gets hacked. These are the steps I took when I logged in to SQL server management studio using windows authentication: CREATE ASYMMETRIC KEY ccnumber WITH ALGORITHM = RSA_512 ENCRYP ...Show All

  • SQL Server Get local sql server name

    Hi, How can I get local sql server name Thank's Alexei Hi. The fast answer: use "(local)" in your connection string. This should be the same as using Environment.MachineName, expect, I suspect, you might not need to enable TCP/IP. There might actually be several SQL Server instances on a single machine. Names are on the form MACHINE_NAME\INSTANCE_NAME MACHINE_NAME For this you can use "(local)", ip address, "." or machine name. INSTANCE_NAME This can be omitted if you want to access the default MSSQLSERVER. For any other version, take a look in "Computer Managment"->"Services", any instance of Sql server will be listed as ...Show All

  • Visual Studio Express Editions Add Web Reference disabled in C++ for MFC-Extention project

    I have a WEB-Service, create an MFC dll and would liek to call the service methods from the dll. As I know I should Add Web Reference to the dll, but the menu item (project)/Add Web Reference is disabled in the VC C++ Express. How to enable it Thanks! Vsiaul C++ web services support requires the use of ATL, which is not offered in the Express edition.  You must programmatically enable this support. Thanks, April Reagan Visual C++ Program Management ...Show All

  • Visual C# Find/Replace

    Hi to all I am trying to code Find/Replace with richTextBox. Can anyone help You might want to look into regular expressions provided in System.Text.RegularExpressions . ...Show All

  • Visual Basic Capturing Key press or Key Down Events for an entire Form

    Im trying to make a form for a test application. It has a heap of buttons and textboxes etc on it. I want to capture when the uses presses a random selection of keys (about 6 different keys) and have the form respond depending on what key they pressed, and what control they currently have highlighted. I don't know if i should be using keypress, keydown or something completely different Any help appreciated Cheers Mc Hi, As per my understanding you want to get the events generated by the controls that are located on you form and more also want to get the focused control. If so the ...Show All

  • Windows Live Developer Forums Gwaam Concept - Need help!

    Good day We have developed a new concept in multi user gaming called Gwaam. We need help from someone with the MSN API to produce a Gwaam for MSN version. Desktop demo and instructions can be seen at www.gwaam.com if you can help or know anyone please let us know  - understand there is time involved so we can be flexible about payments/shares/recognition Hi,   I haven't downloaded Gwaam, but I only read the How to play and I think I understand the game.   In the first place, keep in mind that the MSN games are only for 2 players. In the future there may be an option for m ...Show All

©2008 Software Development Network