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

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

Bungaman

Member List

Bertil Syamken
Stefan Popov
Lou_b
Abhishek Pandey
Wes Clark
trislloyd
NURA
AndyBer
Neoasylum
F1rst_Kn1ght
ReneL
Gordon Glasgow
Questa
Claudio Caldato
BrianAnger
Glenn Slayden
Rhys Thomas
Oracle64
edgarJface
Vlad.S
Only Title

Bungaman's Q&A profile

  • .NET Development Replace a string Using Regular Expression

    HI , Since i am very new to regular expression can anyone explaing how to replace a string in an INPUT String using Regular Expression my pattern of replacing is as below the numeric characters (0-9) present in an input string must be replaced as ","prefixed and suffixed with the characters ex: if the input string is ABC1234DEF then the output string after replacement should be ABC,1234,DEF Thanks in Advance hey, I did something similar to this not so long ago. Unfortunately I've not got the code to hand and I haven't got around to typing it up for my blog, so I'll give you some pointers an ...Show All

  • Visual Studio Express Editions Parenting a form?

    Hi all ~ am trying to dynamically create a form and display it "inside" a panel on my main form. Am coming from Delphi where similar code would work - what do I need to do in C# TIA, Kai private void button1_Click(object sender, EventArgs e) { Form f = new Form(); f.Parent = panel2; f.ShowDialog(this); } I'm not sure that you can house a form inside a form. The way to do this would be to create a user control that is used both by the form, and can be shown inside your form. To add a control dynamically, it needs to be added to the parent forms controls collection ( t ...Show All

  • Visual Basic VB Express Edition Tool - How to find?

    A few years back, I bought the developer's edition of Sql Server 2000. This software had a tool called "Query Analyzer". You could create all kinds of DML (data manipulation) and DDL (data definition language) statements and test them out. I recently bought VB 2005 Express Edition. I am looking for the tool that would give me the same or similar support without having to modify the application I am developing. For one, I would like to query specific system tables. While I have used and appreciate the "Database Explorer", it seems to be limited in functionality. i.e. there is no sandbox to play in like Query Analy ...Show All

  • Visual C# I think this is for an expert!!.. coz` no one knowes it..

    I think this is for an expert!!.. coz` no one knowes it.. Can anyone tell how to insert a new line in a file Example:      test.txt line 1 line 2 line 3 line 4 line 6 line 7 line 8 after the insertion of the line... line 1 line 2 line 3 line 4 line 5 line 6 line 7 line 8 i tryed to use the seek() method.. it works but he overides the other lines.. Anyone know how to do that You will have to rewrite the file Read lines from input file Output to temporary file Hit insert place, write insert line to temp file Continue to read from input file and write to temp file Finish read/write Delete original file R ...Show All

  • Visual Studio Team System Accessing work item history from API

    How do I access the work item history from the API I want to traverse the history of the work item by entry if possible. If it is not possible, a string with all the history will help too. Thanks Hello You can fetch the work item of a particular revision from Work Item Store and then access the History Field to get the History. A sample code is here: WorkItem wi1 = WIStore.GetWorkItem(wi.Id); wi1.Open(); wi1.Title = testTitle + "Random Text"; wi1.Description = testDesc + "Random Text"; wi1.History = "Random Text"; int revisionNumber = wi1.Revision; wi1 ...Show All

  • Visual C# C# and VS.net components - very basic question...

    This is a no-brainer, but...OK...I've developed components in COM/COM+ for a long while...I am new to developing components in C# and VS.NET...the question is this: in COM/COM+, I'm used to having to go through and INTERFACE(such as IUnKnown, etc...)...IN C# you just ADD A COMPONENT within the IDE...the question is simple: do these C# components NEED to implement any type of interface, or do they communicate without a defined interface...and 2) can I add a C# INTERFACE or ABSTRACT CLASS to the C# component to emulate the type of interface I am used to in COM/COM+.... ......Thanks...... Thanks, Michael...sin ...Show All

  • SQL Server Load assembly from Stored Procedure

    Hi, Is it possible to load an assembly either from a byte array or from the disk at runtime from a CLR stored procedure. I have created a stored procedure that needs to load different assemblies depending on a query and then invokes a method (called execute() passing a string query as a parameter). From debugging the CLR stored procedure in .NET I have found that it is this line that creates an error:     Assembly myAssembly= Assembly .Load()   It doesnt matter if I attempt to load the assembly from it's byte array or from a ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. THANX

    Hi everyone, i'm making my arcade 2d engine using d3d9 sprites, particles ditto. I have a problem with creating the device. First of all i tried all the ways i knew to make the hWnd handler which i guess is the problem. Any ways here's my code for creating the device. /* dx9.pD3D is basically our d3d object d3dpp is presentation parameters and dx9.pd3dDevice is our d3ddevice object.*/ if( FAILED( dx9.pD3D->CreateDevice(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, hWnd ,D3DCREATE_SOFTWARE_VERTEXPROCESSING,&d3dpp, &dx9.pd3dDevice ) ) ) state = false; p.s. please give me a working source code for making a simple hWnd handler as well as the p ...Show All

  • Visual J# Rebuild Issue with Object Test Bench

    I am able to create an instance of a class in the Object Test Bench.  But everytime I attempt to invoke a method (even an empty void method) of the class, the tool asks me to rebuild it, after which it resets the class and does not execute the method.  It does this even though I have not modified the code in any way.  I try to execute the method right after I create the instance. This seems to happen if you have multiple projects in a solution.  Is there a workaround Help! :) Steven Just for your information. I was having the same problem and changing the settings in the optio ...Show All

  • Microsoft ISV Community Center Forums Access

    I've been trying to use visual basic to format a table in access. I have a horrible mess of a table, which has multiple rows of information, in which i have to pulled different information from depending on what is in the first column of the row. I figured on using if statements and variables to determine the contents and what i need to pull out, however, i cannot figure out the way to actually denote the cell in the function. Like if i want to denote column cell A1 of Table SomeTable, how would I state that Is it even possible or is there a better way to do it Thanks! See, there in lies the problem, i do not ...Show All

  • Visual Studio Sharing files across projects?

    I read that sharing of files across projects is no longer supported in Source Control. In the EnterpriseLibrary beta 2 solution they are sharing the GlobalAssemblyInfo.cs file located in the Solution Files area across multiple of the individual application blocks. These shared files have a special icon with the little link arrow on them like a short cut icon. Does anyone know how to establish these shares in VS.Net 2005 Thanks. Hi, I think you are confusing the LinkToFile feature in VisualStudio (that displays the arrow overlapping the file's glyphs) with the SourceSafe's Share feature. The Shared source ...Show All

  • Windows Forms DataGrid Column won't resize to 0

    I am trying to set the width of the first column in my datagrid to 0 but it's not working, I have used the properties of the datagrid to add a table style and a column style In the Windows Form Designer generated code I find the following new code snippets //////// this.dataGridTbleStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Wind ...Show All

  • Windows Forms What's this?

    This is an error message that pops up in the middle of some code where I don't see anything wrong: C:\MyWinProj\Support\Utils.cs(21): 'Support.Utils.DoMerge(System.Collections.ArrayList, string)': not all code paths return a value Here's the code: public string DoMerge(ArrayList FileArrList, string outFileName)  { string strRes; // = "Merge is successfully completed!"; //' Create an instance of Stream ...Show All

  • Visual Studio Reportviewer.localreport screen res issue

    Hi all, that's my firs post ever. First of all, sorry for the poor english, i'm italian : ) I'm a MS environment programmer since few years now and usually i find answers for my problems in a bounce of sites trhough the net, but this time i cant really figure out how to solve the problem. I developed a small backoffice app that use reportviewer control to show a few local reports. The problem is that on my PC the reports are perfecly printed on a normal LaserJet but on the customer PC the reps are printed in an ISO A2(or similar) format. That's make the prints a bit messed up, showing only a quarter of the original report. Now i realized tha ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. MDX, where do I put the symbol files?

    Sorry for the newbie question, but where do I put the Symbol files I am using April 2006 release, VS2003, MDX, x86. Thank you. Well I didn't have that directory, but after a little hunting I discovered that its a separate download. http://www.microsoft.com/downloads/details.aspx familyid=562D72FC-61C8-41A3-8BFF-509466F3D6AA I always assumed these were for C++ only but you are correct that there are symbols for the managed assemblies too. I believe that you don't have to copy them anywhere - you just have to tell Visual Studio where to look for them. Tool/Options/Debugging/Symbols. I'm not sure if you can specify the root direct ...Show All

©2008 Software Development Network