regthesk8r's Q&A profile
.NET Development Marshalling on different channels.
I'm wondering if it's possible to choose the channels to use for marshalling an object Say I have 3 server channels registered, Tcp, Ipc and Http I have 2 objects, MySecretObject and MyNotSoSecretObject in the same application domain and I want to marshal both of them, for example using RemotingServices.Marshal. How would I specify that MySecretObject should be marshalled on the IpcChannel only I suppose I can specify protocol in the uri when marshaling too But what would I do if I wanted to marshal MyNotSoSecretObject using Http and Tcp, but not Ipc Ah ok;p I wondered if that was the case, "name" would be a better parameter name;p So I guess I can't even restrict an object to a si ...Show All
Windows Forms Custom events witch object type propertys
I am making a user control where 3 of the propertys are of the type Voltage, witch is a self defined object. consisting of a float and a enum. When one of the voltages changes I want to trigger a custom event to notify the program about this change. I though I could do that like a normal attribute like this: public partial class Switch : UserControl .... private Voltage a= new Voltage (); .... public Voltage A { get { return a; } set //This is never reached if I change a value like Switch1.A.volts=10. { if (a != value ) { a = value ; OnVoltageChanged( new SwitchEventArgs ( this , state, a, b, c)); } } } .... public event Switc ...Show All
Visual C# WebCam Capturing
Hi All I need to Capture Webcam Images at regular intervals and save them to disc,i am developing a window based application using Visual studio 2003 and Dotnet Framework 1.1 , i really have no idea of how to do it, i welcome all with their valuable suggestions Thanks Can anyone help me please. I have applied the same source code. It does work well with 1 webcam connected in my computer but if I have 2 webcam. I can only use 1 at a time. After the second run, program will automatically detect the last used camera for me. You cannot fix which camera you will use. Only if you open the same program while another one is running it will ask you to select Capture source so you can select second camera. Does anyone know how to work aro ...Show All
Software Development for Windows Vista Microsoft Office SharePoint Server 2007
Problems with installing Microsoft Office SharePoint Server 2007 asking for Windows Workflow Foundation Beta 2. I am running a VMWare with Windows 2003 SP1 trying to install Microsoft Office SharePoint Server 2007 All required System Requirements such as: Microsoft ASP.NET 2.0 Internet Information Services (IIS) Windows Workflow Foundation Beta 2 Simple Mail Transfer Protocol (SMTP) service; Have been installed. Installation is saying it is missing Windows Workflow Foundation Beta 2 Initially I thought it was related to not having Workflow installed, which I have now installed, but still no joy. Same error is coming up. No error in event logs after installation of Workflow. Any ideas would be great. Jin-oh Make sure that you instal ...Show All
Windows Forms Another ListView Question
i have setup a ListView control after much hard work but stumbled onto a problem, when you add new items then close the application then run it again the items are no longer remembered should the ListView control remember whats been added and if so how can it be done thanks btw im using MS VS 2005 C++ i like the look of the new ListView but i personally think it wasnt very well thought, for instance you cant save anything without having to serialize it (even though it has an add/remove function) i mean whats the point in having an add and remove and clear if it doesnt actually add/remove or clear anything doesnt make any sence at all. i think they should release a new version that does what its supposed to so such as add and remove. ...Show All
Visual Studio Visual Studio 2005 disapears when
When I try to get latest code recursevely from VSS at solution level, visual studio 2005 disapears. I have to go to indivisual projects to get latest code from VSS. Has anyone experienced this behaviour Your help will be appreciated. Thanks, Ishfaq Thanks Alin, I found the solution. The service pack1 Beta for vs 2005 takes care of it. The service pack is very slow and takes very long time to install but it takes care of it. It only happens at solution level and does not happen on individual projects. By the way we have C++ COM components, c# service components, web services and ASP.net applications under on main solution. Ishfaq ...Show All
Visual C# Invoking windows application from web application
Can I open an windows application from web application. ...Show All
Windows Forms Setup Project and Prerequisites
I'm creating a setup project that will install a Win Service in VS2005. I have a few questions. 1. Will the installer start the service installation (generated from the Installer.vb code) 2. I have another component that needs to be installed before this service is, how can I add that as a prerequisite Thanks, Sam 1. in the Windows Service project there's an "ServiceInstaller" object, you might select it at the bottom of the property grid when you select the service component. When you get to the code, you override the Install method. 2. If you use Bootstrapper Manifest Generator at: http://www.gotdotnet.com/workspaces/workspace.aspx id=ddb4f08c-7d7c-4f44-a009-ea19fc812545 you can create and add your own pre-requi ...Show All
Visual Studio Express Editions problems with rendering huge reportview`s
hello, Does anyone have any ideea how to render in real time (<1 minute) a report with more than 30 000 pages are there any built in functions that render only, let`s say, 1000 pages, and when I go to last page (page 1000) the render continues until page 2000, and so on i tryed to use the funtion: reportViewer1.CancelRendering(30000); but it`s not working so, any ideeas thx I used a .rdlc report but it`s the same problem with a crystal report too I`m using c# (vis2005) no need to post on an asp.net forum the thread it`s in the right place, but thx for your suggestion If you can give an ideea that would be great ...Show All
Visual Studio Team System Question regarding how Team Foundation stores project data
I am working on a Team System pilot at my company and the questions had come up about how Team System stores project data as compared to Perforce as the company is currently using it for souce control. Thanks in advance for any insights :) Bob Hanson TFS uses SQL Server 2005 for storage. Perforce has a custom back-end, don't recall the details. Both store versions (and branches) as diffs. ...Show All
Visual Studio Express Editions I am stuck! PLEASE HELP!
Hi! Well i am trying to make a browser. I want to let the users change their home.But i cant find one single word!Heres the code:(thanks!) private void button7_Click(object sender, EventArgs e) { webBrowser1. (textBox1.Text); } The spot is marked with: thx leo Im making a browser. I made a textbox with a button. Look: when users of my browser type in this textbox a website and click on the button the website typed in th textbox gets the Home of the browser. get it ...Show All
Visual Studio 2008 (Pre-release) Mouse.GetPosition & ScollViewer Q
Hello, I wonder how Mouse.GetPosition(myElement) gets calculated for the elements hosted within a ScrollViewer Any links would be beneficial. Thanks A small clarification - I'm catching this event at one of MyElement's ancestors (a parent of a ScrollViewer), and it's a bubbled event, if that makes sense. ...Show All
SQL Server Giving understandable name to excel file when exporting with RS
Hello every body, I'm trying to export excel file on with reporting services. My file has about 50 sheets and reporting services gives them the default name "feuille1, feuille2, feuille3, feuille4 etc....). I would like to give a valid and understandable name to that sheets. In fact i would like to give the name of each page to my sheet. The name of the page was specified in the report query. Could someone help me please... Thanx I do not think that is configurable but you can try asking that question on the SQL Server Reporting services forum: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=82&SiteID=1 Even though it might not be the most fun task, you could always manually rename those sheets to have mo ...Show All
SQL Server How could I notify new subscribers with previous data?
Hi! I have my NS running. Subscribers are reciving notifications right. How could I send past notifications to new users . Could it be possible I think we have all the previous data (the event data table as the notification table) what do you think is the best way or approach to do it i.e: Insert an action item asigned to a user in my DB. If the user has a subscription to it, NS generate a notification and send an email to the user. In my case this user is not a subscriber yet, I add him 2 days after. How could I send the notification thas had been created for him before Regards ;) If I ever have this problem, I will probably pla ...Show All
Visual Studio Hiding Explicit Interface Implementations
I could have sworn that somebody has asked this before, but I don't find the thread anymore and I can't remember the answer... Is there a way to hide explicit interface implementations from the documentation generated using Sandcastle I'm working on support for this and the other NDoc Document* properties. I've got properties in the project for these but they are hidden at the moment as they aren't implemented yet. In the meantime, you can modify the TransformManifest.bat file in the .\Templates folder by adding the additional transform file if needed. Eric ...Show All
