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

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

TroyDT

Member List

Matt Lin
Ooogaleee
Gandalf Hudlow
Marcin_Zawadzki
Rhubarb
Xancholy
howco
.net sukbir
Rafael Mores
George Meng
prayami
mesh2005
bgrva
Sten G
SuriP
Blader
arse
NeederOfVBHelp
rtaiss
jdarias
Only Title

TroyDT's Q&A profile

  • Visual C++ "error LNK2005"...How to fix it?please help me...

    I'm using Visual C++ Express Edition..I'm programming in Win32 Console Application.When I compile the appliacation,compiler informs that: error LNK2005: "public: class String & __thiscall String::operator=(class String const &)" ( 4String@@QAEAAV0@ABV0@@Z) already defined in UseString.obj 1>String.obj : error LNK2005: "public: __thiscall String::String(char const *)" ( 0String@@QAE@PBD@Z) already defined in UseString.obj 1>String.obj : error LNK2005: "public: __thiscall String::String(class List<char> &)" ( 0String@@QAE@AAV $List@D@@@Z) already defined in UseString.obj 1>String.obj : error LNK2005: "public: char const * __thiscall String::c_str(void)const " ( c_str@String@@ ...Show All

  • Visual Studio Team System TF30059: Fatal Error while initializing web service

    Hi, I got the following error message. " TF31001: Team Foundation cannot retrieve the list of team projects from Team Foundation Server <server name>. The Team Foundation Server returned the following error: The request failed with HTTP status 503: TF30059: Fatal Error while initializing web service. " Can any one help me out in fixing the above error. BP. This could happen because of many reasons. Usually there would be event log entries in the application tier and client boxes that would indicate more information on why webservices could not be initialized. Check you check the event logs and post that info ...Show All

  • Visual Studio 2008 (Pre-release) authorization policy - security validation with action's parameters

    Hi, All I want to implement my authorization policy in the way that validate security base on the parameters of the action (operation), not just the action, any advise on how to achieve it for example [OperationContract()] void MyOperation(para1, para2); I want to validate it base on the value of the para1 and para2 etc. how to get the parameter's info from the requestMessage Thanks a lot. Try this out, and let me know if this works for you. protected override bool CheckAccessCore( OperationContext operationContext) { string msgStr = operationContext.RequestContext.RequestMessage.ToString(); Message msg = Message .CreateMessage( XmlTextReader .Create( new StringReader ...Show All

  • SQL Server Creating an Expression to Modify a Date Field

    In my Derived Column Transformation Editor I have something like this: DAY([Schedule]) + MONTH([Schedule]) + YEAR([Schedule]) where [Schedule] is a database timestamp field from a OLEDB Datasource. I want to produce a string something like: "DD/MM/YYYY" using the expression above, I get something really wierd like "1905-07-21 00:00:00" Help much appreciated! One quick suggestion... you might want to change that last portion to have 3 zeros in the string literal, though you might never see a 1 or 2 digit year anyway, so it may not matter: RIGHT("000" + (DT_WSTR,4)YEAR(Schedule),4) ...Show All

  • SQL Server installation problem

    what do i do about error 15405 it comes up when i try to install database services ...Show All

  • Visual Basic Migrating DAO connection that uses a password with non-printable characters in it

    I'm able to open a password protected MS Access 97 db with the code below: DAO.Database. OpenDatabase(sPath, False, False, ";pwd=" & sDBPwd) where sDBPwd has embedded control characters in it. Specifically sDBPwd uses vbCRLF as part of it's string. Can anyone tell me how to embed control characters in a password string in ADO.NET Thank you for the hints.  I'm still not able to connect to the Access 97 db. My password specifically looks like:  sDBPwd = ControlChars.CrLf & Chr(7) & "teddyBear" & Chr(4) & Chr(16) & Chr(23) My connection string is: sConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Test\Database\mytest.mdb ...Show All

  • Visual C# Ambiguity between methods ... Using method group?!

    Why do I get the following message when I am trying to rebuild my solution ! Warning 1 Ambiguity between method 'Microsoft.Office.Interop.Word._Document.Close(ref object, ref object, ref object)' and non-method 'Microsoft.Office.Interop.Word.DocumentEvents2_Event.Close'. Using method group. C:\Documents and Settings\Charoite\My Documents\Visual Studio 2005\Projects\InteropProject\Microsoft\WordPrinter.cs 27 27 InteropProject Warning 2 Ambiguity between method 'Microsoft.Office.Interop.Word._Application.Quit(ref object, ref object, ref object)' and non-method 'Microsoft.Office.Interop.Word.ApplicationEvents4_Event.Quit'. Using method group. C:\Documents and Settings\Charoite\My Documents\V ...Show All

  • Windows Forms Bind objectdatasource to xmlschema

    Hello and Happy new year! I have a Dataset created from a xml schema (with the xsd tool). I would like to use this dataset as an objectdatasource for a gridview. The data will come from a xml file so I choose the readxml(string fileName) method for the select method (in the wizard). But the schema is not recognized so I can't edit the columns properly in the gridview. I think this is because the readxml method returns a XmlReadMode object instead of a strong typed datatable. Is there a workaroud for this Thank You Hi, Pierre Christophe It seems that you're using ASP.NET as you metioned the GridView which is a control of ASP.NET, but for databinding, there's comparability more or less between WinForm and Web Form, ...Show All

  • Visual Studio 2008 (Pre-release) Incremental search with highlight

    I want implement incremental search in list box. Some thing like this but I don`t wand to filter data, I want highlight (change background color) of the pattern in text. Any idea Thanks. ...Show All

  • Smart Device Development IR Command...

    Hello, I need to make a program that receives a command from an infrared device... like a remote controller... is there any way of accomplish this can someone show me the way thanks... Hi That depends on various aspects like the way the IR device transmits its data (Serial over IR, IrDA...), the Windows Mobile Device you're using. Windows Mobile (and the underlaying Windows CE OS) supports 3 ways to access the IR port: IrDA Sockets: a managed API is available in System.Net.Sockets. IrDAClient (System.Net.IrDA.dll) IrCOMM (COM emulation over IrDA): use the .NET CF 2.0 SerialPort class to use this techology More infos are available in the MSDN library under http://msdn2.microsoft.com/en-us ...Show All

  • Visual Studio Team System Does VSTS support Dynamic data binding ?

    I am facing the problem: How can I bind dynamically generated Product ID to form post parameter from db with condition that this productID was previuoslly generated by company XX Thanks Casik What you'd want to do is create a view in the database that puts all the data for a virtual user on a single row. Each row in the view would then represent a virtual user. Our databinding will pick a different row automatically for each virtual user. Alternatively, you could use standard ADO.NET to read directly from your database and grab the info you need right at the start of your tests. You could do this in a coded web test or by creating a WebTestPlugin. You could add all the data you need to th ...Show All

  • Visual C# foreach where

    Is there anyway to specify the types of items to get when you iterate through a collection with foreach. Right now you have to do like this foreach ( UIElement b in maincanvas.Children) { if (b is Bomb ) (b as Bomb ).Move(); } Another way is this: foreach ( Bomb b in maincanvas.Children) { if (b ! = null ) b .Move(); } I think both ways are very inconvenient, I want to do something like this. Just like when you specify generic objects: foreach ( Bomb b in maincanvas.Children where b : Bomb ) b .Move(); Is there any similar syntax that does what the above snippet do I know the snippe ...Show All

  • Visual C++ Outlook, Word instantly shut down (Office 2003, 2005)

    I created a program that makes an outgoing http get or post message and it works fine. However if Outlook or Word are running on the machine where this program is running, those apps instantly shut down completely without any prompting to save and no save happens - basically ripped right out of memory. I don't have the option of trying another port number either. Any ideas For such issues, please use the newsgroups at http://msdn.microsoft.com/newsgroups where folks will be familiar with similar topics. OTP Thanks, Ayman Shoukry VC++ Team ...Show All

  • Visual C# How to go to a specific line of text file programmatically?

    Hi, I am working with a text file, that contains a hexadecimal character. I need to go to a specific line and certain position, get this character, assign it to a string(or other datatype), remove it, then save the text file. What object.method I can use in C#.net Thank you very much! No there isn't one line way for that. You can also use different solution. Read the whole file in to string. Then split the string lines using Split method to get string[] array. Then you can access that array by index which is the row number. This will be efficient if you have small file. ...Show All

  • Visual Studio Express Editions An error about an error

    Hi all, Sorry to bother you all yet again (I'll bet you're getting sick of me by now), but I have yet another odd question for you. When I run my program in debug mode (Press F5 in VB 2005), it comes up with an error message and highlights that exact piece of code. Here is the full block of code it picks up on, and the highlighted bit is both the error message it gives me, and the bit the debugger highlights. <System.Diagnostics.DebuggerNonUserCodeAttribute()> _ Public Property Signature_File() As Byte () Get Try Return CType ( Me ( Me .tableTime_In_Table.Signature_FileColumn), Byte ()) Catch e As System.InvalidCastException Throw New System.Data.StrongTypingException( "The value ...Show All

©2008 Software Development Network