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

Software Development Network >> Martin Gentry's Q&A profile

Martin Gentry

Member List

Lex007
pars382985
data_architect
Gagandeep Singh
Jim Holloway
ajliaks
Can-Ann
Declan_
Softwaremaker
Paul Gielens
Kevin Jacobson
Casius211362
Rui Figueiredo
alfredgoldberg
Habibullah
prog.gabi
monchhib
Bulldog.NET
Stimmo
Tamalero
Only Title

Martin Gentry's Q&A profile

  • Visual Studio 2008 (Pre-release) how to binding complex propery

    I draw two ellipse(ellipse1 and ellipse2) shape on canvas. They have the same center ,but different radius。 I want to ellipse2 follow the ellipse1 when i drag the ellipse1. I want to implement this funciton with Binding operation。 EllipseGeometry eg1 = new EllipseGeometry(); eg1.RadiusX = 50; eg1.RadiusY = 50; eg1.Center = new Point(100, 100); Path ellipse1 = new Path(); ellipse1.Data = eg1; ellipse1.Fill = Brushes.Blue; But the Center Property was in the EllipseGeometry object,and i didn't know how to extract it... could anyone help me thanks might be easier to do in xaml,the following animates, but you get the idea. you can give a name to ellipsegeometry and refer that in code when ...Show All

  • Software Development for Windows Vista application compatibility testing

    hi, what are the best practices that need to be followed in order to test an application for application compatibility regards, divya Hello divya mittal, Please follow the Test Case guidelines provided here: http://download.microsoft.com/download/a/5/d/a5d3d02a-fd03-466f-9ba8-97f5e7a90a98/CertifiedforWindowsVistaProgramTestCases.doc Thanks! Matthew Braun ...Show All

  • Visual C# Share data between multiple application instances

    Hi! Do you know any way to share data between multiple application instances without buffering it in a file or a database (like a static class) Thanks! Hi, You can choose one of the following: 1) Remothing 2) Shared memory (unsafe). 3) Create a window service/com+ application to hold and supply the shared data 4) database/file/xml/exc.. my recommendation is 4 because it is the simplest one. Hope this helps, guy kolbis ...Show All

  • Visual Studio Express Editions How can I print image file (*.bmp) to the default printer?

    I have an image file (*.bmp) and I want to print this file to the default printer. and how can I control if the printer will print this file in the left or right of the paper Regards, Yaniv pinhas In the print page event change the X(horizonal), Y(Vertical) co-ordinates and put it where you want. Top left is 0,0 e.Graphics.DrawImage(PictureBox1.Image, New Point(0, 0)) or e.Graphics.DrawImage(Image.FromFile( "c:\test.jpg" ), 0, 0) ...Show All

  • Visual Basic Application is freezing after lock workstation

    Hi, I'm using VB2005 for developing a desktop application. Each time I lock the workstation and unlock after few seconds, my application is freeze. And if I wait for +/- 5 minutes it works again. Do you have any ideia Yes, I know that, but it's a very big application and it's impossible to put sample code here. This is a softphone application using Genesys SDK .NET. If I run my softphone from a desktop that have VB2005 instaled it works properly, otherwise not. But thank you anyway. ...Show All

  • Visual Studio Unable to debug System.Net.DigestClient throws an exception

    I converted a VS2003 application to a VS2005 application. I have no errors and no warnings when I compile. When I attempt to run I get the error:   Unable to start debugging on the web server. The type initializer for 'System.Net.DigestClinet' threw an exception. Any thoughts on how to fix this Anyone get this resolved I have the exact same problem. There is very little in Google on this. I can't even find System.Net.DigestClient in the framework. Thanks, Charles ...Show All

  • Smart Device Development How to use sockets to connect to http server??

    Hello everybody, I am developing a win32 application for smart devices.I am new to windows programming.I have to connect to a httpserver and download some files.I would like to know how to connect to this httpserver using sockets at client side.I am using Visual C++(under Visual Studio 2005) and Windows CE platform. Any help in this direction would be appreciated.Thank you. Windows internet services (WinInet) can be used for the purpose. Please see the link for further information http://msdn.microsoft.com/library/default.asp url=/library/en-us/wceinternet5/html/wce50oriwindowsinternetserviceswininet.asp I hope it helps ...Show All

  • Visual Studio Team System Interaction with Visual Studio Team Builds screen

    Is there any way to have a custom task interact with the visual studio team builds screen. Specifically, we want to have a message box pop up for any production installs verifying that they want to run a production install during peak hours. Thanks in advance I'm looking for a similar functionality. I would like to have the build screen showing the progress of my custom task in a more detailed way, as the same way as the compilation does showing status of each project individually. Do any of the Team build tools provides a way to have it Marcelo ...Show All

  • Windows Forms Toolbar?

    Hi folks, I recently upgraded from VS 2003 and I'm just wondering if there's a Toolbar control anymore So far as I can see in the Designer Toolbox, there is only the ToolStrip control, which certainly seems to be similar. Any comments on this -Zero Hi all - after some experimentation I found that the Toolstrip could be used as a Toolbar Thnx anyhow! ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Form above game window.

    The main idea is the following: There is a game, which is working in full-screen mode, of course. It’s necessary for me to make some toolbar, which could work above the game window. For example, make the calculator, which will appear after clicking a button on the toolbar, but the game window is not minimizing, and the working of this application continues above it. I tried to use the topmost form, but I can't draw it. In the case of using timer - BringToFront - it’s blinking, and when I click on it the game window is minimizing. Can anybody tell me what must I use to I saw the same working applications already, but I have no idea how to make it. Thanks beforehand. Sorry for my English. The ZMan wrote: ...Show All

  • SQL Server Pattern matching with multiple values

    I want to check for multiple patterns in a particular column. For one pattern I can write e.g. SELECT * FROM <TablName> WHERE ColumnName LIKE '%abcd%'. My requirment is to select all rows for which column value matches with many patterns.I will fetch the patterns in a subquery e.g. (SELECT '%'+name+'%' FROM <TableName>) Any thoughts Thnx. Shallu.....That is correct syntax, but you need to see that the number of values is not static and all of them are stored as one parameter by ssrs. To simplify it for you, say SSRS is providing me with a string series like " '%val2%', '%val2%' ,'%val2%' ...". Now I need to use this to do my comparison. ...Show All

  • Visual C++ TCHAR vs _TCHAR

    For the life of me, I can't figure out how to deal with strings in Visual C++. What is the difference between TCHAR and _TCHAR The built-in help is very confusing. Thank you. TCHAR and _TCHAR are identical, although since TCHAR doesn't have a leading underscore, Microsoft aren't allowed to reserved it as a keyword (imagine if you had a variable called TCHAR. Think what would happen). Hence TCHAR will not be #defined when Language Extensions are disabled (/Za). TCHAR is defined in winnt.h (which you'll get when you #include <windows.h>), and also tchar.h under /Ze. _TCHAR is available only in tchar.h (which also #defines _TSCHAR and _TUCHAR). Those are unsigned/signed variants of the normal TCHAR ...Show All

  • SQL Server Urgent!! Reporting Services Problem - HELP!!

    Hello to everyone. i am using RS 2005 first time. i am working on reporting project. I am facing a problem. Problem is : Can i make my report header flexible as per data in report so that row value can not be wrap in second line and automatically adjust width for perticular record or i manually change its width If anyone know abt it pls reply me soon. Waiting for reply.... ...Show All

  • Smart Device Development setting margin to ListView?

    Hi, Can any one tell me how to set the left margin for the listview at I need space at left side (before the text). Thanks in Advance, Hi zero Dai, Thank you very much for ur response. Actually i just need little empty area at the left hand side. When I use empty column I need use details view. then Header appears. I want little empty area but I dont want to get any header over there. I hope u can give me solution. Thanks in Advance, ...Show All

  • Windows Forms set value from one form to other

    My windows application have two form (A.cs & B.cs). A.cs have a button and a Label. B.cs have a textBox and a Button. I wish to have a function that in the beginning, A.cs is shown, after i click the button, B.cs is show. Then, I put somethings into the textbox, and then click the button. B.cs close and send the value of textBox to the Label.Name. Can anyone help me urgent, thx Just put the Modifier property of the textbox and label(b.cs) and button(b.cs) as Public. Add an instance of B.cs on your A.cs B b = new B(); b.Show(); Do not put A a = new A() in B.cs AND B b = new B() in A.cs or you will get an exception with a LOOP. You might need to put the button1_Click event in ...Show All

©2008 Software Development Network