Pebeto's Q&A profile
Visual C++ Unresolved external
Here is the code: // test3.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> using namespace std; int _tmain( int argc, _TCHAR* argv[]) { cout << "Ooga booga" ; int x; cin >> x; return 0; } when I build it, I get: 1>test3.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<char,struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits& ...Show All
Visual Studio Exporting (and importing) Tools Option page settings
Hello, This question is more directed towards the MS guys, but if anyone can help it would be greatly appreciated. I know the default implementation of DialogPage provides the necessary implementation for IProfileManager and I have sucessfully used it and associated attributes to export setting from implemented option pages. However, we implement a full language service using the core editor so we want to export code editor Default and Tabs settings also. I've had trouble finding information on how this is done or why it isn't done by default using the MPF (this could be an error in our code, something missing or ill-defined.) I've taken a l ...Show All
SQL Server Problem to view OLAP data on web
The client I use IE6 and WindowsXP sp2 with Office2003+ Office web component to access data file type .htm that has pivottable I accept this error "The query could not be processed. The Data provider didn't supply any further error information" while i can view file suggest .html (that not include pivottable) normally on the server side I can view olap data as normally Any Suggestion Thanks for help Have you installed AS 9 OLEDB provider on your client machine Try installing " Microsoft SQL Server 2005 Analysis Services 9.0 OLE DB Provider " from http://www.micro ...Show All
Visual Basic Shell Method
How can I load a folder up in the windows explorer Your first line, should be... Dim sFile As String = Me .TextBox.Text.ToString() Don't forget to add the .Text before the .ToString(). If that doesn't help, debug the code, and check the value of sFile at the If statement. ...Show All
Visual Studio Express Editions How do I compile a VB.net application to a normal *.exe file? I mean that could be run in DOS mode.
Well you see. It is really stupid to make a cool program that can't run on other computers that don't have the .net framework installed. I ve been searching for such a program that can compile my .exe (for .net) program into a normal .exe . I couldn't find anything like it so any help. If you are kinda new and you don't know why is this just rename your program into a *.txt file and open it. It says: This program cannot be run in DOS mode. That is the stupid thing. Any help would be appreciated. Thanks anyway There really is no such thing as a "normal" .exe file. Every application has dependenc ...Show All
Visual Studio Team System Integration with SharePoint Services
Doesn't Visual Studio Team System provide source control integration with Team Projects Is it possible to check documents or other files out of my SharePoint created site from VSTS In other words, are they placed under source control Thank you, Sammy The documents in the SharePoint document library are not stored in Team Foundation version control. Instead, you can use SharePoint's rudimentary version control feature to maintain a history of versions. ...Show All
Windows Forms class library's in vb6
I have a class library project which i have setup for com so i can reference it in my vb6 test app Each time i build the class library i have to re-run the regasm and gacutil commands in order for my vb6 app to pick up the new version - is there any way around this ...Show All
Visual Studio Team System Saving Document
When trying to save a document back to Foundation Server for one of the project I don't get an option to save it back to Team Foundation, just the file system. Any Ideas Thanks BenW This is the same as the issue reported several days later in this post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=497293&SiteID=1&mode=1 Please see my response there for a description of the Team Explorer integration with SharePoint and troubleshooting tips. ...Show All
Windows Forms Dataview RowFilters
I am trying to group some data within a datatable. My datatable has about 13 columns in it and i would like to group it in a variety of ways to display the data to the user (its all count data). I have read that you can use the rowfilter property of the dataview to simulate aggregate functions such as sum, max, min etc. Howeve ...Show All
Windows Forms TreeView Dilema. PLease Help!
Hello, I have a treeview control, that I populate from a table. I have a column that specifies the sort order of the nodes. However when I use insert method, it seems that the treeview control resorts the nodes, and re-indexes the nodes on every insert. So: If I insert the Node1 with index 3, after insert it's index will become 0. Is there a way of avoiding that I am using .NET 2.0 and I can't find the TreeView.Sorted property. Thank you. Not sure whether you're using it or not, but 2.0 TreeView has a new property TreeViewNodeSorter, which lets you sort the nodes however you want. The property is a class in ...Show All
.NET Development Insert dataset straight into database.
I have a Dataset that I can call and bind to a datagrid. I am just doing that so I know it works and retrieves data... But what I want to do is to take the data from the dataset, and slam it right into my SQL Server CE table. I am trying to NOT loop through each record and perform an insert...blah blah. Is there a way I can take this dataset and put it right into my table Thanks Is there a way I can take the data from this dataset, and put it right into a table in my DB I want to take all the data, every row, and slam it right into a SQL Server table with the same schema as this dataset. I tried to below, to know avail. I know the data ...Show All
.NET Development RAS
Hi, I am writting application that uses the funcion RasDial ... from some reason i am allways getting error in the return value it is always 87... the prototype is like this [DllImport("rasapi32.dll",CharSet=CharSet.Auto)] public extern static uint RasDial(IntPtr lpRasDialExtentoins, string phoneBook,RasDialParams lpRasDialParams, int dwNotifierType,RasCallBack lpNotifier,RASCONN lpRasConn); the delegate is defined like this: public delegate void RasCallBack( uint unMsg,RasConnectionState connectionState, int dwError); and the usage is like this RasDialParams dialParams; //Holds the RAS Dial parameters; RasCallBac ...Show All
Visual Studio Is it possible to get one of these controls to work in InfoPath?
Is it possible to get one of these controls to work in InfoPath ...Show All
Visual C# Typing in Visual Studio 2005 Text Editor is extremely slow
Has anyone else noticed that typing in Visual Studio 2005 is extremely slow Whey I type it seems that the screen is always 2 words behind where my hands are. It makes it extremely frustrating to get anything done. I'm mainly referring to C# code. It seems like Intellisense is going nuts trying to guess every word I'm going to type and never actually prints the characters to the screen. Has anyone else experienced this Is there an option I can turn off to get my text editor back ! By the way, I have a very fast computer with Dual 3.0 GHz Zeons with 3GB memory and everything else that should make "typing" very fast. ...Show All
.NET Development GZip/Deflate Issue
I have the following functions: public static System.IO.MemoryStream DecompressToStream(System.IO.Stream SourceStream) { System.IO.MemoryStream ms = new System.IO.MemoryStream(); SourceStream.Position = 0; using (System.IO.Compression.GZipStream _zip = new GZipStream(SourceStream, CompressionMode.Decompress, true)) { CopyStream(_zip, ms); ms.Position = 0; return ms; } } and /// <summary> /// /// </summary> /// <param name="SourceStream"></param> /// <param name="DestinationStream"></param> private static void C ...Show All
