nagajim's Q&A profile
Visual C# How to show a form inside another form?
Hi all, I'm a Borland Delphi developer and I'm trying to become a C# developer too. With Delphi, I can show a form's content inside a panel that is contained in the Main Form. I don't need an MDI application, because I show one child form at time and I don't want the MDI child window's System Menu (think to Microsoft Outlook). Is there a way to make this with C# and Microsoft Visual Studio 2005 Udhaya Kumar D wrote: U can try a UserControl. Create a UserControl and drop it inside ur form. Thanks for the quick response. If I have two UserControls, how can I show them in an Panel (or similar) in the Main Form at runtime ...Show All
Visual C# VS ComboBox missing display
I while back I wrote a C# program using (among other things) a downdown combobox with items loaded using the .Items.AddRange() function. All works fine on my computer, but on other computers (without the VS Developer software installed), the dropdown box comes up blank. One can still select the different items through the mouse scrollwheel, so I know the data is being loaded, but the dropdown window is blank. Some of our computers have both .NET Ver 1.1 and 2.0 installed, others don't (mine specifically doesn't). The program was developed with VS .NET 2003 software. All the computers are running XP Pro, similiarily configured (though mine's the only one with the VS software), and all have the latest OS updates (I just checked). Any i ...Show All
Architecture SOA and Custom Security Requirements - WSE 3?
Hi, I have a couple of custom SOA security requirements that we have implemented using non-WSE approaches. The main reason being that it wasnt obvious to me where (or if) in the WSE 3 based architecture guide for SOA security from MS these requirements were addresses - I was hoping for some suggestions and/or guidence as to the approach. Initial Authentication and Authorisation The requirement is for a windows client needing to initially authenticate using Windows Authentication to an ASP.NET web-service which is used as a central authentication service. We are using vanilla settings using default credentails to call the web-service which has integrated auth turned on in IIS and 'windows' auth in web.config. The client authenti ...Show All
Visual Studio 2008 (Pre-release) Layout in XAML
Layout is the base part of every user interface and XAML as a markup language to declare future user interfaces in Windows Vista is not an exception. In this article Keyvan covers the fundamentals of Panel elements, as well as some other ways to manage the layout of user interfaces in XAML. Read second part of my tutorials about XAML, titled Layout in XAML on ASP Alliance and check out my comments about this article here . ...Show All
Windows Forms Binding array into datagrid column
Dear All, I have a dynamic array generated. So what I want to do is to keep the array as part of a grid column. I cant afford to put each of the array value as individual row as this list will be a long one. So I am doing grouping and keeping the all the ID into an array and later I want to store this array as column value. So how can I store an array as a datagrid column Hi, Ok let me explain to u in simple terms. In simple terms I have a windows form. So I will choosee from a combo box a value follow by then I will be asked to enter a quantity into a textbox. So upon entering the quantity and based on the quantity I will be asked to enter a particular serial number of times based on the q ...Show All
Windows Forms HELP ME!!!
I was screwing around with the command prompt, and I somehow accessed a menu where I could change the master admin password, but I can't figure out what command I used, so some help would be appreciated! I don't know DOS very Well so I found you this web site, I hope it helps. http://internetbusinessdaily.net/how-to-hack-a-window-xp-admins-password/ ...Show All
Visual Basic Listbox selectedItem not working!!
Hello All, I have a function that fills a listbox with data from sql server 2000 database. Here is the code: (It's in a class) cClass.FillControl(listbox1) In the Class I have this: Public Sub FillControl( ByVal objControl As Object ) Try 'DETERMINE WHAT OBJECT IS BEING PASSED If TypeName(objControl) = "ListBox" Then objControl = CType (objControl, ListBox) ElseIf TypeName(objControl) = "ComboBox" Then objControl = CType (objControl, ComboBox) End If 'CLEAR ITEMS objControl.Items.Clear() 'OPEN THE DATAADAPTER Dim daControl As SqlDataAdapter = New SqlDataAdapter daControl = New SqlDataAdapter(m_SqlQuery, m_Connection) 'FILL THE DATASET WITH DATA ...Show All
SQL Server Charts
Hi, I have a quick question about charts in SQL reporting services... Is it possible to have a page through chart, meaning that an user can page through multiple pages of the same chart No, this is not built in to RS. You may be able to simulate this functionality using drill-throughs, where the user clicks on a link that opens the same report with a different set parameters that result in a new chart. For more information: Working with Parameters in Reporting Services Adding Links to a Report Ian ...Show All
SQL Server Null Values in Destination
Hi to all! I created a simple package – data flow task, containing OLE DB Source, with Data Access Mode – SQL command and OLE DB Destination. My SQL command is update support_incident set date_closed = rn_edit_date where status_text = 'Closed' and date_closed is null DECLARE @CMonth as datetime DECLARE @LMonth as datetime SET @CMonth = '10/1/2006' SET @LMonth = DateAdd (m, -1, @CMonth) select @LMonth as Reporting_Date, (select count(support_incident_id) from support_Incident where rn_create_date >= @LMonth and rn_create_date < @CMonth) as Opened, (select count(support_incident_id) from support_Incident where Date_Closed >= @LMonth and Date_Closed ...Show All
Visual C# Anonymous Methods
Hi Every body I've got a problem i wonder if you could help to solve that. I just wanna access to a control and edit it in another thread anonymously. I don't want to declare a separate delegate and then pass it as a parameter.This feature has included in .Net 2. thanks a lot. I just want to save data that has entered by the user into my SqlServer Database(2005). And I've declared a form that contains a progress bar and a label to show the user application is in progress.I wanna close the progress form if there is any error and show a message box to the user. But i can't do this because the progress form has declared in the main thread and when i want to close it i need to use invok ...Show All
.NET Development How to loop through a list with different generic types?
I have a project that I am working on which I have created a hierarchy of types. The hierarchy contains a Condition<TData> as the base class. The EqualCondition<TData> and NotEqualCondition<TData> are subclasses of the Condition<TData> type. I am trying to perform a foreach operation on a collection of Condition<TData> types. However, I am not sure what TData is on Condition so I am not able to use the foreach(Condition c in conditions) pattern. Here is a sample of the code: EqualCondition<String> ec = new EqualCondition<String>(); NotEqualCondition<int> nec = new NotEqualCondition<int>(); After instantiating these types they are stored in a List type. Later in t ...Show All
Visual Studio align Crystal report component
Crystal report component shows everything in the middle of the page, I could not align it to the left, what is problem ...Show All
SQL Server 700 GB Database
1. I have an issue regarding backup in Microsoft SQL SERVER 2000. I have a database with 700GB size. What could be the best solution(s) for backup. 2. I have 72 GB tape storage device, if I start the same 700 GB backupon 72GB tape device, will it be ask for the next tape after completingone 72GB tape, till 700GB. 3. Tape backup will make slow the transaction I'm going to be setting up a server which will have a pretty large database - I'm thinking it might end up being 700GB. I was currious what the specs of the hardware you were running it on were Any help would be appreciated. thanks. ...Show All
SQL Server Image in table - AutoSize
Hello, I have a image in table. why there is no option to select autosize while image in table ...Show All
Visual Studio Team System How to backup of individual team projects?
Hello, I am facing problem in doing a backup for each individual team project, the daily, weekly backup of the TFS as whole is already in place, but some situations require me to restore data of few projects and not the whole of TFS warehouse. Please help me out on this. Thanks in advance. G'day, As far as I know the feature you have requested (selective backup/restore of Team projects) is not in scope of v1 of TFS. So it appears that as of now we are to use whole database backups. Yours truly, ...Show All
