Darko01's Q&A profile
Visual C# Instanciate class from independent assembly
Hi, I'm trying to do a somehow dynamic application. It's like a calculator of functions. A function has parameters (in an XML file) and a class that loads them and does some tricks. So the scenario is: the user opens an xml file and the app instanciates the class it refers to. Now, this works just fine if the class is in my original assembly (by Type.GetType("name of the class in the XML"). But, what if the user wants to add another class i ...Show All
Visual Basic databindings to datagrid
How do I bind a datarow array (mydatarow()) to a datagrid (mydatagrid) at run time. Something like: mydatagrid.databinding ... HI Atin I think Better you can create a datatable, Put all the Rows in the DataTable. Then you Can Assaign DataTable to DataGrid as usual. ...Show All
Visual Studio Express Editions Am I missing something on Install
Bought VB 2005 express edition and started install, it installed Net framework,Web developer MSDN 2005, But never Visual Basic!! How many disks are there in the package I have three, the install disk, a getting started disk, and a Cobis image disk.. I am A total loss on how to install the VB Part. Help!!! Dave Are you sure its VB Express It looks like it might be the Visual Web Developer edition. What's the ...Show All
Visual C# C# control question
I have created a movable picture box using the following code: picBox.Location = new Point (x, 190); Where x is a variable. My question is this, why is it that you have to create a new Point class in order to change the location of the picture box. Is there no Get() or Set() functions. Also is Location a pointer to a Point class, and is the previous Point class deleted when the new class is assigned or is it left for garbage colle ...Show All
.NET Development Reading XML using XMLTextReader
Hi all, I'm a dev newbie and need some assistance with something i'm working on. I need to read through an XML file and output the values of only certain elements. Say my xml file looks something like this: <element id="1"> <text> Blah blah blah </text> </element> <element id="2"> <provide name="Access"> <defaulttext> Blah-di-blah </defaulttext> </element> So b ...Show All
.NET Development Remoting Serialization Issue
I've got a wrapper class for MyClass, called RemotableMyClass (which inherits from MarshalByRefObject). I've got an object that is not marked as serializable I'm using inside MyClass (which implements ISerializable to "take care" of that). In the server, I have... ChannelServices.RegisterChannel( new HttpChannel(1234)); RemotingConfiguration.ApplicationName = "MyTest"; ObjRef objRef = RemotingServices.Marshal(instantiationOfRem ...Show All
Visual Studio Team System Release Candidate in January?
Jeff Beehler's posted in his blog that we could expect a release candidate build of TFS in January. Can anyone comment on how solid that is.... can we really expect it in January We are still finalizing what the date of the RC will be. We have had a goal to get it out in Jan but that is not a guarantee. There are a few things we are basing our date on: We are finishing up another big chu ...Show All
Visual Studio Team System VS 2005 Pro with TFS client and source control
This is probably a FAQ but having read the licensing paper and http://msdn.microsoft.com/vstudio/products/compare/ , I'm not 100% sure if I can use work item tracking and version control without a VSTS SKU (in the scenario where developers only version control). Yes, the Team Explorer / Source Control Explorer functionality is exactly the same. However, integration with VSTS-only features won't work, e.g. a checkin policy that required ...Show All
.NET Development Encrypting sections of Web.Config
I have a websever running IIs 6.0 and the .Net 2.0 framework. I'm trying to encrypt sections of a web.config file on one of the websites that I host on this server. I have about 20 different websites each with their own IP address. From several MSDN docs and posts here and there I've learned that I can use the aspnet_regiis command to encrypt certain sections of my web.config. I'd like to encrypt the sections that contain passwords - such as ...Show All
Visual Studio Tools for Office Invalid Characters for Excel Sheet Names
i was not able to find in documentation what are Invalid Characters for Excel Sheet Names. I was able to find few like , * etc. but need a complete list to avoid any runtime errors before Renaming sheets. The code above looks right as far as I know. But please post this question on the Excel programming forum for a sure shot answer. http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.pu ...Show All
Visual C# Digitally sign a c# web form from a CaC (smart card)
Does anyone know how or does anyone have some sample code on digitally signing a web form Right now we have a manual process on our network accounts. Someone fills out the form on the web, prints it and then faxes it to us. I'd like to make this as automated as possible. Thanks, Frank Hi, Thanks for your posts on MSDN forums. Basically, it doesn't make sense to sign a web form in your source code, for the se ...Show All
Smart Device Development cannot install cab-file on vpa iv or mda pro
hello, i have the following problem: when i try to install my cab-file on the VPA IV (also called MDA PRO)- windows mobile 5- i get the error message "Installation von test.cab fehlgeschlagen." I don't know what the exact wording in english windows mobile is, but it means that the installation couldn't be finished. There aren't any explanations what the reason could be. any suggestions ...Show All
Visual Studio Express Editions System Volume Control
Please can someone help me with Windows system volume! I have built an app that contains a slider control for which i would like to able to control Windows system volume from. I have found some stuff on the net but it all seems to deal with the wave output instead of the volume control. I am coding in CSharp. I thought these types of things were suppose to be easy in .net Thanks for any help in advance Mark ...Show All
Visual Basic checking properties of folders
Hi all, I am trying to run some processes to tidy up our SAN storage. A couple of the things I am struggling with are : 1) Checking the security of the folder properties to check who the owner is 2) Checking the security of the folder to check if "Inherit" is ticked 3) Search a text file for specific text I already have a process to run SETACL to fix ownership and permissions, however this ...Show All
Software Development for Windows Vista Problem with Lab11 Exercise 2
Hi! I'm a newbie and this is my first post! and here come's the question: I try to run the Lab11 Exercise 2 (Dynamic Update in Workflow). Workflow changes itself dynamicly, but code1 activity in Workflow2 never executes. If i graphical debug the workflow, in the workflow2 activity comes a validate message up that says "property Workflow 2 not set", but in the property toolbox you can see there is "DynamicUpdateInWorkflow.Workflow2" as Ta ...Show All
