Seaxouri's Q&A profile
Windows Forms Accessing component from another form
Hi all I'm totally new to Visual Studio , coming from Delphi . My question, I'm sure is pretty trivial. I'm using C# I have a component class (Project/Add Class/Component Class). In this component class, I drop an ImageList. Now, in my main form, I put a button. I would like to define the ImageList property of my button to be the one created in the component class. I can achive this by code but I want to define visually (at design time) the property so I can select the ImageIndex property before compiling. You cannot do this except using code. Phil Wright http://www.componentfactory.com Free UI control l ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Render to texture
this is in response to another thread that I have in this forum. I am having problem of rendering to a texture. I have a texture that I populate by using lockRect and the usage is D3DPOOL_MANAGED. The problem is that I cannot populate this texture using lockRect and D3DPOOL_MANAGED but rather D3DPOOL_DEFAULT, which cannot be populated with lockRect. I have to use D3DPOOL_MANAGED inoder to use SetRenderTarget 1.Is there a way to populate the texture with D3DPOOL_DEFAULT 2. Can you give me an example of using the SetRenderTarget for render to texture Firstly, I did not see where the render target was set. in the onRe ...Show All
SQL Server Scheduling the SSIS Package
Hi, I want to schedule an SSIS package to run always. So I tried scheduling the SSIS Package as a Job in the SQL Server Agent and I have set the Schedule Type as " Start automatically when SQL Server Agent Starts ". I have used an WMI Event Watcher task to raise an event when the file dropped in a folder. And I have provided the configuration file also properly in the job. But still my package is not running properly. The application is running, but it is not raising any events even when the files are dropped in that folder. Pls anyone of you provide some solution for this. Thanks & Regards, Prakash Srini ...Show All
Software Development for Windows Vista What exactly is the point --
-- of workflows I'm not sure I understand completely what this functionality is useful for. Can someone please either explain, or link me to a document explaining Thanks a bunch. :) Workflows allow you to declaratively implement business processes in software. They take care of the long running aspects of business processes and provide model transparency and adaptability to change. There is a paper describing this here . ...Show All
Windows Forms Populating DataSets
Hi, If I create a data-bound form by dragging a data source onto my form, the code to populate the underlying dataset is not generated. Obiously it is a simply line of code, but is it the plan to make this automatic as well Regards Allen Jones Beta1 adds the following lines to the myForm.Load 'TODO: Delete this line of code& ...Show All
Visual C++ Help in finding a 'Browse to Folder' feature.
Does VC++ 6 and/or MFC have any canned code which when called displays a dialog box from where I can browse to different folders on my computer and then when I select the folder I want will then return a string path to that folder or must I write my own code I've done some searching but haven't found anything. Thanks, exactly what I was looking for. Don't know why this never turned up in my searches. ...Show All
Visual FoxPro error registrated COM object as MULTI-THREADED COM SERVER DLL
Hi! on Visual FoxPro 6.0 I created COM object (my_com.dll) as MULTI-THREADED COM SERVER DLL. but when I try registrated COM object I got the error regsvr32 my_com.dll "DllRegisterServer in my_com.dll failed. Return Code was: 0x80004005" Why That tells me it registers successfully using vfp6R.dll(which single-threaded uses) but not the MT version, vfp6t.dll. So, the problem apparently is with vfp6t.dll. Check it's version and make sure there are no other copies on the target machine. BTW, you don't need to include the VFP6R.dll if you want to use the MT version. ...Show All
Visual Studio 2008 (Pre-release) Exception at WindowsFormIntegration.dll
After I upgrade to Feb CTP and run my program, a exception is thrown : System.IO.FileLoadException occurred Message="Could not load file or assembly 'WindowsFormsIntegration, Version=3.0.51116.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)" Source="Flag.PMS" FileName="WindowsFormsIntegration, Version=3.0.51116.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" FusionLog="" StackTrace: at Flag.PMS.GlobalBusinessDomain.Init() at Fl ...Show All
Windows Forms Open Window in new IE window?
Greetings all, This might insult someone's intellligence, but how do I detect if an instance of IE is already open ...and if there is a window open, open in a new window Thanks for any help, Adamus Use ALT_TAB to check if there is another IE window existing Or am I missing something ...Show All
SQL Server Sql Server Management Studio Express Forum
Sorry if this is posted in the wrong place. Can someone tell me where to go to report problems or bugs with SSMSEF. I realise it is a CTP and there is no support, but could someone point in the direction of a suitable forum either inside or outside of MSDN. You can provide feedback and submit bugs using: http://lab.msdn.microsoft.com/ProductFeedback/ Cheers, Dan ...Show All
Visual C# tooltip on datagridview rows
i want to show some details in tooltip on each datagridview row when we move the mouse on datagridview row.the tooltip text is not fixed ...Show All
Visual FoxPro 12 hour time format
Hello, I am doing a program that will compute the time in and time out. As much as possible I want to do the time() function and not the datetime() function but the problem is if I use time() it displays the 24 hour format. What I am tasked to do is to subtruct the time out to time in and be able to display the 12 hour format. Any advice will be greatly appreciated. But surely that's a display issue, not a data storage issue. Tamar ...Show All
Visual Basic Adding Value and text to a Listbox or a combobox
Hi... I have a very basic question, but i have suffered for it for more than 3 days. I need a sample code or a method to add text and value to a combobox and listbox.. Can you help me in that please Thanks If you are trying to simulate itemdata in VB6 which enabled you to store a text and itemdata pair in the combo or listbox this is fairly easy. The example here requires a ComboBox and Button on a form. This will add 3 items into the combo and when you select one and press the button it will display both the text and the value. As the Items collection of the combo/list box can store any obje ...Show All
Visual FoxPro include file conflict
I just found out that if I wanted to include two .h (header) files in a form the second one kicked the first one out. Is it only my wrong perception or it is supposed to be this way Thanks. I have no problems with including two header files for example in Init() method - all defined constants are visible. If you have, try to include your first file in your second .h file. ...Show All
Visual C++ OK, What is with the statements enclosed inside [] operator regarding threading?
I keep looking around to try and figure this out. I keep seeing code with something like [STAThread] on a line by itself. Now, I have figured out that it sets the type of apartmenting you can do. And you seem to use it like the using namespace statements to define if you are going to hae a sta or a mta, but where in the world does the syntax for this statement come from Is this strictly a COM feature in which it overloaded the [] operator Just wanted to make sure I didn't miss some new language element that I may need. Also, I seem to have gathered that you only need to mark things as STA or MTA usi ...Show All
