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

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

WXS123

Member List

Hermit Dave
Aneel
Kmbhat
vtortola
David S L
JTai
Shortty
cislom
ErikInTexas
kfsoft
Richard Gavel
Bjoern.Greiff
DreamerZ
Jurgen Petersen
Attila Fogel
hotsauce
Mark A. Richman
bo.skjoett
Jason Cheung
Kim Carlsen
Only Title

WXS123's Q&A profile

  • Software Development for Windows Vista Problem with maximized MDI child window

    I have a straightforward MDI application with four MDI child windows. The MDI client window fills the entire client area of the application's top-level window. Everything works correctly on Vista except in this one circumstance: If the application's top-level window is maximized *and* one of the child windows is maximized, the child window does not fill the width of the MDI client window (and hence of the screen). There is a strip (perhaps 10 or 20 pixels wide) down the right-hand side where the previous contents of the MDI client area can be seen - it is not repainted. If the top-level window is not maximized all is well: the maximized child window extends to the right-hand edge. If the top-level window is mazimized but the client w ...Show All

  • Windows Forms Create icon?

    Hi I have a picture (.png) that I want to convert to an icon. This icon should support 16x16, 32x32, 48x48 px. The icon is for my form... It should be possible to have a more detailed icon when viewing thumbnails in explorer (I think it is 32x32 and 48x48 then ) How do I create this icon in .NET Is there a tool built in Kind Regards The Gimp (free) can also save a png as an icon, but it won't save multiple sizes for you at once, you'll need to convert and edit each size as required. A paid solution will be best, but you can also use the icon editor in Visual Studio - simply add the icon into your project (probably as a resource), and double-click it in the solution explorer. It will support multiple sizes ...Show All

  • Visual Studio Team System Team Explorer and Portal always request credentials

    Hello, I am having a problem with accounts I am adding to a TFS project. I have TFS installed as a single server and whenever I add an account to a project whether I make the account an Admin or contributer whenever that account is logged in and tries to open anything from the documents folder or run a report or visit the project portal, they are always prompted for a username and password. TFS accepts the password but prompts for it everytime they attempt to do any of the things previously mention. These are all domain accounts that are being added to the project. What do I need to be looking at in order to solve this Thank you. Yep I did that and it is already marked as Integrated. It is really c ...Show All

  • Smart Device Development scan bluetooth device and pair it

    i would like to create a PPC application that , first , scan the bluetooth device and show it on PPC and then you choose the one you want to pair , and then this program pair their bluetooth serial port automatically.. is it possible i use C#.NET and hp ipaq hx 2400 series to do this application.. can you give me any suggestions or sample code pls.. Checkout this sample code http://msdn.microsoft.com/library/en-us/mobilesdk5/html/mob5samBluetoothDeviceDiscovery.asp Manav ...Show All

  • Visual Studio 2008 (Pre-release) Composite GoF pattern

    Hello! Can't you show how to make the Composite GoF design pattern using TPH: table-per hierarchy Particularly I obviously think of the three XML files needed! Best regards, Henrik Dahl The SSDL does not delcare the foreign key - so we do not know about it. However, even if you tell the SSDL about it in this self-assocation case, the CTP bits cannot deal with this particular scenario. So for now, please remove the Fkey into the same table and then try it out. ...Show All

  • Visual Studio Visual Studio Build menu options missing

    A picture is worth 1,000 words: If the image doesnt display above please see the image here . I only get these 3 options under my build menu Build Solution, Build Web Site, Publish Web Site. How do I get the rebuild and configuration options on the build menu Microsoft Visual Studio 2005 Version 8.0.50727.762  (SP.050727-7600) Microsoft .NET Framework Version 2.0.50727 Thanks! ewar   imatworknow wrote: "choose the Reset all Settings option ........" Well,  I tried that, and it didn't help. I am missing the Publish function that brings up the Publishing Wizard.  I'm trying to get to the ClickOnce function, and it's not in Solution Explorer either. Here's the image of my menu:  ...Show All

  • Software Development for Windows Vista Exception in Workflow removes instance from database

    Hi, I am using StateMachine Workflow. and SQLStatePersistance services. If any exception comes into Workflow, it removes workflow instance from InstanceState table of SQLStatePersistance. I call Unload on Idle. Please suggest me how could I handle this situation. Thanks, Rahul Jain No... If any System Exception (let's say object reference exception) occurs in the WF activity, it removes record corresponding to the GUID from InstanceState table. i.e. next time when I try to load that workflow instance (with GUID), it says its not present in the table. that means when exception occured it removed the entry. In all normal cases SQLStatePersistance works fine, on unload it saves workflow instance back to th ...Show All

  • Software Development for Windows Vista Laptop close lid, and re open lid, Vista wont resume, screen is off/black

    I'm having a problem with Windows Vista Ultimate 64 bit edtion on my HP laptop, when i close the lid but i have set up what windows does when i close the laptop to do nothing, but when i close the lid, and re open it, the screen is off/black, cant shutdown it properly and must do hard reboot. Laptop is HP Pavillion dv9000nr AMD Turion 64x2 Nvidia GeForce GO 6150 1gb memory As Mark stated, this is often caused by video drivers. Another common cause of issues such as these is having an outdated BIOS. I am not familiar with that exact HP machine, however, I do know that HP has released BIOS updates recently for the dv9000 series machine. I would recommend doing the following: 1. Update y ...Show All

  • Visual Studio Crystal report: resizing papersize

    Hello! I am having a problem resizing the papersize of the report with my desired dimensions which is 13"x17" or any other dimensions for that matter. Need your expertise guys .. Thanks!! i have a directory list which i need to print in a booklet (100 copies). i need to export my CR data to a pdf file and bring the pdf file to a printing office. how do i resize the page from 8.5x11 to 5.5x8.5 (half the size) before printing Can i set the size 5.5x8.5 before exporting the list to a pdf file or do i set it before printing either way,how Thanks in advance, Adrian ...Show All

  • Visual Studio Express Editions Random Number Generation

    Hi, Apologies for the simplicity of this question, but I am very new to VB. I am using it to program Psychology experiments, but am having difficulty. I want to be able to randomise the time between 2 trials, to either 100ms or 1000ms. I only know how to randomise between a set of numbers, not specific numbers that are not concurrent. For example, for multiples of 500ms I used to use the code: c.setattrib "Durat", Random(1,4)*500 But how do I just randomise between 100 & 1000ms ONLY. THANKS! you could either generate a random number then round it up or down. Alternatively, you could generate a random number between 0 and 1 for example, if its 0, then use 100 otherwise if its 1, ...Show All

  • Visual Studio 2008 (Pre-release) Non-duplex contracts and the peer channel

    Hi, I'm trying to work out if the peer channel can be used for non-duplex contracts (ones that don't define a CallbackContract). I'm trying to utilise the "broadcast" nature of the peer channel but I only want single sender with multiple listeners. All samples I've seen use CallbackContracts. For non-duplex it would seem simple enough to use ChannelFactory<T> for the sender. The issue comes on the listener side. I tried using ServiceHost.AddServiceEndpoint but this endpoint didn't receive the messages. Am I on the right track Is this in fact possible Regards Richard Blewett Hi Richard, Peer channel can actually be used for non-duplex contracts like you are looking for above. Most of our recent samples a ...Show All

  • Visual C++ assigning derived class from base class declaration

    Hello; For the following code, know that Poodle is a derived class of Dog, and that aPoodle is an instanciation of Poodle. In the code below, I would expect dogObject to become a pointer to aPoodle, but it doesn't seem to work for me. Instead, dogObject seems to only maintain the attributes of dog. Any idea what I may be doing wrong ____________________________________________________________ Dog *getDogObject() { Dog *dogObject; DogTypes dogType; // an enum of dog types (poodles, hounds, etc..) dogType = getDogName(); switch (dogType) { case DogTypes::poodle: dogObject = &aPoodle; // <======= PROBLEM HERE break ; } dogObject->jump(); // <===== CALLS DOG.JUMP, NOT POODLE.J ...Show All

  • Visual Studio 2008 (Pre-release) ScrollViewer Performance

    Hi, I have a scrollviewer with a lot of content in it. Lots of controls and drawingbrush filled surfaces etc. As the scene grows outside of the bounds of the scrollviewer responsiveness when the scrollviewer thumbs are drags decreases rapidly. Using perforator it seems like the whole surface of the scrollviewer is being dirtied and recleaned continuously as the thumbs are dragged. Is there any way to avoid this as the sublayout is not actualy being invalidated. Its just being translated under the scrollviewer viewport. ...Show All

  • Software Development for Windows Vista Adding missing claims when creating Response

    Hi, in the STS example how can I add missing claims to the response token once I validated username and password for example I overridden the UserNamePasswordValidator class with my validator that checks for credentials and retrieves missing claims, but how can I insert these claims in the response token Should I do it when the response is created RSTR rstr = new RTSR(rst); Thanks, Claudio you can add claims that get returned in GetTokenAttributes() you can call AuthorizationContext .CreateDefaultAuthorizationContext().Id to get the username, to help pick which claim values to use. ...Show All

  • Software Development for Windows Vista Laptop close lid, and re open lid, Vista wont resume, screen is off/black

    I'm having a problem with Windows Vista Ultimate 64 bit edtion on my HP laptop, when i close the lid but i have set up what windows does when i close the laptop to do nothing, but when i close the lid, and re open it, the screen is off/black, cant shutdown it properly and must do hard reboot. Laptop is HP Pavillion dv9000nr AMD Turion 64x2 Nvidia GeForce GO 6150 1gb memory I was searching for an answer today, and found you people have the same problem like me. If it's of any help, I've got a HP Pavilion dv9058ea. With a GeForce Go 7600 Hope someone figures out how to fix this. If I do, I'll come and tell you folks ;) Greatz Rino ...Show All

©2008 Software Development Network