Alexei_shk's Q&A profile
Windows Forms Application icon is not shown in ALT+TAB menu
Hi All, I am having two windows form. One is a splash screen and another is LogIn screen. Splash screen has properties like ShowInTaskBar=false and FormBorderStyle=FixedToolWindow since I don't want to show this screen in taskbar as well as in ALT+TAB menu. But for Login Screen both the properties are default (ShowInTaskBar=true;formBorderStyle=None), since Login Screen is shown I have to show icon in ALT+TAB as well as in taskBar. Form sequences are given below. 1> Initially splash screen comes up. 2> After few seconds Login screen come on top of it. 3> Once user clicks ...Show All
.NET Development Programmatically create xml document: multiple namespace errors? : URGENT
Hi, I have a xml document displayed below, which I want to programmatically create. <rootABC xmlns=" http://www.xyz.space.com/land "> <ele1 xmlns:xsd=" http://www.xyz.space.com/Airschemas " xmlns:xsi=" http://www.xyz.space.com/AirschemaInst "> <ObjVal> <Name>POC2</Name> <Age>tempCube</Age> <Height>dimension1</Height> <Weight>MeasureId1</Weight> <color>Partition1</color> </ObjVal> <country>ProcessFull</country> <Airport>UseExisting</Airport> </ele1> </rootABC> to ...Show All
.NET Development The proxy settings on this computer are not configured correctly for Web discovery
I have a WiFi network comprising a Netgear router, a desktop and a laptop. A web service is set up on the desktop IIS. But when I try to add a web reference to a web application developed on the laptop to access the desktop web service, I get an error message : "The proxy settings on this computer are not configured correctly for Web discovery". The desktop and laptop both have the Windows XP firewall enabled. The internet browser LAN settings are not set to use a proxy server. What do I need to configure and on what machine Hello Maroller, Sounds like you just need to set your LAN settings. If "Au ...Show All
Visual C++ I need help what should i do first if i am beginner?
what books do u recommend a beginner like me If u hav and code sample please post here (only the real easy ones since i don't know how to program quite well yet). i really need them. thax for ur help If you want a book to thumb through try http://www.eckelobjects.com/ he has a few books for download. Keep an eye on http://msdn.microsoft.com/ they seem to be putting out some e-books, plus there's lots of code samples. Use your search, there's a wealth of information out there ... ...Show All
Audio and Video Development Need help setting audio tracks in iHD
Hi All, Can you help me find the correct code for setting audio tracks in iHD Please see below. We have a title with 8 tracks and we are looking for the code that will set the audio track and then jump to the feature content. This is the function that i have so far: function OnButtonActioned(objEvent) { Player.playlist.titles["feature"].jump("00:00:00:00",false); } I need to know how I can select the audio tracks for the "feature" title. There is a total of 8 different Main Audios for this video. Thanks, Russ Start the playback of "feature" title like in your ...Show All
.NET Development How to create a method with parameters?
I want to create a method object of a class with the class CodeMemberMethod , This method may need serveral parameters, the parameters may be simple data types like Int, bool, or may be objects of some classes like DataTable. How to create a method with parameters I'm not sure how to answer this. I'm guessing you've found some wizard to add methods I'm sure such a wizard exists, however in many years of programming ( longer than .NET has been around, that's for sure ), I've only briefly used such a wizard when I started with ATL ( where I needed to add code in three places, and it was new to me ). You add methods ...Show All
Visual Studio How to add programmically new WebService project to the VS2005.
I have written an Add-in editor to the VS2005 . This Editor is some sort of WSDL Editor and allow to define operation, binding port ,,.. After editing of any WSDL file I generate code ( C#, J#, VB.Net) through using wsdl.exe. I would like to add programmatically the generated code as WebService project to the running solution. Does somebody knows how to do it There big difference between VS2003 and 2005 concerning the WebService project Said, One way of doing this is shown in the macro code below. You can substitute the paths with the ones that you are using. You need to add a reference to the V ...Show All
Visual Studio Team System Error connecting to Team Foundation Server using MSSCCI Provider
Hi, we are currently testing Team Foundation System to see if it is suitable to replace our current source control system VSS 6.0d and are having problems connecting to TFS via MSSCCI provider. We are using the following: Microsoft Visual Studio 2005 Team Explorer Version 8.0.50727.147 TFS MSSCCI provider V1 PowerBuilder 10.2.1 I selected 'Microsoft Team Foundation Server MSSCCI Provider' as the Source Control System in the IDE and then try to select a project and a dialog box for 'Connect to a Team Foundation Server' is displayed in which I select our server and the following error is displayed: Method not found: 'Micros ...Show All
Visual Studio Team System Newbie basic questions
How do I check the name of a public variable, either in a class or a method How do I check the scope of a method or a variable How do I know the return type of a method To find out the return type of a method, see my first post above. As FxCop analyzes binaries and not source code, it is not possible to see the order that properties/methods etc are laid out in source. The same problem occurs with the visibility, members always have a visibility in the binary, so you can't tell when a developer has entered one in the source file. ...Show All
Windows Forms BindingSource Delete/Change
In a form, I have a BindingSource which is bound to a CollectionBase derived class instance. And there is a BindingNavigator and a DataGridView for browsing on the same form. They are both bound to the BindingSource . I hope to display the detail of the child object in another form for deletion or modification when I click the update/delete button in the BindingNavigator toolstrip. This allows the user to, for example, review the detail of the child before confirming the deletion. How could I implement this For the insertion, I put the code in the event handler of the BindingSource 's AddingNew event to dis ...Show All
Windows Forms 2 openGL objects in 2 windows
Hi, I have 2 OpenGL objects in 2 different windows. In the bigger window I show OpenGL object sometimes big than window (and by that way getting scrollbars). In the small window I show optimized OpenGL object to window. When I do refresh of application window (I am working with MDI windows) the scrollbars sets to zero. It happends after I am calling MakeCurrent to the small window or the big window. What I need to do that scrollbars stay and doesn't change to zero Thank's Alexei Alexi I'm sorry, but I can't really answer your question but I'm hoping you can answer mine! It sounds like you've gotten OpenGL working in a Windows.Form&nbs ...Show All
SQL Server Merge 2 Databases?
My problem is this: I have a database file on a hard disk. I have to read that data and merge it into a database on a sql server. How can you merge The databases are set up the exact same way. The only difference in them is the data. Also, in the database file I have image names, I have to compare them to what is on the database on the sql server. Thanks There are many options. bcp out and in plain old T-SQL queries DTS (or ssis if SQL Server 2005) How much data are we talking about ...Show All
Visual C++ how to find the size of an array
Dear all, I have an array of integers defined in a file. Bu I want to use that array in another file. I want to find the size of the array. The code is : // file1.cpp int array[] = {10, 20, 30, 40}; ------------------- //file2.cpp extern int array[]; main() { for(int i = 0; i < (sizeof(array)/sizeof(int)); i++) cout << array << endl; } There is no way to do that! An array is just a pointer, and you defined it with unknown size. Two solutions: 1. Define a end value like -1, that defines the logical end of the array. So you walk over the array ...Show All
SQL Server MS Association Rules Mining Accuracy Chart
I'm trying to check the accuracy of my market basket analysis. My basket ID is in a case table and the items in a nested table. The model builds fine, but I can't run a lift chart. Apparently because the predictable column is also the key column for the nested table. On the 'Select predictable mining model columns to show in the lift chart' it won't give me the predictable column. It tells me I have no mining models selected for comparison. I know this is an 'duh' question. I would be most grateful if someone could help me cure my ignorance. What do I need to do to run a lift chart Actually, this is not a "d ...Show All
Visual Basic How do I get the root of the application ?!?!
Hi! My project has the following directory structure (as any project in VS 2005 - by default): [bin] [obj] [properties] some files... System.Windows.Forms. Application .StartupPath method doesn't give me the root folder of the application, but the debug folder in bin folder. Is there a way I can get the root folder of the application Thanx :) following directory structure: Windows makes a great slad - system and data files in the same partition, generaly the c: It is like mantain "all egs in the same basket". In network, the data files is in a Data Server, and the program files in two parts: a Client in ...Show All
