brtaydin's Q&A profile
Software Development for Windows Vista Can't install MicrosoftR Visual StudioR 2005 Extensions for WindowsR Workflow Foundation Release Candidate 2
Hi, I downloaded MicrosoftR Visual StudioR 2005 Extensions for WindowsR Workflow Foundation Release Candidate 2 from Microsoft website ( http://www.microsoft.com/downloads/thankyou.aspx familyId=63A80A4B-BD27-4124-A2A5-61786ADB626E&displayLang=en&oRef=http%3a%2f%2fwf.netfx3.com%2fblogs%2fnews_and_announcements%2farchive%2f2006%2f06%2f23%2fJune-CTP-Available_2C00_-RC-Build-of-WF.aspx ) but when I open it, it starts Active Sync 4.1 installation! What's wrong with that Thanks If you have a setup.exe file in the same directory as the wf exe file, then the installer gets a little confused and starts that setup.exe. So after unzipping, it found the setup.exe for activesync and started t ...Show All
Windows Forms Numeric Up Down control is buggy
I find the NUD control to be quite buggy when conntecting it up to a data source; in VS 2003 it was useless (I had to manually handle all of the data binding / updates etc). In VS 2005, the data binding "seems" to work except that it will not "refresh" the displayed value when the data source value is changed. For example: create a binding source connected to an in memory data set; set value to 2.13 bind a text box and NUD control to a binding source. update the value in the dataset to 5.15 the value 5.15 is displayed in the text box ok the value 2.13 is still displayed in the NUD, but the actual value is now 5.15 ie: the NUD.value = 5.15 but the NUD.text = 2.13 when I click on the up/down arrows, the text *just* ...Show All
Windows Live Developer Forums Is there a way to hide the earth base layer?
Some of the custom tile layers I have created cover up the base earth layers completely. Since they are covered and can't be seen, I don't want the client to download them when the covering layer is active. Is there a way to turn the base earth layer off and then back on again when the covering layer is removed Not that i know of, there is a good article on ViaVirtualEarth about rolling your own tile server that would give you a way to do it but honestly i think its more trouble then it worth. Is it such a problem that they download a few extra tiles (they are cached for 7 days) it all happens in the background. John. ...Show All
Visual Studio Dynamic Image Location by using a parameter
I am using the Crystal Reports Developer XI Release 2. I am passing a string parameter from my Visual Studio 2005 (Visual Basic) Windows Forms application to my Crystal Report. Let's call it "myimagepath" and it contains a value like "c:\pathtomyimage\myimage.jpg" Now I have a picture object on my report. I want the graphic location formula to set the image path and display the image that I refer to in my parameter myimagepath. What will my graphic location formula for my picture image look like Or am I approaching this poorly Thanks for your help. David I think my problem is the following. Let me explain it... I have two machines: the first runs Visual Studio 2005; the second one runs Crystal Reports XI. I'm us ...Show All
Game Technologies: DirectX, XNA, XACT, etc. First XNA project & a question regarding pink outlining
I am creating a old-style RPG with added bells and whistles and it uses XNA. I threw a character in the game and he has a pink outline around him which is actually what I use for the transparent color. Do I need to do anything in code to remove this I thought I did something similar in Direct3D before when I was first creating the texture. Since GSE does it all for me, I'm getting an unwanted result. Screenshot: http://lh5.google.com/image/philvaira/RZ2EQXve37I/AAAAAAAAAAs/rx381x00kQA/Nral_Alpha_Screenshot_1.PNG.jpg imgmax=800 At any rate, this is my first project using XNA. I have a local team and we are finally putting it into production as commercial-based PC game. Using XNA has really boosted our productivity. ...Show All
Visual Studio 2008 (Pre-release) First Remote Function Call takes too long
Hi Dears When ever i call a remote function first time it takes too long so my transaction gets fail before remote function gets called. I m using TcpBindings with sendTimeout and transaction time out more than 20 mints. but i still getting this problem. it throws following exception. "The flowed transaction could not be unmarshaled. etc" ok fine if there is no solution of this delay on first call then there might be some timeout settings so my transaction should not fail. Regards This KB article may help for OleTx: http://support.microsoft.com/Default.aspx id=922430 For WS-AT, there is no direct 1:1 equivalent here. If operations are taking longer than expected to complete ( ...Show All
Visual Basic Setup Produced By "Build, Publish" Gives Error After I Uninstalled VB With CD And 'Removed' All Installation CD Programs
Hello, I created a setup file from my application. I did this because I want to put my application on other PCs without installing Visual Basic. I basically want to just run the applicatoin on other PCs. What I did to create the setup file was within VB I clicked "Build" then "Publish." I then wanted to test the setup file on my PC, so I removed everything given to me by the VB installation CD! So, I uninstalled VB using the installation CD. But, I also had to go to the control panel to remove some of the programs that the installation CD gave me. I did this because the uninstall via the CD left things on my system that the installation CD gave me. When I was done, the control panel, remove programs listing ...Show All
.NET Development .Dot Net windows service in windows cluster environment
Hi, We have many servers setup as a cluster. When one server crashes, another one take the relay... We want to know if it's possible (I suppose it is) to make a Windows service developed with .NET 2.0 (C#) work in a cluster environment. I mean, how to make sure the service will take the relay if one server fails. Is there something special to do or it will work by itself Deploy your service to all the cluster node. In cluster manager console, create a new generic service cluster resource under your cluster group. Eventualy set "Use network name" check to allow the service to impersonate the Virtual Server. Add the dependencies in the relative tab. You need to be sure that: - The Windows service is in Manual mode ...Show All
Visual Studio formatting messages written to MSBuild Console
Hi, We use a lot of custom MSBuild tasks to build & deploy our code. I need to log message during the execution of these task & need some to the messages to be highlighted in red or green. I am using Log.LogMessage(), but I am not able to format it to display the messages in color. Does someone have an idea how it can be done I don't want to use Log.LogError() as it would get displayed with associated error information. Thanks in advance for all the help Ramya If you want to do custom colour formatting on the console you will need to create your own console logger and do your own writing of the messages to the console. Even if you inherit from the Microsoft.Build.Engine.Console ...Show All
Visual Basic Microsoft.Office.Core.dll Location
Hi all, From where shall I get the "Microsoft.Office.Core.dll" . I need "Interop.Microsoft.Office.Core.dll". I am trying to use tlbimp to generate the Interop.Microsoft.Office.Core.dll from the Microsoft.Office.Core.dll. Is that way correct where will Microsoft.Office.Core.dll be located in the system Thanks, Benin. NachoRodriguez wrote: Hello, I need to add the reference Microsoft.Office.Core in my .NET proyect but no exists in the list. I have alredy install the Microsoft Office 2003, the Microsoft Office 2003 Primary Interop Assemblies and only can see the Microsoft.Office.Tools and Microsoft.Office.Interop. How can I add the Microsoft.Office.Core ...Show All
.NET Development BeginInvoke's Callback method not called with network disconnected?
Hi, I've encountered a very disturbing issue with remoting on Framework 1.1 but I can't seem to find any reference to it on the net. I have a remoting application which does some of it's work asynchroniously. The server calls BeginInvoke on a method, which raises an event on the client machine through remoting, and the callback function calls EndInvoke. I have disconnected the client from the network, and tried to send a message. BeginInvoke is called, but the callback is never called, not even after the 40 second timeout of remoting. For example, in the scenario where the network cable is connected but the client process is killed, the callback function is called after the 40 second timeout and returns an exception for that. ...Show All
Windows Forms rich text control toolbar?
All I want is a rich textbox control with a toolbar, much like the one im using right now, in this web form for posting this question. There seems to be some commericially available ones, with advanced printing and spell checking features, but I only need basic formatting - bold/italic/underline, justification and a font dialog - and im a cheapskate. Seems surprising that this isn't shipped as a standard control. I presume the richtx32.ocx (found when adding a com reference into my vs2k5 project) is the same as the rich textbox control found in the toolbox So if I have program myself a toolbar, my next question would be where would I get hold of the (standard) format icons , again like the ones in the toolbar on this form Thanks for readin ...Show All
Visual FoxPro VFP9 ReportListner and Excel
Hi All, Has anyone managed to turn the xml output generated by vfp9's reportlistner into a cursor I would like to then turn the cursor into an excel worksheet adding all the formating and formulae for subtotals etc etc But xmtocursor() generates "XML parse error:field name is invalid or duplicate...." Help please Mathias I have not used xmltocursor, but if I wanted to turn a cursor into an excel spreadsheet I would use: EXPORT TO filename TYPE xls Then you can open it with Excel. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Delete a picture file after Bitmap.FromFile call.
Hello, I'm loading a bitmap from a temp file using Bitmap.FromFile. After this I want to delete the file, but get an IO exception "... this file is used by a process ...". The file is used from my C# process (found with the processexplorer), so my guess is the Bitmap.FromFile call. How do I release the file lock to delete the file Thanks for help. BerW Update: Now I tried the 2 suggested solutions. Disposing the bitmap frees also the lock of the picture file and I can delete the file. But Clone() also clones the file lock :-((( Here is the test code: Image bm = Bitmap .FromFile(fn); Image bm2 = ( Image )bm.Clone(); bm.Dispose(); File .Delete(fn); The ori ...Show All
Visual C++ why i can't find the definition of the function throw()?
LONG_PTR SetWindowLongPtr(int nIndex, LONG_PTR dwNewLong) throw() { ATLASSERT(::IsWindow(m_hWnd)); return ::SetWindowLongPtr(m_hWnd, nIndex, dwNewLong); } it is included in the <atlwin.h>,vs2003.net,please help me! The throw() in this declaration is part of the C++ syntax. throw is not an identifier, hence there is no definition. ...Show All
