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

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

Brak59

Member List

Luis69
marta
MCrw
Chris242
Sudheer_Dhulipalla_MSFT
Charleh
Mongkut
Ian Barber
HDH
Ravinder Singh
sindhu
James Hicks
jaebird
Theo Lindebaum
nikhil_dharap
IGK
Bloop
roacha76
zpustc
jonpfl
Only Title

Brak59's Q&A profile

  • Visual Studio 2008 (Pre-release) Implicit parameters in lambda expressions

    Consider v.FindAll(x => x > 5) We could use an implicit parameter in order to supress the parameter list. So we need a keyword to refer to the undeclared parameter, for instance "it" or "_1". The previous code would be equivalent to: v.FindAll( => it > 5) or mayby: v.FindAll( it > 5) For an unnamed second parameter we could use it2 or _2 etc. Is there any problem with this new simplification   Potentially variable name collision (this is why "yield" is not a keyword) ambiguity between immediate expression "it > 5" and proposed lambda expression "it > 5" In general, I think ...Show All

  • Visual C# click event

    I am trying to write one event handler that will handle a lot of events. For exaple i made a keyboard on the screen. When you click the letter "l" that letter should appear in the text b ox. I wrote some code below coud you help me with the rest delegate void fillbox ( object sender, EventArgs e, string letter , bool Caps) ; private event fillbox OnClickEvent; private void FillTextbox_numberClick( object sender, EventArgs e, string letter) { KeyBoard_textBox.Text = KeyBoard_textBox.Text + letter; } is this right A_ctl3dPushButton17.Click += new EventHandler (fill ...Show All

  • SQL Server General Network error

    I am using Windows Form with web service, I am getting error ocassionally when I am accessing records " System.data.sqlclient.sqlexception General Network error " , When I click again the error disappears. The information here is really not sufficient for us to help figure this out.  Can you give us some more detail as to what your configuration is   Are you running .Net 1.1 What version of SQL Server are you running It could quite possibly be that the server is crashing.  Can you check out the error logs on the server and see if there's anything suspicious there Thanks. ...Show All

  • SQL Server RS 2005 connecting to Clustered sql 2000 server

    We have a configured environment where we have sql 2000 in an active passive cluster.  I have a seperate machine where I installed RS2005 and store the RS database on the SQL 2000 Server.  When doing this, I get errors with WMI. Although saving the database connection succeeded, the report server cannot access internal information about this deployment to determine whether the current configuration is valid for this edition.  If you are configuring scale-out deployment, be sure that you initialize any new report servers from one that is already part of the deployment. ReportServicesConfigUI.WMIProvider.WMIProviderException: Th ...Show All

  • Windows Forms progress bar , repainting form and threading

    This is my code..the problem ofcourse progress bar once started works fine..after browsing thru other forms and returning back to this form only repaints it when progress bar functionality is complete. private void button2_Click( object sender, EventArgs e) { demothread = new Thread ( new ThreadStart (ProgSafe)); demothread.Start(); } private void ProgSafe() { if ( this .progressBar1 .InvokeRequired ) { SetProgCall del = new SetProgCall (ProgSafe); //SetProgCall is a delegate. this .Invoke(del); } else { Progress(); } } public void Progress ...Show All

  • Visual Studio Rotate a Report

    How do you rotate a report when sending it to the print preview I have a report that i want to rotate so it prints on the side Do anyone have an idee about this It doesen't work. I have tried this, and when i print it on paper it is being printed as portrait not landscape. The preview is shown in landscape. ...Show All

  • Smart Device Development .NetCompact Framework to open bluetooth port im my pocketpc

    Are there any samples around for using the bluetooth port in my pocketpc in the .NET Compact Framework for VB.Net All I want to do is read some data off the port..... thanks.... Nicola mr peter foot has developed a bluetooth library for the opennetcf framework. you can download it here (http://32feet.net/) its comes with a sample pocket pc to pc bluetooth chat application. For other samples look here (http://www.opennetcf.org/forums/forum.asp FORUM_ID=59) ...Show All

  • .NET Development app.config

    is it possible to add an app.config in a class library project and use that to retrieve the appsettings  from within a class in the same project If so then I can not see why mine does not retrieve the appsettings Thanks No, unfortunately you cannot have a configuration file associated with a class library - you can only associate configuration files with .exes. ...Show All

  • Windows Forms How can I create an MDI child form?

    Is there anyone who could explain for me how can I create an MDI child form Regards Hi, I'm sorry for the delay of response. I've been having a break. Sorry again but its no possible. A little bit of programming is involved when you create a Mdi-child form. But I think its quite similar to the VB6 approach. You'll just have to set the MdiParent to the instance of the MDI form upon showing. In VB6 you'll just create a form and change its MdiChild property to true. Its still the same in .Net but you'll just specify the MDIParent in Code... cheers, Paul June A. Domag ...Show All

  • Visual Studio Team System Workspace folder mapping bug?

    I have a directory at C:\Projects\Foo\Src\Runtime\EncryptionLib\UnitTests that I branched to location $/Foo/Branches/Developer/hillr/Exp_UnitTests.  I then try to cloak $/Foo/Src/Runtime/EncryptionLib/UnitTest and then map $/Foo/Branches/Developer/hillr/Exp_UnitTests/UnitTests to C:\Project\Foo\Src\Runtime\EncryptionLib\UnitTests.  VSTS gets confused.  When I edit files in the UnitTests dir in this worksapce they are really being edited on the trunk instead of my private branch.  When I go back to the Workspace mapping it has removed the two lines I added and put in: active $/Foo/Src/Runtime/EncryptionLib & ...Show All

  • SQL Server server problem occurred during deployment of vb.net application with MSSQL db

    I use .net 2005 and server, the application i developed connects to a locally hosted mssql db, I want to deploy the application together with the db to client machine. when i installed the application on the target machine, and run the application, it gave me this message : "an error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - could not open a connection to SQL Server) I didn't quite understand this message. because in the "S ...Show All

  • Visual C++ why does Visual Studio2005 crash on only cleaning a solution?

    Hello, I have a problem to build one dll project. The ide crashes whenever I try to compile it, in fact it crashes before that, it happens when I only  try to clean the project  before rebuild it, Here is the picture of the problem: the Visual Studio Just-in-time debugger popped up again with "An unhandled win32 exception occurred in devenv.exe[1728]". here below is found in the output window before the crash: "------ Rebuild All started: Project: profuisdll, Configuration: ANSI Debug RDE Win32 ------ Deleting intermediate and output files for project ’profuisdll’, configuration ’ANSI Debug RDE|Win32’’  I first reported ...Show All

  • Visual Studio Express Editions Compile DX9 Sample Errors

    The error is fatal error C1083: Cannot open include file: 'windows.h': No such file or directory And in the Tools/Options/VC++ Directories/ I can not show directories for includes files. This beta looks useless for old files. What is wrong with it Have a look at the following post, David Weller talks about Running the DirectX SDK (April 2005) Samples in Visual Studio 2005 C++. Running the DirectX SDK (April 2005) Samples in Visual Studio 2005 C++ Mykre www.ircomm.net - Managed DirectX and Game Programming Resources ...Show All

  • Visual C# General Questions ADO ole...

    Hello and thanks for taken the time to read this, Having a few problems with my code since there is so much of it I can not paste it here so just wanted to cover some thery on working with databases hense (.mdb) and let me know where im going wrong. Steps 1/ using System.Data.OleDb; using System.Data; using System.Data.Odbc; using System.Globalization; 2/ Create dataAdaptor & Connection then Dataset. 3/ Alow data to be read or not but able to work with it through ie datagrid ect. This will be updating the Dataset correct dataset.Clear(); // Clearing Dataset ole_DataAdaptor.Fill(dataset); // Filling Dataset 4/ Once finshed upd ...Show All

  • Visual Studio per user variation for build

    In microsoft.common.targets I found the following construct: <Import Project="$(MSBuildProjectFullPath).user" Condition="Exists('$(MSBuildProjectFullPath).user')"/> This made me assume that I can put a [csprojfile].user file in the folder where my csharp project file is located and then override common targets (like BeforeCompile) Unfortenately I don't get this scenario to work. Question: Is my assumption correct (assumptions are the mother of all ****-ups) and if so, why is msbuild not calling the targets in the .user file Tnx, Rene Ok, that make sense. I thought of it as an way of building/compiling ...Show All

©2008 Software Development Network