Software Development Network Logo
  • Visual C++
  • .NET Development
  • Visual FoxPro
  • VS Express Editions
  • Microsoft ISV
  • Visual J#
  • Windows Forms
  • Smart Device
  • Architecture
  • Game Technologies
  • Visual Basic
  • Windows Live
  • Visual Studio
  • Visual C#
  • VS Team System

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

hmeunier

Member List

Some Random Fellah
webm0nk3y
Chris Nieboer
fravelgue
Atul.Kr
Chung Ho Lee
CodeW
Amit Mota
Greg Roberts
StuartAuditMaster
TYoung
ArturPereira
Jeff Lundstrom
Mystic
Majed Hammadi
Zycl0ne
Trinh Nguyen
Docile
Mike Mason 2
MorenaMx
Only Title

hmeunier's Q&A profile

  • Windows Forms RichTextBox Control

    Hi! I'm currently working on App and I need to change the FontStyle Property of my RichTextBox control (SelectionFont.FontStyle). Now, what happens is that whatever is inside the Font class is ReadOnly and is only set when you create an instance with the constructor. So, every time I have to apply new formatting I have to create a new Font instance, copy the data that I need into it and selectively, based on the current Selection, apply the correct formatting. Now, for example if you have the following text selected in you RTB (RichTextBox): AA bb , the SelectionFont.FontStyle Property will return the bitwised value of FontStyle.Bold and Fon ...Show All

  • Visual Studio 2008 (Pre-release) Cursor from Geometry

    Hello, is it possible to convert Mouse Cursor from Geometry I have a bit of UI on my screen, which I'd like to turn to a Mouse Cursor. Thanks. I guess you could hide the mouse cursor and RenderTransform/Translate a DrawingBrush or Image in response to the MouseMove event... Not what you'd wish for, but doable... ...Show All

  • SQL Server Configuring SQL 2005 Database Mail

    I am trying to configure Database mail to work with our Exchange server but the only setting that I see is for a SMTP server.  I find it hard to believe that this won't work with Exchange.  Has anyone got this to work with an Exchange server Thanks! John Yes it does work with an Exchange Server as long as your exchange server is config'd to support SMTP. I'm no exchange expert so I can't help you do this but we test Database Mail with Exchange as one of the mail platforms. -Euan ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Using index buffers

    I want to draw cube. And I want specify only 8 vertices, and then specify their order in special array. As I know index buffers allow to do so. But I can't find example. Please, write example of using index buffers. I wrote following program: using System; using System.Windows.Forms; using System.Drawing; using Microsoft.DirectX; using Microsoft.DirectX.Direct3D; namespace ProgaX { class Forma : Form { #region Variables Device device = null ; VertexBuffer buf = null ; IndexBuffer ibuf = null ; PresentParameters par = new PresentParameters (); #endregion ...Show All

  • SQL Server Optimizing queries / stored procedure for retreiving millions of rows

    I am having one querry regarding the same line. In my stored procedure i am fetching the data from one table containing upto 5 to 6 million rows I made use of index in my database but then also I cant optimise my execution time of that sp. Please help me out of this problem. Hi, Try to give us the queryplan of your query, its the best and easiest thing to find bottlenecks. Use the query Analyzer for that or have a look on the SET SHOWPLAN ON and activate this priot to executing the query. It will put out a text (graphical plan) of your query where you can see if some lame things are done. ...Show All

  • Software Development for Windows Vista Questions about vista

    I dont have vista beta or anything, but I would just want to know a few things(for those with beta or anyone that can answer), and some comments to make. Comments: 1. I am hoping that windows vista will make it so Sticky keys is off automatically, as I find it annoying(along with everyone else I know) and its a pain to turn off, because when I say turn off following the instructions, its still on until about the 3rd time I turn it off. 2. Although as reliable as Windows XP is for allowing you to recover files, Im hoping that when you format with Windows Vista you will be able to choose to clear everything(even files you are able to rec ...Show All

  • Windows Forms Novice :)

    I want to do something simple, but I'm from a long time ago and I am only familiar with Batch Files and Basic. All I want to do is make a nice interface application to copy a file from one location, a CD, to my Hard Drive. This is a daily task and I want to make it simple. I just want to have an icon on my desktop, Po ...Show All

  • Visual Studio Can Sql Server Management Studio and Visual studio 2005 use the same solutions and projects in VSS?

    I like the SQL server management studio and VS 2005 to work with Visual Source Safe thru internet. But I do have one BIG problem is that I use VS 2005 to create a database solution (or poject) to check this solution/project in VSS. Can I use SQL server Management Studio to open "VS 2005 solution/project" instead of re-create a SQL project   I could not find any information on how to do this. Furthermore, VS 2005 use "sln" for extension and SQL server management use "sqlsln". Basically, there are same on query script, Unfortunately the you cannot open a VS project with SSMS. Th ...Show All

  • Windows Forms Control Initializer Disappears from Designer

    I've got an app written in C# in Visual Studio 2005. On one of my forms, I have a user control that contains some user controls and ListViews. For some reason, nearly every time I move off of the form's design view and back, or build the application, the initialization line of code in the designer disappears. I get either a null reference exception, or on the designer I get "The variable 'fltrOrganization' is either undeclared or was never assigned." The line that is being deleted is this.fltrOrganization = new OrganizationFilterPanel(); If I retype this line into the designer code behind, the form will come back up, and allow me t ...Show All

  • Windows Forms help trying to automate updating repetitive information on several websites at once.

    What i need to do is set up some sort of way for me to update information on several websites.  First off, each website is different in the way numbers and data are entered. For example, I will log on with my account and update any of the numbers in the text boxes that are out of date. Once the numbers are what i need them  ...Show All

  • Windows Forms Improve TableLayoutPanel with large amount of controls

    I'm using the TableLayoutPanel to display a shopping cart list. I need to use 5 label controls to present the information of each items. I need to remove all the controls and then repopulate the panels when a new item is added. The reason is that a new item may affect the price of an existing item. I've no way (or just too complicate) to update a specific label. The problem is when the no. of items grows, the performance of the list drop significantly. Is there anyway that can improve the overall performance I've already suspend the layout when I do all the processing. However, I found that the performance is still not very good. Al ...Show All

  • Windows Forms ArgumentException in DrawString

    I have some code which worked fine in framework 1.1 but is giving me an ArgumentException in 2.0.  The code follows: using ( Font fntDraw = new Font ( "Arial" , 16, FontStyle .Regular)) {    Rectangle rcLayout = new Rectangle (0, 0, _cpixCell, _cpixCell);     StringFormat sfmt = new StringFormat ();    sfmt.Alignment = StringAlignment .Center;    sfmt.LineAlignment = StringAlignment .Center;    g.DrawString( "F" , fntDraw, br, rcLayout, sfmt); } The DrawString call generates the exception.  I can draw pretty much anything else into this Gra ...Show All

  • Visual C++ help!error using selectobject() with CmetafileDC

    create a sdi mfc project, in the OnDraw() add the following: CMetaFileDC* pMetaFileDC = new CMetaFileDC(); pMetaFileDC->Create(); pMetaFileDC->SetAttribDC((HDC)pDC); CPen newPen(PS_SOLID,1,RGB(111,111,111)); pMetaFileDC->SelectObject(newPen); this would cause a debug assertion, the source is: { ASSERT(m_hDC == m_hAttribDC); // ASSERT a simple CDC object return (hObject != NULL) ::SelectObject(m_hDC, hObject) : NULL; } i think this means i should set the m_hAttribDC, but this cannot be done with: pMetaFileDC->SetAttribDC(pMetaFileDC->GetSafeHdc()); because the definition of SetAttribDC() is: void CMetaFileDC::SetAttribDC(HDC hD ...Show All

  • Windows Forms Accessing app settings

    I have created application settings using the new designer. However, when I use the following code: string path = ConfigurationManager.AppSettings["Docs"]; The configuration manager app settings collection is empty. Any suggestions Can you see the Docs setting in your App.Config dave ...Show All

  • .NET Development Installing SQL Express and .Net for IIS in Setup Project

    I have a web service that uses SQL Express. I have looked at web setup projects and Web Deployment projects. Under the setup project properties prerequisits I've selected .net framework 2.0,windows installer 3.1 and sqlserver 2005 express edition. After I run the install on a new virtural machine (clean) there is no asp.net available in IIS and sql express is not installed. How do I get these services installed durring my install process Do these services need to be installed with "Custom Actions" Thanks MFZ Ok I feel dumb. I was running the .msi instead of the setup. So none of the pr ...Show All

©2008 Software Development Network