Software Development Network Logo
  • IE Development
  • Smart Devicet
  • SQL Server
  • VS Team System
  • Audio and Video
  • Visual Basic
  • Microsoft ISV
  • SharePoint Products
  • Visual FoxPro
  • Visual C#
  • Windows Vista
  • Windows Forms
  • .NET Development
  • Game Technologies
  • Visual Studio

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

pixelstuff

Member List

Murali425891
Mike Oleary
Defected
Hassan Ayoub
Primate101
Darkside
Chrisd1972
Gentledepp
Rolento
Hervens
FedorSteeman
doener
mtgRhox
rapperux
Shirvo
OsirisTerje
Andrew Qualia
Dan OConnell
JonathanB_Il
wbardwel
Only Title

pixelstuff's Q&A profile

  • Visual Studio Extend VSTA IDE with Managed VSPackages

    Hi, is it possible to extend the VSTA IDE with managed VSPackes If yes, how can I do it. Regards Josef Answers to this and other question relating to your VSTA integration are available at our VSTA support site Q: Does the VSTA IDE support custom designers, editors, or (VS) packages top A: V1.0 does not support these customizations. Regards, Gary Depue ...Show All

  • Windows Forms Disable Keyboard activity

    Is it possible to disable keyboard activity using C# 2.0 in the textbox control use the keyPress event private void TextBox1_KeyPress( object sender, KeyPressEventArgs e) { e.Handled = true ; } In a comboBox you use the KeyDown Event. Similar code... ...Show All

  • SQL Server Cannot open user default database. Login failed

    Hi, I have installed SQL Server 2005 Express edition and when i try to run the web site as http://127.0.0.1/SiteName/Login.aspx . I am using default SQL Provider. Can anyoone please help me i was struck here from last two days. System.Data.SqlClient.SqlException: Cannot open user default database. Login failed. Login failed for user 'XXXXXX\ASPNET'. Regards, Pradeep. See the Security matrix form here: http://msdn2.microsoft.com/en-us/library/aa302377.aspx You either can create the ASPNET user on the server, create another one and specify it within the web.config file, or specify in the web.config file, that you want to use impersonation. (Depending on your needs) HTH, Jens K. Sue ...Show All

  • SQL Server "RETURN statements in scalar valued functions must include an argument" ERROR

    Hi, I am trying to write a function which takes a string as input and returns the computed value. I need to use the output of this function as a coulmn in another select query. Here is the code (Example: @Equation = '(100*4)+12/272') create function dbo.calc(@Equation nvarchar(100)) returns float as begin return exec('SELECT CAST( '+@Equation+' AS float)') end I am getting this error when i compile it "RETURN statements in scalar valued functions must include an argument" Any suggestions would be appreciated. Please respond Thanks Hi , Thanks for your reply...Is it possible to write the same functionality in a procedure and call it inside an another procedure... I need the outpu ...Show All

  • SQL Server Newby JOIN question

    I'm attempting to use a JOIN for the first time and I'm getting about 94,000 rows returned when I should only be getting about 270. Something must not be unique (possible DSN) but I can't figure out why the join is not working. I know it must be difficult to determine the problem without actually seeing the tables but could somebody with a lot of SQL experience spot any glaring problems with this query Thanks! SELECT DS.DSNName AS DSN, S.ServerName AS WebServer, DBs.DBName, A.ServerName AS SQLServer FROM DSNs DS, Servers S, DBs, DSNs LEFT OUTER JOIN Servers A ON DSNs.SQLServerID = S.ServerID WHERE DBs.Status = 1 AND DS.WebserverID = S.ServerID AND DBs.DBID = DS.DBID ORDER BY DSN ...Show All

  • Visual Studio Another question regarding VSS2005 integration but with Visual Studio 6.0

    Hi all, I read in the VSS2005 read-me that came with it that VSS6.0d and earlier versions of VSS should be uninstalled prior to installing VSS2005. My scenario on a clean PC: 1. I installed Visual Studio 6.0 without the Visual SourceSafe item from their custom setup window. 2. Then, I installed Visual SourceSafe 2005. I started Visual Basic 6.0 but I do not have the SourceSafe add-in!! What gives I re-tried the Visual Studio 6.0 installation but this time, I added the Visual SourceSafe item from their custom setup window. Now, I have the SourceSafe add-in. My question is that if the VSS2005 is supposed to be backwards compatible, why is the add-in not installed for VB6 Does this mean that I should also upgrade the V ...Show All

  • Visual Basic Erase and replace

    Here is what I have at the moment My .Computer.FileSystem.WriteAllText( "C:\SaverSupreme\ScreeenFile.txt" , lstTheme.SelectedItem, True ) This is ok, but what I want is when the user clicks a new SelectedItem from the listbox the old entry is erased and replaced with the new one. I thought of Append but I think that only adds to what is already on file. By ommitting or setting the append argument to false the WriteAllText will overwrite the file with the new string... My . Computer . FileSystem . WriteAllText ( "C:\SaverSupreme\ScreeenFile.txt" , lstTheme . SelectedItem ) or My . Computer . FileSystem . WriteAllText ( "C:\SaverSupreme\ScreeenFile.txt" , lstTheme ...Show All

  • .NET Development Errors installing .Net F..work 3.0

    While trying to install >NET Framework 3.0 I got several errors: 1) NGEN.exe -- Entry point could not be found: "The procedure entry point CorGetSvc could not be located in the dynamic link library mscoree.dll" 2) Microsoft Visual C++ Runtime Library: "Programs: C:\Documents a... This application has requested the runtime to terminate it in an unusual way. Please contact the application's support team for more information." I stopped installation at this point. In a previous post someone pointed out that a repair to the .NET components would do the trick. Well, .NET F.. is not installed! (any versions) Ideas, please! I finally gave up. This occurred about two months ag ...Show All

  • Visual Studio 2008 (Pre-release) Infinite canvas

    Hi, How could I provide a canvas surface with scrollbars which allow you to scroll the contents anywhere I mean if you have for example a view of [0,0]-[300,200] area you could scroll to see whats on [-100,0]-[200, 200].... like you have a geometry on the canvas and you'd like to pan. Thanks Hi miloush, what I would try is to put all the elements except of the current one into the Panel (Grid or Canvas, the last should be quicker) and move that Canvas instead. I'm only approaching to that bit in my application, will keep you updated you as I'll go through. ...Show All

  • Visual Studio Express Editions What is the quickest way to determine the height/width of a computer's screen?

    What is the quickest way to determine the height/width of a computer's screen in Visual Basic I ask this question because I want the program I am writing to scale to about 80% of the available screen area. thanks for any help! That would be the Screen class and it's PrimaryScreen/WorkingArea properties: MessageBox.Show(Screen.PrimaryScreen.WorkingArea.ToString()) WorkingArea does not include the space taken by the task bar. If you need to include that too use Bounds instead of WorkingArea: MessageBox.Show(Screen.PrimaryScreen.Bounds.ToString()) If you have multiple monitors using PrimaryScreen may not be a good idea because your form is not necesarilly displayed on the primary screen. Yo ...Show All

  • Visual Studio 2008 (Pre-release) Restricting access to an enndpoint

    How do i restrict access to an endpoint or action (method) in WCF. Is there anyting WSE 2.0 Policy files and claims assertions See http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1191707&SiteID=1 Hope it helps Pedro Felix ...Show All

  • SQL Server integrate report manager in an asp.net application

    I thought I can probably find out how the report manager works and create a similar application so that I can define my own things in there. Looks like there is no sample where I could get a lead. Now I have decided if I can include the report manager in a new aspx page in my application and disable the stuff which is not required by the user to look at it. I can definitely include the report manager url in the Iframe but how do I disable the stuff from the report manager. Please help, I am having real hard time. Thanks in advance. There is no way that I know of to customize report manager and include its functionality in your own app like you would a control. Have you looked at the report viewer web control If you nee ...Show All

  • Visual Studio A couple of Context Menu CTC questions

    Hello, I have a couple of questions around the context menu and ctc file entries. We have successfully placed items on the context menu in some areas but are having difficulties getting our context menu to show up in one area in specific.  We have a command that we are putting in the solution explorer context menu for the "Add" group and it is working properly.  Our CTC entry is as follows in the BUTTONS area: guidMyCmdSet:cmdidMyNewCommand, guidSHLMainMenu:IDG_VS_CTXT_PROJECT_ADD, 0x0500, guidMyCmdSet:bmpPic5, BUTTON, DYNAMICVISIBILITY, "Add My Thing..." ; Now we are also trying to add the same command for when the user right clicks on the "References" node in the project.  From our research and according to this ...Show All

  • .NET Development How to obtain client identity in remote server using HTTP channel

    I am working on a remoting application where the windows form on the client side connects to the business component on a remote server for the processing. We are hosting the remote object in a console application and using singleton server activation for remoting. Now my remote server needs to obtain the client's user information to do some client-specific processing and I am trying to obtain the same with the following code in my remote host application: string userName = System.Threading.Thread.CurrentPrincipal.Identity.Name; This works fine and returns the 'domain/username' if I use TcpChannel for communication, but if I switch to HttpChannel for remoting, Thread.CurrentPrincipal.Identity.Name returns empty string. I tried using S ...Show All

  • Visual Studio Express Editions Mouse movement in C#.

    How exactly is mouse movement achieved in C# I know that in VB.net, it can be implemented using the gdi32 MouseEvent library, but what I truly need to know is how to achieve it in C# (along with simulated clicks, for macros). how do you mean mouse movement do you mean for example the mouse moving from the current position to say, the left hand side of the screen if this is what you mean, try this:   Cursor.Position = new Point(Cursor.Position.X + 10, Cursor.Position.Y + 10);     this will move the mouse from the current position, either way, and add 10 to the co-ordinates Mouse is known as a Cursor when coming to develop with it. To redraw or relocate the mouse, you simply create a new p ...Show All

©2008 Software Development Network