Cesar GHALI's Q&A profile
Visual Studio 2008 (Pre-release) IOException when running downloaded samples on German Windows
Whenever I want to try some samples from the internet they compile fine but when I start them I get an IOException at this or a similar line: /// <summary> /// MainApplication /// </summary> public partial class MainApplication : System . Windows . Application { /// <summary> /// InitializeComponent /// </summary> public void InitializeComponent() { ...Show All
Visual J# Windows Media Player Full Controls
I am looking to do a complete customization of a Windows Media Player that is integrated into a webpage but cannot locate any resources to get the complete list of properties and functions. I have seen others using Javascript to access these for customizations such as a first-frame of the video and setting a custom play button. Thanks in advance for any assistance. Hi Syn, For customizing media player Mi ...Show All
SQL Server File System Task Problem
I'm trying to realize a file system task that rename files from a foreach loop container. So that means the task have a variable in the source connection. This variable got the value (as an expression) of "c:\\.....\\" +@[User::ForeachloopVar ]. But an error message appears when i run it.The message is File System Task: An error occurred with the following error message: "The given path's format is not supported." When i don’t use th ...Show All
Visual C# Socket Connection
I'm trying to establish a socket connection between a client and server application on two computers. For now, I am running both programs on the same machine until I can get a connection working. I have run netstat -a -n and can see that my server code is listening to "127.0.0.1:8001". The following code works correctly: TcpClient client = new TcpClient ( "127.0.0.1" , 8001) However, when I replace "127.0.0.1 ...Show All
Windows Forms How can Implement a string Collection Editor in a property Grid
Hi I have done some reserch how to implement the above,however I get lost in more complex examples I have found in codeproject and so on. What I want to do is when showing my propertyGrid I want to have the ability to have a collection editor of strings. For example sake lets say I want to have a collection of car Models. THe problem i have is that i see the collection editor but when I press Add I get "Constructor on type system.string not f ...Show All
.NET Development Accessing deleted row information
I have a strongly typed dataset 'A' with a Customer datatable and data. I create a new instance of the same dataset ('B') with same table structure and import selected rows into the 'B' Customer datatable from dataset 'A' Customer datatable. I pass dataset B to a method that deletes a row in dataset 'B' Customer datatable and now want to mark the row as deleted in dataset 'A' customer datatable. What is the best way to do that I thou ...Show All
Visual Studio Team System WSS Error on home page viewing reports
When I look open a project web site I get 3 nice little warning messages: Unable to locate control: ctl00oReportCell The 3 reports display after I click Ok. Using Beta 2 on a single server install Cheers These three character belong to saving files as 'UNICODE (UTF8 with signature ) - Codepage 65001' and represent the signature in the first byte. Saving file as 'UNICODE (UTF8 without signature ) - Codepage 65001' solves the error. ...Show All
Visual Studio Beta 2 Installation on XP Sp2
I had Beta 1.0 of Visual Studio 2005 on my XP Sp2 Laptop. I removed the Beta 1.0 and the related components. When i try to install Beta 2.0 Standard Edition I encounter the error code "1935" and "2908" and the setup rolls back. The same problem exists with Visual Studio 2005 Beta 2.0 Professional Edition too!!!!. I am not able to find the installation logs. Can someone help me in resolving this error. thanks Ravi Let me kno ...Show All
Smart Device Development How to make ListView's, ImageList, TextBoxes, etc respect User Settings (themes, etc)
Hi, In Compact Framework 1.0, how do I ListView's, ImageList, TextBoxes, etc respect User Settings (themes, etc) on SmartPhones and PocketPC's When I test things, it seems like that onscreen controls uses defaults, even when the user settings specifies very different appearances (such as Large Font via Accessbility) Is this necessary for "Designed for Windows Mobile" compliance, where applications must respect user settings ...Show All
Visual Studio Team System Error creating team project with RTM
I am having trouble creating a team project with the RTM of TFS from a client machine. I can create a team project from the server itself (logged in as myself), just not from my machine (also logged in as myself). My machine is XP Pro and I have Windows Firewall disabled. I have tried deleting my cache directory several times as well as uninstalling/reinstalling Team Explorer on my machine. I can also navigate to the following ...Show All
Software Development for Windows Vista Dynamically setting the next state from within a Workflow...
I'm trying to set the next state from within a sequential workflow handling an event. The SetState activity only allows the state to be set at design time. External to the Workflow, using the StateMachineInstance, you can do a SetState by doing a: SetStateEventArgs eventArgs = new SetStateEventArgs(stateId); workflowInstance.EnqueueItem(System.Workflow.Activities.StateMachineWorkflow.SetStateQueueName, eventArgs, null, null); For a State Bas ...Show All
Software Development for Windows Vista Custom persistence service creation - issues
I am attempting to create a Custom state persistence service. The following are a few issues / doubts that I have related to the task. 1. I have never come across a situation where the LoadCompletedContextActivity and SaveCompletedContextActivity methods are executed, leading to a doubt whether there is any need to override these methods in the custom state persistence service that I am creating. 2. The purpose of UnlockWorkflowInstanceSt ...Show All
Visual C# Process & WaitForExit & OutputDataReceived
. Rob, This is from a larger project so I've tried to cut and paste the relevant bits. This took ages of trial and error to get working. Hope you can make sense of it. Cheers Steve The process is started from a class that also has a Windows form (to show progress). The sendclip method starts the commandline process which returns as soon as the process is started - as then events take over.&nbs ...Show All
Visual Studio 2008 (Pre-release) Loaded - Initialized - SourceInitialized
I'm hoping someone can help out here ... I'm trying to figure out exactly what these events "mean". Certainly, most sample code uses the Loaded event to mean "this object and its descendants are completely ready to go". However, I'm fairly certain I saw something from a WPF team member stating that -- at least for a Window -- the SourceInitialized event is a "safer" option. (This event is only available for Wi ...Show All
Visual C++ Linking error related to manifest file
Hi, I am build my project on VC2005 Beta and get the following error: >Embedding manifest... 1>LINK : fatal error LNK1000: unknown error; consult documentation for technical support options If I build the project again, it will pass. However the rebuild will always fail. If I change the "Generate Manifest " to "No", the build always pass. Can anybody help me on this What's wrong with my project Thanks, Kevin ...Show All
