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

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

nhaas

Member List

Eddie Garcia
saabdude
Thaya
cisco0407
dr.acv
susanasusana
jojobar
Computer Guy69146
wshs
Hacker Boy
Syed Rahman Mashwani
Urip
Laurent87471
jortiz
binod m paul
Akil
mike.cann
Gifford Hesketh
Ancalagon
Christophe Bauwens
Only Title

nhaas's Q&A profile

  • Visual Studio Assigning Reportviewer datasource at runtime?

    I have a winform with a reportviewer object on it. I'm trying to get data from a datatable to display on the report. myDatatTable is created and filled at runtime. I don't get any errors but only the literal below displays in the report. Or, the report is completely blank depending on what the literal is. Microsoft.Reporting.WinForms.ReportDataSource rds = new Microsoft.Reporting.WinForms.ReportDataSource(); rds.Name = myDataTable.TableName; rds.Value = myDataTable; reportViewer1.LocalReport.ReportPath = "Report1.rdlc"; reportViewer1.LocalReport.DataSources.Clear(); reportViewer1.LocalReport.DataSources.Add(rds); reportViewer1.RefreshReport(); In the report designer, I have a textbox with this in it Fields!PersonCode.Va ...Show All

  • Smart Device Development Updating listview frequently

    Hi, I have a list view to support presence, it has a buddy and his status using (Session Initiation Protocol). I want to update it whenever someone changes his status. What is the best way to update it I try this code but it does not work it hangs, I wonder if there any other solution if (e.Request.Method == SipMethod .Notify) { string tstatus= "" ; GetStatus(e.Request.Body, ref tstatus); OK ok = new OK (); client1.SendResponse(ok, e.Request); StringBuilder sb = new StringBuilder (e.Request.From.ToString().Remove(0, 5).Split( ';' )[0]); sb=sb.Replace( "@here.com>" , "" ); UpdateListView(sb.ToString(), tstatus); //to a ...Show All

  • SQL Server attribute key was not found error

    everytime i try to process my cube i get this error: Errors in the OLAP storage engine : The attribute key cannot be found : Table : dbo_MCSFinFactData , Column : InvoiceDateDimensionID , Value : 15. Errors in the OLAP storage engine : The record was skipped because the attribute key was not found . Attribute : InvoiceDateDimensionID 8 of Dimension : InvoiceDate Fiscal Year 2 from Database : SRDBAnalysis , Cube : MCSFinancial , Measure Group : MCSFinancial , Partition : MCSFinancial , Record : 10. I have checked the dimension table and the record with an invoicedatedimensionid value of 15 exists. there are also many records in the fact table that use an invoicedatedi ...Show All

  • SQL Server How can i change security mode of SQL Server Express 2005

    Hello, I have created one application in visual studio 2005 and also created setup project of that application. now i want to install SQL Server Express edition with my application. so i have checked SQL Server Express 2005 in Setup Project Properities(Prerequisites...). now i want to change SQL Secirty Mode during setup. and i don't know how can we do this Any idia Yes i connecting to correct SQLExpress instance. but don't warry, it's solve now bcoz i directly change parameter in package.xml (Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\SqlExpress\en) file. ...Show All

  • Visual C++ multiple libraries problem

    i am attemoting to use multiple libraries for my program since i need to use a library created by an outside party which contains functions i need in my proram. the problem is when i add this library to my Additional Dependencies this is the error messages i get (the include/sources/etc paths also already changed to include the new funcations) Linking... LIBC.lib(crt0dat.obj) : error LNK2005: _exit already defined in MSVCRTD.lib(MSVCR80D.dll) LIBC.lib(crt0dat.obj) : error LNK2005: __exit already defined in MSVCRTD.lib(MSVCR80D.dll) LIBC.lib(crt0dat.obj) : error LNK2005: __cexit already defined in MSVCRTD.lib(MSVCR80D.dll) LIBC.lib(fflush.obj) : error LNK2005: _fflush already defined in MSVCRTD.lib(MSVCR80D.dll) LIBC.li ...Show All

  • Smart Device Development Problems to open PR_BODY message property - CEMAPI

    Hello everyone, I am having a problem to get the email body from IMessage using CEMAPI in WM 5.0. My application is actually an extended menu item (implements IContextMenu COM interface) that takes part in the Inbox message menu. By selecting the extended/my menu item I open from code a cemapi session and I retrieve the selected message. I succeed to get the message properties without errors (e.g. PR_SUBJECT), but when it comes to PR_BODY the behavior is different. The following common code that I am using always returns 'MAPI_E_NOT_FOUND'. hr = pMsg->OpenProperty(PR_BODY, &IID_IStream, STGM_READ, 0,(LPUNKNOWN*)&messageStream); I looked over the web and I didn't find any solution for ...Show All

  • Visual Studio Tools for Office Taskpanes created in VSTO workbook visible to all other workbooks which are opened --- How????

    Hi Alex Thanks for the e-mail. Its a clever work around. Am I right in saying that you take the current VSTO document, save it, and then you would either save it as a new one in the case of someone who wants to create a new workbook or if it is an existing workbook, the contents of the existing workbook would be copied into existing VSTO project I'll have to think about this one. Two issues I would have are as follows: If I make anhancements to the code in the existing project in VSTO dev emvironment this will not effect the other previous workbooks with the old code saved. The other issue I have is that the action pane I have developed is heavy. i.e. It uses infragistic controls and once loaded with data, between itself ...Show All

  • Visual Studio 2008 (Pre-release) What about the big picture enterprise?

    I have been reading many articles about Indigo WCF, ADFS, WSE 3.0, SAML, WS-Federation, and WS-Trust. and most of these articles focus on the application-level logic with .NET code samples. That's fine for application developers, but as an architect I would like to have a better understanding how these technologies are woven together. How will they interoperate with the competing OASIS standards The current state of things reminds me of the early days of CGI and ASP.. with HTA HTX server side files, custom ISAPI filters, etc. Early adopters often had to discard the code later. I would like to get a better idea what technologies are a "safe bet" to build a mission critical system that will have to go live two years from now with ...Show All

  • .NET Development .net 3 RTM on Vista RC

    Is it possible to install .net framework 3 RTM on Vista RC1-RC2 Thanks here ...Show All

  • Windows Forms High level of control over PDF documents

    Hi I’m creating a very professional Windows form App news reader. Now that I discover that make pagination with HTML controlling each version of the client browser is a torture. I want to use PDF format to deliver my documents. I don’t want the clients to have Acrobat reader installed on their machines (40MB in memory when is up) but I need a powerful control of the printing PDF experience I’m going to allow user to print documents in two ways: 1. They look at the document inside a form and print it if they want (I guess I need a reader or a plug in developed by myself) 2. The application print unattended some document pre-programmed (without showing the document) 3. I also want to control printing ...Show All

  • Visual C# How to check if letter exists in string?

    Hello! How can I check if a letter exists in a string Matt use the Indexof mehod of a string private bool CheckExists( string Fullstring, string Required) { int Sindex=-1; Sindex=Fullstring.IndexOf(Required); if (Sindex == -1) return false ; else return true ; } Peace ...Show All

  • Visual C++ How to append two TCHAR[]s?

    Suppose I have: TCHAR buffer1[64]; TCHAR buffer2[64]; TCHAR buffer3[128]; I want to basically do something like: sprintf(buffer3, "%s%s\n", buffer1, buffer2); There doesn't seem to be a sprintf() that can handle TCHARs. Can somebody clue me in on how to append two TCHAR[]s Thank you. try using _stprintf for more generic handling (a TCHAR is a char in non-Unicode builds and a wchar_t in Unicode builds) e.g. _stprintf(buffer3, _T("%s%s\n"), buffer1, buffer2); ...Show All

  • Visual Studio Express Editions vb 2005 or vc# 2005??

    I have the option of wither taking visual basic.net 2005 or visual c# 2005 in a college class (3 credits, 4 months long)..What should i take, i know how each looks and feels, however, i need some advice from the pros..I just want to make sure that whatever i pick up, it going to be a good choice...also, i hear a lot of neg remarks about vb6, i havent heard to much about vs 2005.. Thanks VB6 is no longer supported by Microsoft. Other than that it's a great language. As to which .Net language you should go for then that's up to you, since my background is VB6 I prefer VB.Net. If your just starting out then it doesn't really matter but BASIC should in theory be easier. ...Show All

  • Visual Studio 2008 (Pre-release) WCF and MarshalByRefObject

    Hi, We're porting a project from .NET Remoting to WCF. We're facing a problem. Our .NET Remoting Service has a method witch returns an instance of a class that inherits from MarshalByRefObject. In remoting this approach works and subsequent methods invoked in the returned class are executed in the server. How should we do it in WCF. As is, we get an exception regarding an invalid contract. Regards Pedro Gomes Aaron, Thanks for your post. I read the samples and they seams to solve my problem. Let me give all a brief overview of my problem: I'm sending by the wire instances retrieved by a ORM tool. The problem is related to lazy load foreign key. In this case the entity is a ObjectRef ...Show All

  • Visual Studio Installation Problems? "operation is not valid due to the current state of the object"

    I have installed the VsSDKSeptember2006 tools and attempted to go throught the "Family Tree" walkthrough. I complete the project setup by choosing the "Domain Specific Language Designer Project" and enter the defaults. Once I click finish I get a dialog with the ever informative "operation is not valid due to the current state of the object". error. I end up with a blank solution with no projects. When I attempt to add a project to the solution of "Domain Specific Language Designer Project" the Add New Project wizard has the OK button disabled so that I can not create it. Has anyone seen this and know of a work around Hmm, These "QualityTools" ...Show All

©2008 Software Development Network