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

Software Development Network >> Richard Berg MSFT's Q&A profile

Richard Berg MSFT

Member List

kevincad
Fabiods
ReneeC
Casino Game Developer
shaun_vb6
Bwilhite
baer1208
itsmytime_24
Leon Tayson
matthew lyden
Dave Waterworth
bisanthe
DTHMTLGOD
Graemem
Gaëtan POUPENEY
JamesScottJr
bayito
KipK
rajendra patel
RoadGlide
Only Title

Richard Berg MSFT's Q&A profile

  • Visual C# C# Controls Resize When Form Resizes

    Hi Could any one help me to sort out resizing form controls issue. I am doing windows forms and in a form i have controls which will be created in runtime. It is like a panel containg 9 lables. I tried anchoring and docking which is not fruitful as they are hiding the other controls means if you enlarge the form it actually submerges one control with the other. If any could forward me the working code to resolve this is appreciable. Thanks in advance. I would have to agree with Rabbi Joseph; using FlowLayoutPanel or TableLayoutPanel will solve your problems with the labels falling on top of each other. and as for making sure they resize properly, you would definitely want to hook on to the Form.OnResize event. ...Show All

  • .NET Development What can I append to the end of an expression...?

    I am currently working on a problem and need a way to work around an issue in the Regex object in .net. The basic issue is that if the parsing expression contains this: … " price="( <price>.* )"net="( <net>.* )" … But the text being parsed looks like this: … " price="44.54" net="0.26" volume="592100" … (These are just snippets, the expression and the text are both a lot bigger) The Regex.Matches(strStringToParse) continues to try to find the "net=" pattern so it knows when to stop for the data in the price group… it continues to look on beyond the end of the string… the end of the file… and on into the system. ...Show All

  • .NET Development vb update resource files dll

    hi there I want to update my resource files dlls at runtime anybody can help thanks in advance And if you want to update the resources, are you sure that you don't want to use settings instead of resources Best regards, Johan Stenberg ...Show All

  • Visual Studio Tools for Office Unistalling VSTO "v3"

    Hi Everyone!!! I was using a Vsto "v3" ctp, with the release of .NET 3.0 I uninstall all and install the rtm, but i forgot the vsto, I tried to uninstall it now and it tells me the I need th February CTP of the WinFx Components to uninstall it, some can help me To fool VSTO 'v3' to install with another version of wfx you had to add a registry item to make it work. Maybe if you remove it your uninstall is fooled to make it work too This was the 'add' post. Add [HKEY_LOCAL_MACHINE\Software\Microsoft\WinFX RunTime\3.0\Setup\Indigo] "InstallSuccess"=dword:00000001 to your registry and VSTO 'v3' June CTP will install! In your case add would be remove Try at your own risk - disclaimer stuff i ...Show All

  • Visual Studio Visual Studio 2005 does not embed resources

    Hi! Recently the VS 2005 stopped to embed resources into my WinForms applications which results in System.Resources.MissingManifestResourceException being thrown each time such an application starts. This is queer even more for my friend's VS instance embeds resources just fine. I used the Resourcer to examine generated assemblies and found out none have been embeded. I have also examined projects I have implemented some time ago and saw resources are alright - those applications work just fine, but whenever they are rebuilt their resources vanish out. Exception data: "Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "WindowsApplication3.Form1.resources" was correctly embed ...Show All

  • Audio and Video Development Remote encoder dies

    We are using the windows media encoder sdk to create and administrate remotely multiple instances of windows media encoder through a web service, in a way which is very similar to the Microsoft Remote Administration sample. Everything works perfectly: the encoder is created and configured, it starts, stops and so on. But after a quite short period of time, usually less than one hour, the instance of windows media encoder just disappears. After having read something about it in this thread http://tinyurl.com/y5nvsx , we've been trying with no success to solve the problem by instantiating both the agent and the encoder using a dll wrapper written in C++. Any suggestions Has anybody encountered the same problem and found a ...Show All

  • SQL Server NULL in Temp Tables

    Forum, I am looking at another report code (constructed by another user) and wanted to know why the user coded the word NULL after each field in the Temp tables. What does the NULL tell me and why would the user use it Sorry for the Newb question ... I'm still learning the language and could not find any information in the help files. Report Code /* Billing Status */ SET NOCOUNT ON CREATE TABLE #Appt( FacilityId int NULL , Visit datetime NULL , OwnerId int NULL , DoctorId int NULL , CompanyId int NULL , ApptSetId int NULL , CasesId int NULL ) CREATE TABLE #Temp( Visit datetime NULL , PatientId varchar(15) NULL , PatientName varchar(90) NULL , DoctorName varchar(60) NULL , ApprovalResults text NULL , Description va ...Show All

  • Visual Studio Team System Perforce TS convertor

    Hi All, Does anybody know how much work involved to write a Perforce to Team Foundation Version control convertor I don't think such convertor exists yet. Can this be done by use VS SDK Or I will need to write to database directly Any comments would be help. Thanks you all in advance. Thank you for understanding, Robert! There are forces aginst to move from P4 to TS, so I try to make it "perfect". I am afraid that the timestamp will give others more reasons to push back as we have some reports rely on timestamp such as code injection in certain period, defect injection, etc. I think I still have another option. I could make TS running on a single server, and programatically change the computer ...Show All

  • .NET Development Object must implement IConvertable

    Object must implement IConvertable MS Data Access Application Block returns the subject error when passing more than one parameter to a stored procedure.Does anyone know a work-around this problem for C# Thanks in advance Thank for your co-operationon this matter This is a code in which i am getting the said exeption. public override bool Insert() { SqlCommand scmCmdToExecute = new SqlCommand(); scmCmdToExecute.CommandText = "dbo.[pr_Products_Insert]" ; scmCmdToExecute.CommandType = CommandType.StoredProcedure; // Use base class' connection object scmCmdToExecute.Connection = m_scoMainConnection; try { scmCmdToExecute.P ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Processing Keyframe Animation Data

    Hey all, I'm trying to write a Processor to extract the relevant keyframe animation data from the NodeContent data imported from the .x files, and am having trouble figuring out exactly what data i am given. Since i iterate through all the meshes to draw the model i was looking to store the keyframes as the corresponding Absolute transformations for each mesh, hence when animating i can just pick the appropriate keyframe transformation and set that as the World transformation matrix for the effect. Each NodeContent object has a dictionary of AnimationContents which in turn have a dictionary of AnimationChannels which in turn contain a list of KeyFrames, each containing the time index for the frame and a matrix transformation. Can anyone ex ...Show All

  • Visual Studio Team System Performance counter miss-match Result Store and Graphs/Legend (missing data/bugs??)

      I ran a load test, which contains one coded web test, which navigates to a bunch of different uris. What I am interested in is the response time it takes to load a uri(aspx) page.   In the run settings of the load test I have set the timing details storage to “AllIndividualDetails” And My sample time is 5 seconds   The name of my Scenario and Web Test is Navigation     When viewing the results in the Test Results pane in Visual Studio, I click on the counter set that represents the page I am looking for   Updated image File: Google didnt like me linking them   http://picasaweb.google.com/jakeb16/Questions   The page I am looking at is called default.aspx ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. What is a good type of game to start with?

    So when XNA Studio Express comes out I and many other budding(a.k.a. newb) programmers will flock to our PCs to make our own games, but my question is what is the best type, or genre to begin with Would it be a good idea to start 2D, or would jumping into 3D be an option I want to start off with somthing that I can ease into and not get overwhelmed by anything too hard. Thanks for any help you more experienced programmers can give me. 1 Word: Pong! Will teach you everything, collision detection and resolution, drawing to the screen, input, sound, font output That is usually the first thing I make whenever I try a library ...Show All

  • Visual C++ Problem of ActiveX

    When I am trying to call an ActiveX's method in my MFC application, it displays a dialog on the top of my application properly. But before it ends, the OS displays a dialog, which says "Another application is running, switch to ...". If I try to switch to others, everything is OK, my application continues to run. Could you tell me how I can avoid displaying the annoying dialog Why Thanks in advance. You mean if I use it in view of MFC MDI or SDI application, before I invoke the AcitveX method, I should invoke AfxGetMainWnd()->EnableWindow(false). Do I have to disable the View window Is that right Thanks again! ...Show All

  • SQL Server Report - preview looks fine, but exporting to PDF splits controls!!!Help!!

    Hi, I've build correctly my report using the most efficient tools. I've made the preview and it worked just fine!However, when I export to PDF, it splits the report heigth into two pages, having the columns of my table and other controls splitted. I'm already using the font size as 7 or 8 (depends), really small, I've tried hard to reduce their size, however the result remains the same...no resolution!! Is there anybody who may have or had this situation Any guests or help Thanks a lot! Reorganizing the controls solved out the problem. The issu now is, that I have a footer on which ir presents the current and total nr of pages, such as "page 1 of 2", and the report appears always with 2 pages, even if the report only has o ...Show All

  • .NET Development DataReader problem (My final straw)

    As a newbie to VB.NET I am rather please with a project that I am completing for my university course. There is one problem that has kept me from completing my project so far, and that is that I can not extract a value from the table of and Access database. To set the scene, I have a form that inserts the values from text boxes into variables and from variables to a database table. This works fine and I have no problems here. (see code below) What I need to do next is retrieve the customerID that is auto generated in the data base, this needs to be stored as a variable in the form and then passed to the next form so that it can be used to make a booking. I have got the code that passes the variable across the ...Show All

©2008 Software Development Network