GMc's Q&A profile
Visual C++ C++ Intellisense in VS2005
I would like to use xml bases comments for unmanaged C++ code in VS2005. The documentation seems to be a bit fragmented either talking only about assemblies (which I don't have because its unmanaged) or talking about the simple // comments that Intellisense picks up and existed in 2003. I see I can generate the xml file using the /doc option and it does work . But there is no information on how to get this hooked up with Intellisense. Is this only possible with managed code Or am I just doing something wrong Thanks, Alvin. Its good hearing from the actual author of the link! The les ...Show All
SQL Server Service Broker Tables
Hi, We have a customer whos database just grows and grows. Not the customers own tables, but the: sys.sysconvgroup sys.sysdesend sys.sysdercv And these tables are linked to the Service Broker, and according to http://msdn2.microsoft.com/en-us/library/ms179503.aspx these tables exists in every database and are used by the Service Broker. Now to my questions =) HOW do I delete rows from these tables How come these tables hust grows and grows, could it be any setting in the SQL 2005 Server or is it the customer who has programmed his application wrong Please respond as soon as possible. Best regards .Henrik ...Show All
Visual C# Parsing a string
Hello guys, i'm searching for an advice of how to parse a string. here is an example: --bla345"cool"but no-- And I need only the text double closed by ", which is 'cool'. My second question is about parsing multyline comments /* */. So if i have --bla bla /*nice thing */ alabala-- my target is get the 'nice thing' string away of the "sentence". Hope someone will find time to help me :) The first can be done with the Split() method of the string object: ...Show All
Visual C++ RMDIR bugging???
Hello, I need help with RMDIR desperately... well, I got this code from the HELP files but doesn't seem to be working... /* remove example: remove or delete directory C:\test */ #include <stdafx.h> int _rmidr( const char "C:\\test" ); return 0; } but what's wrong with this An identifier is a name: it identifies something. In your code "_rmdir" is an example of an identifier and in this context it identifies a function which, if invoked, will deleted a directory on your disk. If you look at my example above you will see that it starts with: #include <direct ...Show All
Visual Basic Blair Allen Stark
Here is the problem I am working on. It asks me to use the method CalculateCharges, but I don't fully understand how to do this or how it works. I would be grateful for any input. Lab Problem III A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period is $10.00. Assume that no car parks for longer than 24 hours at a time. Develop a console program that calculate and displays the charges for each customer who parked a car in this garage yesterday. ...Show All
Visual C# Runtime Button_Click event
Ok. I have created a button at runtime, the only problem is, I need it to have a click event. How do I go about doing that I tried your code above by creating a new Windows Application, adding a progress bar and a few labels to it, and creating a new timer. The code does what I expected it to; the progress bar inches forward based on the tick event. When the progress bar is full, it disappears along with a few labels and a button appears. Clicking on the button removes the remaining labels. What is the problem that you're having with it Thanks, Anson Horton [ansonh@microsoft.com] Visual C# IDE PM ...Show All
Visual Basic Ordering of VB arrays
Hello, I am calling external DLL (written in Fortran) function that has a multidimensional array argument. In VB6 the array is column major (the same as Fortran). However, I recently noticed that in VB.Net the array passed to the DLL seems to be in row major. Can anybody confirm this I search MSDN and KB and could not find information on this. Thanks for your help. What are you trying to do with an array . It is probably really only relevent if you are trying to look at how the array is arranged in memory - from an application development viewpoint you set up a multidimensional array ...Show All
Windows Forms Book on winforms and ADO.NET
I have been searching everywhre but cannot find a book that really talks about these two. Can anyone give me a recommendation The best 2 seem to be Learn winforms in 21 days AND Professional Windows Forms any idea The App I am createing is all about winforms and grabbing data and inserting data Very happy with David Sceppa's book from Micr ...Show All
.NET Development [C#] How can i stop a socket?
Hello, I'm using diffrent thread in my application. One thread is used to receive information on an UDP socket; try { while ( true ) { Datagrame = udpSocket.Receive(msg); //Action to do } } catch (ThreadAbortException Ending) { //action to do when stopping } The main thread start and stop this "receiving thread" using ReceivingThread.Start() and ReceivingThread.Abort() . My problem is that: When the socket is receiving nothing, it is waiting on ...Show All
.NET Development Microsoft.Jet.OLEDB.4.0 driver error on Win2003 SP1 & SQL2005 April CTP
Hi folks, We've got SQL2005 April CTP i64 running on Win2003 with SP1 appied (Itenium Proc). Last week, one of developer sent me an email with error msg, : Msg 7403, Level 16, State 1, Line 1 The OLE DB provider "Microsoft.Jet.OLEDB.4.0" has not been registered. I ran Component Checker against that box and it found that MDAC2.8 with SP2 installed. I also found from MS site that Jet 4.0 SP8 i64 version available but the installation aborted due to newer version installed on the box. I am stucked. Any advice would be appreciated. Sunny Will a 64 bit Jet OLE DB Provider be avai ...Show All
Smart Device Development Active Sync 4.1 Install Failure
Hi, I have an Audiovox5600 SMT smartphone with bluetooth activesync capabilities and now im trying to install Active Sync 4.1 on my Dell XPS laptop that has bluetooth as well. Here is the problem. When I launch the setup.exe it configures for a few seconds then brings me to a setup screen saying the following with only Finish as an option. It seems I am the onyl one getting this. error: The wizard was interrupted before Microsoft Active Sync 4.1 could be completely installed. Your system has not been modified. To complete instillation at another time, please run setup again. Click Finsih to exit the wizard. ...Show All
SQL Server having a contractor develop SSIS packages and security issues
Hi Guys, I will have a constractor for 3 months developing ssis packages for me. Obviously, his Windows account will be deleted when he leaves. My question his. under which securoty context should he develop packages so they will still work and still be accessible after his departure. Assuming we do not want to use any password to either have his packages running or have his packages accessible by other developers from the development environment. Most of all we do not want ANY job failure due to "encryption issues" after his departure Thanks Philippe In a shared enviornment, I l ...Show All
SQL Server SQL Mobile Server Tools
I have installed VS2005beta with SqlExpress2005. I am trying to install the mobile server tools but I get a message saying that the "SQL 2005 Connectivity Components are not installed". I am 99.9% sure they are installed (I can go to add/remove and remove sql tools). Any help would be greatly appreciated. If you are still experiencing this in the RTM version of Visual Studio, can you post a bug report on the Microsoft Product Feedback Center . Regards David ...Show All
Windows Forms Widbey's Stable! Very important...
I have been using widbey preview version two months again,it's changes upon VS.NET 2003 too much, this is quit well.But the most problem i have meet is it's stability.It aways auto restart, i even have no patients with experience it. ...Show All
.NET Development Main function in web service project
I have written an XML database which I wish to access via a web service. I have compiled the application to a dll and referenced it in a web service. I try to instantiate the database class by creating a main function I have =============================== private static xmlDatabase DB; public static void main() { DB = new xmlDatabase(); } [WebMethod] public void Inquire(string searchParam) { DB.Inquire(searchParam); } =============================== I get the error "Object reference not set to an instance of an object." Which means the main function is not being called and DB is not being instantiat ...Show All
