Apple An's Q&A profile
Windows Forms Thumbnail?
How do you get the file location of a thumbnail so you can save it onto a flash disk as a picture file Actually your question is unclear. I need to know the specifics of how and from where your thumbnail is being displayed. Are you getting it from a database as a column and wish to retrieve its location It would help if such information is known so that appropriate help can be provided. Regards, Mamta ...Show All
Visual Studio 2008 (Pre-release) Can't go directly to XAML edit
I'm accustomed to right clicking on a file in Solution Explorer an selecting View Code to edit code behind. 1) I can no longer do this, has just not been implemented 2) I'd really like to be able to do it for XAML (espcially because the designer perf. is Beta level and I know its going to crash anyway because of the load limitations. NIK You can set Visual Studio to use the XML editor for XAML as the defualt editor. This avoids the designer and opens directly into an edit window on the XAML. The code would be reached by opening the C# or VB file directly as well. I am not aware of any context menu that allows you t ...Show All
Visual C++ invoking cl.exe using CreateProcess
I have a program which uses the cpp to parse input files. It invokes cl.exe using CreateProcess. However, I get the errormsg about mspdb80.dll. I have run vvcvarsall.bat, and from the command line it works normally. I can sove the problem by copying all the necessary files of the C compiler into a different folder and adding that to the path. Is there perhaps a more elegant solution I think that simple solution is to run this program with environment variables set to VS variables. For example, you can create batch file which calls vcvarsall.bat and then your program. ...Show All
.NET Development Visual Studio 2005 + ASP.NET + Modules? =D
I need some way that I can access a function across all of the pages within my site. The problem is that there seems to be no support for Modules. I'd use a class, but I don't want to create an object each time. I just need to call a function. Any ideas Again, improper design. True, it will work, but it's not proper OO design. Sorry. ...Show All
Visual Basic Intellisense code snippets article
Hi Everyone, here's an article I wrote on IntelliSense code snippets: http://msdn.microsoft.com/msdnmag/issues/06/04/AdvancedBasics/default.aspx It provides information on how to use, write and share code snippets, I hope you'll find it useful. Check out also the code snippets FAQ on this forum, and let me know what you think. Thanks! Lorenzo Minore Visual Studio Development Team ...Show All
Smart Device Development Real Time audio recording
Hi, I've made a program using w32 API to record audio using eVC++ 4.0. Actually I need audio frames to be processed in real time and those frames must be 30ms long so I calculated the size of the buffer (dwBufferSize in WAVEHDR structures) to be that long (ie., at 8Khz,16bits,1channel, buffer size should be 480 bytes). I also use double-buffering and pick the ready buffers when my callback function is called with the WIM_DONE message. First of all I tried the audio recording code in my PC (compiling it with VC++ 6.0) and it worked perfectly...I made a rough measure of the time between arriving frames (ie, between two WIM_DONE me ...Show All
Visual Studio Team System TFSB3r security issue
I'm having a problem where i've created a new domain group and added the group to the server global security using server - security when i look in server - group membership i see that the group is added to the tfs valid users. When i now want to remove the group this seems not to be possible in any single way. In the server - security page the group magically dissapeared. I now have the situation that some members of the group CAN access the tfs and some can't. I dont have any clue why this is. I've waited for minutes, didn't work, restarteddidn't work. I have no further problems with tfs i can use some other (administrator) accounts ...Show All
Visual Studio Tools for Office Excel Automation Plugins, Deserialization fails
Hello Question on writing excel interop automation plugins. I wrote a plugin which requires serialization/deserialization. When I attempt to deserialize an object, i get 'assembly not found' exception. From what I understand, the serializer embeds the assembly identification in the serialized file, and when i try to pull back the object it can not locate the definition. Does anyone have a workaround on this the assembly is strong-named, and registered, all the functions of the plugin are working except this serialization issue. Thanks! -igor Are your sure this is related to VSTO/the plugin...(I know ...Show All
Windows Forms The windows controls suck!
Well I guess the subject of this post sums up what i wanted to say really. How can MS expect developers to make great apps, when they provide all but the simplest controls! Its really in MS's best interests to provide more advanced controls - they should want to make it easy for developers to make great applications on windows. What with Linux&nbs ...Show All
Visual Studio 2008 (Pre-release) problems opening a new window
Hi everyone, at the moment I'm trying to open a new window out of a clickevent from my mainwindow. something like this ChildWindow window = new ChildWindow(); childwindow.show(); everthing is ok until I try to build the app. Then the following error occurs: The name 'InitializeComponent' does not exist in the current context Can somebody help me with this Kimme wrote: Hi everyone, at the moment I'm trying to open a new window out of a clickevent from my mainwindow. something like this ChildWindow window = new ChildWindow(); childwindow.show(); everthing is ok until I try to build the app. Then the fol ...Show All
Visual C++ cannot debug "Hello world!"
Hi, I created a win32 console application starting with an empty project using Visual Studio 2005. I then added a cpp file and typed in the following code: #include <iostream> using namespace std; int main() { cout << "Hello world!\n"; return 0; } When I try to run the program by pressing "Start Debugging" (F5), a console window appears then I get a popup saying : "There is no source code available for the current location." I then have an option to "Show Disassembly". I can see my output in the console window if I click "Start Without Debugging" (Ctrl ...Show All
Software Development for Windows Vista Various Issues with installing WinSDK (December release)
Hi there, I hope you can be of some help. I try to install WinFX RTC 3.0 Beta 2 and WinSDK (December) on a WinXP Pro SP2 machine. The WinFX RTC installer in the first third of the installation process throws an error: An unhandled exception ('System.ComponentModel.Win32Exception') occured in Xws_reg.exe [3728]. but continues and completes stating that setup was completely successful. If I try to install WinSDK the installer after a few minutes comes back with the following error: Windows SDK could not be configured, see the 'Installing the SDK' section of the Samples\Setup\HTML\ConfigDetails.htm document for more ...Show All
Visual Basic edit and continue
I can't seem to enable edit and continue in my VB 2005 app. Everyone seems to be pointing to Tools--> Options--> Debugging, but I don't have a debugging menu in my Tools--> Options. Any help would be appreciated. Thanks, Danny OK, so I found the debugging menu, and edit and continue IS enabled. But when I try to use it I get: "cannot currently modify this text in the editor. It is read-only" Any thoughts. -Danny ...Show All
Windows Forms Resize button !? (I have same problem pls help)
how i can resize button or any object in my form in run time not in Design time thanx You are vietnamese me too. Could you email me full source code of this example to dohoangtung@gmail.com thanks in advance ...Show All
Software Development for Windows Vista Workflow Activities for MSBuild Tasks and embedded designer for VS2005
I can't help but think that this is going to happen eventually. Has anyone gotten a whiff of this capability I can see a pallete of workflow activities that map to things that can happen in msbuild and then a graphical "make file" that is created in an embedded designer .... It certainly is possible. I've got a sample that does just that. If you (or anyone) come to my teched session - https://www.msteched.com/content/sessions.aspx (select my name from the speaker list) - I'll be showing it there - and it will probably get posted to my blog after the fact as well. ...Show All
