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

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

xbrady

Member List

Martin Knotek
Prasenna
gleason78
xavito
NewName
erzfezsf
DQM
bazad
it.grandslam
BrunoAMSilva
Henrik Nilsson
Muhammad Adel
JUANCARLOSR
moorpipe
Jesse Wolgamott
cipcip
jamiec
bilo_krewol
CJW99
dnetmgr
Only Title

xbrady's Q&A profile

  • Visual C++ cannot convert parameter 1 from 'char *' to 'System::String ^'

    Hello! I'm trying to read a variable from a ini file and put this data into a input box. Here's my code: char * lpstrINIFile = "inca.ini" ; char * lpstrBuffer = new char [255+1]; GetPrivateProfileString( LPCWSTR( "ADR" ), LPCWSTR( "ADRxPos" ), NULL, LPWSTR(lpstrBuffer), 255, LPCWSTR(lpstrINIFile)); ADRxPos->Text = lpstrBuffer; ADRxPos is the name of the input box, but somehow i get this error on compiling: error C2664: 'void System::Windows::Forms::Control::Text::set(System::String ^)' : cannot convert parameter 1 from 'char *' to 'System::String ^' I've been googling for a solution for the last couple of hours, but can't find anything on how to fix this.  #edit: Sorry for the doublepost, my browser ...Show All

  • Visual Studio Team System The "GenCheckinNotesUpdateWorkItems" task failed unexpectedly.

    Hi, I am testing out the team build features and I have come across this error. C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets : warning MSB4018: The "GenCheckinNotesUpdateWorkItems" task failed unexpectedly. C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets : warning MSB4018: Microsoft.TeamFoundation.WorkItemTracking.Client.UnexpectedErrorException: Cannot complete the operation. An unexpected error occurred. ---> Microsoft.TeamFoundation.WorkItemTracking.Client.ClientException: The process cannot access the file because it is being used by another process. C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBu ...Show All

  • Visual Studio Team System Why is TFS not available to Empower Program subscriptions?

    My beef is that TFS isn't available to anyone with an Empower Program subscription (except in prohibitively expensive editions). The TFS Workgroup Edition comes for free with Team Edition MSDN subscriptions, but it can't be bought separately. If it could, I would have bought it by now. To me, this makes very little sense. Source control/configuration management is very much a grassroots sell (i.e. it's a decision effectively made by programmers rather than by 'bigwigs'), and making TFS widely unavailable means far fewer people able to sing its praises to their peers. I work with several configuration management tools, and I'm able to engage in intelligent discussions with clients about CVS, per:Force, even good old SourceSafe, but ...Show All

  • Architecture Query on Entity Design

    There are times when one might have to load 2 entities out of which only few fields might be required from the second entity in that particular screen. For example I could have a customer entity and an order entity. In an order capture screen I would require the order entity and few fields of the customer entity say name, address.. So the question is for a few fields of customer entity does it make sense to load the entire entity.. This would make even more cause of concern if the corresponding entity has many child entity collections in it. For example one customer would have multiple address, contact numbers and so on. I presonally feel that no matter who little or more one uses the entity, the entire entity needs to be loaded because ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How do i create models in XNA?

    How do i create a model in XNA See this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1069171&SiteID=1 You create models in the modeling software, export them to a format XNA understands, and load them in your XNA program. ...Show All

  • SharePoint Products and Technologies Excel services issues with Project Web Access sites

    Hi, I am trying to access the excel services API of a project workspace site created through project web access and am not able to add the web reference even though the workspace sites exposes the webservice and methods. The following error is given in the web service description box: << The document at the url http://litware:104/_vti_bin/ExcelService.asmx wsdl was not recognized as a known document type. The error message from each known type may help you fix the problem: - Report from 'DISCO Document' is 'Root element is missing.'. - Report from 'WSDL Document' is 'There is an error in XML document (0, 0).'. - Root element is missing. - Report from 'XML Schema' is 'Root element is missing.'. >> Is this webservic ...Show All

  • Visual Studio Express Editions What are VB Express Code Snippets?

    I am brand new to VB.NET. In VB.NET Express, what are code snippets Are they supposed to be actual code usage examples provided by Microsoft or is it where the user can warehouse code for later reference When I reference the code snippet manager, all I get is a brief outline that looks like an XML file. Do I need to download something Note I only downloaded VB .NET express, I did not download SQL Server express or any thing else. I haven't seen much good sample code for snippets. I have seen the Snippet Editor though, which is quite useful! Search for "Code Snippet Editor", it's online somewhere. It allows you to create your own. ...Show All

  • Software Development for Windows Vista Vista control panel (link and icon)

    Hi, All, I've developed a 3rd party control panel applet for Vista and basically it works fine. But I have two issues about the control panel item: 1. How can I add a custom link under the main description of my control panel item in non-classic view (e.g. the "Adjust system volume" link of "Sound" control) 2. How to provide different size icon in classic view I have a all-size (from 16x16 to 256x256) icon in the resource and use LoadIcon function to return the icon handle as the hIcon member of LPNEWCPLINFO structure. However, it seems like the explorer always use 48x48 one and make the icon looks pretty ugly in "Extra large Icons" view. Any comment will be very appreciated. Thanks, Kevin ...Show All

  • Smart Device Development Move from one textbox to another.

    I have created an app that will take user input and place the input into textboxes. The problem I am having is after receiving input from the user in the first box, I can't get the cursor or focus to immediately go to the next box with the button eventhandler. Can anyone help Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Record As String = CStr (TextBox1.Text) My .Computer.FileSystem.WriteAllText( "C:\test.txt" , _ Record, True ) TextBox1.Text = "" End Sub Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click ...Show All

  • Visual Studio 2008 (Pre-release) Cancel a long process Async call

    Hello all, I have a method taggued in the contract as "IsOneWay=true". This method have a long process. I m currently develop an windows application. I want to may user can cancel his request. So i do this : ChannelFactory<IWSSignIn> iSignInFactory = null; IWSSignIn signInProxy = null; iSignInFactory = new ChannelFactory<IWSSignIn>("WSSignIn"); isignInProxy = iSignInFactory.CreateChannel(); iSignInFactory.GetData(); // IsOneWay method with a long process I think that i must use abort method as this : iSignInFactory.Abort(); This work but the channel goes to close state. There is another possiblity Thanks for your help Nicolas Abort wil ...Show All

  • Visual C# How to Convert Current Date into string "yyyyMMdd" like "20061113"

    hi Is there any way to convert the Current Date into string "yyyyMMdd" like "20061113" I have tried this but it did not work DateTime theDate = DateTime.Now; theDate.ToString("yyyyMMdd"); It gives me 2006/11/13 10:50PM But i want a string and not a Date like this "20061113" Thanks Also, if you want specific number of digits, you should use .ToString( "yyyyMMdd" , System.Globalization. CultureInfo .InvariantCulture); To ensure the user's locale settings don't affect it... ...Show All

  • Smart Device Development Visual Studio 2005 With WM5

    I've just upgraded to a WM5 pocket PC, and basically, do I need the WM5 SDK I mean, in Visual Studio 2005, am I still OK to make programs using the Windows Mobile 2003 wizards and deploy using the Deploy to Windows Mobile 2003 device stuff Or do I need to install the WM5 devkit Even though applications written for Windows Mobile 2003 will work at Windows Mobile 5.0, you are advised to use Windows Mobile 5.0 SDK (and it does bring a lot of new stuff that you shall be grateful for). This article can give you an insight into the world of WM 5.0 : http://www.windowsfordevices.com/articles/AT6478846371.html ...Show All

  • SQL Server Invalid attempt to read when no data is present?

    when execute If IsDBNull(sqlreader.GetValue(i)) Then Error info:Invalid attempt to read when no data is present but i am sure there were records Any ideas Regards it's ture,below is my code For i = 1 To sqlreader.FieldCount - 1 If IsDBNull(sqlreader.GetValue(i)) = false Then Row.fieldname = Trim(sqlreader.GetName(i).ToString()) Row.fieldvalue = Trim(sqlreader.GetString(i)) End If Next both fieldcount and getname are right ...Show All

  • SQL Server Can SSIS work without SQL SERVER 2005

    Can I install only [Bus....integ.. dev.... st..]. on my machine without SQL 2005 I have a sybase database management system.. can I work with SSIS Can it extract something from IBM DB2/DATACOM/LOTUS NOTES/VSAM/   pl give me answers with justifications!!!! There are some high-end components in SSIS that are dependent on SQL Server. These are the Fuzzy Logic components but its highly highly unlikely that you will be using these. Other than that, SSIS is a stand-alone tool that can operate against Sybase, DB2 and any other data source for which exists an OLE DB Provider. So yes, you can install BIDS on your machine and it will work with no problems. However, if you want to do anything other than run your packages wi ...Show All

  • SQL Server Second tempdb filegroup

    Can I create a second filegroup for the tempdb in SQL Server 2000 Basically, I have one disk that I want the PRIMARY tempdb filegroup to reside on, and a second disk available for a SECONDARY filegroup should the PRIMARY filegroup fill up. Can this be done with the tempdb Thanks. Nope. Just a symantics issue on my part. I wasn't sure if it was allowed on the tempdb, though a second file on the PRIMARY filegroup will get me where I need to be. Thanks for the help! ...Show All

©2008 Software Development Network