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

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

mparter

Member List

Drake30
Poppyto
pavel989
C_Dedam
rawdrib
nanci ruhl
Jonathan Freidin
MarksmanWaugh
ysfbil
msu
Skimpstar
BobbyRayudu83
The Unknown 7
bataras
Chris Lundie
DA_MOBILE_GUY
Trevor Hancock MSFT
Shannon Broskie
SteveSatriani
tvadnais
Only Title

mparter's Q&A profile

  • .NET Development DataGrid/DataGridView Bug with a Workaround

    You use the DataError event to validate formats in for a DataGridView.   OK, fair enough.   Works well enough . . . unless you have to validate a number.   If you enter text into a number field, a DataError event fired and you can show a MsgBox, as you’d expect.     Problem is, you no longer have a Null; you have a String of zero length, meaning you keep hitting the DataError event, event when there is nothing in the field because the Framework is trying to convert an empty String to a number.   You can’t leave the field.   Now, you could force the user to enter a zero (0) before leaving, ...Show All

  • Visual Basic Chaning a listitem

    Hi, I hav a record set that returns numurous fields of data one being timeoutofhold a datetime value, I fill a listview with these records. Now what i am trying to do is based on a timer. i want to go through the rs and when timeoutofhold is in the past i would like this row to change colour. Any help would be great Thanks ...Show All

  • Software Development for Windows Vista Errors in winnt.h file using visual c++ 2005 express edition and mar. 15 sdk

    Hello. I get the following errors when I try to include winnt.h in my code. I tried using the newest sdk as well as the previous release, and both files seem to generate the same errors. This must be a common problem, but I haven't seen the answer. I'm including stdio.h, xlcall.h, windef.h and winnt.h in my code. Maybe I need to include another header. Any help would be greatly appreciated. Thanks. C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\winnt.h(3857) : error C2146: syntax error : missing ';' before identifier 'ContextRecord' C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\winn ...Show All

  • Visual Basic GettingStarted.htm not found

    After 'successfully' installed VB.NET Express and VC#.NET Express, I encountered the following error when I entered the IDE Cannot find server C:\Program%20Files\Microsoft%20Visual%20Studio%208\Common7\IDE\VCSExpress\HTML\GettingStarted.htm The page cannot be displayed If there are anything go wrong during the setup Thanks in advance. Have a look at the following post: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=2851 ...Show All

  • Visual Studio Express Editions Passing System::Object to a function - how to

    Hi, I am stuck on a problem with pasing an argument to a function. I am using Visual C++ Express Edition and I imported an Active X component. It has a function like this: Virtual Bool AxTRIOPCLib::AxTrioPC::GetTable( int Val1, int Val2 , System Object ^% Values) Can sombody tell me how I can declare and pass an object to it and then later convert returned values into Double I cannot find any examples and I am not so experienced with . NET objects. Thanks a lot, Jerry. Hi, Thank you for your patience. I think it needs to be allocated first. If I don't, I get back unassigned object. I do not have any docu ...Show All

  • .NET Development ...encountered a type that derives from a generic class and is not marked as [ClassInterface(ClassInterfaceType.None)]

    I am getting this compiler warning in my project and it doesn't seem to make sense.  What am I doing wrong "Type library exporter warning processing 'B, myAssembly'. Warning: Type library exporter encountered a type that derives from a generic class and is not marked as [ClassInterface(ClassInterfaceType.None)]. Class interfaces cannot be exposed for such types. Consider marking the type with [ClassInterface(ClassInterfaceType.None)] and exposing an explicit interface as the default interface to COM using the ComDefaultInterface attribute." Well, class B derives from a generic class, List<C>... but it *IS* marked as [Cla ...Show All

  • SQL Server HTTP access to Analysis Services 2005 ?

    Hi, Is there anything in store to allow Excel users not logged in a Windows domain to access 2005 cubes In SQL 2000 you can use an unsupported ASP script (provided by Microsoft) to allow these people to use cubes though HTTP transport. They do have a Windows account however they start their laptop in local mode, therefore normal access with a server name string is not an option for them. They have to use an http connection string. Thanks Philippe Philippe wrote: Right, users wants Excel or Access Sorry guys, I may be off topic here, This is not SSAS. The point is that all ...Show All

  • Visual Studio Express Editions FIND and Delete certain file types????

    sorry if this has been answered before..but i have searched in vain.. hi I hope someone can help me, i'm very new to VB, so please bear with me. All I want to do is what I thought would be simple....ish, is to specify a folder and for the program to search all subfolders within that folder and delete any files it finds with a certain file extension..i.e mp3, txt, doc etc. this is what i have done so far but it doesnt work, i'm probably way off track Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim di As DirectoryInfo = New DirectoryInfo("c:\test") Dim dirs As DirectoryI ...Show All

  • Visual Studio Team System DataDriven test /TestContext DataRow support for C++

    I've created a C++ test project  in VS2005. I'm able to connect to my database, but I don't know how to make a call to access the database. The examples show to use TestContext.DataRow [<column name>] but this example is for C#.   Where's a good place to find examples for C++ Your test context will look like this: private: TestContext^ testContextInstance; public: property Microsoft::VisualStudio::TestTools::UnitTesting::TestContext^ TestContext {     Microsoft::VisualStudio::TestTools:UnitTesting::TestContext^ get()     { r ...Show All

  • Visual Studio Express Editions SqlException was unhandled

    It was working yesterday, but, today I got the following error message on my TableAdapter.Fill statement: "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)" Visual Basic 2005 Express, SQL database table. Jay Hickerson MS wrote: Another thing you could try is downloading the sseutil utility from http://www.microsoft.com/downloa ...Show All

  • SQL Server Doubt regarding BorderStyle and BorderWidth in a table

    When BorderStyle and BorderWidth are specified in a table row, the width of the rendered line appears different from a normal line(drawn on the report) which has the same width i.e. if I specifiy the width as 0.75pt in both the cases, the line, in case of the table row, appears thicker. Can anyone explain this to me and provide a solution for this I am not able to make out where am I going wrong. Regards, Asim. ...Show All

  • Visual Studio 2008 (Pre-release) Determaining isselected inside a data template

    Anyone have any insight on how to determine INSIDE a listboxitem's datatemplete wehether or not it is selected (whether the containing listboxitem IsSelected).   have you tried  {Binding Path=IsSelected,RelativeSource=/TemplatedParent} ...Show All

  • Visual Basic Installing VB.Net without product ID

    I lost my CD box that has product ID on the back. I want to install vb.net 2003 on my new laptop. I have vb.net installed on my desktop. Is there any way I can install vb.net from my desktop or using the original CD without using product ID While I don’t know how to install VB2003 without a product key, this may be an opportune time for you to make a free upgrade to Visual Basic 8 with Visual Basic Express which is a version of Visual Studio 2005 that lacks a few of the advanced features of the paid versions and is simply a language specific version of the more expensive ones and still gives you exa ...Show All

  • Visual Basic comparing rows in a table

    I have a table that collects Sequence Number (auto number) TimeStamp (date and time) TechID (employeed who scanned a transaction) Time Difference I would like to order the data by techid and then by sequence number then update the time difference field by comparing the time between two records. Record 1 SEQNO = 12345 TECHID = 1 TimeStamp = 5/16/2006 12:13:58PM Record 2 Record 1 SEQNO = 12346 TECHID = 1 TimeStamp = 5/16/2006 12:54:58PM I want to update in the time difference field on record 2 to 41 mins or the seconds conversion. Help How ar ...Show All

  • .NET Development Convert Hex to Decimals/Long?

    I have a problem. But on .NET 1.1 My Scenario: Actually I will have a string of hexadecimals read from a xml file. Then from the hexadecimals, i will add 1 value whenever i made any modifications. But just i do not how to get started. It is like an incremental hexadecimals. I have a string of hex. string strHex = "0100000000FF"; I want to convert this Hex to decimals, just like the windows calculate, when you type FF in Hex and click on Dec radio button, it will change to 255. I tried string.Format("{0:d}", strHex); I tried Convert.ToDecimal or Convert.ToInt64 But i still cannot find a solution ---- I know how to convert long to hex ...Show All

©2008 Software Development Network