Software Development Network Logo
  • SharePoint Products
  • Audio and Video
  • Visual Studio
  • SQL Server
  • .NET Development
  • Visual Basic
  • Visual C#
  • Smart Devicet
  • Microsoft ISV
  • Windows Vista
  • VS Team System
  • Visual FoxPro
  • Windows Forms
  • Game Technologies
  • IE Development

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

waruwaru

Member List

Strezi
lorenzosjb
Trevor Iwaszuk
jt_10
miran_mmc
happymozart
CoolBrinkman
mvalpreda
laja
RayCan
BhanuKiran.K
Matias Saguir
wcpc_el
huabing78
EricBrown
pawelek
Tadwick
SandeepLohani
ruleDWorld
drmj11
Only Title

waruwaru's Q&A profile

  • Windows Forms Looping through combo box display members

    Dear All, My problem is related to combo box. I have managed to bind values from a select statement from a database to combo box successfully with cbBox1.DisplayMember = "ID" ; cbBox1.ValueMember = "valueText" ; The problem comes when I run for ( int j = 0; j < cbBox1.Items.Count ; j++) { MessageBox .Show (cbBox1.DisplayMember[j]); } When I run through the loop I dont get the exact value of the DisplayMemberbut just one character from the DisplayMember. How can i show the whole text rather than then just a particular character. Thanks. The display member is just a string that tells the combobox what field to get the text from in the datasou ...Show All

  • SQL Server reference member in user hierarchy

    hi, I have a user hierarchy in my Date Dimension such as [Calendar]->[Years]->[Quarters] And I can access the member by directly call the memeber name, for example: select [Date].[Calendar].[Years].[2006].[Q2] on columns, ................................... The results will be correct. However, if I use reference to call the member, for example: select [Date].[Calendar].[Years].[2006].&[2] on columns, ................................... There will be nothing in my results. Would you please tell me what shall I do to enable the reference call to my hierarchy member Thanks. I realized this now. So you have a join on one of the levels in your time hierarchy above ...Show All

  • Visual Basic Activation of Help files in VB 2005

    How can I cause a .chm helpfile to open by clicking a menu item e.g. HelpToolStripMenuItem Which code do I need inside the click event I'm not sure what you mean by the "file:\\" or "file://" portion of the string, but you can use a string varriable to pass the name of the help file: Dim FileName As String = "D:\Data\Help\calc.chm". Help.ShowHelp(Me, FileName) ...Show All

  • Community Chat Creating A new OS

    Hello, I just wanted to make a question What knowledge would it take to make A operating system if you could tell me Cause I am starting to get into building program it may take A long time but dont worry one day your data will be safer then ever I am hoping to do a couple of things in here against bug/virus Encryption and hard ways to get past stuff... If someone would be willing to help me out... Danka sir! ok furby listen to make ur own os u need to create kernel read about kernel programming and better solution to start os programming is to start by c/c++ and assembly i m giving u link of very small OS code here u can get code of small os which hopefully be useful for u. Easy OS programming tutorial with OS code....... ...Show All

  • Visual Studio Team System Performance Problem #2

    We've got a project with 3200 objects. The project contains about 10 errors. When we attempt to double-click on one of the errors to bring up the file, Visual Studio will hang for anywhere between 3 and 10 minutes. The Task Manager shows 'devenv.exe' consuming about 90% of CPU resources for this entire time. We're using the RTM version of DBPro. Amos. Gert, You asked me if I tried these operations while not under source control. I now have. Just to reiterate, we have the following major performance problem areas in our 3200 object project which is under TFS source control: Opening the project, after the first time, can take anywhere between 3 and 20 minutes. This varies widely per developer ...Show All

  • Visual Studio Team System help understanding relationships between TfsWarehouse tables

    I've been tasked with generating a couple of reports for our QA leads. They have created several test categories and each category has multiple test cases (i.e. a basic one-to-many). Basically they want a report where each row is a test category and has the following data fields associated with it: number of test cases written for this category number of test cases executed number of test cases that passed number of test cases that failed number of severity 1 bugs related to this test category number of severity 2 bugs related to this test category number of severity 3 bugs related to this test category So the layout would be something like: Customer Data Entry -- 15 test cases written -- 7 executed -- 3 passed -- 4 failed -- 3 Sev1 Bugs ...Show All

  • SQL Server How to improve the efficience of Sql query ?

    now i want to get results from server tables, but i found it is very slow, for example : select Coalesce(T1.Name, T2.Name, T3.Name), T1.M1, T2.M2, T3.M3 from T1 full outer join T2 on Coalesce(T1.Name, NULL) = T2.Name full outer join T3 on Coalesce(T1.Name, T2.Name) = T3.Name in Tables i have builded index for name, but when every table have 20000 records, the sql above is very slow, is there other method to improve the query speed Thks You're trying to full outer join three tables and on the join condition is based on computed columns... well that's a query not build for performance... If you want to improve performance you need to rewrite the query in a way that doesn't uses c ...Show All

  • Visual Basic Make a paragraph using the Label.

    Hey, my first post in this forum, the friend who told me about Visual Basics 2005 Express Edition told me to ask my question here since he couldn't answer it. Anyways as the Subject says, I'm trying to find out how to put a paragraph in a Label. In Example... ____________ Hello,            | How Are You | ----------------- ^(Labels text)^ Anyone here can help me out Thanks :D! and don't forget to set the auto size property to true Me . Label1 . AutoSize = True ...Show All

  • Visual Studio Team System sotre.query gives more columns then specified in SELECT

    Hi, I'm new to TFS and trying to get all work items for a project in a gridview in asp.net. My code: query = "SELECT [System.Id], [System.Title], [System.AssignedTo], [System.CreatedDate], [System.CreatedBy], [System.State], [Microsoft.VSTS.Common.Severity] FROM WorkItems WHERE [System.TeamProject] = @project ORDER BY [System.Id]"; return store.Query(query, parameters); when I put the resulting workitemcollection as datasource in a datagridview I get 27 columns instead of the 7 I've specified in the select. Funny thing is that I do get different results (less rows) when I adjust the where statement but even if I select just 1 field (System.Title for example) I get 27 columns. Thanks, kip Are you look ...Show All

  • Internet Explorer Development IE7 RC1 window.close() issue

    We have a web application that we are currently testing with IE7 RC1 in order to be ready for the release of IE7. We often open new browser windows using script (i.e. window.open()) but have found that whenever we attempt to close the child window using script (i.e. window.close()) we are prompted with the message "The webpage you are viewing is trying to close the tab. Do you want to close this tab " We do not have this issue with IE6 and have not yet been able to track down the reason for the issue in IE7 RC1. I understand that you cannot close a browser window through script that has not been opened with script. But in our case, we are opening the child window with script. Can anybody tell me the circumstances under w ...Show All

  • .NET Development Getting stream from Socket?

    Im am using the following code to receive an object over a socket connection. How do i get the stream from the socket   Socket listener = ( Socket )ar.AsyncState; Socket handler = listener.EndAccept(ar);   // how do i get the sockets stream so i can go:   BinaryFormatter bf; bf = new BinaryFormatter (); Astruct reci = ( Astruct )bf.Deserialize(stream); try this: NetworkStream networkStream = new NetworkStream(socket); By the way why are you using .Net serialization. I had a very bad experience with it in commercial environment. It works fine on Local Network but on internet it bangs. See BitConvertor class and make your own Serializer a ...Show All

  • Windows Forms Problems with PrintPreviewDialog

    I have the following code: try { printPreviewDialog.ShowDialog(); } catch (InvalidPrinterException e) { MessageBox.Show(e.Message); } When it runs on computer where no printers installed, I get error message as expected. But when user selects the same function second time, the following exception is shown: System.InvalidOperationException: Form that is already displayed modally cannot be displayed as a modal dialog box. Close the form before calling showDialog. printPreviewDialog is the same instance as in first call. I can solve this problem by disabling menu item, using another dialog instance or handling InvalidOperationException. But I want to know right way to do this - how to cancel running dialog, which is still active, ...Show All

  • Visual FoxPro Excel to cursor SPT problems

    I am using a SPT solution to take information from a .xls file and importing it to a cursor with this solution: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=509710&SiteID=1 However, I am now receiving problems where before I had not. Now I am getting Error 1466: Connection handle is invalid. Any ideas guys I can't see what the problem is but it occurs at the sqlstringconnect( ) line. Thanks! Dave's code is a subset of what I've posted and I think I have posted it before (not sure). If it's coming during SQLExec() makes more sense, because as I said before you shouldn't trust all tables in Excel are named "Sheet1$". For example: use customer copy to mycustomer.xls type xl5 Open the xls in Excel and chec ...Show All

  • SQL Server Bulk Insert fails to import data files created on Unix

    It seems to me that files created on Unix machines with line terminator \n, or chr(10), cannot be imported using the Bulk Insert statement. Is this a bug, or an oversight by Microsoft Does this mean that unless one replaces all \n with \r\n, there is no way to use Bulk Insert to import Unix files This is a very strange behavior by MSSQL. Even lessor programs such as Excel and Word automatically recognize chr(10) as a line termination character. Am I missing something, or is this just the way MSSQL is I have never succeeded to convince BULK INSERT to read Unix files, and I find one of these solutions usually works: 1. See if the process that moved the files from the Unix machine can correct the line ends (for example, ftp can ...Show All

  • Audio and Video Development iHDSim 0.2 ERROR (E000000005) & ERROR (E070000012)

    Hello All I have a problem with iHDSim 0.2. I have working HD-DVD project for iHDsim 0.1. But under iHDSim it doesn't work. I see errors: - <Title> Using xml:base: file:///dvddisc/ADV_OBJ/ Attribute: titleNumber="2" Attribute: titleDuration="00:00:23:00" Attribute: id="Main" Attribute: displayName="DvdOne Demo" Attribute: onEnd="Main" ERROR (E070000012): Element ApplicationSegment cannot appear in its current position (Element: Title, Line: 14, Col: 10) + <ScheduledControlList> - <ScheduledControlList> | Using xml:base: file:///dvddisc/ADV_OBJ/ | + <PauseAt> | - <PauseAt> | | Using xml:base: file:///dvddisc/ADV_OBJ/ | | Attribute: ti ...Show All

©2008 Software Development Network