oren's Q&A profile
Windows Forms Several puzzles about ClickOnce Deployment
Hi, I am now interested in ClickOnce deployment. After I have tried a simple application, I am really attracted by the amazing feature in VS2005. But I meet some problems when I try to download assemblies on demand. The walkthrough in MSDN on the topic of downloading assemblies on demand maybe the only demo i can reference. But it could not be applied to VS2005. The deploy APIs are different. Any other resources could be referenced And the req ...Show All
Visual Studio 2008 (Pre-release) MaxMessageSize Exceeded
I getting a maxMessageSize exceeded error returning a DataSet from a WCF service. The error indicates my maxMessageSize value is 65536, but I have actually set it much higher. It seems like it is not reading the value I have entered and is using a default of 65536 no matter what. Do i need to specify this maxMessageSize in more places than in my Client app.config file You need to increase maxMessageSize on bot ...Show All
Windows Forms custom word-processor like control
Hi, I'm working on a project, and I need to make a word-processor like editor for a document we defined. The document is structured and consists of formated text and and graphical controls, basically very similar to HTML. We decided to store the document in XML form. I would like to make a WYSIWYG editor for our document in c#. Now my question is does anybody know a good starting point for my editor Does a .net equivalent to java.swing.text e ...Show All
.NET Development WSE perimeter service router and message validation
Reading through the WSE 3.0 practices and patterns guide, it seems to me there is a best-practice conflict between perimeter service routers and message validation. Validation can be performed at the PSR, but the PSR generally resides in a DMZ. Performing validation in the DMZ is unsafe since messages must be decrypted before being validated, isn't it Y et if validation must be performed inside the network boundary, it's left up to the web serv ...Show All
Visual Studio Tools for Office Again: Error HRESULT E_FAIL has been returned from a call to a COM component
I just got this error message again: Error HRESULT E_FAIL has been returned from a call to a COM component Using the benefits portal sample on a brand new Windows XP installation in a virtual machine, all updated. Error HRESULT E_FAIL has been returned from a call to a COM component. ************** Exception Text ************** System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E ...Show All
Visual C# Objects stored in a hashtable - by reference?
Hi, I'm writing an interpreter in c#. For variables I have a system where I have a class representing a variable: class var { public Hashtable Children; public object Value; } When a variable is declared, I do something like this: var Temp = new var(); Temp.Value = something; VarIndex.Add("variable name",Temp); However I've found adding the Temp ...Show All
Visual C# Custom File Types
I have created a steup project for my program and have a series of file type I wish to associate which is fine. I just don't quite understand how to get the program to open these files when I click on them I assume you can setup parameters to send to the program Will I need to modify my main method to allow parameters to be passed to it as well cheers Jason, That's correct, you will need a main method that ...Show All
Visual Studio Express Editions Object Reference Issue
I'm interacting with the Revit API (for any who know what that is). The function I'm trying to call is Public Funcation LoadFamilySymbol(ByVal filename as String, Byval name as String) As Boolean . Now in the object browser, this has a pink cube next to it (and I'm not sure what the icon means) My code is as follows: Public Function Execute( ByVal commandData As Autodesk.Revit.ExternalCommandData, ByRef message As String , ByVa ...Show All
Visual C# Having a container in a usercontrol receive control placements...
I have a graphical usercontrol that draws custom borders, and I need to allow docking, so my solution was to create a secondary panel within the usercontrol that was sized appropriately based on the border that controls could be dragged within during design time. The problem is I just can't get this working. I tried overriding the ControlCreate/Add functions and setting the .Parent, but no go. How can I have a container within my user cont ...Show All
Windows Forms NumericUpDown Controls...how to select the text when it gets the focus
I am looking for a way to select the contents of the control when tabbed into/focus....it does not have SelectionLength/SelectionStart properties.... have the same problem but am using vb.net ...is there any solution for my problem... am new in vb.net...if there is a solution for me pls answer my question clear:P sorr ...Show All
Visual Basic User Control not updating
I have a control that I created in VB .net 2003. It works fine for the most part in 03. I went to upgrade it today to 2005. The upgrade seems to have gone fine. I have attached a test app to the control for testing purposes. But since moving to VS 2005 when I make a change in the control and build the solution the change is not made in the test app. I've tried deleting the control and putting it back on, and e ...Show All
.NET Development how do I set the port number for a web service
I have a simple web service setup, and when I run http://localhost:4161/OpenHealthServicesSimpleSampleServer/OpenHealthServicesSimpleSampleServer.asmx WSDL I get back: .... < wsdl:port name =" OpenHealthServicesSimpleSampleServerSoap " binding =" tns:OpenHealthServicesSimpleSampleServerSoap " > < soap:address location =" http://localhost:4161/OpenHealthServicesSimpleSam ...Show All
Visual Studio “Error reading from file” when try to access VSS
Hi Alin, I might need your help. I’m having a problem regarding the Visual SourceSafe. Before this it works perfectly. The problem arises when one of the developers claiming that they can’t access the VSS (previously was OK). It says “Error reading from file” . Before this, usually if there’s an error regarding VSS it must be the pointing from client to the srcsafe.ini file at server is not corre ...Show All
Visual C# How do I get memory back when I don't use a FORM
Hi all I have a form that I only need to load if it meets the certain criteria.. I am using Ezula^ Ezula1 = gcnew Ezula(); And In the InitializeComponent(); I have some functions to determine if the form needs to run if not return false....... How do I deactive and unload the the gcnew Ezula(); from memory........ I have not done a form_load yet,,,,,, public:Ezula(void){ InitializeComponent(); // //TODO: Add the ...Show All
Smart Device Development Beginning a new Mobile Development effort
As the Architect for a very large company (900 locations), I am tasked with preparing our development teams for development of Mobile applications to be used in our stores. I am currently running a project which will solve issues such as deployment, security, and error handling, and will set standards for development. I'm looking for resources (either human or other) which will accelerate my learning curve and help me to provide good guidance ...Show All
