Pierre Leclerc's Q&A profile
Windows Forms How can I automatize process of synchronizing versions of project & deployment files?
How can I automatize process of synchronizing versions of project & deployment files (such as resources, setup.exe etc) And why version of the setup.exe equals to version of Visual Studio Setup.exe is generic - it's not compiled when you build your setup project. It's the same one every time with a slightly different payload in its resources that describes the prerequisites. Your other question I don't really understand. I think you want automatic increments of your file versions, is that right ...Show All
Visual C# Reading Console Arguments Bug...
I'm passing some command line arguments to my console app and the string[] args is combining two of the arguments together. I run something like this: blah.exe /a testing /dir "C:\" /args blah and it args[4] is C:\" /args It only happens when I have a trailing \ and then a ", but how else would I do it for a directory A possible workaround would be to run this: blah.exe /a testing /dir "C:\\" /args blah blah.exe /a testing /dir "C:\Program Files\\" /args blah I know that this isn't and elegant solution... maybe someone else can post something better. Regards, Fernando ...Show All
Visual Basic Launching an app in Sub Main
I am creating an application, where the form should not be visible. So I am using Sub Main as the startup procedure. The code for my Sub Main procedure is: Public Sub Main() Dim J as New JobQueManager J.JobQueManager_InitApp End Sub When I run my application, it starts in the Sub Main, launches the JobQueManager, and goes thru those procedures, but then comes back in the Sub Main, and exits, and my application unloads. When the JobQueManager goes thru its procedures, there is some user interaction required. But my application, just goes back and exits the Sub Main() and my application unloads. How can I allow for the user to interact Thanks I assume there must be some way ...Show All
.NET Development Design control problem
I made inherit Button control with XP look. Control is OwnerDraw type because I want button control with XP look on Win2000. Control have two property BottunStyle and BottunShape. For that purpose I create class with two enum variable. public class eButtonType { public enum ButtonStyle {Default, Blue, OliveGreen, Silver}; public enum ButtonShape {Rectangle, Ellipse}; } In class XPButton I created two property and two private variable m_btnStyle and m_btnShape private static PKH.XP.Controls.eButtonType.ButtonStyle m_btnStyle = PKH.XP.Controls.eButtonType.ButtonStyle.Default; private static PKH.XP.Controls.eButtonType.ButtonShape m_btnShape = PKH.XP.Controls.eButtonType.ButtonShape.R ...Show All
Windows Live Developer Forums Transparency
I tried to overlay transparent gif tiles over the map and they don't render transparent. They render white. Has anyone tried to put transparent gifs over the map There's an offered solution on this thread. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=804699&SiteID=1 ...Show All
Smart Device Development Deployment issues
I posted this is the C# forum and havn't had much luck there and was pointed over here. So here goes... I was deploying to a Windows PocketPC 2003 (with memory expansion) device. When I deploy its taking close to 10 minutes to deploy. The app is only 104K on my device. I noticed that it is hanging specifically on these files (during deployment): System.Data.dll System.Windows.Forms.dll System.Web.dll System.Design.dll System.DataOracleClient.dll (Im not even using Oracle) Then these files are also being transfered and popping up a msg box stating that "Windows SQL Server Mobile is aready installed. Do You wish to reinstall [Yes] [Cancel]" sqlce30.ppc.wce4.armv4.cab sqlce30.repl.ppc.wce4.armv4.cab sqlce30.dev.enu.ppc.wce4.arm ...Show All
Visual Studio Team System How can I display work item Description field in report?
I want to display the work item infomation that is saved in work item Description tab (refer to System.Description field). But I can't find this field in any cube. Is there a way to show the work item description in report Description is a plain text field, which can't be exported to the warehouse. The only way to create reports that include description is to query the work item operation store directly. You should expect to have to rework any reports that use the operational store whenever you upgrade to a new version of TFS. ...Show All
SQL Server how can i delete my matrix's header ?
I want to delete my matrix's header, set header not displays . I set the header 's content with none and can't set the height with 0cm. I don't know what to do, I give up at this point and need help from someone here . Right click on the header row of your table and go to Properties. Then, under the 'Visibility' property, change the 'Hidden' setting to True. Hope this helps. Jarret ...Show All
Windows Live Developer Forums addpin from database cities
Hi all i want is to add pins to more cities without providing lat long. Lets say that i have in a database a list with cities were to add pins New York, San Francisco and Los Angeles (because this tree cities are in my database yet, but when another city will be add he must to have a addpin... that means that i make a query were i'm looking for cities from database... i generate the list of cities...and the pin has to be added... add pin new york, title, text... etc... because i will generate the title and message from database...(i'm trying to do a list with cities and announcement for those cities, a weather system using Microsoft Earth. 10x allot for help. <script> var map = null; var pinID = 1; ...Show All
SQL Server Can a Connection Manager be parameterized?
Can you create one connection manager that accepts the Server name and database name at run time and constantly reuses the server and datbase name at runtime when executing one SSIS solution with Multiple packages. You can use Expressions property in your connection manager to build the connection string at run time. You might also want to use package configurations to 'pick up' the right values from a configuration file/table. Jamie has something about it on his blog, http://blogs.conchango.com/jamiethomson/archive/2006/03/11/3063.aspx Rafael Salas ...Show All
.NET Development Using classic ADO parameter objects from VC#2005
Hi everyone Apologies if this is the incorrect forum for this posting, please let me know if I should repost elsewhere in a more appropriate location. I'm trying to use parameterized queries with classic ADO. I've done this successfully with ADO .NET 2.0, but because of the legacy ODBC drivers that we are needing to support which cause a crash when using ADO .NET I am having to use classic ADO. I'm using the following code to create the parameter and assign to the command object: private object m = System. Type .Missing; adorecordset = new ADODB. Recordset (); ADODB. Command adocommand = new Command (); adocommand.ActiveConnection = adoconnection; adocommand.CommandText = strSQL.ToString(); Parame ...Show All
Visual Basic Error in loading DLL Because I have installed Visual Studio.NET in my Machine.
HI All, I have a problem in Visual Basic Application. As my Visual Basic Application is running fine but when i installed Visual Studio.NET 2003 in my system i m getting Error As :- Compiler Error: Error in Loading DLL. I want to ask one more thing "Is it possible that any DLL or referenced DLL of Visual studio got updated because we installed VS.NET 2003 ". if its possible then which dll is it. So any one can tell me why its happening. Thanks in Advance. What is the version of the VB application 02(framework 1.0 )and then you upgraded to 03 (frameork 1.1) You should be able to look at the stack and see which dll call is causeing the error! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Flickering MDX Window/Form
Here is what I'm trying to do: 1) WinForm that has some combo boxes and a MDX device created in a WinForm panel. 2) Press a button to go into "fullscreen mode", MDX device is now fullscreen. 3) Press ESC to go back to initial mode with combo boxes and small MDX panel. Here are my problems: 1) When it enters fullscreen mode the background (my desktop) flickers in and out if my move the mouse. For example moving the mouse to the taskbar the taskbar windows will pop-up. 2) The ESC button handler for fullscreen mode I created is never fired, which leads me to think the form is going in and out of focus. Relevant info: 1) Using PresentationInterval.Immediate. 2) Device is created initially with panel.Handle, then ...Show All
Gadgets Sidebar gadgets outside the sidebar?
Hi guys, I'm interested on building some gadgets and I'd like to know a couple of info about this specific type. 1) Can they exist outside the sidebar In this case, can they know their position in the stage 2) Can they communicate to each other I had a look to the API and I couldn't find so much information about these topics. Any info will be very appreciated. Thanks, chr Thanks Bruce, and so I presume they can stay outside the sidebar, but can they then communicate eachother best, chr ...Show All
SQL Server Adding/Previewing custom table style
Hi, I need to add and preview custom table styles. I was able to add custom style by editing the StyleTemplates.xml file under "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\Business Intelligence Wizards\Reports\Styles' as per one of the postings here. Now, how should I add the ability for the user to preview this custom style. I can write a form similar to MS "Choose table style" proobably. Is there a way to launch a particular page of the report wizard programatically Thanks, -Surendra ...Show All
