Software Development Network Logo
  • Architecture
  • Visual J#
  • .NET Development
  • Visual Studio
  • Game Technologies
  • Visual C++
  • VS Express Editions
  • SQL Server
  • Visual C#
  • Windows Forms
  • Visual Basic
  • Microsoft ISV
  • VS Team System
  • Smart Device
  • Visual FoxPro

Software Development Network >> AxelF's Q&A profile

AxelF

Member List

glider pilot
Chike_
K-4u
Tom Robinson
khaley
Oleg V. Shastitko
DanMoyer
wjrichardlee
AHachmann
hsacks
Nick Lenting
ti_m
NBtech
SMap
Mach6Solutions
ShawnReed
bahy
Will Colbert
lkd85
p_metzler
Only Title

AxelF's Q&A profile

  • Windows Forms Communication from WinForm control to Host Application

    Hello, I have a .Net 2.0 C# application. When an event is fired this application invokes an embedded WinForm Control. The Winform Control does its stuff and then has some results which it wishes to return to the host application. How do I do this How does a WinForm application return value to its calling application Thanks Shree As far as i think , use public properties and set the values in that public properties, and then access these public propertires thorugh control object. ...Show All

  • Visual Basic Tabbed Browsing - favicon's, link contextmenu's, copy & paste

    Hi everybody, Question #1: I have struck another problem in my tabbed browsing adventures and now need to develop a way to get the icon that appears in IE (siteroot/favicon.ico) and add it to an image list. I looked in the webbrowser namespace but could only find WebBrowser1.Document.Images(index). Would the favicon be loocated there or would i need to download the favicon from the website first Question #2: When you right click in IE the contextmenu is different depending where you click. I have a contextmenu ready but i dont know how to make it appear ONLY when links a right clicked or text is selected as i need to ma ...Show All

  • Visual Studio Team System Jump to source context menu ittem

    I have VS 2003 and VS 2005 Beta 2 installed; and I am now evaluating C# express v 2005 beta 2.   When I installed C# express, it messed up the "Launch in visual studio" option for the Source Code Editor.   I now get a "Could not start Visual Studio..." error.  Can you help me fix this When I tried to launch devenv.exe using $(Line) to pass the line number devenv didn't recognize the line number as a line number. It thought it was another file.   I can't find anything in Visual Studio's documents to help me fix this problem.  Again, can you help me Ah, right. I'd ...Show All

  • Visual Studio VISUAL_STUDIO_RUNNING

    Hello, MSDN states this installer conditions is added by VSIP. How and where I'm trying to use it from wixscript. < Condition Message = " Please close Visual Studio before installing [ProductName] " > NOT VISUAL_STUDIO_RUNNING </ Condition > Thanks in advance, That topic says you should add such a condition so the 'devenv /setup' action is successful. Unfortunately, there's currently no feature built into MSI to detect running processes. Until there is, you need to write an immediate custom action in native C++. If you use WiX v3, take a look at the latest release in its wcautil library; there are fun ...Show All

  • SQL Server PIVOT question

    I have a basic table consisting of several thousand records. Im trying to generate a pivot query for a report. the table consists of records, each of which has a recieved date ( small date time ) and a tranactioncount ( int ) . Im looking to generate a PIVOT to show the show the month and year counts for the files recieved ie YEAR | JAN FEB MAR APR etc 2004 ! 2 34 67 43 2005 | 12 2 3 1 can anybody explain in laymans terms how to do this Thank you in advance Yes, the use cases of PIVOT operator is very restrictive right now. If you want to pivot on say multiple measures or aggregates the ...Show All

  • SQL Server wmi event watcher task

    hello i would like to know how i can retrieve the file path+name of a file detected by the WMI Event Watcher task, so that I can assign this to a variable for an Import task thanks You cannot. Ideally you would expect the query result to be available in the event for example, which follows the pattern for most events, but that is not the case. I did raise it some time back, but you may wish to log it via the Feedback Center http://lab.msdn.microsoft.com/ProductFeedback/ An alternative may be the File Watcher Task ( http://www.sqlis.com/default.aspx 23 ) ...Show All

  • Visual Basic Transferring Files with HTTP

    I'm making a MMORPG using VB.Net 2005 and DirectX. When the program starts up it connects to my website and checks the version information of my graphics, sounds, etc. If one of their files is out of date, I want to download the latest version from my website. I was wondering how I could transfer files from an HTTP website onto a location on my hard disk using code, without the user having to confirm the download Take a look at the webclient.downloadfile method. ...Show All

  • Visual C++ static initialisation order

    Is it possible to call a global object inside another global object constructor There are techniques which can make this happen(like construct-on first use).But can it work without these techniques I would like to know if the following code make sense which is in an MFC App in constants.h const CString BLANK = ""; in CApp.cpp #include constants.h CApp myApp;//CApp is the MFC global application class CApp::CApp() { m_Str = BLANK; } The code given above is found in an exe which is working fine for years.How is it working What is the technique involved for making sure that BLANK is initialized before myApp ...Show All

  • Visual Studio Express Editions Compiler Code Genreation Options....

    Hi Folks, I am in VC++ Exp. trying to follow a book on SDL. The book advises to select project settings (which is ALT-F7) and then in Object/Library Modules tst box type sdl.lib and sdlmain.lib. For this step I have gone to linker and put them in as additional dependancies Then is says: select the C++ tab. From the catagory drop-down menu select the Code Generation Option. From Use Run-Time Library drop down menu select Multithreaded DLL. I cant find this option - can someone please help me out as to what I should do. Thanks -Al I believe that multi-threading is now the default for ...Show All

  • .NET Development Logout Programatically

    Hi All, There is a simple prob. I m using Login Control in .net 2.0. At some stage on my pages i want to programatically logout. How can I do it. Thx Hi Sandeep, This forum is for questions related to ASP.NET Web Services. General ASP.NET questions such as yours are best handled on the ASP.NET web forums at: http://forums.asp.net You will need to repost your question there. Thanks! Daniel Roth ...Show All

  • Windows Forms Windows Forms tip: use Spy++!

    I wanted to share a great little tip with all of you on how to debunk the inner workings of Windows controls. While .NET Windows Forms is a great library that makes creating forms very easy, there are limits to what you can do with Windows Forms. Luckily, it is just a wrapper around ancient technology, and we can still have a lot more control over the controls than you might think at first glance. Windows messages are still in the core of the .NET framework. I’m sure most of you have overridden a control’s WndProc once in a while.   One of my debugging techniques to see what is going on inside a windows control is to spy it us ...Show All

  • Visual Studio per user variation for build

    In microsoft.common.targets I found the following construct: <Import Project="$(MSBuildProjectFullPath).user" Condition="Exists('$(MSBuildProjectFullPath).user')"/> This made me assume that I can put a [csprojfile].user file in the folder where my csharp project file is located and then override common targets (like BeforeCompile) Unfortenately I don't get this scenario to work. Question: Is my assumption correct (assumptions are the mother of all ****-ups) and if so, why is msbuild not calling the targets in the .user file Tnx, Rene Ok, that make sense. I thought of it as an way of building/compiling ...Show All

  • Visual C++ How to resize a window

    Hi, I would like to resize a window from an external program (without MFC or ATL) Could somebody help me ::SetWindowPos http://msdn.microsoft.com/library/default.asp url=/library/en-us/winui/winui/windowsuserinterface/windowing/windows/windowreference/windowfunctions/setwindowpos.asp ...Show All

  • Visual Studio How to Improve Report Performace

    Hi, My report performance is very low. Eg, To view a single record from a table which has 3000 record, it tooks around 2 min. Is any way to increase theis performance Thanks for all of your valuable support. I also realized that the performance depends upon the image('BLOB field') size. Even for 25 KB image it tooks more time. Does any one suggest me any way to avoid this ...Show All

  • Windows Forms DataBinding to ComboBox, setting to -1 index

    I am making a database interface with VS 2003.  I use a bunch of comboboxes so that the user can select from a list of items stored in the database.  For example, a user chooses a Tester for a particular test, the list of Testers is in a seperate table.  I am generating the combobox list with databinding, but I want to have it default to -1 index, just like a combobox does when you manually add items.  I have tried setting the index to -1 manually in code after my databinding, but there are some strange results.  The comboboxes will display the item in 0 index after setting the index to -1.  I check the Selected ...Show All

©2008 Software Development Network