devinr's Q&A profile
Visual C++ VS .Net 2005, how to disable intellisense...
Hi I am really frustrated with the performance of VS .Net 2005. This is because I always see at the bottom "updating intellisense..." and it uses 60% to 70% of CPU. How to disable this updating of intellisense... Please this is making Visual studio unusable. Thanks Chandra I have the same problem (and may be working for the same company) My solution has more then 30 projects consisting of a total of >2500 cpp files. Each project runs a makefile in the pre-build event that automaticly builds header files from cpp files based on information in macros imbeded in the cpp code. Each cpp file contributes to up to 4 header files so if the solution were searched the same defini ...Show All
Smart Device Development ORM tools for the compact framework
Hello Everyone, Haven't found much info on this. Is anyone currently using an orm tool such as nhibernate for their compact framework apps Thanks! Ryan ORM is a nicety to speed up development. In the embedded world the speed of the app is generally more important. I wish I could use ORM but the apps I write generally have a lot more going on at the same time and I can't afford the performance hit along with the rest of it. I haven't tried NHibernate on CF but I don't assume it'd be that quick, I have tried DB40 though and that's can be about as reasonable as SqlCe ( e.g. too slow ) in a lot of situations so it might be worth checking out (requires a license for commerical projects). ...Show All
Visual C++ Reg Audio and Video Recoding
Hi all, I do have a query to u all. I want to record video and audio from thier corresponding port to my hard disk. (ie similar to sound recorder provided by microsoft) Do we have any api calls to do the same. advance thanks to u all. with regards, Chezhian This is a C++ forum. Please post multimedia programming questions in one of the multimedia newsgroups here: http://msdn.microsoft.com/newsgroups/ Thanks, Brian (OTP) ...Show All
Visual J# Two embedded resources, one is multi-language java resources
Hi; I need to have two .NET embedded resources in my dll. One is a resx file created by vjsresgen and includes java resource files for 22 different locales. The problem is that when I run in the locale Spanish Mexico (I have resources_es.properties but not resources_es_mx.properties) I get an exception on calling ResourceBundle .getBundle( "resources" ); I must have both embedded resources. How can I make this work thanks - dave Hi Dave, I am aware of the bug and we had provided a workaround for this issue at that time. The workaround was: Move the xml file to a resx file and then consume it. Hope this helps. Regards, Ritesh. ...Show All
Visual Studio Team System Explanation of branching and normal workflow
Can someone describe more about how branching works from a developers perspective Or is there already information about this somewhere that I haven't found This would be very useful for us coming from ClearCase / Subversion / some other version control system. What I really would like to see is an article or blogpost about how two developers working with a project/solution would do to create a branch, let one developer use this branch for a few days while the other is continuing on the normal main branch. After a few days a merge should be done. I would like to see the steps necessary together with an explanation why this is the best way to do it if there is more than one way. Suggested outline: - Assume both developers has thei ...Show All
Software Development for Windows Vista Como puedo manejar 2 tarjetas de sonido con DirectShow
Hola Por favor desearia saber como puedo manejar o direccionar el sonido a cualquiera de las dos tarjetas que dispone mi maquina. Estoy realizando un trabajo en VB6 con DirectShow. Agradezco de antemano cualquier colaboracion Richard. ...Show All
Windows Forms DataGridView wont show new entry..until i run it again
Guys..i'm new here...and new with VB2005..im having this problem..that my datagridview wont show the new entry(i have a reg page) until i rerun the program...can anyone please look it up..tnx very much..could really use some help.. Form1.vb: Imports System.Data.OleDb Public Class Form1 Private AccountsDataSource As New BindingSource(My.Application.DAL.dbDataService, "Accounts") Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.dg.DataSource = Me.AccountsDataSource End Sub Private Sub dg_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles dg.CellContentClick End Sub Private Sub Fill_Click(ByVal s ...Show All
Windows Forms Fliping a label control like apple(mac) date dashboards
I saw a date dashboard controler on a apple computer and want to create the same type of controller using .net for the windows. On Apple computer when you click on the Clock control it will filp the clock and allow you to enter different time zone and area. I am trying to create the same type of control. How can i flip a label control so that i can add button and text box to the label controls to ask some user inputs. Thanks in advance Hi, bestin It seems that you can do it with the panel. For example when user click the panel and a textbox displays, that can be implemented like this: panel1.controls.add(new textbox()) (in the click event of the pa ...Show All
Visual C# Answer Dynamic Code Generation
I was just wondering if it was possible to take a string that contains C# code and compile and use it at runtime. For example if I had a string like this: String strCode = @" class SomeClass : SomeBaseClass { private string firstName; private string lastName; public SomeClass() { this.firstName = ""John""; this.lastName = ""Smith""; } ... Properties ... }" ; I have been reading about the CSharpCodeProvider class, however it doesn't look like you can just compile a string containing code. just check out the link http://support.microsoft.com/kb/304655 it will shows the sample how to do the compilation at runtime. ...Show All
Visual Studio 2008 (Pre-release) Clickonce prerequisite 3.0RTM
Now that Framework3 is released I expected that the SDK would put the correct bootstrapper files on disk such that we could include Framework3 as a ClickOnce prerequisite. This does not appear to be the case. I can just dump the files in the directory where it will look for them, but I was just wondering what the reccomended course of action is. The .Net Framework files are not distributed with the Windows SDK or VS Extensions. You'll have to copy them to the right place to publish your project. These are the steps to get click-once prerequisites to work after installing the November CTP VS 2005 extrensions. From the readme: Setup Issues: If you want to use the Publish feature for .NET Fra ...Show All
SQL Server invalid column name 'rowguid'
Hi all, I'm new to replication and database management so I will like some understanding and guiding as this is a new task for me. I was given a copy of a database with merge replication on it and doing allot of reading and using some scripts I cleaned replication (or so Im thinking) and tryed to use it again on the ms-access front end. When I try to update some data I get "invalid column name 'rowguid'" , but no such column exist in my database as it was dropped. Any help on this thanks George. Thanks to all. I managed to go over that problem (it had nothing to do with the front end!) I found some scripts at http://www.replicationanswers.com that were very helpfull. ...Show All
Visual C# Session expiration
Hello, I have a base class which is inherited by every page in my project. On page_load I call checkSessionExpired(); which does the following: private void checkSessionExpired() { if (Context.Session != null) { if (Session.IsNewSession) { string szCookieHeader = Request.Headers["Cookie"]; if ((null != szCookieHeader) && (szCookieHeader.IndexOf("ASP.NET_SessionId") >= 0)) { Response.Redirect("sessionExpired.aspx"); } } } } I don't understand why its not working, but Session.IsNewSession I thought would be true the very first time the browser loads up. This is not the case, its false. Where does it get set to true Or can I manually set it ...Show All
Silverlight (formerly WPF/E) Use the Width/Height of parent object in XAML
Is there a way to make an object use the width and height of its parent without having to manually assign the same width and height values For instance, if you have a Canvas sized 100 x 100 and then you add a Rectangle to that Canvas, can you make the Rectangle automatically give itself the size 100 x 100 Maybe something like: <Canvas Width="100" Height = "100"> <Rectangle Stroke="Black" RadiusX="5" RadiusY="5" Width="*" Height="*"/> </Canvas> Ah, ok. thanks. Guess I'll just have to stop trying to be lazy and put all the sizes in manually :P ...Show All
Visual Basic Application Settings
Visual Studio 2005 Casual VB.Net User I try to understand Application Settings.... I create a project: WindowsApplication1 with one form and one button. I go to the Solution Property & Settings Tab and add two settings. One is string type named xxxxx and the other one is System.Drawing.Color type named ccccc. In the properties window for Button1 I assign Button1.Text to xxxxx and Button1.BackColor ccccc in the Application Set entry. In the Form1.Load subroutine I add the following: Button1.Text = My .Settings.xxxxx Button1.BackColor = My .Settings.ccccc I build and save and exit Visual Studio. Next I navigate to the release or debig folder where I find the executable WindowsApplication1.exe and the co ...Show All
Visual C++ can somebody help me in printing two simple inetger printing on printer
hello as i am new to c++ , iwant to print two integers on c++ simply declare and initialize and print them on default printer only their values or address thanks waiting for reply don't think it ordinary question and leaving it without reply , it would be ordinary for u not for me. thanks This forum really isn't suited for introducing people to C++. There are books and classes for that. If you have code available and need assistance in fixing bugs, you may post it here. ...Show All
