Shahzad Ahmed's Q&A profile
Microsoft ISV Community Center Forums Excel memory issues
Hello everyone, I have been involved in the development in a graphical user interface which is used to sort large amounts of data, (thousands of rows, 30 columns). After sorting the data according to required ranges on column data, the columns can be plotted with any column against any other column. The number of plots can reach the hundreds and are displayed in a half-sqaure fashion. Anyway, I originally needed only 10,000 or so rows of data and everything worked well. To sort the data, I wrote a macro to place an equation in the first column after the data with the end result being either true or false. The data is then sorted in th ...Show All
Visual C++ Having Trouble with an exception
Hello to all, I'm having a problem with an exception that keeps coming up when I try to run my program. Is there anything I can do to my code to get rid of this My code compiles fine. First-chance exception at 0x695bffe0 in proj_text_spheres.exe: 0xC0000005: Access violation reading location 0x00454001. Unhandled exception at 0x695bffe0 in proj_text_spheres.exe: 0xC0000005: Access violation reading location 0x00454001. I suspect the source of my problem has to do with a call to fclose. Here's part of my code (I writing an OpenGL program that maps a texture to a sphere): void read_fractal1_image(void) { errno_t err; ...Show All
Visual Studio 2008 (Pre-release) Anybody managed to find a workaround for the "Black Window" bug in the Nov CTP?
I think I'll create this post as a checkpoint where people can post any info on this bug. For a background, some of us using the November CTP for WPF and either Visual Studio 2005 or C# Express, are experiencing a black window when running the simplest of WPF apps (i.e an app that does nothing but window.Show()). Other people experience it intermitently in XamlPad itself. A few links to the problem... [1] [2] By the way, if anyone else is having this problem, please vote for this bug at the product feedback centre here . Otherwise it looks like the December CTP bits have already been finalized and the b ...Show All
SQL Server Error 18452
Hi, If I connect to SQLServer Express via Windows Authentication it works fine. But if I use SQL Server Authentication it doesn't work with a new created user and sa (with a new password) too. I turned mixed mode on, registry key HKLM\Software\Microsoft\Microsoft Sql Server\MSSQL.1\\MSSQLServer\login has the value 2 and all ports are set to 1433 but there is still error 18452. Any suggestions Did you restart the server service HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio 2008 (Pre-release) why dropdown list don't inherit the parent transformation?
Hi, during these months I worked a lot with widgets orientation. I apply the orientation to buttons, textboxes, toolbars (etc) using the RenderTransform property. Unfortunately, not all of widgets seem work very well. If you try to rotate a Combobox (40 degrees, for instance), its dropdown list will show vertically (without any transformation). Anybody can explain to me if is it normal Daniel For both combo box and menuitem there is a PopUp within their style template that hosts the contents of the displayed list. That popup does not have any direct connection with the element that displays it and so does not share its orientatio ...Show All
SQL Server Can we use an existing data set as the source of another data set?
Dear Anyone, Is it possible to use an existing data set as the source of another data set Thanks, Joseph ...Show All
Windows Forms Stream Writer C#
Alright there are two things i wanted to know 1. I would like to know how to write a directory which includes " ) } etc into a text file using StreamWriter. Everytime i do so, it screws up the code and will not build. e.g. Using System.IO; Using System.Text; FileStream file = new FileStream ( @ "C:\\Gay.txt" , FileMode.Create, FileAccess.ReadWrite ); StreamWriter sw = new StreamWriter (file); sw.WriteLine( "" C:\documents and Settings\.... "" ); sw. Close (); It's the part in red that stuffs up, i'm guessing because it doesn't like two sets of quotation marks. I've only just started coding, so if there isn't enough info there, please a ...Show All
Visual C# open new form/window
I have a web user control with a datagrid bound to a DB. I want press a button and open a new window/page or whatever you want in which i have 2 textboxes and some buttons that modify/add rows of the datagrid... It's possible! How What i have to use How can i refer to the datagrid in my web user control from the new window Thx You can do this with Javascript. Create a WebPage that gets two arguments from the querystring. And with Javascript do: function ShopPopup() { var myTextBoxValue = document.getElementById( 'txtMyTextBox' ).value; var myTextBoxValue2 = document.get ...Show All
Visual C# 3 word command in C#
Hi everyone, Happy to participate in this forum. Can anyone tell me how to define a 3 word command. Example like if we type GIVE BREAD DWARF or something like that. Thankyou. The parser would break up the words and then try to work out what they meant. A bit like the parser that turns your C# commands into MSIL. What makes you decide on a three word limit The text adventures that were not free text were generally verb noun, which is a lot easier. You'd type 'go dwarf' and then 'give sword' instead of 'give dwarf sword'. You can use the string.split method to turn your phrase into words, I have to admit I've not much experie ...Show All
Smart Device Development TableAdapter / Datagrid refresh
TableAdapter / Datagrid refresh Hello, I’m a new basic.NET 2005 programmer, before I used MS Visual FoxPro but there’s unfortunately no PDA compiler available. I have some small problems with the TableAdapter and the DataGrid: To update my SQL Mobile database I use TabelAdapter.Update(column1,column2,column3….) But I cannot see the changes in the grid, until I fill the grid again: TabelAdapter.Fill() Is this correct How can I go to the record number before I did the TabelAdapter.Fill() Because I want to go to the row I was before..... Is a “faster method” (than Update, Fill……) available to get a bet ...Show All
SQL Server Merge Replication with SQL Mobile 2005
We are using SQL 2005 (SP1) and mobile agents with SQL Mobile. We are seeing an excessive number of updates after a device's database is reinitialized. My understanding was that if I generate a new snapshot or reinitialize all subscriptions (from the server), the devices would only get what the database looks like right now (inserts only) after syncing and/or reinitializing, but they are actually getting the right number of inserts and a huge number of updates in Replication Monitor. Any ideas Thanks! Mike Update: Found a weird thing with the updates: On our test server, the number of updates, aft ...Show All
Visual Studio Team System MSF Complete when is it coming
Hi, Any idea when is the msf complete template getting available... and it would really be of great help if any sample implementation is also part of the kit... regards Paritosh In message , Rob@Caron.MSFT.invalid writes >You can see the process guidance now: > >http://go.microsoft.com/fwlink/ linkid=50054 Ha! What a shame this was not available a few days earlier. It would have made me even happier. Rafal's talk was great on three levels. First he's a great speaker, knowledgeable about MSF and very clear on it's power - and he always manages to enthuse the audience with his s ...Show All
Visual Studio Team System VS 2005 RC aligns with what version of TFS?
There is no TFS beta 3 posted yet--which version of TFS does the VS RC work with Visual Studio 2005 RC is intented to work with the September CTP of SQL Server 2005 and Visual Studio Team Foundation Server Beta 3. TFS Beta 3 should be available at the end of this week or early next week. Thanks, Ajay ...Show All
SQL Server How to close all open "handles" to a SQL Server 2005 express DB?
Hello all! I'm trying to create an application which makes a copy of the database file it is using on application start and can restore it at any time, if needed (little project about SQL injection, so I need the copy ;-) ). This works fine, but as soon as I make my first connection to the db (connection_object.open()) and close it again I can not access the file anymore, because it is "in use by another process". How can I release all handles from the database, so that I can replace the DB file with it's backup copy Thank you Kolja Ahm... cal me a noob, but I disposed it and set the variable to nu ...Show All
SQL Server Script SP with permission automatically
Hi, In enterprise manager, there is a option to automatically script any trigger, permission on a table or store procedure. It seems that this feature is gone from new the SQL management studio. Is there a way to easy script this easily just like before thanks, Bernie Hi there, Well, you can script triggers by going to the specific table in the Object Explorer and expanding the node for that table....There should be a sub-node for triggers which you can expand to see the triggers defined on the table. Right click on the desired trigger and select "Script Trigger As" from the context menu that appea ...Show All
