Software Development Network Logo
  • SQL Server
  • Visual J#
  • Windows Vista
  • Visual C++
  • Visual Studio
  • Microsoft ISV
  • Smart Device
  • Visual C#
  • Windows Forms
  • Visual Basic
  • .NET Development
  • Visual FoxPro
  • Architecture
  • VS Express Editions
  • VS Team System

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

timdilbert

Member List

Mitchell Griffin
Allan C.
thomas49th
hapchi
Oleg_Makhota
Jmyung
TomTeesItUp
codedotnet
hakan65
Mareen Philip MSFT
Brian C.
Davidsfg1
Rob Miles
Michael B. Price
Jatin Mehta
Ignus
mpco
klaser123
MarkHarris
Bevelyn Higgins
Only Title

timdilbert's Q&A profile

  • Visual C++ LINK.EXE BUG: /OPT:NOREF option doesn't work!

    My program contains static objects whose constructors are supposed to run at the beginning of the program, but otherwise those variables are  unreferenced . The problem is, when I put these variables into a .lib file, they get completely optimized away and never appear in the resulting .exe! My understanding is that /opt:noref is supposed to cure this, however, it has absolutely no effect. I also tried __declspec(selectany) on the vars, also no effect. The same behaviour occurs with VC6, 7 (2003) and now also 8 (2005 Express). This looks very much like a linker bug. Is there any workaround to this problem (Such as additional linker fl ...Show All

  • .NET Development Type conversion error

    I have multiple projects that depend on SSPI.h (taken from  MSDN code samples).  However, during the conversion to the .NET 2.0 Framework, this file is generating a type conversion error and I am not sure how to fix it.  This is the error where _ _const_Char_ptr is typedefined as System::Char* error C2440: '=' : cannot convert from '__const_Char_ptr' to 'wchar_t __pin *' This is the code snippit:             wchar_t __pin* pwszServerPrincipalName = NULL;             if ((credential->SecurityPackage == Credential::Package::Ke ...Show All

  • Visual FoxPro table buffering mode

    On a statement like this: IF NOT initTableEmpty TABLEUPDATE () ENDIF I get an error: This operation requires table to be opened in buffering mode . SQLBUFFERING is set to ON before the table is opened. It does not help. Actually the error happens once in a while for no reason. I cannot understand what triggers it. Most of the time the statement works. The USE command does seem to have no option for buffering either. Is any help forthcoming I am sure it is. Thanks. >>I used your exact expression with 5 as parameter. It seems to be working although, I haven't done good testing yet.<< ...Show All

  • Software Development for Windows Vista CAZE / State machine authorization

    Would WWF be a candidate for a CAZE-style state machine authorization engine   How would that type of thing be implemented in WWF DNeigler, I'm not too familiar with CAZE-style authorization engines, but it seems like you could use the state machine workflow in a similar way to model the authorization rules of a business application. Arjun ...Show All

  • Windows Forms How to display a form from another one

    Hi all, I am developping an application in VB .Net 2003 with 4 forms. I have crated a main form with some menus. One of those menus should show another form. The problem is that when i referred to the name of this form, i can't acces the "show" method. The only way i found is to create a new instance of my form in the  ...Show All

  • Visual Studio Team System How to capture InnerText?

    How can I extract InnerText or InnerHtml from the HtmlTag I get the enumerator from e.Response.HtmlDocument.HtmlTags.GetEnumerator() and then the HtmlTag but I dont see any method available for extracting the InnerText or InnerHtml. Can anyone suggest how to achieve this You might be able to use the built-in extraction rule "Extract Text" to achieive this.  You can specify the surrounding text with the "starts with" and "ends with" properties.  Something like... StartsWith=<TextArea.*> EndsWith=</Textarea> ...could be used to extract the inner text of a textarea tag. ...Show All

  • Visual Studio Team System Which languages are supported?

    Hi, all. There's a way to generate code for the web tests. It automatically produces VB code. Are there any other languages that are supported for this I'm specifically interested in C#. Can I generate C# code for the web tests Thank you. You can generate VB and C# code. It depends on what flavor of test project you created. When you create a new test project, if you are under the VB projects, then you can generate vb coded tests. If you are under the c# projects, then you can generate C# coded tests. ...Show All

  • Visual Studio Express Editions Serial communications outputting and receiving one byte of data.....

    Okay, I am on deadline here.... 3 days... and for the last 2 weeks I have been trying to find the answer. Apparently there is no easy way to use a serial ports in VB2005 express... Most of the code I have found is for the .net version. It really doesn't port well. I have gone through and for the most part changed what needed to be changed. No Luck.... With the code written below that was copied and I duplicated the form to match the text, combo boxes and everything else it just doesn't want to work correctly. I am trying to write one byte of data to a processor and a few milliseconds later receive the response. the outgoing is the addres ...Show All

  • .NET Development My database doesn't recognise me!

    I am trying my first app using remoting, it involves an ASP.Net (.NET Framework V1.1) app sending data to SQL Server via a remote object. The object is hosted by a simple command line utility and the communication has been tried via HTTP and TCP. In both cases the database failes to authenticate the remote object (Login failed for user '(null)'). The ASP page is using impersonation to represent a domain user with database access but that identity seems to be lost once we reach the remote object. Am i trying something impossible or just missing a vital ingredient In which case, what does the U ...Show All

  • SQL Server How to browse a cube using a web browser

    Hi, I would like to know how to browse a cube using a web browser. So far, my company is using excel to browse the processed cubes but they want to extend the access to other departements and therefore accessing and browsing cubes using a web browser would be more appropriate. I thought using Reporting Services. Unfortunately I don't know the steps to follow. Thanks. Yes, you can use Reporting Services. I would start by checking out the basic Reporting Services Tutorials in Books On-Line. Then to create a report against Analysis Services, when creating a Data Source change the type to an Analysis Services and proceed from ther ...Show All

  • Visual C++ Why AfxGetResourceHandle causes Asserts?

    My scenario is somehow complicated but I try to simplify it: I have a CLR class libraray that wrapps some functionalities of a MFC dll. The MFC dll has a class with a method that calls AfxGetResourceHandle() method, when I use the corresponding method on the wrapper the Asserts are generated. The method is trying to get a handle of a resource that is defined inside the MFC dll, why I got asserts ..\Microsoft Visual Studio 8\VC\atlmfc\include\ afxwin1.inl _AFXWIN_INLINE HINSTANCE AFXAPI AfxGetInstanceHandle() { ASSERT(afxCurrentInstanceHandle != NULL); return afxCurrentInstanceHandle; } ...Show All

  • Smart Device Development Blank IO Exception

    Hi. I'm trying to write to a serial, COM, port on the mobile device. using .NET 2.0 here and WM2005. After months of trying to find out, I found out a couple of ways of doing so. Yesterday I tried the serialport class, unfortunatly when it writes to the serial port, it gives me a blank IOException - no idea why. The COM port is 3 and is enabled in the system settings by default. Next step was to go low level stuff - so I imported coredll.dll so I can use CreateFile(). I seem to be getting a handle, cool! But I guess its a limitation - if i want to give that handle to .NET using the FileStream class, it doesnt have it in the . ...Show All

  • Architecture Architecture templates

    I am in a small shop where we don't have UML tools or other design aids other than Visio. What I am looking for if there is any are templates or guides, standards for how a system architecture should be documented. That standard would also include how architecture should be documented graphically as well. There are a lot of frameworks that offers views for documenting architectures (RUP 4+1, Siemens 4 views, RM-ODP 5 views, Zachman 36 views etc.) -I wrote a blog post that talks about Choosing viewpoints (basically it depends on your stakeholder's needs) Regarding templates - There is one on HP's site: http://www.architecture ...Show All

  • .NET Development Problems with Find-Method and binding

    Hi, I'am using following code to search for a special string and bind them to a DataGridView: Dim drv As DataRowView() dv.Sort = strCol Dim val As Object val = strCol drv = dv.FindRows(val) Me .DataGridView.DataSource = drv First the searched data is displayed correctly, but after a few seconds the error "IsNew" is no member off ... ouccured. The datagridview changed the columns to IsEdit, IsNew, and so one. Can somebody explain me why this error is shown Thank You!! Hi, Here's a code that creates a dataview and sets its RowFilter Property. cheers, Paul June A. Doma ...Show All

  • Visual Basic custom controls

    I am using a custom control (.dll) in my project. Do I have to distribute this control with my progrm or can I store it in the program as a resource or something. ...Show All

©2008 Software Development Network