Grant Fritchey's Q&A profile
.NET Development HOw to monitor Router and Switch for Traffic purposes
Question : IS there any way in dotnet that i can access router and switch to monitor how much traffic it is generating What are ways to do it how to do it can anyone help me ...Show All
Software Development for Windows Vista WorkflowMenuCommands question
Hi! I'm rehosting the designer and I'm trying to get the lower right pan context menu to work. I'm almost done but whats missing is the command where you get your arrow mouse pointer back (its the "Default" command under the "Navigation tool" command). I can't find which CommandID it is... Does anyone know Thanks! Take a look at Vihang's re-hosting article found here . The code that can be downloaded at the top of the article implements all of the menu items. The one you are looking for is the following: private void defaultNavigationMenuItem_Click( object sender, EventArgs e) { this .workflowDesignerControl1.InvokeStandardCommand( WorkflowMenuCommands ...Show All
Visual C# Custom ScrollableControl, How do you bitblit to minimize flicker on scroll?
I have created a C# class derived from Control that I want to mimic Scrollable Control with custom Scroll bars and splitter windows. My problem is with handling the scroll functionality of the window. I want to pan what is already drawn up or down, then invalidate a small rect at the top or bottom. Just like "ScrollableControl" would do. How do I get the image in the Graphics Object to essentially bitblit down 5 bixels Then I can call invalidate with a small rect so paint will not have so much work, and the flash is minimized. ...Show All
Windows Forms Disable Shortcut keys for entire form
Just a quick question that I suspect is an easy one. I have a form with a menustrip containing lots of shortcuts. Sometimes while the application is processing data I want to disable all the shortcut keys. How is this done most easily hm but that does not disable the shortcuts for the individual MenuItems contained in the menus. The only way seems to be to loop through them and disable them one and one, unless there is someway of preventing the entire menu or form from listening to shortcuts.... ...Show All
Visual Studio Express Editions Saving Data
Hello, I have a form and I can use the data binding tool with my access DB with no problems but I cannot figure out how i save things manually, I want to save specific data to specific columns in a table, could somone point me in the right direction or post some kind of example Thanks! heres what i have so far "which doesnt work" Try Me .Validate() Me .ContractsBindingSource.EndEdit() TextBoxVat.Text = Me .InvoiceDetailsTableTableAdapter.Update( Me .db1DataSet.InvoiceDetailsTable.Address1Column) MsgBox( "update successful!" ) Catch ex As Exception MsgBox( "update failed, the data may already exist please check and try again." ) End Try ...Show All
Visual Studio Team System Another TF30177 Error: Team Project Creation Failed
I've got TFS installed to a single server, and am now trying to create my first project. When the project creation is almost finished, I get the following error in the New Team Project Wizard: Error Unable to connect to the Windows SharePoint Services at TRUG Explanation The Project Creation Wizard was not able to connect to the Windows SharePoint Services at TRUG. The reason for the failed connection cannot be determined at this time. Because the connection failed, the wizard was not able to complete creating the Windows SharePoint Services site. User Action Contact the administrator for the Windows SharePoint Services at TRUG to confirm that the server is available on the network. Also, you might ...Show All
Windows Forms System.NullReferenceException at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
Hi, I have a windows forms application deployed to a citrix server, which produces the following error about once per day. I can't reproduce the error in my debugging environment as it only seems to happen when run over citrix and only very occasionally. The complete error is below: System.NullReferenceException: Object reference not set to an instance of an object. at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Wind ...Show All
Visual Studio 2008 (Pre-release) Binding to events
I have a Treeview and when the selected item changes I would like to set the source of a ListBox to be the selected item. Is it possible to do this completely in xaml I don't want to write any c# to do it. Thanks I did try that but wasn't 100% sure it was ok syntax. Did some investigation and turned out my data wasn't loading up. Fixed that and it works great now. Thanks very much! ...Show All
Visual Studio Runtime inserting of Picture Object in Asp.net (Urgent)
We have already created reports we got solution to provide picture location at runtime Now we want to insert picture object at runtime How to do that we are not creating report at runtime, only we want to insert picture object at runtime in existing report It's urgent Thanks in advance inserting a picture is considered part of the report creation api. You will only be able to do it if you have a RAS server and the RAS SDK. The only way you can do it without this is if you insert an ole object into the report in the designer, and then pass the image to that at runtime. ...Show All
Visual Studio How to Print Server Report Directly.
hi, i have reports deployed on report server. My application is accessing these reports using Report Viewer Control. I want to provide a button on the form that when clicked print the report directly. what am i doing is , i use reportviewer control and after calling RefreshReport() i call this method PrintDialouge(). This gives me exception, "Operation is not valid due to the current state of the project". Can any one have a solution for this how can i print server report directly. 'Firstly i use a form on which i place ReportViewerControl objReportViewer = New frmReportViewer() 'Report Source is a property of the form in which i m setting up reportname , and on the form where ReportViewerControl is place ...Show All
Smart Device Development Process.Start
Greetings everyone about C# VS2005SE Is there a Process .Start or similar methode in CF ver 1.0 that's .Net CF Ver 2.0 to .NET CF Ver 1 when I change the target platform from Mobile 5.0 to PPC2003 Compiler complains Error 1 The type or namespace name 'Process' does not exist in the class or namespace 'System.Diagnostics' (are you missing an assembly reference ) F:\My.VS.Projects\DeviceApplication1\DeviceApplication1\Form1.cs 27 32 DeviceApplication1 I tryed to add a reference but I cannot find one. TIA Jack No, there's no Process class in NETCF V1. P/Invoke CreateProcess() or ShellExecuteEx() or use OpenNetcf.org's wrapper ...Show All
SQL Server Why the Results of Cluster Alogotytm are coming in the following way
Hi I have data in the following format Custid Age Product 101 25 ProdA 101 25 ProdB 102 25 ProdA 103 50 ProdC 104 55 ProdA 105 50 ProdC when I am using Clustering algorithm with 2 clusters and trying to perdict the product column the results are coming as below Custid Age Product PerdictProd 101 25 ProdA ProdA 101 25 ProdB &nbs ...Show All
.NET Development using webusercontrols in many applications
Hi every one, I have many number of web applications with the same designe and some functional diffrences. Every time when i make a small change i need to change all the applications. So i am planning to create a new application for the only webusercontrols and use those controls in all the applications. I was not able to call these control in other applications. How to call the webusercontrols in some other applications. Please help. I am waiting for your help. Thanks in advance. I'll assume you've create a project that builds the webusercontrols.dll assembly. The easiest way to get started: 1. Open the project that should use webusercontrols, say it's called WebApp 2. Click File + Add + Existing Project and select the ...Show All
.NET Development How to keep two MDAC versions running without conflicting?
Hi! I've to run a .net App developed in VS2003 to run on aNT4.0 Client.But lot ofapplications on the NT system are using MDAC2.1. If I install MDAC2.81 on NT, will there be any threat to my exisiting applications.If so can I install MDAC2.81 without conflicting the earlier version MDAC2.1,can someone help me with this Its Urgent for me Thanks in advance regs, anji A newer version of MDAC will always over-write the older version. MDAC is designed to upgrade and not run side-by-side. In most cases upgrade will not cause any existing problems with the system but it is always a good idea to test this out before deploying a new version of MDAC. I'm surprised if you wrote a data application in .NET that ...Show All
Visual Basic Show Pictures in rows (e.g. Emoticons)
Hello I have a number of small picutures and all of them has the same size. How can I show them in rows in VB2005 Look at this picture: http://www.onh1986.3000mb.com/vb.jpg And when I click one, I want to show it in a separate picture box. How can I do it Thanks Thanks "rkimble" it's working and it's a good idea. CumQuaT: I took the example and kept it. Thanks you too very much. ...Show All
