El Pea's Q&A profile
Visual C++ errors while executing vc++ code
Hi I have one opensource of vc++. While executing this code it is giving the following errors. 1)error C2433: 'HWND' : 'inline' not permitted on data declarations 2)error C2143: syntax error : missing ';' before '{' 3)error C2447: '{' : missing function header (old-style formal list ) 4)error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 5)error C2086: 'int CALLBACK' : redefinition If any one got these errors and knew the solution please let me know. Thank You angle If you include the code that you are trying to compile it's much easier to tell you what is wrong with it. Are you using the 'inli ...Show All
Visual Studio Team System Using Existing SharePoint Portal Server
Hi, I have an existing corporate SharePoint Portal Server. Is it possible to install TFS on one box and have it use the corporate SharePoint Portal Server for it's sites Thanks! This is a frequently requested feature - but unfortunately we don't support it at the moment. We're considering what options we have to support this in the future at the moment ...Show All
Visual Studio IIS with Source Safe and Apache
Can Apache be used instead of IIS with Source Safe If you are asking if the HTTP plug-in for SourceSafe will work with Apache instead of IIS as the web server my guess would be the answer is 'no'. Does Apache support ASP.NET Web Services If not then I don't see how things would work since the HTTP plug-in calls various ASP.NET Web Services to do the actual work of accessing the SourceSafe database. ...Show All
SQL Server hard query
hello i have a proplem in query i have 2 tables in my sql db one named stuednt include fields(id,name) and one table named stu_cources include fields(id,course_name) ok i want to query the student that have courses EX. mcse the result that i want from 2 tables ID | NAME | Coures_NAME in MSHFLEXGRID1 any one help me plz ... hi, i don't know is the id in your courses table is the cource id or a student id i guess student table is basic table , and courses table is basic table if you gonna try to connect them you will have to type a cource per student i guess you have to add third table to get rec ...Show All
Windows Forms Multiline inputbox in propertygrid
Is it posible to have "inputbox" that looks like a multiline textbox in the Propertygrid control Want to have users input a long text string into this control. But it's not verry user friendly when i use the standard control with only single line inputboxes. I've uploaded a sample UITypeEditor that does just what you need. Its in&nbs ...Show All
.NET Development remoting problem - client hosted in IIS
Hi! I have really big problem with remoting. I wrote remoting server which runs on XP Pro machine and client which is hosted in IIS (a part of Web Services tier) under Win 2003 Server. Everything works fine when remoting server runs on the same machine where IIS exists, but when is starded on XP box I can't connect to it from IIS client. Connecting from standalone application works perfectly from any place in the network. Of course hosts are in the same domain. Because authentication and authorization is a key, I decided to use knowledge from '.NET Remoting Authentication and Authorization Sample' articles (ms-help://MS.VSCC.2003/MS.MSDNQT ...Show All
SQL Server unattended execution account
Hi, I am having trouble displaying images that are being accesses through URLs in my report. The warning I get in while still in Visual Studio is: Images with external URL references will not display if the report is published to a report server without an UnattendedExecutionAccount or the target image(s) are not enabled for anonymous access Basically the setup is this: the database where an image URL is stored as string has its own set of credentials, then the server on which the images are located has its own set of credentials. I am confused about what access has to be free of credentials in order for images to be displ ...Show All
Visual Studio Team System Visual Studio crashing all the time
I have two virtual servers running, one with Team Foundation server Beta 3 and Sql 2005, and one with Visual Studion Team edition RC installed. When working on the Visual Studio box, it constantly crashes and especially when working with tests. Both virtual machines have 1500 MB of memory allocated. Is this not enough maybe I had the previos betas installed as well and they did not crash this often. Seems a bit too much for a rc... Has anyone else been having similar issues I have also started seeing crashes when working with web tests. Specifically when I am renaming tests within t ...Show All
Visual C++ __security_cookie getting pulled into release build (VS2005 RTM)
We got a report from a customer today, which resulted in me turning on the linker's verbose output. There I noticed some things that suprised me. For example: Found ___security_cookie Referenced in LIBCMT.lib(printf.obj) Referenced in atls.lib(atltrace.obj) Referenced in LIBCMT.lib(resetstk.obj) Referenced in LIBCMT.lib(wcstombs.obj) Referenced in LIBCMT.lib(fopen.obj) & ...Show All
.NET Development concurrency with one user ??? vb.2003
Hi I got a simple form with a grid bound to a dataset and a button that calls adapter.update when i modify the same record twice i got a concurrency error The code in the handler looks like this Try Me .BindingContext(DataGrid1).EndCurrentEdit() If DsFall1.HasChanges Then SqlAdGebruikers.Update(DsFall1.GetChanges()) DsFall1.AcceptChanges() End If Catch ex As DBConcurrencyException MsgBox(ex.Message & Environment.NewLine & CType (ex.Row(0), String )) &n ...Show All
Visual C# System.Media.Soundplayer: volume?
Hi, Is it possible to set the volume of System.Media.Soundplayer It doesn't have a volume property, but perhaps there is another way ... Thanks, Guido ...Show All
Visual Studio Team System license question
I'm not sure if this is the proper place to ask, but I can't find it on the Microsoft site... If we have a team of 8 developers, and we want to use the Foundation server instead of VSS for its extra features, and our developers all do a bit of architect/test/develop, will the cost be around $83,000 from the licenses (8 * 10k for Team System, and 3k for the server) Thanks.. Or if anyone could point me to a an email of a person who can answer this question, I'd appreciate it. Hi Filip, I'm the Product Manager for Team Foundation Server and I can help you out. Your estimate is correct based on the pure retail pricing of Visual Stud ...Show All
Windows Forms Dynamic Combobox in Datagrid
I need a datagrid with 2 combobox columns where the selected value of comboboxcol1 limits/filters the contents of comboboxcol2. Both comboboxes are bound to their own tables and need to store their selected values in a linking table. I have the datagrid and the two combobox columns set up using column styles. I also have an event to catch when the selected index of comboboxcol1 changes. However, if I change the datasource of comboboxcol2 to use a filtered dataset all of the comboboxes for that column become filtered and get null values. I need it to work on the selected row only. I am using VB .NET 2003.&n ...Show All
Software Development for Windows Vista regarding input to activities
i know that a workflow can have input , but my doubt is that can a activity take inputs...if so how.... regards Ashokkumar You would create public properties for a custom activity. These can be exposed as inputs and can be linked up to other parts of the workflow using property binding or the properties pane in Visual Studio. Please review Lab 2 in the WF hands on labs which are available here . ...Show All
Windows Forms Changing data in DataTable does not update bound DataGridView
I have a C# program with a DataGridView on a Form, and another object that contains a DataTable. The object creates a new Thread and periodically changes the data in the DataTable. The DataGridView is bound to the DataTable, but only updates when the Form is forced to redraw. It seems as if the changes to the DataTable do not fire an event off to the DataGridView. I use the following command to bind my DataTable to my DataGridView: gridView.DataSource=dataTable; and I change the data in my DataTable using: dataTable.Rows[row][col]=value; dataTable.Rows[row].AcceptChanges(); * Is there an alternate way of changing the data that guarantees ...Show All
