Phil RCM's Q&A profile
Visual Studio 2008 (Pre-release) How to develop a portalUI like that in "http://www.valil.com/portaluitest/portaluitest.xbap"?
How to develop a portalUI like that in " http://www.valil.com/portaluitest/portaluitest.xbap " The custom panel is based on two existing samples: For the panel animation: http://blogs.msdn.com/dancre/archive/2005/10/02/476328.aspx http://blogs.msdn.com/dancre/archive/2005/10/03/476689.aspx For panel dragging: http://blogs.msdn.com/unnir/archive/2006/01/31/521065.aspx ...Show All
Windows Forms TreeNode label
Hello, If I have a label in the edit mode, and the user makes a text selection, is there a way to capture the selected text only. There is an attribute on the text box that does that. Thank you I'm not sure that my post really answered the question, but I hope it got you in the right direction. You might be able to change type of the lParam to string and pass it a string. ...Show All
Visual C++ Efficient initialization of stringstream
Does anyone know of a way can accomplish the following without memory copies I am dealing with character arrays that can easily exceed 1MB. std::stringstream* GetStringStream( const char * input, size_t length ) { return new std::stringstream( input ); } Note that a temporary string object converts const char* to std::string, and this is where the copy occurs. Although my version doesn't use it, I do know the length of the character array. In general, I am writing a parser that maintains a stack of istream*. So wrapping the character array with some kind of istream is a requirement. Thanks, ...Show All
Visual C++ error LNK2019
Hi, I have this error in my application: SkypePlugin error LNK2019: unresolved external symbol "public: long __stdcall CAshsystrayDlg::OnAPIStatusChanged(enum SKYPEAPILib::SkypeAPIAttachmentStatus)" ( OnAPIStatusChanged@CAshsystrayDlg@@QAGJW4SkypeAPIAttachmentStatus@SKYPEAPILib@@@Z) referenced in function "public: static struct ATL::_ATL_EVENT_ENTRY<class CAshsystrayDlg> const * __cdecl CAshsystrayDlg::_GetSinkMap(void)" ( _GetSinkMap@CAshsystrayDlg@@SAPBU $_ATL_EVENT_ENTRY@VCAshsystrayDlg@@@ATL@@XZ) I have translated message error, it was in italian. I have tried to change option in Linker input section, but i haven't resolved ...Show All
Visual Studio Tools for Office Multithreading in VBA for Excel
How do you Multithread in VBA for Excel I know how to do it in Visual Basic Studio but I cant get it to work for Excel Is there a certain reference I need There is very limited information on the web about multithreading in Excel. The web also says Excel Visual Basic 6.3 has multithreading capabilities. Thanks If anyone has a simple example, such as two drawings moving simultaneously (not turn based, that appears to be simultaneously) Hi, I'm curious where you got the impression that Vba supported multiple threading in Excel While we did enable some limited multiple threading support ...Show All
Visual Studio 2008 (Pre-release) Hosting a Workflow in WCF
Can anyone tell me how do i host a workflow in WCF Thanks in advance. Have a look at the following samples in the Sample galery: WS-Transfer for Workflow http://windowscommunication.net/ControlGallery/ControlDetail.aspx Control=2281&tabindex=2 WorkflowInvoker http://windowscommunication.net/ControlGallery/ControlDetail.aspx Control=2278&tabindex=2 Thanks Roman ...Show All
Visual Studio Team System Source Control Explorer "No Commands Available"
After finally getting the December CTP of Team Foundation Server installed and running, I am unable to add anything to source control under my newly created Team Project. I open the Source Control Explorer by double clicking its icon. I then right click my project's node and the only thing I get is a grayed out menu saying "No Commands Available". What am I missing I've also tried dragging files to the Source Control Explorer with no avail. Any help would be much appreciated. Sounds like you're just getting started. Try this: (1) Tools -> Options -> Source Control, make sur ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to make a trainer.
Does anybody on this forum know how to make a video game trainer in c++ (using visual c++ express) I would like to know how to do this. I know it is not impossible. I have searched the internet and all the examples I could find are either extremely old or they are for asm (which I do not know). I am fluent in vb and vb.net, if that matters. If someone would be nice enough to explain the process to me, it would be great. Thank you. This is a bit tricky as when I was younger I used to fool around with UFO enemy unknown and increase my cash flow. This was done in Hex. What I suspect you have to do is find out where the locations of things ...Show All
Visual C++ I got this error when compiling "Error c2784"
Hi everyone, Can someone help me with my program I've been working on it for awhile and still cant get it to work. Here's the listing: #pragma warning (disable : 4786) //disable warning about truncation of string data #include <iostream> #include <fstream> #include <string> #include <set> #include "masterheader.h" using namespace std; //type definitions typedef multiset <MasterHeader> typeMH; //sets up output file for writing //Postcondition: The output file has been created with // name read in from the keyboard void setUpFiles(ofstream& os); //reads input from input file //Pos ...Show All
Windows Live Developer Forums PDA with a Camera and Flash
Does anyone know of a good Pocket PC, running Windows Mobile 5, that has a built in camera with a flash Hey Bob, This forum is for questions and discussions about developing with Windows Live technologies. Your question is better suited in the PocketPC newsgroup, which you can find here: http://www.microsoft.com/communities/newsgroups/en-us/default.aspx dg=microsoft.public.pocketpc ...Show All
Visual Basic Create MDI Application
Hello, I have an MDI form and one regular form. I have a menu. How do I do this so when you hit File -> Open my form, it opens my "form1" Is this easy to do in code Thanks a bunch! :) :) hi am trying to make a new window when i click button from form1. trying to duplicate it self, like making a new window in ie, so am confuesed here is the code am trying fix Private Sub ToolStripButton8_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripButton8.Click Dim optionsForm As New Form1 Dim o As New Form1 o.Par ...Show All
SQL Server Generating SQL scripts in VS2005
Hi, I'm using Beta 2 and I've noticed a difference in behavior between VS2005 and VS2003 when generating SQL scripts from database objects in Server Explorer. In VS2003, scripting a table results in separate files (TAB, KEY etc) for the table, indexes and so on. With VS2005 I just get one file. Is it possible to switch the behavior back to generating mutiple files If not, why was the behavior changed Many thanks in advance! Hi Ian, Did you ever get an answer to this (I've got the same problem!) Thanks, Steve ...Show All
Windows Forms Determining keyboard key press and mouse key press simultaneously
Hello, all. I've got a tree view. When a user clicks on this tree view, I need to also see if they have the shift key pressed. How do I in a method that handles a mouse click also get the key clicked information for the keyboard Any ideas Eric The structure, ModifierKeys, will be set to whatever they have pressed. It is a& ...Show All
Visual Studio Express Editions Losing data
I am having a problem with the database used in MyMovieCollection losing all its data if you do anything with it in design view. Open the app Add a record Close the app. Reopen the app. The data is there Exit entirely out of VB.Net Reopen VB.Net Reopen the MyMovieCollection App The data is there. Open the database explorer Expand the tables Expand the DVD table OR (the way I found the bug) Right click the DVD table and Show Table Data There is no data. Run the app The data is gone. This appears to be a "feature" of VB.Net or the SQL data connection, not the movie collection app specifically. I have done the sa ...Show All
Visual Studio Express Editions performclick and graphics
I've written a short graphics test program. Basically the program executes when a button (button event) is pressed. I then wanted to use button.performclick in a Paint Event but the graphics in the button event does not work. I'm using a picture box as the canvas. Any suggestions. BTW the performclick does work for code other than graphics. OK here is an outline of the code.. private void btnOK_Click(object sender,EventArgs e) { Graphics gx = DrawBox.CreateGraphics(); // DrawBox is a picturebox // simple graphics here gx.Dispose; } // the above ...Show All
