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

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

maryz

Member List

ChildGuidanceCenterGB
Laura Bagnall
Juliano.net
hotsauce
phoenix11
R.Tutus
cplusplus1
LonelyPixel
Aeden
MateuszKierepka
Özge Çolak
SarahB123
Winson
mthomasq3
Jean-Pierre Fouche
sureshsundar007
Daljeet
The Loiner
PaulSw
Ragnvald
Only Title

maryz's Q&A profile

  • Visual Studio 2008 (Pre-release) TextBox, IsReadOnly, Focus

    When I set the IsReadOnly="True" then this text box no longer gets focus. If I want a readonly text box but with focus function as always how can I achieve that It actually get the focus but do not show the caret. Itzik Bill Henning wrote: I was just about to post on this subject and found this thread. I'm running into a scenario where I'd like a TextBox to be read-only but I do want the caret to show and be allowed to move around. End users may wish to select a portion of the text and copy it to the clipboard even though it is read-only and right now that seems impossible other than via mouse use. Any chance this will be fixed in the future to work more lik ...Show All

  • Visual Studio Tools for Office Question regarding creating, saving and emailing EXCEL document

    Hi, I am using C# and VSTO to populate an EXCEL document from a database. I then want to email this EXCEL document as an attachment to a specified number of users. Everything works except when I try to open the attachement. I receive the following error "The file could not be accessed. Try one of the following: Make sure the specified folder exists, Make sure the folder that contains the file is not read-only, Make sure the file name does not contain any of the following characters.......". I tried sending a file, .xls and .txt, that already exists and the attachment opens up correctly. I think VSTO is not properly closing excel before emailing it. Does anyone have any ideas on how to fix this Below is the code: ...Show All

  • Visual Studio 2008 (Pre-release) Custom transport - protocol transport

    Hi, I'm trying to understand the building blocks that go into a custom transport. For my specific scenario I need to build a custom TCP transport to support different message framing scenarios. However, I was wondering where one would implement high level protocol logic. For example, let's say you have simple text messages like: LOGON| REQUESTSOMETHING| HEARTBEAT| etc. Now, for example the client sends REQUESTSOMETHING| before a LOGON| thus you need to reject the message and every x seconds you want to send a HEARTBEAT| .. etc... where would this session logic be implemented Thanks, Tom Thanks, I will have a look at those. Another question I have right now has to do with the Message class. Is my understan ...Show All

  • Windows Forms how to know that a user control is in design mode

    I have a user control which normally displays a large amount of data from an application. This is similar to an excel chart. When I drop this control onto a form, I want to put some dummy data in, so that properties can be previewed. I can't see how (within the control code) to determine that the control is in design mode. How can this be determined Trev Use the DesignMode property on the control (it's actually defined on Component, which Control inherits from). Sometimes that isn't always accurate, so it's sometimes a good idea to use it together with a check against System.ComponentModel.LicenseManager.UsageMode == System.ComponentModel.LicenseUsageMode.Designtime. ...Show All

  • Visual Studio Express Editions Embedded forms

    How can I embed a form inside another Both these forms should be synced, ie: when parent is resized, child is exactly resized. When parent is dragged, child is dragged Thanks !   Brendan Grant wrote: In order to acomplish the second bit you may want to think about making your parent form an MDI container . If you did that, the first option would be even easier as you would need only set the Anchor property of your child forms to the sides of the parent that you want it to resize along with. Does this work for you Thanks ! Assuming I am not creating forms on the fly... I have frmParent & frmChild. frmChild will always be on top but may not always be shown. Do ...Show All

  • Visual Basic tabcontrol used in Visual Studio

    Is there any way to have a tabcontrol that looks similar to the one used in the Visual Studio IDE The existing tabcontrol provided by .NET 2.0 doesn't look nice. I wish I could have a tabcontrol similar to the one used in the Visual Studio IDE :-). I put out a rendered version of the tabcontrol today. It's not as nice as the vs2005 tabcontrol but is an impovement. The VS2005 tabcontrol looks especially plain on Vista. At any rate, there is material http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1264835&SiteID=1 here. ...Show All

  • Windows Forms Adding a timer to a windows service created in vb.net

    I have created and installed a Windows service in vb.net - there was no problem there. I want to add a timer to this service so I am able to run some code at a specified interval and am unable to get this to work. I have dropped a timer from the component part of the toolbox and on the OnStart or the service added: tmrData.Enabled = True tmrData.Interval = 5000 tmrData.Start() And the timer on tick function is : Private Sub tmrData_Tick( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tmrData.Tick Dim MyEventLog As System.Diagnostics.EventLog MyEventLog = New EventLog MyEventLog.Source = "timertest" MyEventLog.WriteEntry( "data timer has fired ...Show All

  • Visual Studio Internal Error 2908 {Ebb15ea3-83a9-46e8-866e-c3c30a1a444f}

    Gentlemen, I got a problen when I were installing the .net framework. The error message is "Internal Error 2908 {7D4B5591-4C80-42BB-B0E5-F2C0CEE02C1A}" Is there anyone can help me to figure out what it is Thank you ! Geoffrey   Joel Joines wrote: I'm getting the exact same error. When I click ok it gives the further error:   Error 1935.An error occurred during the installation of assembly 'Microsoft.Vsa,Version="7.0.5000.0",PublicKeyToken="b03f5f7f11d50a3a" I am getting the exact same errors.  What have you done to resolve this issue Charles Smith ...Show All

  • Smart Device Development Difference between .NETCF 1.0 and .NETCF 2.0

    Hi All, Can anyone provide me the exact comparision between .NETCF1.0 and .NETCF 2.0. You can see what's new in CF2.0 here http://msdn2.microsoft.com/en-us/library/ws1c3xeh.aspx and for what's new in CF2.0 SP1 check here http://msdn2.microsoft.com/en-us/library/ms404356.aspx . HTH ...Show All

  • Visual Basic Gaining Some System Information

    Where can I find out how to gain numerous pieces of System information. These in particular are what we're looking for: hard drive size video memory amount of ram processor speed. Also, does anyone know where there is documentation for dlls like Kernel32 or User32 For all methods in a specific dll thanks. My .Computer.Info Look into it. You should find most of the information you want in there including things like My .Computer.Info.AvailablePhysicalMemory etc.... ...Show All

  • Windows Live Developer Forums Newbie. I want to enhance the image quality.

    Hello, this is very basic, but I need to know the power and flexibility of this tool. I need to see in a superior level of detail, in 3D view, a city with a few mounts... ( I don't need buildings, just the terrain ) But everything that is at a certain distance from the camera looses quality (geometric detail level and image quality). I know this is done in order to increase render speed, to save memory and bandwidth... but I need more quality, and I'm ready to pay the cost. Is there a workaround to increase the quality, someone knows a website, parameter, anything that might help me please I need it, even if it takes quite a long time to display one single image. I need excellent quality. Thanks in advance! Albert G ...Show All

  • .NET Development .NET Won't Connect to Sql Server

    I'm running SQL Server on a remote machine. I can connect to it with no problem using Sql Server Enterprise Manager or Query Analyzer. I recently had to reinstall my operating system and reinstall Visual Studio .NET 2003. Before doing this I was able to connect to the database from within ASP.NET using the same EXACT connection string I'm using now. Since I reinstalled the O/S and .NET, none of my .NET applications that connect to Sql Server can connect. I'm not having any problems with connections to MySQL at all. I'm not having any problems connecting to Sql Server OUTSIDE .NET. I've made the ASPNET user have full control of the entire Framework 1.1 directory and all its subdirectories and files, as well as all directories ...Show All

  • Visual Studio Express Editions Object and Property Descriptions

    I am making a managed dll in C++ to use in later projects for C++, VB, and C#. When ever you click on properties of MS user controls in the design portion IDE it tells you what that property is, ect. I would like to know how describe properties in the same manner. Also when you look at an object in the object browser it gives you a summary; I would also like to know how to define these summaries in C++. Thanks in advance for any help well compiling isn't the the problem, I rebuild every time I  make a change; although I am building it in C++, I am testing it with C#. Basically if I decide to distribute the dll I making, I want people to know how to use the  propert ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. My first attempts with XNA

    I downloaded XNA on its release and have been playing around with a few things. Its my first time using C# and I really like it. I have a very small amount of C and C++ knowledge but it has been easy to pick up C#. I have made the usual Pong, Space Invaders etc. There are two things Id like to share with you 1. Zombie sim http://gorgon2357.50webs.com/zombiesim.rar Its not really a game just a simulator. To add a zombie press Z, an army guy press A and for a civilian press C. (starting amounts of zombs, civils and army can be changed in the code. Also you can add buildings(grey rectangles), just look in the loadresources part. Not quite got it right yet with them. The people can get stuck. Started a bit using ray ...Show All

  • Audio and Video Development uncompressed YUV to EVR

    Hi, I am writing a simple YUV media source to take in .yuv bytestreams and send it to the EVR. I have modified the MFT_Grayscale to act as a dummy transform to copy the yuv samples to the EVR. I am also using the playbackFX sample for the player. I'm having a problem with the player just showing a black screen, as if no samples are being sent to the EVR. I have verified that the samples are being processed in the dummy transform with the correct image size and attributes for my given yuv sample. I have tried other yuv samples and all just display a black screen, but the samples are being processed for sure. Is there any way to debug this to see if the samples are being sent to the EVR Or does anyone have any clues why this is happeni ...Show All

©2008 Software Development Network