pmxinos's Q&A profile
Visual Basic taking 15 to 20 seconds after pressing enter key to move to next line
Hi, I am upgrading code from vb6.0 to vb.net. I am usning visual studio 2005 for that. I am having problem with IDE, every time I hit enter key it is taking 15 to 20 seconds to come to the next line and task mangager shows 100% cpu utilization. I also had the problem with slow typing which I removed by disabling the navigation bar option from the tools->option->texteditor->general. My machine's configuration is IBM Thinkpad 1875M3U Processor: Intel Pentium M 1.86GHz, 1 Gb ram, 60 Gb hardisk. After upgrading the vb6.0 application it upgrade report is showing some 8000 warning and 2500 build errors. Can you suggest anythting to improve the performance of Visual Studio 2005 IDE Neelesh ...Show All
Software Development for Windows Vista How to obtain IDiscRecorder2Ex interface?
I'm using code such as the following to obtain an IDiscRecorder2 interface: IDiscRecorder2* pIDiscRecorder2; CoCreateInstance(CLSID_MsftDiscRecorder2, NULL, CLSCTX_LOCAL_SERVER, IID_IDiscRecorder2, (void**)&pIDiscRecorder2); Presumably, to obtain an IDiscRecorder2Ex interface, I would substitute CLSID_MsftDiscRecorder2Ex and IID_IDiscRecorder2Ex. This does not compile, as CLSID_MsftDiscRecorder2Ex is undefined (using SDK for July TCP). I have been able to obtain an IDiscRecorder2Ex interface pointer via QueryInterface off the pIDiscRecorder2 above. Is this an implementation artifact, or is this the intended procedure Also, what is the recommended context to create IMAPI2 objects Both CLS ...Show All
Visual C++ How to register Service
Hi, I am trying to install a user defined service in Windows. I have used the following commands : 1. installutil myservice.exe 2. myservice.exe /register In both the above cases, I could not see my service in the service explorer. Can anybody help me out please.. Bindu. Hello Re: How to register Service Such questions are outside the scope of this forum - for the scope of the Visual C++ General forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=19445&SiteID=1 OTP thanks bite ...Show All
SQL Server rowmodctr & SMO.
From MSDN pg for sp_updatestats: http://msdn2.microsoft.com/en-us/library/ms173804.aspx '... In SQL Server 2005, sp_updatestats updates only those statistics that require updating based on the rowmodctr information in the sys.sysindexes compatibility view; therefore, preventing unnecessary updates of unchanged items ...' I was hoping that somewhere in the SMO namespace I would find a way to programmatically obtain rowmodctr info., (in order to determine when stats need updating), but I failed to find any method or property within the stats-related classes through which I could do this. If I've missed something, or there is another way to programmatically obtain the same, then any suggestions/comments would be gratefully received. ...Show All
Visual Studio Express Editions Computer communicating with myBrowser
Hello, I have created a web browser and just having 1 problem. I have set my browser up in the registry as the default browser and that works great. You click on a link on your desktop or wherever on your computer and it opens up myBrowser not IE, but my problem is that when it opens up myBrowser it just loads the homepage and no the webpage of the link/shortcut that the user clicked, so somewhere in my code, it is not accepting the webpage url request from the computer. Does anyone have an idea why this is not happening. myBrowser Class is listed as public also. I'm just trying to get my Browser to accept the website address and to navigate to it when the user clicks a link or shortcut on there computer system. I appreciate anyones help o ...Show All
.NET Development Update unable to find TableMapping error
Hi all, I have a webmethod that I am using to update a sql server express database. I am using an infopath form to collect the data and update a database. However, I keep getting aSystem.InvalidOperationException error. The full error message is: System.InvalidOperationException: Update unable to find TableMapping['ServiceRequestForm'] or DataTable 'ServiceRequestForm'. at System.Data.Common.DbDataAdapter.Update(DataSet dataSet, String srcTable) at Service.dsUpdateStoredForms(DataSet dsUpdateDataSet) And here is the code for the webmethod [WebMethod(Description="Uploads the new form into the database")] public DataSet dsUpdateStoredForms(DataSet dsUpdateDataSet) { //Create dataset to hold new form ...Show All
Smart Device Development 2nd try: What DLL are wave routines in?
I'm having trouble getting access to some wave routines: I have been using these routines to access sound under Windows XP using the winmm.dll DLL. I would like to know which DLL these routines are in under WM5 (if at all) [DllImport(DLL)] public static extern int waveOutGetNumDevs(); [DllImport(DLL)] public static extern int waveOutPrepareHeader(IntPtr hWaveOut, ref WaveHdr lpWaveOutHdr, int uSize); [DllImport(DLL)] public static extern int waveOutUnprepareHeader(IntPtr hWaveOut, ref WaveHdr lpWaveOutHdr, int uSize); [DllImport(DLL)] public static extern int waveOutWrite(IntPtr hWaveOut, ref WaveHdr lpWaveOutHdr, int uSize); [DllImport(DLL)] public static extern int waveOutOpen(out IntPtr hWaveOut, int uDevi ...Show All
Visual Studio 2008 (Pre-release) [Serious BUG] WPF doesn't invalidate / paint correctly
I am building some kind of card game. One can move cards (Card class, depicted with a CardControl which is a user control, essentialy an image) over a table (Basically a Canvas, the Top and Left properties are bound to some X, Y properties on the Card class). Everything was working perfectly until I tried something new: I ran two instances of my application (so that I could test my networking code). And suddenly, with the two instances opened, when I move cards around sometimes the old position of the card becomes black. The background of the table doesn't repaint correctly. If WPF uses dirty rectangle internally, it looks like it isn't invalidating correctly, or maybe the painting is buggy, I don't know. What is very strange, is that I ...Show All
Visual Studio Team System Programming against MSSCCI provider
We have a VB6, in-house developed process managment / QA tool which governs our development lifecycle. This tool integrates with VSS via the SourceSafe type library and we will continue to use this tool in the medium term once we migrate to TFS. We were planning to migrate the product simply to the MSSCCI provider - thus preventing major rework, but it doesn't seem to have a published interface to develop against. Am I right in assuming that it is currently purely for integration with VSS familiar IDEs and not for programming against Are there any plans to open the interface or will we need to code against the new TFS interfaces Cheers Dan Hi I am trying to do something similar, create ...Show All
Visual Studio Team System Where do I get the SQL Server 2005 Standard Edition for TFS Workgroup Edition
I am getting ready to install the TFS workgroup edition, but need to install SQL Server 2005 first. According to the installer help file, SQL Server is included, but I don't see it anywhere on the TFS installer. ...Show All
Visual Studio files LOST after error message in VS2005
I was using the Sourcesafe 2005 within VS2005 (plug-in). One day, an message came up saying there was an error and I needed to contact my Sourcesafe administrator. It was a plain and simple dialog box without any options expect "OK" and "Cancel" The next thing I know all my checked out files were replaced by original files before they were checked out! Basically I had lost everything I did up to that point! Fortunately, I was able to recover the files from backup. But can anybody tell me why this happened so I can prevent next time Thanks! Chirag Error messages in SourceSafe that tell you to contact the administrator appear because of database corruption. And there is an informationa ...Show All
Visual C++ Why does my list control works properly in Win2000 but not in Win2003 server?
Hi, I'm using VS2005 developing a COM server using only win32 libraries. In my Dialog box, I have a List Control (which I was told to use the Listview control messaging and notifications) that I specified with check boxes option (each list item has a checkbox next to it. In Win2K server, the list control lets me easily selects or checks any list item in it. However, in Win2003 server, it's not letting me select any item. It only allows me to check other items. Is this a know problem How can I resolve this Thanks. Please reserve your use of this forum for questions concerning the C++ language or libraries, or compiling C++ code. UI and other application development issues using Win32 should be posted in one of the newsgroups ...Show All
Smart Device Development IAsyncResult in PDA project
when I sync data, i should sync my photo files as well. For sync data, just use RDA. when sync photos, i will call ASP.net Http handler to handle my photos. so I try to use async callback function to save some time. but when i debug, it gives me an error message, it seems in mobile project, it can not use this interface IAsyncResult.... Anyone has same issue ...Show All
Smart Device Development CSD GSM communication...
Hi! Could someone give me point about CSD GSM communication What is done: I have connected 2 Qtek S100 through data-call: - use TAPI - get “connected” - take handle to COMM - init COMM: 9600/ e.t. - successfully transfer data But several strange things I have: average transfer rate – channel capacity - for transparent mode (S100 allows to manipulate transparent/non-transparent mode) is 6.4k bit/sec. – and this is write to COMM. speed! i.e. transferring side shows this speed by simple WriteFile() operation for chunk of data for example 64k bytes. Some times I receive corrupted data – but it’s ok for me. – transfer rate is strange! average tran ...Show All
Gadgets Silently running an external program from a gadget
Is there any way to run a program silently from a gadget and collect its output The only way I know of for running a porgram is System.Shell.execute, but this flashes the cmd window quickly (this is a CLI exe) and I don't see a way to get the output of the program. I am currently accomplishing the same thing by using Wscript and objShell.Run, sending the output to a text file, and then reading the text file. Just wondering if there is a better way. Does jscript allow you to launch a program silently Try this var WshShell = new ActiveXObject("WScript.Shell"); var exec = WshShell.Exec(System.Gadget.path + " \\ myapp.exe"); var outputData = exec.StdOut.ReadAll(); i hope this hel ...Show All
