PRMARJORAM's Q&A profile
Visual Studio LFrame.SetFramePos returns E_NOTIMPL in VS2003
I'm trying to set the location of a toolframe created with FvsUIShell.CreateToolWindow then make the call int i =LFrame.SetFramePos((VSSETFRAMEPOS) 0x00000043, ref G,0,0,100,100); the value of i is 0x80004001 which when I look up in NativeMethods = E_NOTIMPL Why is this, should I be doing something different Hi Bill, unfortunately, the SetFramePos only supports SFP_fSize and SFP_fMove. (check the documentation under VSSETFRAMEPOS) You'll need to use the registry keys to set the style to SFP_fFloat (0x3) For SFP_TabNext (0x40) it is documented under VSSETFRAMEPOS as obsolete ms-help://MS.VSCC.2003/MS.VSIP.2003/v ...Show All
SQL Server Multi value parameters
Hi All I'm trying to initialize (checkmark) only the first selection of a Multi Value list, (built from an SQL), I can initialize all or nothing. I tried to use (0) next to the value field name in the default value, but that causes an error (Field is not valid because of the(0)). Thank you Trentino Hi Lev sorry for the slow response, I did try to use function First(), I get this error "Aggregate function cannot be used in report parameter expression" Thanks Trentino ...Show All
Visual C++ How do I convert a long variable to const Int ?
I get back numOfContext as a long (req. by this call). I then want to create 2 arrays based on this size but I need const int for array declaration. How can I do this Thanks. pSYContextContainer->get_Count(&numOfContext); Thank you very much and that seems to be working just great for the int array. I also need to delare an arry that is the size of numOfConext and holds strings. But, I'm not getting return back as string. I'm getting BSTR and I can cast it to _bstr_t. I tried declaring an array of _bstr_t but it doesn't seem to work when I compiled. It does like it when I delare the CString array but I don't know how to g ...Show All
SQL Server Show Message if dataset is Empty
Hi ! Is it possible to not display a report when the dataset is empty and in this case show a message to tell that there is no data to display Thanks ! Data regions (matrix, table, list, chart) and subreports have a so-called NoRows property. If set, this is the message to display in a textbox (which replaces the data region when no rows of data are available). Note: the NoRows property is available in the VS properties window. -- Robert ...Show All
Smart Device Development Using VS2005 for WinCE 5.0 development
I have a native C++ Windows XP app that I need to migrate to a WinCE 5.0 ARM platform. My project is currently in VS2003. I hear that VS2005 can be used to develop native WinCE 5,0 apps. That is great for me, because I could easily move my existing code from 2003 to 2005, and then it should be easy to keep my WinXP and my WinCE code in sync since they will use the same IDE and compiler front-end. Do I need a particularr edition of VS2005 I have ordered the Beta2 CD. Does VS2005 come with a version of the STL for WinCE Or is that supplied by the Platform Builder Again, if the STL for WinCE is similar to the ...Show All
Visual Studio Express Editions Mobile Device Application template
Doesn't seem to available. If you have access to the professional edition, you might be able to zip up the templates from there and copy it to your express edition computer, but Microsoft don't support this scenario. ...Show All
.NET Development Populating A Combobox
Well, what should be a simple task is turning out to be a nightmare. I have a simple combobox on my form. I have a simple database with a table in it and some data. All I want to do is populate this combobox, but nothing works. I setup a dataset, the bindingsource, and tableadapter, in preview data comes back, but when the project is run the combo box is always empty. I've tried a bunch of other stuff, but the results are the same. I've searched and searched for a simple tutorial on this, but can't find anything specific to this problem. I'm using Visual Studio 2005 Beta 2. Any help would be greatly appreciated. ...Show All
Windows Forms Scroll problem .HorizontalScroll.Value = 0;
Hey Guys, I am linking to scroll bars together by monitoring if one changes and then simply making the value of the other one the same as the one that changed. Why does this line not work Blah.HorizontalScroll.Value = 0; Setting it to 1, works but setting the value to 0 does nothing! NOTHING! Kris Problem 1/2 solved.... i was using this: private void dgvQueryResult_Scroll( object sender, ScrollEventArgs e) { this .flpFilters.HorizontalScroll.Value = this .dgvQueryResult.HorizontalScrollingOffset } Where the HorizontalScrollOffest is different to the current horizontal value. So i have created a ch ...Show All
Visual Studio Express Editions Let's go to work on an FAQ for this Forum
The concerted work that goes on here in really impressive. I'm also thinking about a mass mailed note I received from S. Somesegar, corporate VP of Microsoft development. He said that MS Engineers were not alone in building VS2005. Customers had a lot to do with it to make it as neat as it is. Continuing in that vein, I though it may be a contribution to see if we can't put together an FAQ that will take care of a large number of the routine questions. If you'd like to contribute to this let's try the following: In a post to this thread, add: 1.) A Title 2.) A fully stated question in FAQ form ...Show All
SQL Server data mining lift chart problem on vs2005
Hello . Because of my graduation project , I interested in data mining application , Adventureworks DW on MS VS 2005 . I opened File->Open->project/solution ->Enterprise -> AdventureworksDW .then I successfully deployed the algorithms decision tree and Clustering . Then I opened tab Mining Accuracy Chart then selected input table "testing" , which I had created before , from vTargetMail . After that , mining structure table and target mail table has automaticaly linked each other .Next , I selected predictive input as 1 , of the predictable row "BikeBuyer" . But , when I clicked "Lift Chart ", I only got a 45 deg ...Show All
Windows Forms Taking Data and Posting Data to Excel
Dear All, I have to start to migrating my project from VB to VB.Net or C#.Net. For this I need to collect informatin regarding Taking Data from Excel Sheet and Porting Data to an Excel Sheet. I need techniques for Porting data to Excel Sheet from a DataGrid. The 3 methods that I have recognised are as follows: (1) Running the Whole Page again and displaying the data in Excel (2) Taking the Data from the Recordset and porting it to the Excel (3) Without going to the server, I take the data directly from the DataGrid and port it to the Excel. (This is the main point of concern as Not going to the Server again would be the bes ...Show All
Visual Basic How to select a database at application startup
Hi, I wrote a little application with VB2005 which uses an access database. I stored the connection-string with an application setting (my.settings.etcetc). Now for testing purposes I would like to make a copy of the database file, one with my real data and a second which I use when I want to test new features of the program without messing up all the data. For this it would be nice to give a choice to select the database to be used at application startup. Could anyone give me a hint how to do this Thanks a lot Thomas You could use file dialog control to show the list of the files. You could also apply filt ...Show All
SQL Server can sql server allow to read record ramdomly?
anyone have the solution or work around my system need to select x% ramdom record from a batch of data from sql server for validation. is this posible any sql statement allow to select the record ramdomly let say total record is around 1000, example record that i need to select is:- record no 5,48,49,50,147,148,256,257,258,411,412,413,414,415,..... so and so can i use cursor to move around the record to read it if we view on performance of the system. how can i make this at max speed is that clone this table into local access database will make this more faster regards terence chua The first, you should add an ali ...Show All
Visual Studio 2008 (Pre-release) voice recording in winfx
how can we add voice recording functionality in an Avalon project. WPF includes System.Speech.dll which provides APIs for speech recognition and synthesis. You can write synthesized speech to an audio file. ...Show All
Visual Studio Method Parameters in Diagram?
How do I display the method parameters in the diagram I can only see the return types. If you want a preview of this feature, you can download June CTP and try it out. Of course, it comes with the usual caveats of a CTP. See http://blogs.msdn.com/robcaron/archive/2005/06/15/429278.aspx for more details. Ramesh. ...Show All
