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

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

iampedro

Member List

Eugene S.B.
Ruprect8696
Austink2004
RAB36
Brunosdd
RFDID
Alessandro Ferreira
Leyan
Xfolder
progrmr
Steve98796
Hassan Ayoub
Sp_Prabu
Constantijn Enders
Osmose1000
rod_r
RickKr
BD_Elektrona
Peter_vienna
doug finke
Only Title

iampedro's Q&A profile

  • Visual C++ Failure to repaint

    I have to make an animation - looping a few thumbnails on a dialog. For this i first bitblt the thumbnails on a canvas and then bitblt this canvas onto the dialog. But I also need to have a combobox on the top above the canvas. But whenever I minimize the dialog of move it, the region above the canvas gets all blotted and doesnt repaint. I am doing all the animation in my OnPaint() and am also calling the Invalidate(). I cannot call UpdateWindow() as this slows down my whole app. I hope someone can help me with this. Is there is way by which i can throw the combobox on the canvas Any help would be appreciated. Rahul I am using a separate thread to set an event for me ever 10 miliseconds. In my OnPai ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to "publish" my own IGameService

    I've read Mitch Walkers article on the IGraphicsDeviceService and I understood it for the most part. Where I'm a little unclear is on the actual mechanics of creating my own GameService. The article says that the Graphics Component "publishes" an interface as a service. Does this mean the GameComponent internally actually creates a concrete instance of IGameDeviceServices and calls Game.AddService Here is an example: Lets say I'm creating a 2D Physics component that relies on an undelying "Physics" object (this object does all the simulation for rigid bodies). I want to allow others to either use my PhysicsComponent or create there own component that would could still interact with any other higher level physic ...Show All

  • Visual Studio Tools for Office Word 2003 Form Protection

    Hello, This might not be the right place to post this but any help you could offer or directions to more suitable forum would be much appreciated! I'm using Word Automation via C# to Parse in data from documents based on a Word 2003 template. The system looks at fields stored in the first section of the document which are filled in by the user. The form is a profile for the document and all additional sections (of which there can be any number) contain the document proper. My idea was to use "Form Based" protection on the first section of the document, whilst leaving the rest of it protection fee. This appeared to work well, and was producing the functionality I was after, but a problem has developed. It seems when yo ...Show All

  • Audio and Video Development How to set lfHeight of LOGFONTW using “style:fontSize”?

    I use formula: lfHeight = -MulDiv(PointSize, GetDeviceCaps(hDC, LOGPIXELSY), 72); But I found there are differences with performance of iHDSim. Am I wrong This is really a forum for authoring discs, not for authoring players. If you are building a player and want assistance, please e-mail me at ptorr@microsoft.com and I will put you in contact with the right folks. ...Show All

  • Visual Studio Team System Team Build in a Network "Workgroup" context.

    Hi Guys, Environment: Endeavour-Build - Team Build Server Endeavour - Team Foundation Server Both are NOT in a domain, there are only Workgroup context. We are using a Full verision of Team foundation However, not the Workgroup version. Error report: Results file: C:\TFS_Build Directory\Online\Online Build\TestResults\TFSService_ENDEAVOUR-BUILD 2007-02-09 14_25_15_Mixed Platforms_Debug.trx Run Configuration: Local Test Run Waiting to publish... Publishing results of test run TFSService@ENDEAVOUR-BUILD 2007-02-09 14:25:15_Mixed Platforms_Debug to http://endeavour:8080/Build/v1.0/PublishTestResultsBuildService.asmx... PublishRun: Attempted to perform an unauthorized operation. MSBUILD : warning : ...Show All

  • Visual Studio " An error occurred during local report processing."

    I keep getting the error : An unhandled exception of type 'Microsoft.Reporting.WinForms.LocalProcessingException' occurred in Microsoft.ReportViewer.WinForms.dll Additional information: An error occurred during local report processing .   This occurs on the line: report.Render( "Image" , deviceInfo, AddressOf CreateStream, warnings) I'm trying to use some code posted here to print without using the report viewer's print preview and no matter what I try (and I've created several simple reports), I keep getting this error. Is there any way to get more info on the error to pinpoint it's cause BTW, here's the version number of the dll file listed above if that helps any. 8.0.50727.42 ...Show All

  • SQL Server XML Datatype to rowset conversion

    I have an XML field in my table, and it contains XML data in this format: <T> <RT> <TE A="b4ddf60c-ddde-4a44-9c4f-845a3c9a6909" R="2a37112f-d042-477b-80ef-922539165846" V="11" /> </RT> <DT> <DE A="b4ddf60c-ddde-4a44-9c4f-845a3c9a6909" R="2a37112f-d042-477b-80ef-922539165846" V="11" PL="Sys" IT="D" /> </DT> </T> I need to return this data using a SQL statement into these results: TE Query A R V b4ddf60c-ddde-4a44-9c4f-845a3c9a6909 2a37112f-d042-477b-80ef-9 ...Show All

  • SQL Server How can I speed up if there is a slowdown in SQL Sever 2005?

    How can I speed up if there is a slowdown in SQL Sever 2005 Hi Elaine, If you haven't resolved this problem yet, I would suggest that you read Troubleshooting Performance Problems in SQL Server 2005 . This paper seems to cover many of the potential causes of slowness. Regards, Mike Wachal SQL Express team ---- Mark the best posts as Answers! ...Show All

  • Visual Studio Team System Unable to Add New Objects

    I'm having a problem adding new objects from Solution Explorer. When I right click on Tables and select Add New Item the Categories / Templates are blank. Therefore I can't add a table. I've tried re-installing CTP4 but to no avail. Not sure what's changed as I was able to do this before. How do I fix Gert Drapers wrote: In CTP4 we do not allow you to add anything but a generic script type from Solution Explorer, you need to use Schema View if you want to add explicit types in CTP4. -GertD "DataDude" Development Manager What is the Schema View Could this be related to my problem here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=581737&SiteID=1 ...Show All

  • Windows Forms listview question

    hi I added listview to my form now after clicking on different buttons I want listview to have different columns. This is my code: ListView1.Columns.Add( "File type" , 20, HorizontalAlignment.Left) ListView1.Columns.Add( "Item Column" , 20, HorizontalAlignment.Left) ListView1.Columns.Add( "Column 2" ,20, HorizontalAlignment.Left) ListView1.Columns.Add( "Column 3" , 20, HorizontalAlignment.Left) ListView1.Columns.Add( "Column 4" , 20, HorizontalAlignment.Center) ListView1.Refresh() ListView1.Update() The problem is that after clicking the button nothing happens I don't see columns names! What should I change it is set to details ...Show All

  • Windows Forms Folder Browser Blank Issue

    Hi folks, I just upgraded from Visual Studio C++ 2003 to 2005 and I'm seeing a problem with my WinForm that I wasn't seeing previously. What's happening is that when I start the Folder Browser dialog from my application, the dialog opens but the Folder Tree View is totally missing. The buttons appear as well as the text I want displayed... just not tree view. Here's how I'm launching the dialog... fbdSourceBrowser = new FolderBrowserDialog; fbdSourceBrowser->Description = S "Select the source folder for the copy operation." ; fbdSourceBrowser->SelectedPath = S "C:\\" ; fbdSourceBrowser->ShowNewFolderButton = false ; fbdSourceBrowser->ShowDialog(); Not sure what I'm doing ...Show All

  • SQL Server Getting access to extended properties

    I'm trying to use some scripting, specifically of extended properties, looking for how best to do this. The challenge is around the 2 sets of below. In the first case I think I need to test if the object passed in supports IExtendedProperties (the object could be a database, a view, a column etc). Ok once I know that the object supports extended properties I need some sort of assignment/typecast to allow me to access the collection and script the properties. Any ideas what I need in the or a different approach private void ScriptExtendedProperties( ScriptSchemaObjectBase obj) { ExtendedPropertyCollection epColl; if (obj ) { epColl = ; foreach ( ExtendedProperty ep in epColl) { ep.Script() ...Show All

  • Visual Basic Compiling C code functions to call from VB

    Hi I have a chip I need to reconfigure via a VB app. The company provides a C code API to do this (i.e. their software generates *.c, *.h files for us to call). I don't know C, but I want to compile it as a dll file to reference from my VB project. The files are plain C. Which wizard settings should I use, so that I can compile and link to it to access their functions from my VB code I have tried to do this, but keep getting an error message saying it could not add it as a reference: ...make sure file is accessible, and that it is a valid COM component. Thanks Thanks for the reply - I looked up PInvoke and found information relating to DLLImportAttribute, which looks like it will do the tr ...Show All

  • Windows Forms db Update problem.

    Hello. Your help is very much appreciated. I am using MySql as backend for .NET(C#) Win app. I created data-bound form. After updating the fields on the form, although the underline datatable was changed, the datatable's rowstate is "Unchanged". (should be 'Modified'). Therfore, when I try to update the database through dataAdapter.Update(ds) nothing happens. The code I use to get the data from the db (works fine) MySqlConnection myConn= new MySqlConnection("Server=localhost;" + "Database=alpha;" + "User ID=root;" + "Password=sa;" + "Pooling=false"); myDataAdapter.SelectCommand = new MySqlCommand("select * from contacts&qu ...Show All

  • Visual Studio Team System Team Edition Distributed System Diagram

    Please help, When I try to add/drag an ASP.NetWebService or ASP.NetWebApplication to a new Distributed System Diagram I receive the following error: "Can not load type System.Configuration.ProtectedDataSection from assembly...." or "Object reference not set to an instantance of an object." All other applications that I add/drag on to the diagram work fine. I had no install problems that I am aware of. Any suggestions would be greatly appreciated. Thanks in advance. I run into the same problem. This is a test run, so I have only one machine with all components of Team System including the client. I am using Team Foundation Server for work groups and Visual Studio 2005 Team Suite 180- ...Show All

©2008 Software Development Network