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

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

Buruburu

Member List

Ruxo
Hilly Billy
Roman Belousov
BLACKDOG2
Stephenn1
Alan J. McFarlane
JavaGuy147
AJN
Vuong
Talbengal
Jim Ward
RavuriSurya
NikWe
Yara184108
JunHong
codelinezero
Nelson Pinto
Art Walker
Muthu4751
chassha
Only Title

Buruburu's Q&A profile

  • .NET Development Unwanted promotion using TransactionScope

    Hi, I wanted to test System.Transaction and using TransactionScope. So I wrote a little factory class which has very basic CRUD functionality. One of it's methods is CreateName: public static Name CreateName( string nameValue) {     using ( SqlConnection connection = new SqlConnection( Properties. Settings .Default.TestDB))     {        return CreateName(nameValue, connection);    } } private static Name CreateName( string nameValue, SqlConnection connection) {     Name name = new Name (nameValue); ...Show All

  • Visual Studio Tools for Office Can't Run Sample

    I downloaded and installed "Visual Studio 2005 Tools for Office Sample: Estimate Solution" and ran the database setup project but when I try to open the sample project I get an error complaining that it could not open the "EstimateExcelTemplate.vbproj" file. There is no such file in that folder Did I miss something here Hi Wayne, Have you downloaded the latest version of the Estimate Solution sample (We just updated this download this past week): http://www.microsoft.com/downloads/details.aspx FamilyId=401878B1-E03A-4FDC-8079-4344D574313B&displaylang=en When I download this sample, I find the "Est ...Show All

  • Visual Studio Team System WI Controls

    I've got a WorkItem I created that has a Summary and Workaround tab.  The summary field is displayed something like this: <Tab Label="Summary"> <Control Type="WorkItemLogControl" FieldName="System.History" Label="Detailed Description and History" LabelPosition="Top" Dock="Fill" /> While the Workaround is defined as: <Tab Label="Workaround"> <Control Type="WorkItemLogControl" FieldName="Sample.Workaround" Label="Workaround Description" LabelPosition="Top" Dock="Fill" /> If I use this setup, open a workitem and enter info and then save the info, the Workaround information will overwrite the Summary field inform ...Show All

  • Windows Forms Sample Code: DataGridView progress bar column

    I have a column that has integer data in it, I want to display it as a progress bar in the column so the user can quickly identify lagging processes.   I just started with 2005 and it looks great but does anyone know a quick way to do this I would also like to change the color of the progress bar based on the cells value. I found in the data sources toolbox where I can change the column to progress bar but that does not pass through to the grid.   Thanks for ANY help with this Hello, I got the same error because of the Paint method. At the design time, the value being pass in ...Show All

  • Software Development for Windows Vista Breakpoints not working

    I'm running the February CTP on WinXP SP2 and Visual Studio Pro. I'm running my development environment inside of a Virtual PC VM. The problem that I'm having is that I can create workflows fine, but breakpoints set up on a workflow activity do not work. I see the hollow circle with the warning when running in debug mode. Breakpoints set on the code beside code such as a CodeActivity handler work. I've looked at the other posts on the forum about the same problem, but the solution doesn't appear to be valid for my issue. I'm not running workflows from another library. I've built a console application and have the workflows in the conso ...Show All

  • Visual C# Dynamic form loading with parameters

    I'm trying to hook up a dynamic form loading procedure, but I need to send parameters to the class. I need some example code that passes an integer to the CreateInstance code below. Here is what I have now that works to load a form. I need to send a pkID to the class so that it can lookup the correct record. string fName="MyForm1"; Assembly tempAssembly = Assembly .GetExecutingAssembly(); Form newform = ( Form )tempAssembly.CreateInstance( "MySpaceName." + fName); newform.MdiParent = this ; newform.Show(); Thanks Mike Take a look at: http://msdn2.micro ...Show All

  • Visual C# how to check the node's text, level and depth in a treeview control?

    For example, if I have a parent node Root and then child node Child created at design-time, I know how to add child nodes to Child at run-time but my problem is adding grandchild nodes to Child. Root Child ChildOfChild1 // created at run-time ChildOfChild2 // created at run-time How can I add child nodes to ChildOfChild1 or to ChildOfChild2 at run-time the children of Child are sorted randomly so their indices change. The child nodes that you add in run-time are also added to there Parent TreeNode. You can allways iterate over the nodes and add new TreeNodes wherever you want. Here is a little example that adds ...Show All

  • .NET Development Memory Leaks in VB.NET

    How do you detect memory leaks (if there are any) in VB.NET windows application I have a medium complex VB.NET application, when it runs, the memory usage at the Windows Task Manager keeps increasing for the application even without any activity. Simply by switching to the application keeps the memory usage increase Any help is really appreciated. Are you using objects such as bitmaps and assuming that when they are done with, the garbage collector will take care of them for you Any object that impliments IDisposable, you should call Dispose when you're done with it, otherwise thi ...Show All

  • .NET Development SignData function is detected by firewall

    Hi! I use the RSACryptoServiceProvider to sign some data. I instantiate the provider and its parameters, I read the key from a fixed string and the use the SignData function to sign the data. At the execution of SignData my firewall shows a warning that my application is trying to access a specific computer in my network. I think this computer is used as a DNS server. The SignData function waits until I allow or deny this from the firewall and then returns the results even if I press 'Deny'. I tried to use Encrypt and Decrypt function and they do not behave this way. Why is SignData trying to access the network Thanks in advance, ...Show All

  • Windows Forms SeedSpreadDistanceAttribute

    Hi, Does anybody know why this is not being used This is not being used. And it won't be used in any future versions AFAIK. ...Show All

  • Visual Studio Express Editions win32 application

    i have read abt this frm the forum and followed steps given in the following link : http://lab.msdn.microsoft.com/express/visualc/usingpsdk/default.aspx but still i am getting the following error: 1>c:\documents and settings\administrator\my documents\visual studio 2005\projects\test\test\stdafx.h(28) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory i am missing something . plz help Looking at http://lab.msdn.microsoft.com/express/visualc/usingpsdk/default.aspx, step 3 is the problem. You should add C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include to include directori ...Show All

  • Windows Forms replacing "session" in web application

    session is used in web application to store information across diff webpage.. but is there any other way of replacing it into window application form thanks and regards. erm... sorry i am new in programming.. so can be more detailed so that i know what u all saying  if can pls provide steps on how to do it... thanks.. ...Show All

  • Windows Forms Layout and Design Question

    I know this might seem very stupid, but I'm on the Adkins diet and can't seem to remember how to tie my own shoes, so bear with me. I was just wondering if there is a control that I can make look like the below: A.  Description 1 B.  Description 2 C.  Description 3      (more of 3 this aligned with 'D') D.  Description 4 & ...Show All

  • Visual C# program crashes when other users run...

    Ok, I created a simple program the other day with nothing complex. I have already been using it for a week or so and now another user wants to run this application. That is when the program crashes. The error I get when debugging is: An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in System.dll It works normally when I (Administrator) run it but when I run it as another user (both Guest and Limited) the program crashes. I tested to see if something the priviliges were correct so i made this program 100% trust and therefore should be available to do anything, but still it comes. Could this be a conflict be ...Show All

  • Windows Forms use a variable to cycle through textboxes

    I have about 15 textboxes, all of which I want to save in a string array. Right now I just code: array[0] = txtbx1.text array[1] = txtbx2.text.... and so on. Is there a way that I can use a for loop and use x  instead of 1 and 2. so it would look like this:   For( x=0;x<=15;x++) { array[x]=txtbx + x.text; } instead of writing it 15 times Thanks. Use the Controls property of the form to get a collection of all controls on a form. The following code iterates through all the controls on a form. If the control is a textbox, it adds the text property of the control to the ar ...Show All

©2008 Software Development Network