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

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

pcd

Member List

Qiming Lu
Tazz72
NeederOfVBHelp
Dasa
mohd sufian
SneakerXZ
Tim Mavers
jules_newbie
barbbayne
Suren...
Moim Hossain
Mahender
prg
Mark_Davies
vikionline
anjulis
laiseng
spepperchin
Tom Regan
carda
Only Title

pcd's Q&A profile

  • .NET Development Calling javascripts written for windows client from a web client

    Hello all, We have an app built on .net 2.0 that makes use of xml web services on the backend and we have a thin windows client on the front-end. The windows client makes use of the new web browser control. Through this control we makes calls to the windows client code which in turn makes calls to the web services and display the formatted info to the user. All of these calls are being made through client side javascript on the client HTML. Using window.external.MethodCall(), the HTML elements make calls on the client code methods which in turn call the webservices webmethods. Now we are looking at making a web client (instead of a windows client) that runs on the browser. How can I re-use the client code to the most the window.ex ...Show All

  • Visual C++ Can you share global variables between a DLL and a calling program?

    Can you share global variables between a DLL and a calling program If so I would appreciate any tips. I tried putting the global variables in the DLL but it crashed when the VB porgram tried to call it. So you can see what I did, I posted the following code. It compiles with those decorations commented out, but the computer generates an access error when the VB calling program tries to call the dll. // d.cpp : Defines the entry point for the DLL application.\par #include "stdafx.h" #include "stdio.h" #include"math.h" #include"string.h" #include"windows.h" #include"string.h" /*extern "C" __declspec(dllexport) */char *filepath2; /*extern "C" __ ...Show All

  • Visual Studio 2008 (Pre-release) IWsdlExportExtension contracts

    Hi all, I we have an environment where there is a set or message inspectors that on the client, inject a custom header to pass information to the service and then on the service side take it and expose the information as a class that is available to service methods. The problem i have is this header is not exposed on the wsdl and i would like it to be so that non wcf clients can pass the information. I think i need to have a class implement the IWsdlExportExtension interface but i cannot find any example of using the ExportEndpoint method Can anyone help me on this, or recommend how i can expose the header in the wsdl There are few examples already in the this forums 1. http://forums.m ...Show All

  • Visual C# error CS0029:Cannot implicitly convert type 'int' to 'bool'

    for (int j=arrcolid.Length-1;j=0;j--) //<--error line      {      path += "<a href=article/" + arrcolid[j] + ".htm>" + arrcolname[j] + "</a>>>";     }   Note: "arrcolid" and "arrcolname" are array. I answered this on your other thread... >> for (int j=arrcolid.Length-1;j=0;j--) Well, that's easy. j=0 is an assignment, which evaluates to 0 (int) j==0 is a comparison, which evaluate to t/f (bool) ...Show All

  • SQL Server SharePoint Server 2007 Integration with Reporting Service 2005

    Hi, I am working on sharepoint 2007 integration with reporting service 2005. There are few facts which i am trying to understand and need some clarifications. Please provide your comments 1) While configuring "Database setup" in Repoting Service Configuring Manager" i found two modes 1) Native and 2) SharePoint Integration. When creating a report server database if we check "Create the report server database in Sharepoint Integration Mode" then it set the mode to "SharePoint Integration Mode". There is no option of switching the same database to native mode. So i have to create another database in "Native Mode". (IS THIS CORRECT. DO WE NEED TO CREATE TWO REPORT SERVER DATABASE SEPERATE FOR ...Show All

  • Visual Studio Team System Ignore warnings? - no warnings for select * into #temptable?

    It would be great to be able to ignore warnings. C# lets you add an attribute to ignore. I'm sure something similar could be worked out as a T-SQL comment with some metadata in it to do the same. Also I found a warning that technically shouldn't occur. Suppose I have an SP like: select * from tableA into #temptable where... select columnA from #temptable TSD3028: The following dependencies are missing from your database project: [Variable|Column] dbo.#temptable.columnA It should be clear from the select * into that columnA exists in the temp table. If there were an option to ignore temp table dependencies altogether that would be fine as well. It is there, see your database project properti ...Show All

  • Visual Basic Send Message Api

    I need help using the SendMessage(a) API What I need to do is send a mouse click to a windows (hWnd) that I have the handle to and the mouse click needs to be at an X and Y that I specify. I would like to use this API Declare Function SendMessageA Lib "user32.dll" ( ByVal hWnd As IntPtr, ByVal Msg As Integer , ByVal wParam As UIntPtr, ByVal lParam As IntPtr) As IntPtr but I am unclear on exactly how to fill the perameters I believe the 2nd perameter I put in a constant, WM_LBUTTONDOWN or WM_LBUTTONUP both of which I am unclear of the value for, and then 4th perameter is what will determine the x and y of the click. I am not 100% sure though. Stephen Weatherford MS wrote: Th ...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

  • Game Technologies: DirectX, XNA, XACT, etc. So obvious, but can't find it in the FAQ

    OK, just got back from vacation and finally got to start playing with the much anticipated XNA beta. Somebody please tell me the previous posts were wrong and I'm just missing this in the FAQ -- they wouldn't really release a game development kit that can't import 3D models, would they I mean, this is such an obvious thing... I'm just missing it in the FAQ, right Somebody, please.... As mentioned above this is coming, but it's not in the beta, please check out our team blog for more information on this: http://blogs.msdn.com/xna/archive/2006/08/29/730168.aspx ...Show All

  • Visual Studio 2008 (Pre-release) May CTP install fails on Vista

    I'm trying to install the May CTP on Vista RTM running VS 2005 SP1. The install fails immediately with the following error message: "The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2738." If I run "msiexec /i "LINQ Preview (May 2006).msi" /log log.txt" and log the MSI install, here is the start of the log, with the errors: === Logging started: 1/13/2007 0:55:38 === Action 0:55:38: INSTALL. Action start 0:55:38: INSTALL. Action 0:55:38: ProgramMenuFolder.492C141007D74A398E35467AE6109B0C. Action start 0:55:38: ProgramMenuFolder.492C141007D74A398E35467AE6109B0C. Action ended 0:55:38: ProgramMenuFolder.492C141007D7 ...Show All

  • Visual Basic Excel Recordset

    Hi! I want to make a excel recordset with an sql comand but my "sheet" can have several names because i'm reading multiple excel files in a path. How can i refer to the active sheet in the select command What i have now, is: RS = CONN.Execute("SELECT * FROM [Name_sheet$] ") But so it works only if the name of sheet is "Name_sheet". Recordsets are ADO, datasets are ADO.NET are you trying to do this with VB.Net or an older version of VB. ...Show All

  • Visual Studio 2008 (Pre-release) GridViewColumn CellTemplate w/ relative Binding

    Hello! We have a simple problem of how to change binding path of single grid cell. We have an array in the row data. We want to set "Binding Path" of single cell to the specific entry of that array based on the column number. We are using ListView control (or is this thing possible with ListView anyway ). Example: Type A - Contains collection of Type B; I'll use ObsCol_A to name the collection of A and so on. Type A contains field " Description " and " CollB " that is the collection of Bs; Type B has two fields; " Name " and " Value ". ... (in up-level resources) < ObjectDataProvider x:Key = " theView " ObjectType = " {x:Type local:ObsCol_A} " /> ...Show All

  • Visual Studio Express Editions textbox in visual basic 2005

    i want to fill multi row to textbox from database but when i'm trying the text fill with single row buti want it multi rows can any proffessional help me !!!!!!!!!!!!!!!!!!!!!!! What worked for me was: Me .JAN01box.DataBindings.Add( "Text" , MyDatabaseStarDataSet.Months(0), "JAN" ) This approach only displays and binds a specific box to a specific database point.  I am not able to tell if it will update the database because of the way the program creates another database for use but does not update the actual database. The thing is that it only works with numeric valued boxes.  How can I adjust it for string values. My database has account names but I cant get it to stop crashing AND I would like to ...Show All

  • SQL Server SQL 2005 v9.0.2047 (SP1) - The query processor could not produce a query plan

    Hi Everyone: *Before* I actually call up Microsoft SQL Customer Support Services and ask them, I wanted to ping other people to see if you have ever ran into this exact error "Internal Query Processor Error: The query processor could not produce a query plan. For more information, contact Customer Support Services." I would have searched the forums myself, but at this moment in time, search is broken :( If anyone has run into this error before, what conditions would exist that this could happen That is, if I can sniff this out with suggestions from the community, I would be happy to do so. It is an oddity because if I alter a couple subqueries in the where clause [ i.e., where tab.Col = (select val from tab2 wh ...Show All

  • Visual Studio Tools for Office Registration

    I just registered my VSTO 2005. In the Thank You for registering email there is a link to Registration Benefit Portal. All I get is Page Not Found when I click on this link. I would like to download the E-books, Icons and Components. Any Suggestions Tom Hallmark It might take a few days before the benefits portal is aware of your registration. I had some issues with accessing the benefits portal for express edition and it helped to clear my cache and cookies. This was more than a few days after registering and I have not had that trouble for some time. Give it another day or so... ...Show All

©2008 Software Development Network