Super132's Q&A profile
Visual Studio Tools for Office rounding chart corners in Excel
Im looking too programmatically round the corners of an excel chart using VB8. Manually its located in the format chart area, under the patters tab there is a round corners check box right under the shadow box. In intellisense I did find the shadow option With chart .ChartArea.Shadow = True end with but I dont see the round corners option and havent seen any examples of anyone doing it online. Any help you could provide would be much appreciated. Thank you, Hi ryedunn, I assume that your 'chart' field is an Excel.Chart object. The problem is that RoundedCorners property is only available on Excel.ChartObject type (charts embedde ...Show All
Visual C++ How to read the last line of a file in Managed C++
Hi, well this is a very stupid question but I can't find the efficient way. I need to read the last line of a very very large file. So, I don't want to open it and loop through all the lines but I need another way. Help, please, anyone can post a code snippet Try to use: FileStream::Seek( Offset, SeekOrigin::End ) FileStream^ fs = gcnew FileStream( "path", FileMode::Open ); fs->Seek( -4, SeekOrigin::End ); This the file pointer to the last 4 bytes from the end back of the file. Bye Martin ...Show All
Visual Studio Team System Space in rule URL causes link problem in FxCop problem properties panel
In my custom rule configuration I have spaces in the URL: < Url > http://somewhere.net/space%20program/super%20rules/ </ Url > When this rule is triggered, the problem properties pane shows the link as this: http://somewhere.net/space program/super rules/ And the link does not work because it tries to go to the URL upto the first space. Is there a workaround to make the URL work Thanks. - alex This is just a bug we need to fix, sorry for the inconvenience. There's no workaround, currently. We'll try to get this into 1.35, though. ...Show All
Visual C# Adding ListView Groups through code
The following code doesn't add the group names to the listview control. Anyone have any suggestions This is coming straight out of the documentation too... private void Form1_Load( object sender, EventArgs e) { // Adds a new group that has a left-aligned header listView1.Groups.Add( new ListViewGroup ( "Group 01" , HorizontalAlignment .Left)); listView1.Groups.Add( new ListViewGroup ( "Group 02" , HorizontalAlignment .Left)); // Adds a new item with ImageIndex listView1.Items.Add( "item text 01" , 0); listView1.Items.Add( "item text 02" , 0); listView1 ...Show All
Software Development for Windows Vista ASP.NET Best Practices
What are the best practicies to integrating ASP.NET into the WWF I would like to be able to do something like this... [Start] | |-----|------| A B &nb ...Show All
SQL Server Framework 2.0 changes - TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.
If you connect to a server and open a query in SQL Managment studio (2005) and looses connection and then regain the connection, when you try to run the query it gives me a "TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host." This happens against both 2005 and 2000 servers. If I re-run the query it works. However, this happens in our VB.NET app as well for clients with Wireless connections. So, something has changed in Framework 2.0 regarding this, does anyone know how to tell the client to not throw this error and just try connecting the server instead which will work ...Show All
SQL Server Datasource Reader - Name for output column is blank.
Hi, I have a problem using the odbc datasource reader to execute a sql command on a progress database. My query is something like:- select max(id), sum(amount) from my_table OR select a, b, c, recid(my_table) from my_table which produces external columns and output columns with no name. The progress sql doesn't support using aliases on column names and setting validateexternalmetadata to false and manually naming the input and output parameters in the 'Advanced Editor' doesn't seem to work either. I either get the error 'The name for output column "" is blank and columns can not be blank' or if I add my own column na ...Show All
Visual Studio Express Editions Visual Studio Common IDE Package
I recently installed VC++ 2005 express, but receive a couple error messages when starting and another when attempting to create the form app project. Here are the first errors: " The Visual Studio Common IDE Package ({6E87CFAD-6C05-4ADF-9CD7-3B7943875B7C}) did not load because of previous errors. For assistance, contact the package vendor. To attempt to load this package again, type 'VCExpress /resetskippkgs' at the command prompt. The Visual Studio Explorers and Designers Package ({8D8529D3-625D-4496-8354-3DAD630ECC1B}) did not load because of previous errors. For assistance, contact the package vendor. To attempt to lo ...Show All
Visual C# ASP login to c#/aspx login
newbie in aspx obvious. i would like to know how to setup a web page which has login form; username and password i can't access the textbox values and i can't setup a action in a button. my approach is asp. for those asp coders i know u get my point... ty see Login Class (System.Web.UI.WebControls) ...Show All
Visual Studio Express Editions Launch IE and input data
I want to launch a few websites in IE automatically and fill up user ids and passwords. I know how to launch by using Process.Start( "IExplore.exe" , www.google.com ) Now, can I go a step further and input those user ids and passwords automatically Thanks, Antonio Please see: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=166883&SiteID=1 Author: Paul Domag ...Show All
Software Development for Windows Vista Audio renderer: GetPosition returns incorrect value
Hi all, I have the following behaviour when rendering an output pin that contains a WAV stream: - if I connect it to a 'Default DirectSound Device' renderer -> play the stream - OK -> play the stream again from the begining - the 'position ruler' jumps a bit ahead of the start point, the stream plays from the beginning and it keeps playing after the 'position ruler' has reached the end -> playing it again will result on a 'bigger jump' until the state that I press play and the 'position ruler' immediately jumps to the stream end (even though the stream is completely played) - if I co ...Show All
SQL Server Foreach Loop Container in SSIS
Could someone send me any links or information on how to loop through an ADO.NET dataset in SSIS I need step by step information please. Thank you, Shiva Here are BOL topics that might help http://msdn2.microsoft.com/en-us/library/ms187670.aspx http://msdn2.microsoft.com/en-us/library/ms141724.aspx http://msdn2.microsoft.com/en-us/library/ms140016.aspx Some other helpful links http://www.whiteknighttechnology.com/cs/blogs/brian_knight/archive/2006/03/03/126.aspx ...Show All
Visual Studio VSIP for 6.0
Is VSIP for 6.0 is available Is it free as for .NET Hi Yorik, I'm not really familiar with Visual Assist, though I have hear good things about it in the past. I don't recall if they were in the DevPartner program back then or not. At the time, I wasn't directly involved in supporting the program. From the looks of it, they did do a nice job of it though. One thing you could potentially do to get a hint at how they did things was to check for subclassing. Just fire up a couple instances of the environment (one with VA and one without) and check the addresses of various WndProcs using SPY++. That might allow ...Show All
Visual Studio Team System The following stream was not found in the assembly manifest error
hi i tried to write my own FxCop rule and when i tried to load it it showed "The following stream was not found in the assembly manifest" error but when i checked in the rules tab that rule was there. could any one help me out with this. Also could anyone give me the webaddress of site where i can find articles on how to write my own FxCop rules. Can you post the exact error message, word for word You can see more information by double-clicking on the error message. ...Show All
Visual C++ Automatic closing of command window
I'm a bit of a noob when it comes to VC++ been trying to pick it up over the past few days through some interesting tutorials. Anyways....my problem should (hopefully) be a very simple one. Im trying out a couple of simple programs of the HelloWorld flavour (you know, the basics) and I'm compiling them through VIsual Studio 2005. The problem is that post compilation the command window just auto closes (thats command as in command.exe or cmd.exe however the program actually being run is the exe for my code, obviously) I was wondering if it was possible to make the window stay open long enough for me to actually read the output with the Press ...Show All
