CoffeeAintDoinIt's Q&A profile
.NET Development Dynamically update project refrence
I have a vb.net class project.It is referenced in multiple exe projects. Now if I recompile this project my version number changes. Can I do any thing like recompile my dll application. Then I just copy the the dll on my exe project's bin directory.And I shouldn't need to recompile my exe application. What I need is that refrence to my executeable project should dynamically updated. Can I do that by any mean I am using VS2003 Hi there, sure! I don't have time right now to write an example, however i'll link you to one that does! Basically by using an interface, you provide enough information for the client to be able to interact with the server. When i first started using remoting I did it the other way and of course when you ma ...Show All
Visual Studio 2008 (Pre-release) OnChildAdded/removed event
I have to know when my object (derrived from FrameworkElement) get or lose it's childs. How to implement it Are there any existing events might help with this case Thank you Actually the AddLogicalChild and RemoveLogicalChild derived from Canvas is marked as protected internal, so you cannot override them, the only way to do it is to sorta of hide them from the inheritance hiararchy, that's why I add the new keyword here. Sheva ...Show All
Windows Forms How to copy Tabpage
Hello friends, I have a winform with two tabcontrols each having 2 tabpages. How can I copy a particular tabpage and paste it fully in MSWord etc Thanx in advance Jim Blackler wrote: kewlbuddy wrote: There are some Teecharts on the tabpage If you are referring to a commercial product called TeeChart I suggest you contact the vendor for information on how to copy and paste from their controls. Its a commercial product..but anyhow how a tabpage will be copied if it has some buttons and textboxes etc..(like a print screen image) and paste it in MSWord ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Oriented bounding boxes
Tried rotating my bounding boxes, when my picking stopped working I realized they're meant to be axis aligned only. Can anyone point me towards code for non AABBs that would also support intersection with a Ray object Cheers To intersect a ray with a box that isn't axis aligned, you can just transform the ray into the space for the bounding box (which is the space of the object that uses the box). You can do this by transforming the ray position by the inverse of the object's world matrix, and the direction by the inverse transpose of the world matrix. I don't have any code for you but if you've already written some sort of intersection code then the only changes you need to make are: Don't create an AABB Perform the inverse transf ...Show All
Windows Forms datagridview to xml
Hi, I was wondering how i can overwrite an existing xml file when a row is deleted in datagridview with the data that currently is in the gridview The same data in an xml file are displayed in this datagridview. So i want to keep the xml file updated. This is what i got so far: this.grid.RowsRemoved += new DataGridViewRowsRemovedEventHandler(grid_RowsRemoved); private void grid_RowsRemoved(object sender, DataGridViewRowsRemovedEventArgs e) { foreach(DataRow dr in this.commands.Tables[0].Rows) { if (dr.RowState == DataRowState.Deleted) { this.commands.Tables[0].Rows.Remove(dr); } } this.commands.AcceptChanges(); } Can anyone help me with this Thanks in advance! -- modified at 9:30 Friday 15th December, 2006 ...Show All
Software Development for Windows Vista Vista Logo Compliance
Hi All, I am currently working with Vista Logo Compliance for software need following information urgently. Please help. What is the process of getting Vista Logo Compliance for Software ( Applications). How can one apply this to any application for getting the same IS there any example available or data found that can be shared for getting Logo compliance. Is there any tools available for getting Logo Compliance. What approach one should follow to achive the same. What are the best practices for getting Logo Compliance. Whate are the Check list for getting Logo compliance. Regards, Ajay Kumar Hi Ajay, This would be your starting point: http://microsoft.mrmpslc.com/InnovateOnWindowsVis ...Show All
Smart Device Development Pocket PC simulator or Real Device
Hi, pocket pc simulator works well or do i buy a device. if any body experienced what sort of problems occurs using Simulator while developing a WiFi application or does it work well. Regards, Z. M. Khan The Device Emulator as shipped with Visual Studio doesn't support WiFi emulation till date. Hope this helps. -Thanks, Mohit ...Show All
Visual Studio Tools for Office Guidance on passing data to VSTO docs / spreadsheets
I have two vsto apps. One in Outlook, one in Word. I would like to pass some data about the current item selected in Outlook to the word document. If this were two standard .NET apps, I could use args to pass the data, .NET remoting, etc. When faced with VSTO, the standard command line is that of Word, not a .NET assembly. In it's simplest form, I would like to do: Get selected item in Outlook and put in variable foo Do a 'Process.start' on word and pass variable foo In the VSTO startup of the doc, parse variable foo Is this possible or is there some recommended alternative for doing this standard pattern Thanks Cindy! That is the exact same scenario and his discovered sound like what ...Show All
.NET Development how to configure firewall to allow socket communication
hi forum how to configure firewall to allow socket communication between server and client using c#. thanking you in advance See this post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=946330&SiteID=1&mode=1 I hope this will help! Best Regards, Rizwan ...Show All
Visual Basic Datagridview selected row problem
I everyone... I've got a problem at a datagridview row seletion. I've got a function to search ID in all datagridview rows, and when it find the correct row with my seach id, i need to select the row. At this point, no problem: For Each row As DataGridViewRow In dgvContas.Rows If row.Cells("CodigoConta").Value = CodigoConta Then 'selecciona a linha correspondente ao codigo de conta dgvContas.Rows(row.Index).Selected = True 'Altera a area de visualizacao de forma a mostrar 'a linha seleccionada &n ...Show All
Windows Forms My row headers won't display.
I'm playing with the DataGridView. I have a form with a blank DataGridView (no predefined columns) and a button. Clicking the button executes the logic that fills the DataGridView. Basically, there are 10 columns and 10 rows. The column headers and cell values are displayed but I can't get the row headers to show. In debug I can see the values for this->dataGridData1->Rows[0]->Headcell->Value being set properly but they don't display. array<String^>^diffPressRow = gcnew array<String^>(10); for( int i = 1; i <= 10; i++ ) { for( int j = 1; j <= 10; j++ ) { double flow = 100000.0 / j; diffPressRow[ j - 1 ] = flow.ToString( "F2" ); } this->dataGridView1 ...Show All
.NET Development “SchemaImporterExtensions" helps you not to modify the Reference.cs file each time you "Update Web Reference"?
Hello everyone, I have read that “SchemaImporterExtensions" can modify the way the proxy class is generated. I currently need that ability of modifying the proxy class generation but I don't know how. My case is the following: 1- I am using the same ClassLibrary on the server and client side. 2- Web Methods are returning objects of types that exist in the ClassLibrary (example: ClassA). 3- When I “Update Web Reference” in Visual Studio 2005 it creates a Reference.cs file. It implements a new dynamically generated version of ClassA (from the WSDL), which only contains private fields and public properties with the same names as the alternate properties in the original ClassA of the ClassLibrary. 4- Each time their would be ...Show All
SQL Server Error passing parameter using API
I have a report that was working fine using the api to pass in parameter values (begindatetime (datetime, prompted), enddatetime(datetime,prompted), and MachineNbr(string, prompted), until I added a new parameter ServerName (String, not prompted). We are getting the following error when running it through the custom web app,but we don't get it if we run it in Report Manager: Can anyone give us any clues as to what the problem is. This report requires a default or user-defined value for the report parameter 'TMSServerName'. To run or subscribe to this report, you must provide a parameter value. ---> We have already tried to set a default value , but we still get the error. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. isometric view
i can use a isometric view with the xna Yes, there is nothing stopping you from writing a game with an isometric view. You will either accomplish that by setting a particular camera position or by creating sprites that use an isometric view. But yes, both methods are entirely possible with XNA but XNA does not do anything in particular to help you accomplish an isometric view. How you achieve the view is entirely up to you. ...Show All
.NET Development How to get user identity while invoke a Web service Method
In my case ,I just want the method in web service be invoked by Authenticated user. for example. [WebMethod] public string HelloWorld() { if (HttpContext.Current.Request.IsAuthenticated ) return "Hello World"; else return "Not Authenticated"; } TestWebService.Service service= new TestWebService.Service(); //before i calling this method ,the IsAuthenticate equals true; string hello=service.HelloWorld(); when i calling this method , the IsAuthenticated equals false. I don't want to pass the user name and pass word every time i am calling. so anybody can give a answer any help is great appreciate. Well, the service doesn't know ...Show All
