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

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

Trifection

Member List

taucher
Daxel
MarkH001
jero529
Chev
chudman
chrisexv6
Rob23
veenag
Sunny Chen
Captain Nimmo
StillStandig4Ever
steveculshaw
JoeCoder
Saurav Kr. Basu
rthurber
truppert
Swati@Mastek
MrTufty
adrianf
Only Title

Trifection's Q&A profile

  • .NET Development Problems with creating Structures in .NET

    When I try to create the following structure in VB.NET...         <StructLayout(LayoutKind.Sequential)> Structure Struct1             <FieldOffset(0)> Public Unk1 As Short             <FieldOffset(35), MarshalAs(UnmanagedType.ByValArray, SizeConst:=23)> Public unk2() As Char             <FieldOffset(97), MarshalAs(UnmanagedType.ByValArray, SizeConst:=23)> Public unk3() As Char      &nb ...Show All

  • .NET Development How i can insert null in datetime field

    Hi, How i can insert null into the DateTime field in Table it's possible or not .when i insert a value into date textbox then i Convert it into the Datetime its not a problem but if i didn't insert any value into text box then it take current date ( my class property default value).How i can avoid this problem person.SignatureDate=Convert.ToDateTime(txtSignatureOnFile.Value).Date; __SignatureDate = DateTime.Now; In .NET 2.0 you can use Nullable Types, but when you use .NET 1.x you can't. When you can set the value to DateTime.MinValue or something to indicate it is not set. ...Show All

  • Smart Device Development Porting application between platforms...

    I've been working on developing an application on PocketPC 2003 SDK, and need the application to run on a Unitech device which runs on the PA962 SDK. I've gotten to the point where I get over 300+ errors along the lines of: --------------------Configuration: CORE - Win32 (WCE ARMV4I) Debug-------------------- Linking... uafxwced.lib(afxinl2.obj) : error LNK2005: "struct HINSTANCE__ * __cdecl AfxGetInstanceHandle(void)" ( AfxGetInstanceHandle@@YAPAUHINSTANCE__@@XZ ) already defined in MFCCE400d.lib(mfcce400d.dll) uafxwced.lib(afxinl2.obj) : error LNK2005: "class CWnd * __cdecl AfxGetMainWnd(void)" ( AfxGetMainWnd@ ...Show All

  • SQL Server Partially solved the problem {OLE DB error - TCP Provider: No connection could be made ...}

    All, -> SQL Server 2005 Standard set as a named instance, runs as a local system -> SQL Server protocol enabled: TCPIP (configured to listen on port 1433 with use of dynamic ports disabled) -> Remote connections through the SQL Server Surface Area Configuration. Server starts successfully. But, I received the following error on trying to process a cube from BI studio is - OLE DB error: OLE DB or ODBC error: Login timeout expired; HYT00; 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 ...Show All

  • Visual Basic Installing a VB 2005 App under both Old and New OSs

    I am about to distribute a new application to a diverse group of customers. Some are running XP, some Windows 2000, and some even have Windows 98. What's the best way to handle this I understand Windows Installer 3.1 that accompanies the VS package is fine for Win 2000 and more recent. I also understand that I can download a v2 Installer that will handle Windows 98. Does the v2 Installer handle Net Framework installation as well Can I use the v2 Installer for all target systems, and are there disadvantages to doing so you can use ClickOnce. It should work on window98 http://msdn.microsoft.com/ms ...Show All

  • .NET Development NullReferenceException when disposing MessageQueue

    Hi all, I get the following exception, when disposing MessageQueue in .NET 2.0 System.NullReferenceException was unhandled Message="Object reference not set to an instance of an object." Source="System.Messaging" StackTrace: at System.Messaging.MessageQueue.MQCacheableInfo.Dispose(Boolean disposing) at System.Messaging.MessageQueue.MQCacheableInfo.Finalize() I never had problems while using .NET 1.1. Does anybody know, what can cause such a problem Best Regards Bernd Ritter Do you check if the object is not null before trying to dispose If this is not t ...Show All

  • Visual Studio 2008 (Pre-release) Maintaining transparency of a PNG image when using "IMAGE" in XAML ...

    Greetings - When I use the Image declaration in XAML, I can display the image I want just fine. However, for my PNG image, transparency is not preserved. I'd like to keep its transparency so that the underlying background color of whatever UIElement it is on shows through. Anybody seen this Thanks, Rick ...Show All

  • Visual C# Updating Database

    Hi I am receiving an error message "Error 1 'System.Data.DataRow.DataRow(System.Data.DataRowBuilder)' is inaccessible due to its protection level ",when i try to update the database programtically through datagridview control placed in my from. I want to edit and update a database at run time while changing the corresponding cell values of my datagridview control. Please,provide me the appropriate code snippet with a brief note.... The DataRowBuilder class is not intended to be used directly from your code. The class is sealed and doesn't have a public constructor. Because this class doesn't have ...Show All

  • SQL Server Conditional insert

    Hi All, I think I am a little dense when it comes to understanding SSSI. I want to insert into a table (a) with data from a table (b) located on a different server where the data data from table (b) does not exist in table (a). I know how to create the sql command but, exactly where does the command belong. I don't see how or where the command should be. Also, after the above insert I want to use the same data selected and insert into various other tables. I have not been able to resolve this and any help is certainly appreciated. Thanks, Roy Check this out: http://forums.microsoft.com/MSDN/ShowPost.asp ...Show All

  • Visual Studio Tools for Office VSTO & MS Access

    I'm just trying to get up to speed on the new Visual Studio 2005 and the new Tools for Office.  We do a lot of work with MS Access (and Excel) and what I find odd is that in all the articles I've read there is not mention of MS Access w.r.t. the VSTO.  Do the VSTO not work with MS Access   What am I supposed to use if I am doing development with Access 2003 Can someone please clarify how VSTO works with MS Access   We've already been burned by buying Visual Studio 2003 "Special Edition".  It includes the Office Tools that I believe work with Excel and Word.  Too bad we bought the upgrade to work with Access 200 ...Show All

  • Visual Studio Express Editions Activation

    I am not receiving the e-mail to verify my e-mail address and get an activation key. I have been having trouble registering for the past 3 weeks. The trial period is almost up and I need to continue working. I have tried using the registration, activation link from the product and from the profiles update page. I have also tried using 3 different e-mail addresses. It is not sending me the verification e-mail. I do not have Spam blocker or anything that would disrupt the e-mail from getting to me. Please help. With regard to: activation key register now We were unable to send your e-mail verification mail. An unknown error occurred whi ...Show All

  • SQL Server Works fine inside BI Dev. Studio, but fails when scheduling it in SQL server 2005.

    Hi! We are currently developing a project in SQLIS using the BI dev. studio. The package executes with no problems in the development environment, but when I try to deploy it and execute it using the SQL Server Agent, the package fails. "Work flow" ----------- 01. Build a package deployment utility (Rebuild all). 02. Runs the deplotment utility. 03. Checks that the latest package has been installed. 04. Creates a new job in SQL Server, using the SQL Server Agent.  05. Adds a new step to the job. 06. Sets that it is a DTS package that should be run ("file-based") 07. Sets the location of the package. 08. Saves the job. 09. Starts t ...Show All

  • Visual Basic Help with Writing to Excel

    Can someone please help me write to Excel (Office XP) from Visual Studio.Net (2003) using a Data Adapter Here is my code: (I have been able to connect to Excel, import the data, and fill myDataSet with the Excel import) myConnection.Open() myAdapter.UpdateCommand.Parameters.Add( New OleDb.OleDbParameter("@col2", OleDb.OleDbType.Integer)) myAdapter.UpdateCommand.Parameters.Add( New OleDb.OleDbParameter("@col1", OleDb.OleDbType.Integer)) myAdapter.UpdateCommand = New OleDb.OleDbCommand("UPDATE [Test_Sheet$] SET col2 = WHERE col1 = ", myConnection) myAdapter.Update(myDataSet, myTable) In this instance I have the parameter b ...Show All

  • SQL Server performance comparision of different connection types

    Do you know some performance differences between reading data from a stored procedure using: 1. OLE DB Connection and OLE DB Source 2. ADO.NET Connection and DatareaderSource Przemo ...Show All

  • Visual Studio error message when calling crystal report, please help! Thanks

    I have serveral web applications on the same server, all other apps are working well with crystal report, however, this one always give me the following error message, please give me some hints, thanks. I already installed version 10 on the server. Unspecified error Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: Unspecified error Source Error: An unhandled exception was generated during the execut ...Show All

©2008 Software Development Network