Thibaud's Q&A profile
Visual Basic GDI+ Arc Bounding Rectangle
Hi, I am making an app that plots out arcs from another source. I have been given or have calculated the Begining angle, the End Angle, the traverse Angle, the Radius, the center point, the start point, the end point. My problem is I don't have the arcs bounding rectangle so i can't do a path.addarc command. I need someway based on the above information to add these arcs to a path. I have tried some various geometric solutions but haven't found any that work. Some problems I have is the arcs can be any size bettween 0' and 360', Have any start and end angles, The traverse angle can be greater than 180'. Does anybody have a solution for this Thanks Matt The method wants the rectangle that bou ...Show All
.NET Development XMl Document Object Help
Hi iam new to XML.I want the sample source code of xml document for creating nodes,elements,attributes and reading the same.I have gone through msdn and got a few but its confusing.It would be great if anybody has it. thanks, manoj thanks Martin ...Show All
Visual Studio 2008 (Pre-release) Get window height, without the height of the activitybar.
Is there any way to get the height of the visible area of a window If you just use this.Height you will get the visible height + the height of the bar at the top. You could just subtract ~25px but this height depends on what theme you use on windows so this is not a good option :/ Tried this: (this.Content as Panel).Height Didn't work :( Only returns the height of the first children of the window. Thanks anyway. ...Show All
Visual Studio 2008 (Pre-release) UserControls XAML
Hi all, has anbody a link to an tutorial or HowTo regarding XAML UserContols An other Help would be an designeguide for Vista app. THX I needed to dig through user controls and found some more info on it: Control Authoring Overview ( http://windowssdk.msdn.microsoft.com/en-us/library/ms745025.aspx ) Example ( http://windowssdk.msdn.microsoft.com/en-us/library/ms771638.aspx ) And 2 postings: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=330374&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=330374&SiteID=1 Houman ...Show All
Smart Device Development Capture Image??
Hi everyone, I'm new in compact framework. For my graduation project I need capture still image from pocket pc's camera , later I'll make some operations (image processing). DO you know any package , plug-in , sdk etc.. for take image from pocket pc's camera in .NET(C#) Thanks.. I think the best choice is contact with manufacturer.But generally products've sold with WM 2003. 5.0 has more options than(esp. for our project) 2003. Thanks for your reply, Ilya. ...Show All
Windows Forms Update Application
Hi How dose the update system works in .NET enviroment I meen not a installing program, only a intall that will update a part of a installed program. And how do i control the version in updated program Hi well... I tryed that but it was to difficult add files (not included directly in application for ex. Mapfiles-, pdf-, dwg files etc. etc.) by the way my server and Clickonce dosen't work toghether very well, VS 2005 needs a frontpage service to work. And the service that VS needs can't be found (server Windows 2003 and frontpage 2003). ...Show All
Windows Forms Automate PDF reading
Hi, I am trying to use the acrobat reader to read and view the pdf file. When I am using the acroPDF it works fine except it doesn't have the function of searching text (that opens the search panel and do the search). I have tryed objects like AcroExch.AVDoc but it can't create the type defenition of it and it said that a class doesn't registered. I checked it in registry. It doesn't exist there. Here the example of code: <code> // Create an Acrobat Application object Type AcrobatAppType; AcrobatAppType = Type.GetTypeFromProgID("AcroExch.App"); Acrobat.CAcroApp oAdobeApp = (Acrobat.CAcroApp)Activator.CreateInstance(AcrobatAppType); // Create an Acrobat Document object; Type AcrobatPDDocType; ...Show All
.NET Development Desktop Notification using Windows services
Hi How to create Desktop Notification using .NET windows services,C# in Windows Vista Operato System Regards Govardhan Hi I am new to windows services,I am trying to create alets using windows service,But it is not working.The same code is working in windows applications,If any know pls give me replay my code is like System.Windows.Forms.NotifyIcon nty = new System.Windows.Forms.NotifyIcon(); nty.Icon = (System.Drawing.Icon)Properties.Resources.video; nty.Visible = true; nty.ShowBalloonTip(5000, "Match Cast", "Check for Match Cast Updates ", System.Windows.Forms.ToolTipIcon.None); Plz help me Regards Govardhan ...Show All
Visual Studio Team System Import Database Schema status is completed but my Database Project is still empty (tables, stored procedures, ...)
Dear All, I am using "Microsoft Visual Studio Team Edition for Database Professionals Version 2.0.50727.72". CTP. All my attempts of Importing a Database Schema return a status "complete" but unfortunately my Database Project is still empty . When i compare the schema of my Database Project to the one of my source database i get a confirmation that the Database Project is really empty. The comparison tool generates a script that i can use to create all the objects but unfortunately the "Write Updates" button is disabled . Thank you in advance for your kind support. This is interesting because the import tool is basically using schema compare to create a script and then pump it into the ...Show All
Visual Studio 2008 (Pre-release) Dynamically configured Client
I want to be able to create a client endpoint in code (not in the config file) The closest thing to this that I have found is to dynamically update the config as follows: Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); ServiceModelSectionGroup sg = ServiceModelSectionGroup.GetSectionGroup(config); ChannelEndpointElement ce = new ChannelEndpointElement(); ce.Address = new Uri("net.tcp://localhost:47552/myService"); ce.Binding = "netTcpBinding"; ce.BindingConfiguration = "netTcpBinding"; ce.Contract = "ImyService"; ce.Name = "myTCPEndpoint"; sg.Client.Endpoints.Add(ce); // This writes it to the config file config.Save(); // this does not appea ...Show All
Visual Basic To attach to a Com+ Application
How can I make my application attach to multiple com application I would like to provide a list of com applications installed on the user's pc. For this reason I can't create a reference to the com object during runtime. It should be dynamic as per user selection. It could be an Excel, Word or other com application. Summary 1) To get a list of all com applications available on the user's pc 2) To create a reference dynamical to what the user chose. Thanks Further to my enquiry, I was guided to use wmi however it seems that there is a little bit of difficulty of how and what to use to read the GUID of a com application and then to add a reference dynamically to that object. I ...Show All
Visual Studio 2008 (Pre-release) Videostream
Hi all. Been looking around with the aim of writing an app that can both preview and stream webcam video, but appear to have fallen at the first hurdle. All the information I can find seems to be older, using either native calls or DirectShow to perform this, but I've been told that the framework now supports using a WebCam. Anyone got any information on how to use a webcam preview, and maybe how to go about streaming it over a network Thanks! DirectShow has already been wrapped here : http://sourceforge.net/projects/directshownet/ ... that is where i would start ...Show All
Visual Studio Express Editions Compiler error
Hello, i want write my vb application by text editor instead of VisualStudio. Such as in Visual studio help online, i've wrote this in textfile named form1.vb Imports System Imports System.ComponentModel Imports System.Drawing Imports System.Windows.Forms Public Class form1 Inherits Form public sub new() end sub 'new <STAThread()> _ Public Shared Sub Main() Application.EnableVisualStyles() Application.Run(New form1()) End Sub End Class Then i've launched .net framework prompt and i've typed vbc form1.vb /r:system.dll,system.drawing.dll,system.windows.forms.dll but the compiler give me some error C:\form1.vb(6) : error BC30205: Previewed instruction end Public Class form1 Inherits Form C:\form1.vb(6) : ...Show All
Visual Studio Express Editions Making Form Startup Automatically
Is there a way to make your form startup whenever you computer turns on So when you turn on your computer your form will pop up and you can do what you want with it. You will have to write the code...for the registry use Microsoft . Win32 . Registry () ...Show All
Visual Studio Express Editions I want to use cascadingDroDown control with SQL Server 2000 database?
I want to use cascadingDroDown control with SQL Server 2000 database, i have three table called province, District, Street. Province: (ProID, ProvinceName) District: (DistID, ProID, DistrictName) Street: (StreetID, DistID, StreetName) How can i use it with cascadingDroDown when i select province in Dropdown1 then all Disttrict belong this province are displayed, then when i select District, all streeet belong that district are displayed in dropdown3. Can you help me Thanks, Hi, minhnguyen Say that province table is bound to droDown1, district table displays in droDown2, street table displays in droDown3. The idea is to add param in the sql statement which ...Show All
