PBlais's Q&A profile
Visual Studio Express Editions My program don't stop in a 'toggle breakpoint'
I set a 'toggle breakpoint' in a line, but my program continue running and don't stop there...why , thanks a lot for your help. Excuse me my bad english. Hansi is the break point on code in the main exe or a referenced project It sounds like the code being executed is in an assembly that is from a previous build of a project. close down VS and delete all the bin and obj folders for all the projects in the solution. reopen the solution load all projects for all assemblies used by an application into the solution. make sure your startup project references the actual project and not the built assembly for all referenc ...Show All
Visual C++ Call Browser is not working in VS2005
hi, i just noticed that the Call Browser is not working anymore in VS2005. of course, i can view the Call Browser window but all searches fail. i also do not see the context menu option for call graph when i right-click on a symbol. what should i check thanks for any insight... g gchippie wrote: i just noticed that the Call Browser is not working anymore in VS2005. Compared to what This feature was missing in VS.NET 2002 and VS.NET 2003 too! ...Show All
SQL Server Two Y axis Display
Hi friends, We are using SQL Server Reporting Services 2005 for developing our Reports. In one of our reports we have requirement of showing Quarters on X axis , Market Value on Y axis. Upto this point its ok very simple. But in this report we need to show "Withdrawls" value on the Right hand side similar to Y axis. i.e. Left hand side Y axis = Market Value , Right hand side Y axis = Withdrawls So how to do this any help will be greatly appeciated . thx ---sandeep Currently, you may try the custom report item provided by Dundas: http://www.dundas.com/Products/Chart/RS/index.aspx ...Show All
Visual Studio Express Editions About "About"
I included an About form to come up when someone clicks on the menu item - to put a link to the website information, support, etc. At least, that seems to be how the big kids do it. But I've looked and looked - can't find a way to get it to evoke. I guess this is my first attempt at more than one form in a program. Any Cliff notes on this function Or another way, using My: My.Forms.AboutForm.ShowDialog() Note that it's preferable to use ShowDialog rather than Show, since About dialogs are typically shown modally (you have to close them before returning to the application). Steve Hoag Visual Basic .NET ...Show All
SQL Server WMI error when uninstalling
I'm trying to uninstall SQL Server 2005 CTP. When I remove it through control panel/add remove programs, I get this error The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine <my machine name> Error:214779896 (0x80041008) I've tried this with both the WMI service running and not running. Mehal, WMI is corrupted on your machine. Try running the following to clean up WMI: Mofcomp.exe %windir%\system32\wbem\cimwin32.mof Regsvr32 wbemupgd.dll regsvr32 wbemsvc.dll wmiprvse /regserver Dan ...Show All
Windows Forms how do I pass data from form 1 to form 2
Greetings, I am having trouble trying to pass data from one form to another within the same application. My project is set up with a main form [Form1] and I added a second form [Form2]. What I want to do is open Form2 from Form1 and then send data from Form1 to label and RichText controls in Form 2. From Form1 I used this code to open fo ...Show All
.NET Development CALLING WINDOW SERVICE FROM WEB SERVICE
i have to make a web services in which on client request i have to gether a file name from data base n then same time i have to calll windows services. In windows services i made code so that it will call all the files from hard disk to memory.now from web services i have to call that window services n then acc to that file name i have to show that file to the client machine. I'm not sure what your question is here. Are you asking how do you create a web service To do that you just create a new ASP.NET Web Service web site in Visual Studio, define your web methods and off you go. Here is some related ...Show All
Visual C# C# TAPI ITAddressTranslation
Hello, I would like to use TAPI 3 to get the dialing format for a phone number, but I don't know how. I guess I have to use ITAddressTranslation:TranslateAddress() function, but I didn't succeed. Can anyone please post an example af how to initialize all the necessary objects and use this function Thank you in advance! I also very interest in TAPI development, but very less TAPI tutorial and information. Any one can post some link for reference. I download a few sample code, but not really understand the syntax and flow. Hope can get help from his msdn forum. I have a question, I h ...Show All
SQL Server Memory Issue with Simple CLR Based Table-Value-Function (TVF)
Hi, We are seeing memory issues with a simple C# based TVF that splits an input string into a table based a delimiter. Entries such as the following show up in the SQL log: AppDomain 8 (DBName.dbo[runtime].7) is marked for unload due to memory pressure. AppDomain 8 (DBName.dbo[runtime].7) unloaded. These entries only show up after the TVF has been called many times (~ half million times or more). We encountered the same memory issues with June CTP, but they appeared to be fixed in Sepetmber CTP. Somehow the issues come back for us in the SQL Server 2005 RTM version. Wit ...Show All
Visual C# Getting date without the time
Hi I would to be able get the date but not the time. I currently use gerdate() but it returns for example 09/09/2006 16.34.56 but all I owuld like is just 09/09/2006 can this be done I have tired looking on msdn but I could find nothing that I could use. Any help would be a great help Ok I have a problem where I have am trying to compare two dates. The first time is declared as DateTime CurDate = DateTime .Today; string todaydate = CurDate.ToShortTimeString(); and it is the format DD/MM/YYYY and the second time values is in the form of a smalldatetime which is stored in a Sql server ...Show All
Software Development for Windows Vista VC 6.0 to VC8.0
hi, I am getting the below errors when I try to move a project from VC6.0 to VS.net 2005 c:\program files\microsoft visual studio 8\vc\platformsdk\include\shlwapi.h(1344) : error C2061: syntax error : identifier 'THIS' 1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\shlwapi.h(1345) : error C2061: syntax error : identifier 'THIS' It was showing in the lines of shlwapi.h which are as follows STDMETHOD_(ULONG, AddRef) ( THIS ) PURE; STDMETHOD_(ULONG, Release) ( THIS ) PURE; "THIS" is defined in objbase.h with as follows #define THIS void I guess the objbase.h is not getting included. ...Show All
SQL Server simple question on writing query
Hi, I have two little identical tables. Pdates - (here pid is foreign key field linked to diff table proposal) pdate pid pkid-primary key Cdates - (here cid is foreign key field linked to diff table confirm) cdate cid tid strttime endtime pkid-primary key I wish to just copy the records from pdates to cdates selected based on pid value with diff cid. The other fields tid,strttime and endtime will be updated later. what kind of query should I use as I am a newbie to SQL server can anybody help thanks, regards. Can you provide a few sample rows that shows what you're trying to do, along wi ...Show All
.NET Development Primary Key getting problem with SqlDataAdapter.Update
Hi, I am using SqlDataAdapter.Update method to insert new row in database using commandbuilder(i.e, generating insert,update commands on the fly). Now I want the new primary key generated in this row to insert it into another table. I dont want to fire another query with database. Is there something I m doing wrong or missing some attributes to set. Thx Thanks for the reply. But Is there no way to get the key that has been generated automatically using SqlDataAdapter. Currently I m finding that record after insertion using select query and then getting the new key. But this is a very inefficient method. I hope there woul ...Show All
.NET Development Accessing Exchange
I'm building an intranet in ASP.NET (VB) and I'd like to how I could query exchange to: Display the number of new e-mails, e.g. "2 New E-mails in Inbox" & Display the percentage or amount of exchange quota they have used e.g. "using 2MB of 3MB quota" How would i go about doing this Thanks. ...Show All
Visual Studio Express Editions Refresh a file
Ok what i'm doin is havin a crack at making my own mini messenger which operates over a network. it gets it's text from a textfile so what i need to do is refresh the file every so often. in other words i want it to open the same file every 2 seconds, so it does a kind of refresh effect on my richtext box. if u know what i mean. can u help me anyone thnks ...Show All
