ondrejsv's Q&A profile
Software Development for Windows Vista ASPNETStateMachineWorkflow.exe
Hello, Is AnyBody successfully run the tomake's ASPNETStateMachineWorkflow.exe . Please let me known. I cannt open the page5. At that time it saying some error. I am using June Ctp version. regards vijil. Dear Tom Lake , Thanks for the replay. Without comment this line, when i try to view page5.aspx( that means Stagefive i got the folloeing error. HttpContext .Current.Session[WorkflowKey] = wi.InstanceId; Error : The workflow hosting environment does not have a persistence service as required by an operation on the workflow instance "c9bd9496-eb86-42a6-a4ce-45eb29526fae". I didnt change not ...Show All
Visual C# HowTo:Change Default Project Folder
Hi All, When i create a Project using VS2005, by default a folder with the namespace gets created. for e.g. When i create a project with name Test.Test1.Test2.csproj and namespaceTest.Test1.Test2 under C:\MyProjects\ A folder with name Test.Test1.Test2 gets created, How can i avoid this i want to create the project as C:\MyProjects\Test\Test.Test1.Test2.csproj Any pointers would be great. Apologies if this is wrong category. Thanks, Swarup The default root directory for projects and solutions can be set under Tools\Options -> Projects and Solutions. You can also set the default location to store your settings and where to store custom templates you create. Michael Taylor - 1/17/07 http://p3net.m ...Show All
Windows Forms Value not appearing in textbox
In a nutshell... I'm new to working with C# in Visual Studio and I have a dilemma. I am populating an arraylist with datetime values via a winform. When I click a certain button on that form I want to see the second arraylist item appear in a textbox. The code I'm using to do that is: ReturnedTimesheetTextBox.Text = theCurrentEmployee.Timesheet[1].ToString(); However, clicking the button produces this text in the textbox: EmployeeProject.Timesheet Now, "Timesheet" is the name of a property which is of a type ArrayList and which resides in another class. "EmployeeProject" is, of course, the name of the VS project this exists in. Can anyone offer any help as to why I'm not seeing my datetime value app ...Show All
Visual Basic VB 2005 vs. C#
I'm a beginning programmer. I just want to know: Is there anything you can do in C# that you can't do in VB 2005 (Except for unmanaged code, for which i don't need) I kinda like VB 2005, but if it is a sacrifice in functionality or job ops, I would reconsider and go the C# way... Maybe a silly question, but... C# doesn't do unmanaged code either. C++ does this. As of VS 2005 there is very little functional difference between VB and C# when it comes to using the .NET Framework. Previously, VB lagged behind. Will it do this again in the future Who knows As for job opportunities, some people consider C# more difficult to program in so if you use it you must be a better programmer, right ...Show All
Visual C# vb to c# code conversion
does anyone have any idea on how to convert this to c# Sub shutdown() Dim t As Single Dim objWMIService, objComputer As Object 'Now get some privileges objWMIService = GetObject( "Winmgmts:{impersonationLevel=impersonate,(Debug,Shutdown)}" ) For Each objComputer In objWMIService.InstancesOf( "Win32_OperatingSystem" ) t = objComputer.Win32Shutdown(8 + 4, 0) If t <> 0 Then 'Error occurred!!! Else 'Shutdown your system End If Next End Sub i converted the code and these are the error ...Show All
.NET Development Problem reading no updated data.
Hi all, I would like to know how to solve the following problem: I have the following command sequence: (I am working with ACCESS and ADO.NET) 1 - Update some fields from a table. 2 - Select this fieds from this table. Here is the problem, when I check "Select" results, some fields from the first rows have not been updated. If I insert a "wait" command between this two SQL commands, these fields are updated successfully. Is there any way to assure that "Select" command is executed just when "Update" has finished Regards. UPV Moldova. Hi, Supposedly command executions are synchronously executed except if your are calling this in ...Show All
Visual C++ how to generate preprocessed output file from vc++ compiler??
i have source code written using macros. i want to quikly find out which of these macros are defined by generating preprocessed output file using vc++ compliler. what are compiler options for this. Does IDE has this facility. einaros wrote: Open your project properties (ALT+F7) -> configuration properties -> C/C++ -> Preprocessor and toggle "Generate preprocessed File". this IDE feature is not available in vc6 i think. /P is switch solves my problem in vc6. thanks. ...Show All
Visual Studio 2008 (Pre-release) The project type is not supported by this installation?
VS2005 Team Suite RTM with SP1 Beta - XP SP2 - latest patches Hi, I have been learning XAML at the intro level. I had an old version of dotnetfx3 and wpf templates and I could create a project and run it. Yesterday I removed the old templates and the old framework with a removal tool and installed the RTM framework and new templates. However now I cannot open create a new project. The error message I am receiving is: "The project file c:\documents and settings\renee\localsettings\temp\4t4baj4.dyv\temp\WindowsApplication1 cannot be opened." The project type is not supported by this installation. I have not installed the extensions. I never have. I don't have enough disk space on the current system. What ...Show All
SQL Server How to edit rsreportserver.config to configure SimplePageHeaders
Hi! I want to set SimplePageHeaders to true, but I'm not sure how can I do it. What is the format I should use, and where should I put it Thank you! How to set default rendering options: http://msdn2.microsoft.com/en-us/library/ms156281.aspx Excel format options, including SimplePageHeaders: http://msdn2.microsoft.com/en-us/library/ms155069.aspx Sample: <Render> <Extension Name="EXCEL" Type="Microsoft.ReportingServices.Rendering.ExcelRenderer.ExcelRenderer,Microsoft.ReportingServices.ExcelRendering"> <Configuration> <DeviceInfo> <SimplePageHeaders>True</SimplePageHeaders> </DeviceInfo> </Confi ...Show All
Smart Device Development EXIF Info.
I was wondering if anyone could point me in a good direction for reading and setting EXIF in images. Everything I seem to find is related to the .Net Full Framework using Bitmap.PropertyItem, which the Compact Framework doesn't have. I am also willing to use a assemby or if someone knows of a good article to point me in the right direction. Thanks in advance, Jay I have looked over that article, am I missing something because the article talks about the property items of the bitmap which I don't get when in the compact framework. ...Show All
Community Chat JimmyWidgets
--- Original Post --- Hi everyone! My current project is JimmyWidgets, a widget program like Apple Dashboard, but for PC! You can even make new widgets in DLL format and post em on the online database! When I've made more widgets (I've only got 2 at the moment), I'll post it at www.jimmyware.co.uk . It's going to be open-source, so you can download the source from there too. Here's a screenshot: http://www.freewebs.com/robinjam/JimmyWidgets%5FScreenshot.jpg I await any comments/suggestions! (But please don't be too harsh about my efforts, it took me HOURS) P.S. A list of problems I need to fix: The online database currently lets you download the same widget twice, making startup time longer (because ...Show All
Visual Studio How can you prevent a relationship from an element to itself?
I have a DSL definition in which it's possible for an element to connect with an element of the same type. However, in this definition the element can also connect to itself, which is undesirable. I already know how to add custom validation to the model in such a way that it throws an error when there's a self-connection, but I need it to validate realtime when trying to connect an element to itself, so that it's not even possible to draw that connection. I already searched this forum and there was one topic which covers the same problem, but it's more than a year old I and think it doesn't work the same anymore in the newer DSL tools. Does anyone have an idea how to make self connections impossible ...Show All
Visual Studio Express Editions locked up
no one in the other forums is answearing my question. someone on this forum asked me to post the error message and before I could the mods moved my thread to some useless forum. so heres a link..Hopefully somone can help , its really dishearting to get into programming only to have such a stupid problem. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=745207&SiteID=1 Ive tried deleting the key and then publishing , it still locks up. press yes or no it doesnt matter , the program still locks up...delete the key - doesnt matter , locks up. ...Show All
SQL Server SQL Server Express and Access 2003
I recently started developing a new Access project for a client, and decided to try out Access 2003 with SQL Express 2005. Everything was going fine until I tried to modify a table from within Access. I got an error message that SQL Express is incompatible with Access 2003, and it suggested I go to the Microsoft website and search for a patch/upgrade to solve this. I tried to ignore it, and it started warning me that none of my table edits would be saved. I looked around, but I can't find anything about this. Is this true Is there a patch to fix this I didn't see Joel's earlier post, that's the danger of posting additional questions into a thread that is marked Answered. Yes, Access 2007 has ...Show All
Visual Basic How to load a child form within MDI form's panel
Hi, I a newbie here. Does anyone know the coding regarding my question Pls HELP........................ Basically i have a MDI form, and many child forms i wish to load many child forms at the same time and specify them to left bar, right bar and center Can you tell me how to slove this problem ...Show All
