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

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

Dharmbir

Member List

MrZap
Debugger Zero
Pooja Katiyar
TexasDeveloper
DDarren
SuriP
sdeyoreo
Bendermon
bigblueapple
kcchesnut
Víctor Manuel
Strini
CLIPER
thukralz
KLJ
polymorphicx
Mystery
Teachable
Tarey Wolf
mark brayton
Only Title

Dharmbir's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. A tool to help with Sprite Animations: Sprite Strip Composer

    Hi: I have been working on a game written in the XNA Framework. The game has many sprite animations. After researching how other do this in the community I adopted the approach of loading a "Sprite Strip" (PNG) consisting of a row of frames. If there are many frames and the sprite is large, I split them up onto multiple rows. One of the laborious tasks was creating such 'Sprite Strips' from a sequence of PNGs. I have created a very basic Windows Application named Sprite Strip Composer to solve this time consuming problem. Download: Sprite Strip Composer Instructions: Browse to a folder containing your PNG files. Select the files you want included in the strip. Make sure the animation looks correct by looking at the Animated ...Show All

  • Visual Studio Timeout error while accessing VSS database Via Internet plug-in

    Hi, I developed a web application in ASP.NET 2.0 and added this web application to VisualSourceSafe. I am able to setup my VSS database to access through Internet plug-in. Since my VSS database is on public IP system, I can establish connection from Visual Studio Internet plug-in and I can able to see the folders inside the VSS database. But when i try to open the solution it gives following error after few seconds. Cannot contact the VisualSourceSafe Internet Web Service or cannot access the specified database. The server returned the following error: The operation timed out (0x80072EE2) is there any way to increase time limit or any suggestions on this Regards, Sit. Hi ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Keep getting Invalidoperationexception using DrawUserPrimitives!

    I keep getting a InvalidOperationException being thrown when using the DrawUserPrimitives method. here is my code ... #region Using Statements using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Storage; #endregion namespace ScreenEffects { class ScreenFadeEffect : DrawableGameComponent { private VertexDeclaration positionColorVertexDeclaration; ContentManager content; Effect fx; EffectParameter paramStartColor; EffectParameter paramEndColor; EffectParameter paramTransition; Effect ...Show All

  • Visual C# Live Update?

    How could I add a live update to my application using: WebClient client = new webClient(); client.DownloadFileAsync(Uri address, FileName filename) I can download the file and run it with a dialog box, but I need to check the version of the file I have just downloaded. And if the file version is higher than the current, it runs, else it shows a MessageBox. Ahh, I ask because you hadn’t answered the first one and we generally ask that new threads are not created that ask the same question when a earlier and unresolved one still exists... because both of the threads provide some different information on the issue/question I have merged them. As for determining the file version (after downloading) you could pinvoke GetFileVe ...Show All

  • Architecture SOA - Availability vs. consistency

    Hello, I had an architectural question: Could someone please explain the tradeoff between Availability and consistency in SOA Thanks Houman That's great info. Do you know where I could get to see some of thier arch. presentations Or for that matter, any large scale soa system. Thanks Houman ...Show All

  • Windows Live Developer Forums map.GetRoute flags and numbers

    Hello everyone, I found map.DeleteAllPushpins(); removes the flags and numbers on the route path, is there any way I can prevent it Yuki Thanks John , I call map.DeleteAllPushpins(); on the attach event onendzoom, as map.GetRoute zoom to the route, the pins on the route are deleted when map is zooming to the route. And I have a lot of other pins, I cant keeptrack of each of them and delete them one by one .. because it'll slow down a lot. And I also found that with map.DeleteAllPushpins(); onendzoom, if the view needs to zoom to show the route .. then the turning points are removed .. but if the view is good to show route .. then the pins are looking good .. but when you do map.DeleteRoute();, the turnin ...Show All

  • Visual Basic Can PrintPreviewDialog size be started with the size specified?

    I want to put a PrintPreviewDialog up with the size much bigger than the default, which is too small to read and always has to be re-sized by the user dragging the bottom-right corner of the dialog box (awkward and annoying!) or double-clicking the header for full screen etc.. Is it possible to pre-declare the height/width before calling the dialog Can't find anything obvious.... Dear Huy, Excellent - thank you. I spent ages stumbling round not quite thinking of that, you're a star - it works just fine. Kind regards, Nick ...Show All

  • Smart Device Development outof memory exception in webbrowser

    Hi, I am using webbrowser control of opennetcf to display html page in netcf 1.0. I am using webbrowser.documenttext method to display the html pages.Each html page have 5 to 7 images.If i load 10 pages one after another i am getting outof memory exception.So how to dispose images in webbrowser to avoid this exception. I tried using Gc.collect and it doesn't work. Hi, I re-worked my test application to have an XML file with HTML in nodes. When starting the application, I read in the XML file and create an XmlNodeList and then switch between the different "pages" using the InnerXml property of the various nodes. I have GIF and JPG images in a subdirectory of "My Documents" ...Show All

  • Software Development for Windows Vista CPrintingDialog resource error in visual studio 6.0 C++

    Dear. I am developing the program using the Visual C++ in visual Studio 6.0. When the program create the CPrintingDialog in viewprnt.cpp of MFC module, the returnValue is 0 of the following line. HRSRC hResource = ::FindResource(hInst, lpszResource, RT_DIALOG); Please let me know the reason. Best Regards. John Lee. your post is offtopic for this discussion group, but my guess is you are probably missing an include of afxprint.rc in your own resource. Go to view-resource includes and add the line #include "afxprint.rc" ...Show All

  • Visual Basic Commanding a Click Event

    I have a windows form application developed in vb.net 2003. The application uses a mainmenu and contextmenus. I am interested in how to expand one of my mainmenu menuitems by command rather than physically clicking it. For example, if I have a mainmenu control on my form with 5 menuitems: item1, item2, ---,item5 across the top of my form. How can I from a botton click event, command the item2 menu items to automatically expand and show the available submenu items as if I had clicked on item2 on the form Thanks, Thanks for the information. I am still interested in being able to simulate a click of a mainmenu menuitem so as to expand its child items: I will checkup on the sendkey functionality. If anyone ...Show All

  • Visual Basic Rich Text Box Cursor location

    Hi Guru's, I have a rich text box that i am appending text to all the time, and it ends up turning into a scrolling rich text box which is just great. However i would like it instead of just adding the text to the bottom, also add the cursor position to be with this new added text, so that the user doesnt have to scroll the box down to see the new text that has been added, is this possible Leads me to my second question, i have two functions which add text to this rich text box, Functions A and B is there a way to colour the text from function A to say Red and the text which gets added from Function B to say Blue Thanks in advance for your assistance. OK please excuse this total noob i got it ...Show All

  • Internet Explorer Development Moving from DirectAnimation to HTML+Time2.0

    Hi there Because of the security patch, the DirectAnimation objects are no longer rendered in our web application. I saw information that users of DA are suggested to start using HTML+Time 2.0. I would like to embrace it too, but I can't seem to find usage of HTML+Time 2.0 in graphs. Our system uses DirectAnimation to draw some graphs, and we've used DirectAnimation methods such as Rotate3Degrees(), Scale3Uniform(), Translate3(), etc. Are there any equivalents of them in the HTML+Time 2.0 world We're NOT using .NET, we're still only use classic ASP yet, so I'm not even sure if I can use HTML+Time 2.0. I just don't know what alternatives there are for us. Please help. Thanks KK ...Show All

  • .NET Development how to add an image that is display in the explorer thumbnail view?

    Hi, I am saving data created with my app. in an XML file and want to add an thumbnail to it so that i see this thumbnail in the explorer's thumbnail view. How can i do that ...Show All

  • SQL Server Replication row Commit Size

    Is there a way to get replication to commit records in batches instead of all at once I am in a 24/7 shop and some of my updates end up being thousands of rows and it locks the subscriber table for a few minutes sometimes. If I could get it to commit say every 1000 rows it might give me some relief in this area.. Or am I thinking about this wrong If this is possible, would it help at all... I transactional replication adheres to the ACID properties, so if you apply 10,000 commands in one trasaction at the publisher, the distribution agent will apply the same commands in one transaction at the subscriber. You have a couple options: 1. commit your commands at the publisher in smaller batches. ...Show All

  • .NET Development .NET 2.0 Proxy Server

    I have a small windows forms application that I need to be able to serve as a local proxy server to intercept/edit HTTP web requests. Does anyone know of a simple, prebuilt web proxy that I can simply call an instance of from my app I've tried to use http://www.mentalis.org/soft/projects/proxy/ but it doesn't build with the 2.0 framework. Any help would be appreciated. Jake http://www.gotdotnet.com/Community/UserSamples/Details.aspx SampleGuid=BC04F59A-D91E-42B5-BCB7-BDBC5FA46B9E https://secure.codeproject.com/useritems/TwinProxyS.asp ...Show All

©2008 Software Development Network