impossibleornot's Q&A profile
Visual C++ Is it possible to use [SuppressUnmanagedCodeSecurityAttribute()] in MC++ code
If this is possible please show me the correct syntax. (I am getting a compile error that says 'empty attribute argument list is not allowed') If it is not, then what would be the recommend replacement in C++. Thanks [ System . Security . SuppressUnmanagedCodeSecurityAttribute ()] should work. ...Show All
Software Development for Windows Vista Invoke Workflow
In ParentWorkflow i am using InvokeWorkflowActivity to invoke another Workflow(child) Every thing goes fine but control is returning to Host two times - one from Parent and another from child. my requirement is Child should inform the parent and parent should inform host. i have used handleExternalEvent in ParentWorkflow to handle event of child . Event is raising in Parent but the control of ChildWorkflow is also going to host. Is it the Workflow Behaviour or can we achieve the above Scenario Hi Ravi, From what you described this is what seems to be happening. The Parent WF inv ...Show All
Visual C++ ifstream 's mistake in vc8, correct in vc7.1
When I use ifstream 's constructor to open a text file, the text file's filename contain chinese char , and the filename is in Multi-Byte Character Set style (const char *), I success in vc7.1 but fail in vc8. Trace the library's source code, I found in vc8, the ifstream will call mbstowcs_s to convert the input filename form MBCS to wide-char, mbstowcs_s will call _mbstowcs_l_helper to do that, but it get the wrong string in my english ver. OS. I am so curious why to do that, it is total excrescent. PS: I use API MultiByteToWideChar can get the correct string. // Convert ANSI string to Unicode int re ...Show All
Visual Studio Tools for Office Comments color in Word
Hi, I'm trying to change the backgroud color of the comments I add to a word document. I can do it using Options.CommentsColor but this function modifies the color of all of the comments in the document. Is there any solution to modify the color of the comments in an independent way Can I have various comments in a different color in the same document without change the author Hi, You can programmatically set the color when you add the comment: Me .Comments.Add( Me .Range, "Here's my comment" ).Range.Font.Color = _ Word.WdColor.wdColorBlue Or you can loop through all commen ...Show All
Windows Forms word document using vb.net
How do i create a word document using vb.net Could u be more brief with ur solution.We r working on windows professional and i already have MS Word installed .where can i find this COM Interop assembly( PIA from MS) ...Show All
Visual Basic .NET 2005 Express Not Functioning Properly
I downloaded vb.net 2005 express beta 2 on two computers. On one computer, the intellisense correctly finds the Size structure/class when I try to dim a variable as new size. However, the other one, which has .net 2002 installed already, cannot find size structure/class. The intellisense forces me to select either sizeconvert or sizef classes. Hi- Thanks for letting us know. We tested this on our Beta2 editions and could not reproduce the problem on our machines. If this persists for you, could you please file a bug on the Product Feedback center Please include any unique circumstances wit ...Show All
Visual C++ Notification about Printers
Is there any means by which an application can receive notifications whenever a printer is shared / unshared / Installed / UnInstalled through the printers options in control panel. I have read that an application can receive notifications when file / folder atrributes are changed through windows. Is there anything similar for Printers Thanks ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Constant Register Semantic in Effects
Hi, I have two questions/problems dealing with specifying and using constant registers in .FX files. What I'm trying to do is tie common engine parameters to specific constant registers so I only update the constant registers when needed and not have to set them every time I change a shader. I declare a global variable in .FX file with an associated constant register (eg. float4x4 WorldViewProjection : register (c0);) And in the application I use pDevice->SetVertexShaderConstantF(0, worldViewProjMtx, 4); However, this does not set the parameter as expected. Instead, if I set it using the appropriate D3DXHANDLE it works. I assume ...Show All
Visual Studio Express Editions Find the first empty MaskedTextBox...
I've searched through the forum, and I haven't been able to locate any code that is similar that I could modify, or find a thread close to what I'm trying to do, so any suggestions would be appreciated. (I'll get a book when I can get some time off) I have a form with ten empty "MaskedTextBoxes". I would like to go through them starting from "MaskedTextBox1" through to MaskedTextBox10" in that order, find the first empty one, and place the value I've selected in "DateTimePicker1" into it. I'm new to VisualBasic 2005 Express Mike C. // I'm new to VisualBasic 200 ...Show All
Visual Studio Font in Search Results window too small and can not be changed
When I do a Search in Visual Studio 2005 Help, a Search results window appears. The font in that window is so small that I have a hard time reading it. (My eyes are 64 years old.) Ok, no problem, I thought, I'll just change the font size to a larger font. Oops, there seems to be no way of changing the font size in the search results window! (In Help windows displaying a help article, you can change the font size, but not in the search results window). The same problem occurs with the Contents pane and the Index pane in Visual Studio 2005 Help -- font size can not be changed. Or am I overlooking something ...Show All
SQL Server I am practicing by building a PM Online App
In my Project table. I have a column called projSeqNum (Project Sequence Number) I was with a fellow techie -data modeler- and I think it was just placed with an int data type. I think a 4 length. My question is what would be the correct data type here. There could be 100's of thousands of unique Project ID's so I need something sturdy but not overboard. Any ideas Hi The int datatype should be fine - it allows for numbers up to 2,147,483,647. If that's not big enough, you could use bigint, which goes up to 9,223,372,036,854,775,807. HTH ...Show All
Visual Studio Team System Web Test with Java Applet
I want to create a web test that will test an embeded Java Applet. My issue is that it won't run the activeX control in the VSTS test browser. What do I do Is there some setting to enable the activeX controls Or is there someway to run the test in an external browser. I'm trying to keep this as basic as possible. Kyle, Web tests work at the HTTP layer. The current release unfortunately does not provide any client UI testing features that could be used to test a Java applet. Josh ...Show All
Smart Device Development PPC-to-PPC Wireless Comm
I'm interested in supporting WiFi in my multiplayer turn-based (freeware) game. I've used TcpListener in PC apps, and it seems similar in WM2003 CF2. On the PC, I used various methods to obtain the IP addresses of other computers, usually involving a server. How do I make the connection ad-hoc Do I need to display the IP address of the server PPC, and let the other users type it in Thanx for any assistance or links. ---Mike I believe the newsgroup microsoft.public.pocketpc.developer would be a better option to post this message to get more visibility to the PPC Developer co ...Show All
Visual Studio Express Editions Comparison
Hi! Can any One can Clearly Suggest me the Adavantages and Disadvantages of Visual Basic over RealBasic weather using the Real basic Over VB helps us more or Weather RB contains any Loopholes Compared to VB that can not me Solved About the only advantages I can think of are that REALBasic supports cross-platform development (Mac and Linux) and generates native code executables that do not require a runtime environment. Otherwise, it lacks many of the features found in Visual Basic 6.0 much less Visual Basic 2005. ...Show All
Visual Studio Team System Project Creation Wizard Extensibility
When creating a Project Creation Wizard, is it possible to have it store a string value within the project For example the PcwTEExample from the SDK has an PCW that asks the user to enter a couple of web addresses. these addresse are saved to an external xml file it would seem. Would it be possible to store these inside the project, so that the value wasn't machine dependant Code examples would be much appreciated. This sounds very much like what I'm trying to achieve. The problem is that since I'm not able to find any documentation on any of the TFS classes, I find it rather hard to know where to start. I have looked at the TEPC ...Show All
