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

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

paso

Member List

Rotemt
Jamie Kurtz
LtScho
samaya78
Manech
Tryin2Bgood
Tarkan G.
My Vizai
mihe
Ntc
JBClifton
BMS-Joppe
toforo
Pooja Katiyar
pnb
Samoyed
NeW2VB
Matt354245
Levas
mark brayton
Only Title

paso's Q&A profile

  • Visual Studio 2008 (Pre-release) Adding Web Reference in VS 2005 to WCF Service

    Hello, As I’ve found out yesterday, it’s important to create a proxy class for ‘WCF web service’ using svcutil.exe even though it uses 'basicHttpBinding'. If one does it through VS2005's 'add web service' routine, the created proxy allows passing string fields only. All value types doesn't go through. I mean the proxy class looks correct with all fields having correct types. But when I attach the debugger to the WS I see default values only for types like int, short, DateTime etc. Am I doing something wrong nefis Nefis, Do you have the Visual Studio Extensions for .Net 2.0 installed If so you can use "add service reference" instead of "add web reference." If yo ...Show All

  • .NET Development problem with DateTime

    wTimer= new DateTime (1,1,1, Convert .ToInt32((wTime/60)), Convert .ToInt32(wTime%60),0); MessageBox .Show(wTimer.ToString()); wTimer.AddSeconds(-1); MessageBox .Show(wTimer.ToString()); the two message give the same DateTime object, why Because you are passing the same object to the function. If you look at the documentation for AddSeconds (and indeed any other method on the DateTime class) you will see that it returns a new instance of the DateTime with the changes applied, because the DateTime struct is immutable. So what you're doing in effect is creating a new DateTime and then ignoring it. If you change the following line it will work as you expect: wTimer = wTim ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. "Chaos" 3d FPS Game Engine (WiP)

    Title: Chaos First Person Shooter Game Engine for XNA Objective: To design and write a first person shooter engine for the XNA that utilizes advanced shaders, shadows, and poly-based collision detection and to meet or exceed the capabilities of the engine used in "Halo" Website: [ here ] Time Frame: 4-5 Months (Expected completion in late April to early May, 2007) Description: The Chaos First Person Shooter Game Engine for the XNA will allow anyone to create high-quality first person shooters that will rival Halo. Chaos will be a library available for both Windows and the XBox 360. The library will include all the basic, and advanced functions of the game, you just need to add in your custom elements and add the content. Chaos will not onl ...Show All

  • SQL Server Date Format Data Driven Subscription

    I'm getting the typical error that the format of my date parameters is not correct. Although i'm getting my dates in a select from a datetime field. Is there really no universal format that can be delivered to RS that he can interprete the date right, whatever language the report has been set to. Kind Regards ..... You can define your datetime parameters as YYYY-MM-DDTHH:MM:SS. This format is independent of the language of the report. See http://msdn2.microsoft.com/en-us/library/ms159825.aspx for moer details. ...Show All

  • .NET Development Finding a record

    Why can it be simple when it can be complivated :) I am trying to achieve something that was so simple to do with ADO recordset. Lets say I want to find a record that starts with a value typed by user in a textbox. Find method of DataTable will allow me to search in a particular column, but only for a full match. Also, does ArrayList have this search functionality Lets say that we have bound datagrid to arraylist, and want to search for a row that its column value starts with some value DataGrid cant search in its data, as far as I have searched in its properties and methods... I am looking for the same thing and I believe other are as well. A simple way to show the record asked for with a text box entry ...Show All

  • SQL Server Error Log

    I keep getting this message in the error log over and over.....does anyone know why I keep getting it and how to supress this message if it is only infomational. Starting up database '<db_name>'.Analysis of database '<db_name>' (<dbid>) is 100% complete (approximately 0 seconds remain). Please help Emad I am sorry but i think I made a mistake writting the error I keep getting this message in the error log over and over.....does anyone know why I keep getting it and how to supress this message if it is only infomational. Analysis of database '<db_name>' (<dbid>) is 100% complete (approximately 0 seconds remain). Starting Up database '<db_name>' ...Show All

  • Internet Explorer Development Caching CSS and Javascript files inside IIS6

    Hi I am looking for Caching CSS and Javascript files inside IIS6. Also I have my site which even after doing httpcompression doesn't gzip html,css and javascript files. Please do suggest how to get this done. Thanks, Deepak ...Show All

  • Windows Forms get selected text

    Hi, I am programming an API in VB .NET which fires a hotkey event and retrieves which ever text is selected. There is no form shown. Up until now I retrieved the data in the clipboard, but need the selected text also. How can I do this thanks. cheers, alej Sorry if i did not express myself correctly. I did not need to fire the hotkey event, what i was looking for is to get the selected text from another application other than mine. I anyway figure out a workaround and will use SendKeys(`c) to copy to the clipboard. The clipboard data I know how to retrieve. thanks anyway! ...Show All

  • Visual Studio Indentation in code-tag in included xml-tag

    If I want to use a <code>-tag containing indentation in an Xml documented member, I can do it like this: /// <remarks: /// <code> /// &lt;MyKey &gt; /// &lt;registrations default="<i>MyDefaultRegistration</i>" &gt; /// &lt; /MyKey&gt; /// </remarks> This works fine. However, I have some sample code that I need to use a couple of times so I wanted to copy this sample code to a separate Xml-document and then reference this sample code using the <include>-tag. Like this: /// <include file='ApplicationDoc.xml' path='docs/member[@name="ApplicationLogon"]/*'/> The contents of my xml-document looks like this: < ...Show All

  • SQL Server Help Using Asymetric/Symetric key in a Scalar UDF

    The error message I get is as follows: Invalid use of side-effecting or time-dependent operator in 'OPEN SYMMETRIC KEY' within a function. & Invalid use of side-effecting or time-dependent operator in 'CLOSE SYMMETRIC KEY' within a function. Here is the code I am trying to implement: set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go ALTER FUNCTION [dbo] . [func_GetSIMSPassPhrase] ( ) RETURNS varchar (30 ) AS BEGIN OPEN SYMMETRIC KEY sims_sym_Key DECRYPTION BY ASYMMETRIC KEY sims_asym_key DECLARE @GUID UNIQUEIDENTIFIER SET @GUID = ( SELECT key_guid FROM sys.symmetric_keys WHERE name = 'sims_sym_Key' ) DECLARE @passphrase varchar ( 30 ) SELECT @passphrase = ( SELECT CAST ( DecryptByKey ( ...Show All

  • Visual Studio 2008 (Pre-release) How to make custom BitmapEffect.

    I want to challenge making MyBitmapEffect. However, information (or samples) for that was not able to be found. See the following sample in the Windows SDK: http://windowssdk.msdn.microsoft.com/en-us/ms771475(VS.80).aspx Also see the additional instructions needed to get the sample to compile: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=431448&SiteID=1&PageID=1 Note: You'll need to install the SDK to get the sample. The samples are unfortunately not online at this time. ...Show All

  • SQL Server Fieldname as parameter in stored procedure

    I can use a parameter in a stored procedure to define the where clause e.g. SELECT * FROM mytable WHERE id = @myparam; but how can I use (or define) a parameter to indicate a field of a table e.g. SELECT @myparam FROM mytable; can someone give a hint Thanks in advance Have a nice day Carl u'll get ur answers here..and limitations and effects of dynamic sql http://www.sommarskog.se/dynamic_sql.html ...Show All

  • Visual Studio Installing .net framwork on windows xp pro sp2

    When i was trying to install .NET framwork 2.0 on "windows XP professional service pack 2" i recieve this error message: Component .NET Framework 2.0 has failed to install with the following error message: "Fatal error during installation. " The following components failed to install: - .NET Framework 2.0 See the setup log file located at '...' for more information. in log file : Process exited with code 1603 please help me. hi, Thanks for your reply,but those threads didn't solve my problem. (i disabled services,antivirus,firewall and etc) Today i found a simple way to solve the problem! Because my processor type is AMD Athlon 64 ,the windows "Execution Protectio ...Show All

  • SQL Server Large files(Excel) coming out of Reporting Services how can I compress them for email

    I have a 29000 row spreadsheet coming out of Reporting Services that is producing a large file that we email. How can I create the most compact spreadsheet/file for scheduled daily emailing out of Reporting Services I'm pretty sure there isn't any built-in way to compress the report attached to an email in Reporting Services. There aren't really any tricks that you can use to reduce the size of the report generated, other than making sure that you use numbers instead of strings whenever possible -- numbers will generally take less space in the Excel format than strings. Depending on how you are sending the emails, you might be able to use some third party code or write your own code to compress the exporte ...Show All

  • .NET Development Strong Naming Assemblies & 3rd party Controls (OCX/COM DLLs)

    Hi, I am trying to strongly-name our assemblies. We will be using dotfuscator ce, so we plan to use "Delay Signing". I generated keys using SN.exe -k KeyFile.snk I entered these lines into all our assembly files: ' Strong Name <Assembly: AssemblyKeyFileAttribute("..\..\KeyFile.snk")> <Assembly: AssemblyDelaySignAttribute(True)> Now, I keep getting this error: Unable to emit assembly: Referenced assembly 'Interop.BIOPLUGINACTXLib' does not have a strong name We use a 3rd-party OCX named "BioPlugInActX.ocx". When I use their control on one of my forms in my project, .NET generates interop DLLs and puts these DLLs in the project REFERENCES: Interop.BIOPLUGINACTXLib.dll AxInterop.BIOPLUGINACTXLib.dll How can ...Show All

©2008 Software Development Network