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

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

TonyX852

Member List

hashbrown
Pradeep Gupta
Latso
Keith Henkel
mikecc
Doug DeBug
Richard Morgan
Valur Einarsson
jortiz
Kaos
Nolubez
Dietz
Christof Koch
Malain
Helen999888
DiasVFX
jiao
Hendo
David J Oldfield
Tom Sapp
Only Title

TonyX852's Q&A profile

  • Smart Device Development WM_RASDIALEVENTdoesn't seem to be working

    I am having trouble getting the callback interface for the RasDial function to work. My Dialog box calls the RasDial function from a Button Click Event handler, as follows: hRasConn = NULL; memset (&m_RasDialParams, 0, sizeof (RASDIALPARAMS)); m_RasDialParams.dwSize = sizeof (RASDIALPARAMS); m_RasDialParams.szPhoneNumber[0] = TEXT( '\0' ); // use the phone number from the Ras Named Entry m_RasDialParams.szCallbackNumber[0] = TEXT( '\0' ); StringCbCopy(m_RasDialParams.szEntryName, sizeof (m_RasDialParams.szEntryName),m_szRasEntryName); StringCbCopy(m_RasDialParams.szUserName, sizeof (m_RasDialParams.szUserName),m_szUserName); //This is optional StringCbCopy(m_RasDialParams.szPassword, sizeof (m_RasDia ...Show All

  • Visual Studio Custom Project Item Templates

    Hello everyone, I am developing a new project wizard, and from it I am trying to use an existing project item from a template I created that is working fine. The problem I have is when I call GetProjectItemTemplate from the solution2 object, I get: The system cannot find the file specified. (Exception from HRESULT: 0x80070002) So, I started testing some things, and replaced my call for the custom template with a call to a microsoft supplied template, class.zip: string classTemplate = soln2.GetProjectItemTemplate("class", " csharp" ); I found that this works just fine. However, if i replace "class" with another microsoft supplied template, Form for instance: string classTemplate = soln2. ...Show All

  • SQL Server Scheduling the replication job agents

    Hi all, I have encountered some problems in scheduling the replication agents but before explaining that let me give a small background of the current DB landscape. It is implemented as Star topology or re-publisher topology with the publisher and the subscriber configured on SQL Server 2000 and it consists of ShareDB on SQL Server 2005 which acts as the re-publisher of data. All other databases publish articles to ShareDB which in turn re-publishes to the databases which subscribes for the article. The topology is using a remote distributor on SQL Server 2005 to offload the replication agent jobs processing from the OLTP environment. The distributor job agent is running continuously and it is shared for a specific ...Show All

  • Windows Forms ClickOnce doens't install application locally

    Hello ! I have an Winforms application that uses a component DLL and specific configuration by mean of app.config file. When I used ClickOnce to install the application on a client computer, a start menu item was added, but it seems that created shortcut points to the internet site where the installation resides. The application wasn't installed locally. I need to customize the app.config file to accomodate to client environment, but if the application is launched remotely, I cannot do that. Any help will be greatly appreciated Thanks Jaime We have noticed the same thing, when we use ClickOnce the only thing we could find was a shortcut in the start menu Any help would also be greatly appreciated thanks Lam ...Show All

  • SQL Server BI Portal 2003 connecting to SSAS 2005

    Hi, I seem to have a problem connecting to the analysis server 2005 when I create a data source in BIP 2003. When I supply the servername, it says that "the server does not exist or access denied". However, when I try to use the Advanced option and create a connection string, I encounter an error message stating the ff: Line: 465 Char: 4 Error: the object doesn't support this property or method Code: 0 URL: http://localhost:8080/_layouts/1033/Menu.htc How can I make a data source connection Help is very much appreciated. Thanks in advance, May Lanie Hello May, Were you able to resolve this issue I am experiencing the same issue. Please let me know either way. I will let you k ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. will i need to learn the basics for c#

    before i can start developing games or will the software help for new begginers. i am learning (supposedly the basics of c++ this year) but not c#, althought microsoft just donated sum stuff to my high school so i imagine it will be microsofts visual c++. i was just wondering if im going to haft to go through the hardships of learning c#. I would aprreciate it if anyone could give me a good website to learn the latest version of c# or atleast were u learned i would appreciate it thanks One good place to start is the Visual Studio Express Pages on MSDN, there is also a video series that you can follow that takes you through the basics of C# ( http://msdn.microsoft.com/vstudio/express/visualcsharp/easyto ...Show All

  • SQL Server SSIS remote connection

    Hello. I am trying to remotely connect to SSIS from my PC using windows authentication in SQL mgmt studio and I keep getting the following error message: --------- Cannot connect to <server> Additional Information: Failed to retrieve date for this request. (Microsoft.SqlServer.SmoEnum) Connect to SSIS service on machine "<server>" failed: The RPC server is unavailable. --------- I do not get the same error when I connect to the database engine, just SSIS. I don't have a firewall inbetween the machines either so it can't be that. Has anyone else had a similar problem if so, I would be grateful if you can you tell me how you got around it Thanks ...Show All

  • Visual Studio Tools for Office How can I copy range's style to another in Excel?

    Hi everybody, I have a problum that I selected a range on Excel worksheet, and inserted another range on the same worksheet, now I wanna copy the selected range's style to the inserted one, I use insertedRange.Style = selectedRange.Style; or insertedRange.Cells.Style = selectedRange.Cells.Style; both of the two works not correctly, what is the mistake This appears to be more an Excel object model question than a VSTO question, so it might be better to ask in the Excel-specific group. When you do ask, you should describe exactly HOW it doesn't work. FWIW, from a quick scan of the Excel UI and VBA Help files, I'm guessing you might have to first create the style you want to copy (assign a style name to the formatt ...Show All

  • Visual Studio Express Editions Using PrintDialog(), can I specify "Preview"?

    When using PrintDialog(), where the user selects which printer to use, is it possible to specify a preview, that is whithout the user having to select preview Private Sub btnPrintDialog_Click(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles btnPrintDialog.Click Dim dlg As New PrintDialog() dlg.Document = mDoc If dlg.ShowDialog = DialogResult.OK Then mDoc.Print() End If End Sub Code Snippet Dim WithEvents dlgPrintPreview As New System.Windows.Forms.PrintPreviewDialog Dim WithEvents mDoc As New System.Drawing.Printing.PrintDocument Private Sub PrintWithPreview() Dim dlg As New PrintDialog() dlg.Document = mDoc ...Show All

  • SQL Server Need help in starting out

    Hi Everyone: I am just starting out on SSIS, and have the following business challenge that I would like to solve utilizing SSIS. There are two SQL Server data stores, one would be the source, and other would be the destination. I need to grab some data from store 1, and insert that data into store 2. Here are my questions: 1) Before i move the data to store 2, i have to check some criterias by callin some sps, and then the end result would need to be inserted into the destination database. Can anyone tell me how would i setup the control flow, to accomodate that in SSIS 2) Can someone email me a sample package that does something similar I just need a starting point so i can build the design of my package. Basically i need to ...Show All

  • Internet Explorer Development Inconsistent behavior with an extension reading Cookies on Windows Vista

    My toolbar a.k.a. extension has to take different behavior depending on whether you are logged into our website or not. Pre-Vista, we were able to check the existence of the cookie without any problems. If you tried an action that required authentication without being logged in, the toolbar opened a dialog (which is a windows form with a web browser control) pointing to our authentication page. Once you logged in there, the toolbar continued on its merry way. On Windows Vista, however, it doesn't quite work this way. Only after I physically navigate to the website and log in does the toolbar read the cookie correctly. Trying to authenticate "on-the-fly" by popping up the dialog does not result in a cookie being stored where the t ...Show All

  • Visual Studio Duplicate help entries in contents. . .

    It appears that the standard VS 2005 documentation has been registered twice. In the contents explorer I have two entries for Dev Tools/Ent Servers/.Net Dev/Mobile & embeded/Office Solutions/Web Dev/Win 32 & Com/Knowledge Base In the ide, when I have dynamic help showing, two identical topics are displayed for any selected item. In the help system, if i click a link, a dropdown displays two identical topics for me to select from. Any idea how to fix this For example, heres the links for methodinfo: ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref10/html/T_System_Reflection_MethodInfo.htm and ms-help://MS.VSCC.v80/MS.MSDN.vAug06.en/cpref10/html/T_System_Reflection_MethodInfo.htm wich one shoul ...Show All

  • Visual Basic VB.Net programming on VB6 IDE???

    Can VB.Net Programming be done on VB6 IDE...i have .NET framework installed on my computer You can do VB.NET programming in any text editor including notepad!...But the VB6 IDE will not provide the correct error checking nor will it compile for you ...Show All

  • Visual Studio Tools for Office VSTO 2005 Solution in Word-Template doesn't opens in 2007 Word

    I have a VSTO 2005 Word Template with an attached XML-Schema which is distributed over several files. The template contains tables and nested tables. The table cells contain the data within XML-Nodes. The VSTO-Solution opens in Word 2003. In 2007 Word the template opens but not the VSTO-Solution, an error "This Action is not valid outside of a block--level XML element." occurs, followed by a "Office document customization is not available.". If I remove the XML-Nodes and insert them at the beginning of the document, in front of the tables, the VSTO solution opens in 2007, that means, my security configurations and the solution-entry in the document-properties are correct. On the other hand, if I let the XML-Nod ...Show All

  • Software Development for Windows Vista Error when opening xamlpad: Cannot locate resource 'xamlpadapp.baml'

    HI, I installed .net framework 3 beta2 and windows sdk on a clean system , no previous beta installed. when I try to run the xamlpad, a fatal error happens, I tried to debug then I got the detail error: ================================ An unhandled exception of type 'System.IO.IOException' occurred in PresentationFramework.dll Additional information: Cannot locate resource 'xamlpadapp.baml'. I have no idea aboout this. is there anyone can help me Same thing here. I first thought it was related to the WIC (Windows Imaging Component) problem with the .NET Framework 3.0 but, it is not since I finally resolved this issue. I checked within the application and strangely enough, the xamlpadapp.baml resource is there. ...Show All

©2008 Software Development Network