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

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

GilbertB

Member List

3jg1333
yabansu
Damir Dobric
Andres Vettori
K. Rose
lucerias
xRuntime
AndrewSeven
Dr. Wayne T. Wilner
Troy Lundin
Umair-Shahzad
Yayfurby
ponoy
bombdrop
qrli
Xiao Feng
Ning
gherold
Ali Jannatpour
EShepley
Only Title

GilbertB's Q&A profile

  • .NET Development Possible operations on image using C#

    hi, what are all the possible operation that we can do on the image using the C# language. And please specify the "classes and functions" to do that operation thanks in advance, singam. Hi, I need to implement zooming and panning function on a map in jpeg format. Is it possible for you to show an example of how we can make use of these existing functions Thanks Chee Kiang ...Show All

  • Visual Studio Team System is there any where, where i can get how to create report videos?

    Hi everyone, i am currently trying to create a report using 'type' Microsoft sql server. i have a due date to create a working report but i do not have the time to actually sit down and play around with it and see what works and what doesnt, and a demo video would be very very helpfull Thanks There is a video here http://teamsystemrocks.com/files/10/team_foundation_server/entry164.aspx showing how to create a custom report. You will have to modify the steps they take a little. I posted the steps below in your other thread - if you don't want to use the built-in data sources change their names and put them in the same folder as the report (or whereever else is appropriate). Here are the steps to create a new report ...Show All

  • Software Development for Windows Vista would my application fail on xp and older os if I use the new vista platform sdk?

    Hi, For example, I would like to something like if(osMajorVer = 6) { ChangeWindowMessageFilter(); } else { do nothing; } and compile/link it using vista platform sdk. would the app built in this way break in older version of OS Thank you very much in advance. The app will work fine provided that you don't statically link to any new Vista specific API's. If you want to use Vista API's selectively by checking the OS Major version then you must load the API interfaces at runtime through LoadLibrary and GetProcAddress. For COM objects there's no problem, the object will simply fail to create if it doesn't exist. -- http://www.chrisnet.net/code.htm http://www.avdevforum.com/AV/viewforum.php f=7 ...Show All

  • Windows Forms ListViewItemSelectionChangedEventArgs problem

    Hi, Having an annoying problem with a multiselect ListView control. Suppose I have five items in the ListView. The items can be independent of each other or connected to each other. For example item 1 and 2 are connected and item 3,4 and 5 are independent. If items are connected, then all the connected items shall be selected when clicking on one of them. In this case, when clicking on item 1 then also item 2 shall be selected. When implementing this I listen to the event ListViewItemSelectionChangedEventArgs. Of course I know that the ListView control fires events of all the selection manipulatings but I can't get the implementation right. This is what I do when user clicks on item 1: My event listener method is called and I see tha ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to draw to an offscreen texture (for screen effects and video feedback)

    I'd like to do some screen effects with a pixel shader and maybe also some video feedback stuff. I'm trying to figure out how to render to a texture (maybe an Offscreen Surface ) which I'll then be able to render back on to the graphics device's buffer. I'm not sure whether I should use GraphicsDevice.CreateOffscreenPlainSurface or GraphicsDevice.CreateRenderTarget or what sort of paramters I should feed to either of those. The once I've got a Surface created by one of those methods, I'm not sure how to set it as a render target... GraphicsDevice.GetRenderTarget with an index above 0 always throws an exception, so I'm guessing there is some way to explicitly add Surfaces to GraphicsDevices as a render target that I can't seem to figure out ...Show All

  • Software Development for Windows Vista Need Help! Prob in Passing ArrayList to Web Service in WWF

    Hi guys, I'm calling a WebService in my WorkFlow . The method exposed in web service looks as follows { IList MethodName(string str1,string str2,IList myList) } I need to pass the IList as input to the WebService. IList may be: 1) XmlDocument objects (Xml files loaded to Document Object) 2) Business Objects (these may be "user defined class" instances ) However I have Serialized the types im passing. Im getting an exception: "There was an error generating the XML document." With inner exception: The type "MyBizObj" was not expected. Use the XmlInclude or SoapInclude attribute to specify types that are not known statically. How can i do this ...Show All

  • Windows Forms How do you use UseWaitCursor = true ?

    Hi, Idiots guide required. Just how is that UseWaitCursor property supposed to work - or rather, why does it appear to do nothing I have a button click handler, it sets "this.UseWaitCursor" to true, and goes and instanciates a DLL hosted dialogue form with a biggo constructor. It takes a while. Nothing happens to the mouse pointer, which is still an arrow. I changed my code to use "this.Cursor = Cursors.WaitCursor" (like we always used to do guys !) and it's markedly better. I searched the net and this question appears in a number of places, with various plausible (but non-working) solutions, but there must be a reason why this doesn't appear to be as simple as it looks. Yes I did try Application.DoEvents (which, persona ...Show All

  • Windows Forms Image can't be retreive after ImageList being resized

    Hi, I have a listview that it's imagelist reference to an ImageList. I have a function that change the size of the ImageList, in the hope that the image on each item will resized as stated. But when the ImageList resized, it seems that the image collection is gone. Tried to re-reference the image to the ListViewItem, but no image shown up. Here is the code: private void resizeThumbnail( int width, int height) { this .imageList.ImageSize = new Size (width, height); foreach ( ListViewItem lvItem in thumbListView.Items) lvItem.ImageIndex = 0; } Anyone can help Thanks in advance. ok already: private void resizeThumbnail( int width, int height) { Image [] imgArry = new Image ...Show All

  • Visual Studio Team System Importing Work Items into Microsoft Project - changes dates

    When I import work items into Microsoft Project and the work items already have start and finish dates, Project always changes the start date to be the Project start date. Is there a way around this. It makes it so I can never easily create another project plan with correct dates because Project always 'baselines' all the dates of all imported work items. TIA Hello This could happen if in the TFS field mapping file, you have the date fields set to PublishOnly. Meaning, dates specified in Project are published to TFS, but the date information in TFS is not pulled into Project. One option is to change this to Publish and Refresh. http://msdn2.microsoft.com/en-us/library/ms252493(VS.80).aspx Note that Project is a complex t ...Show All

  • Windows Live Developer Forums How do I Add on Information to the Maps?

    Hi, My biggest problem in programming maps is just how do I implement features like traffic, or other things into the map I know the sources of RSS feeds,GeoRSS feeds, but I don't know how to implement them. In the textbox button, what do I put as the OnClick method   See Here:   <html> <head> <title></title> <meta http-equiv= "Content-Type" content= "text/html; charset=utf-8" > <script src ="http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js" ></script> <script> var map = null; var layerid=1; function GetMap() { map = new VEMap('myMap'); map.LoadMap(); } function AddMyL ...Show All

  • Visual Studio Moving VSS6 from one server to another - howto, plus bonus questions

    Hello, We are currently running VSS 6.0a on an old piece of hardware running WinNT. That server is going away. We have a newer server running Win2003 Std. that will host VSS moving forward. I need to migrate our existing VSS over to it. I am by no means a VSS expert - mostly just a user, but now with Admin rights (this got dumped on me). Also, our office is closing next year, so I really don't see the need to upgrade to the newest version of VSS and deal with users not understanding this or that on the interface, or getting upset about the GUI changes. We'd really just rather move the data off of NT and onto Win2003, and let the company decide later if they want to upgrade VSS versions or move to different source control software. ...Show All

  • Visual Studio Express Editions Calling another application?

    I have another .exe application that I wish to envoke from a C# program and pass it a parameter. Normally I would open a command line and run the .exe this way "merg.exe inputfile.xml". I'm looking for a way in C# to detect a file name in a certain directory and then call the merg.exe application with the file name as a parameter. Thanks, David use the ProcessStartInfo class: System.Diagnostics.ProcessStartInfo theProcess = new System.Diagnostics.ProcessStartInfo( filename ); theProcess.Arguments = argumentsHere ; System.Diagnostics.Process.Start(theProcess); does this help you can also redirect your standard input/output and error messages using the ProcessStart ...Show All

  • .NET Development Custom Sinks Issue - Critical

    Hi, The CallContext is lost when I reach the custom server sink. I am not using the GetType()/GetHashCode() method. Also I am not using the ServiceComponents. I tried to access the CallContext in the IServerChannelSink .ProcessMessage() Method. Can sombody help me ! Thanks in advance ! -Sandeep :)   The call context is simple not mapped to the thread when the sinks are invoked. You might have luck finding a LogicalCallContext instance in the IMessage properties under the "__CallContext" key . ...Show All

  • Windows Forms How to make my own resize behavior

    Hi there... I have a problem with a long path... First of all I wanted to make a skinned UI and I found out that I could do that with a Form of FormBorderStyle.None ... Then after putting some background images on that I got the problem that the redraw of the UI is lacking when the window gets resized... the whole frame is shaking... so I decided to write my own resize behavior of a form... I wanted to simulate a "Show window interior while dragging - off" behavior ... So I get myself the desktop device context and draw a dashed rectangle around my app while resizing it. The problem is that the drawing of the rectangle lefts some traces like the desktop does not redraw. So my question is: Is there a simplier way to simulate a &qu ...Show All

  • Visual Studio Express Editions Calculate Age as in 28 years 32 weeks 4 days 6 hours 10 mins and 11 seconds

       In visual basic express 2005, I have a databound Labeldob.text that holds the D.O.B, and a databound Labeltob.text that holds the Time of birth. I need to know how to show in Labelagenow.text the time elapsed between then and now as in 28 years, 32 weeks, 4 days, 6 hours ,10 mins and 11 seconds. (and if pos it still ticking up second by second)  hope you can help Thanx. Hi. Please take a look at timespan and datediff. Best regards. dp ( www.webhostservices.biz ) ...Show All

©2008 Software Development Network