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

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

WXS123

Member List

GRAILS
Avotas
MatteusX
mivecxtr
Thomas LEBRUN
Saibal Goswami
SomeRandomName
Ritesh Mehta306937
karthik asok
Yaakov Ellis
rajesh_batchu
VSmirk
Mario Saccoia
KC416
maddman
Henrik Karlsson
John Oliver (UK)MSP, VSIP
ddlam
dafi
Will George
Only Title

WXS123's Q&A profile

  • SQL Server Matrix row items grouping

    Lets say I have the following matix COL1 COL2 COL3 COL4 COL5 ROW data1 data2 data3 data4 data5 is there some type of grouping expression I could use to get the following result. COL1 COL2 COL3 ROW data1 data2 data3 ROW data4 data5 ...Show All

  • Visual Studio 2008 (Pre-release) xbap site of origin

    I am working with an xbap and I am not sure of the exact defininition of "site of origin". The scenario is that I want to publish the xbap to a website http://www.mysite.com located at c:\inetpub\vhosts\mysite.com. Contained in that is a folder C:\Inetpub\vhosts\mysite.com\subdomains\secure that is accessed through a subdomain at https://secure.mysite.com:8076 . I want the xbap in the http site to access third party images (you can't access images on a third party http site from a https hosted xbap). I need the xbap to access a secure web service in the https ://secure.mysite.com:8076 location. Currently, on testing the xbap throws an error when hosted in the http site but not when hosted in the https site. ...Show All

  • Visual Studio Express Editions String in VS C++ Express

    Hi guyz.... i have a problem with C++. I was trying to pass the values of type 'string' into the constructor the following way: static __declspec ( dllexport ) void MyAttributeDll(string ProcessName,string Command,string RawData,string Instance,string Instance_Key,string ErrorMessage, int iOccurrence); the compiler gives me a following error on that line: error C2061: syntax error : identifier 'string' if anyone can give a hand with it ...it would be greatly appreciated. Thanks in advance Dimmi Pass neutral parameters like string pointer to buffers. If you use string classes that are based on templates you force each caller to be 100% code compatoble. If you use simp ...Show All

  • Visual Studio 2008 (Pre-release) CustomControls & Handling Events of Elements in its Template.

    Just posted this and it didn't show up for some reason so I'm posting again... I have a custom control and in its control template I have another custom control. In the xaml I have this: <z:MyCC x:Name="someName" ExposedEvent="OnExposedEvent"/> I get a compile error saying I have to have an x:Class value, so I added the "partial" to the class definition and added this to generic.xaml: <ResourceDictionary x:Class="myNamespace.MyCC" I get a compile error saying I can't have different base types, so I changed generic.xaml to this for laughs: <ResourceDictionary x:Class="MyCC" I get another error saying "OnExposedEvent" isn't defined in MyCC...even though it most cer ...Show All

  • .NET Development tableadapter update can't generat an update command

    Hi every one, I develop a program using OLEb (MS-Access2003), but there are a problem when I use (Datasource configuration wizard) to add my database which contain 3 tables only one of them has the 4 commands(insert, select , delete and update) and the other have only (select and insert) commands  and I want the update and delete Command in all table   any one can help me PLZ   Sorry, I forget to tell you that I use C# and IDE VS2005      If those tables are joined, the adatper can't do it. It can only generate commands for one table at a time, and each table needs to have a PK on it. And I hate be the bearer of bad news ...Show All

  • Windows Live Developer Forums Windows Live Search API (Needs to be Simplified)

      Windows Live Search API (Needs to be Simplified)       I was pretty disappointed with the amount of code it takes to return search results from the Windows Live MSN Search API. Why should I have to maintain three separate classes and 60+ lines of code to return a simple list of related search items.  My recommendation would be something like.  '--------Return a simple list of results-------------------- Dim objMSNSearch as New com.msnSearch.www Dim strXML as string objMSNSearch.Results = 3 objMSNSearch.KeywordSearchText = txtKeyword.text objMSNSearch.AppID = "ABCDEFG" objMSNSearch.DisplayCache = True strXML = objMSNSea ...Show All

  • SQL Server Convert or cast HexaDecimal to Bigint

    Hi , I have a hexadecimal string value. I want to convert it to Bigint in Sql Server 2005. The Hexadecimal value is '0x000000000000000F'. How is it possible to convert into Bigint. Please help me Thanks in advance Srinivas Hi , I think directly using Cast or Convert will not work. The Bigint value corresponding to Hexadecimal value ('0x000000000000000F') is 1000000002. I require a function which would take Hexadecimal value as input parameters and return me a big int value. Thanks for the help. Srinivas Govada ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to find GUID definition

    I want to initilize interface of IVMRMonitorConfig9, how to find its GUID ...Show All

  • Visual Studio Tools for Office Windows App launching a Word Project (document)

    I have read alot of information about what I want to do, and no one has offered me a clear cut solution. I have seen a few posts that come close to this, and then they do not state how they did it, or which is my beset solution. I hope this is not off topic, or too vague but this is my best hope for an answer so please help. I have read all FAQ and read this first, and every article about Interop and the new VSTO SE projects (really cool, but more external communication is a must). I have a multi-tier Windows Application, (Client Tier DataTier, BusinessObject / Application Logic Tier) in the client when I have a record (a contact) and that contact has a linked word document (a resume for that person). I know the very easiest way to laun ...Show All

  • SQL Server Export to excel problem

    Hi, WHen i export a report(which i dynamically create) to excel it spews the following : MIME-Version: 1.0 X-Document-Type: Workbook Content-Type: multipart/related;boundary="----=_NextPart_01C35DB7.4B204430" This is a multi-part message in MIME format. ...Show All

  • SQL Server datatype map - Native ODBC driver

    Hi, Our software uses native ODBC driver and Visual C++ 2003 to communicate with SQL Server 2005. SELECT xml_schema_namespace(SCHEMA_NAME(schema_id) ,name) FROM sys.xml_schema_collections. SQLDescribeColW returns -152 as the datatype for the column in the above select statement. However, I’m unable to find a preprocessor definition for -152. The datatype looks like an nvarchar. Is it an nvarchar Where can I find the definition for this datatype I have discovered similar problems while bringing back SQL_VARIANT types. The returned subtype of a SQLVariant comes up with -16 and -25. I cannot find definitions for these sub types either. Any help is appreciated. Regards, Venkat ...Show All

  • Visual Studio Express Editions Create and Set Environment variables

    I would like to create and set a system environment variable from a vb application. The environment variable will hold a path (c:\Program Files). I know that it has to do with Environ$, but i'm not sure how. Any help would be much appreciated. Thanks in advance With some help from someone on another VB Forum, I have found the answer. This will create a registry key in the Environment Variables section of the registry. Dim Reg As Object Set Reg = CreateObject("wscript.shell") ' Suppose Write App to Startup with Computer Reg.RegWrite "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment\" & App.EXEName, App.Path & "\" & App.EXEName & ".exe" Hope this help ...Show All

  • Visual C# Direct Saving

    Hi, I've got some code for saving, but I want to direct it so it always saves in the same folder as the same file. Could somebody please update this text StreamWriter writer = new StreamWriter ( "File.txt" ); writer.WriteLine ( "This should be saved in the same spot." ); writer.Close(); Thanks. Hi, you probably want to save the file in a specific folder To do so, include the folder name in a string, where you're specifying the filename: using ( StreamWriter writer = new StreamWriter (@"c:\MyFolder\File.txt")) {     writer.WriteLine( "This should be saved in the same spot." ); } Also, you can check the Environment object for some system/user-defined paths, like ...Show All

  • Visual C# Unmanaged to managed code

    I have funtion wich was written in C++ and has the signature like this : "DWORD XPTO(BYTE **aux)" I want to use it within C# code but the function has to be declared like: static extern xpto( aux )), I dont know how to translate it!!! Can Anyone help Thanks a lot! Barbara Hello All. Barbara: Try this:   [ DllImport (" dllfilename ")]    public static extern Int32 XPTO( byte aux);   HTH. ...Show All

  • .NET Development Boolean or bool?

    I noticed when I am declaring fields that their are both a Boolean type and a bool type private Boolean mIncreasedInvasion = false ; private bool mExecuteScript = false ; What's the differance between the two Is there a performance differance Should one be used instead of the other Or are they both the exact same thing Thanks for clearing this up for me, Scionwest No difference. From MSDN: The bool keyword is an alias of System.Boolean Most people use the bool keyword (and similarly for int, long, string etc). ...Show All

©2008 Software Development Network