Software Development Network Logo
  • Architecture
  • VS Team System
  • Visual C#
  • .NET Development
  • SQL Server
  • Windows Live
  • Microsoft ISV
  • Visual Basic
  • Visual J#
  • Windows Vista
  • Visual FoxPro
  • Smart Device
  • Visual Studio
  • Visual C++
  • VS Express Editions

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

hansgielen

Member List

Klaus Staehle
Billy Sells
willis
spga
Mohammed Allam
tech_tantra
Mike2334
donnie100
kk302999
Tim Noonan
hgalyan
spacebrawl
dgwheeldon
watoli
tomeds
GvS
Carlo_DiGiacomo
Divac
Saurabh28686
TomPearson
Only Title

hansgielen's Q&A profile

  • Visual C# I could really do with a pointer in the right direction

    System.NullReferenceException: Object reference not set to an instance of an object. at _Default.Page_Load(Object sender, EventArgs e) in Default.aspx.cs:line 30 it is in the following code: using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Net; using TestShop; public partial class _Default : System.Web.UI. Page { string url = "http://link/CatalogueService" ; string username = "username" ; string ...Show All

  • Visual Studio Tools for Office Add-in for MS Outlook. Problrm with PropertyPage

    Hello all. I develope add-in for MS Outlook. Add PropertyPage in "Settings". But my page is cut of the right. Where error You've probably just made your options page too wide. There is a maximum width limit which is about 415 pixels. ...Show All

  • Visual Basic how to change path for saving excel

    hi I'm using excel object and when I close the excel object, it generates the save dialog. But the path is set to MyDocuments. I want to change this path. Is there a way Thanks. I just want to change the main directory the save file dialog shows. I don't want to save the file as the same name always. I think the only way I can think of is to change the directory option in the excel itself. ...Show All

  • Visual Studio Reporting Services, Reportviewer control & browser compatibility.

    We are planing on using the reportviewer control that comes with the standard edition of visual studio 2005. I have noticed that the rendering is not the same in Firefox and I.E. Event the tool bar is wrong. Is this control supposed to work non MS-Browsers Can I fix it by editing some css files, or do I need to derive my own control from the supplied control, to tweack the html it produces. It would be nice if it worked for most browser out of the box. Fred. Watch the way you word your question. Very compatible, you just don't get any features! http://msdn2.microsoft.com/en-us/library/ms156511(SQL.90).aspx ...Show All

  • SQL Server yyyymmdd text data into a datetime field in SQL Server?

    Hello, I have an Excel spreadsheet that contains 100,000 + rows of data. Two of the columns in the spreadsheet are date fields that are sent over in the yyyymmdd format (no separators such as "-" or "/"). I tried converting these fields into dates using the Data Conversion task in SSIS. This doesn't work as it appears that SSIS cannot map a string in the format of yyyymmdd to a valid date. In lieu of this, I have added a Script Component to my transformation which can take the string and convert it to a date value using some Substring() calls on the source yyyymmdd string. A few questions for the group ... 1. Is ...Show All

  • .NET Development POST fails on larger messages/slower connection

    I have a webservice receiving encoded strings of a size usually between 1k and 20MB which will be sent by a special application. When the application is started, it sends about 1000 of these strings to to the server, checking response and sending again, if necessary. Im using Framework 1.1, no additional stuff (like WSE) installed. Only known users are allowed to access the webservice. The server is configured to handle these bigger requests by adding maxRequestLength="40960" and executionTimeout="3600" to its web.config httpRuntime-Node. To reduce the number of requests sent by the client, i set the PreAuthenticate-prope ...Show All

  • Windows Forms Custom Controls with C#

    I'm working with the book "MICROSOFT VISUAL C# .NET STEP BY STEP".  In Chapter 23, Creating GUI Componets, I get an error message of An exception occurred while trying to create an instance of SubclassedControls.ToggleButton.  The exception was "Exception of type System.StackOverflowException was thrown" when I try to add the ToggleButton control from SubCl ...Show All

  • Smart Device Development Shockwave object for winCE 5.0 applications made in eVC 4.0

    is there any way to use flash/shockwave content in my eVC application on the wince 5 platform. (i know we can do in VC++ 6.0 by adding activex shockwave object but how can it be done in eVC++ for wince 5.0 application) Megh ( megh55555@yahoo.com ) Hi,    Can you please try this link (this talks about VS 2005, but is relevant for eVC 4.0 also) and look at the section "Resource Editor: ActiveX Control Development" http://msdn.microsoft.com/library/en-us/dnppcgen/html/nativedevicedev.asp Thanks, Sadagopan Rajaram VSD Development Lead. ...Show All

  • .NET Development Question following "Why Soap not RPC"

    thanks for all your replies. I heard that RPC can transfer the binary stream but SOAP can transfer the text stream. But the data during transferring are both 0 or 1 bits, what part will differentiate the two kinds of streams How the SOAP protocol deal with the stream Hi Xudeutsh. First, RPC is a style rather than an actual protocol. Examples of protocols which implements RPC style can be DCOM or RMI. DCOM and RMI are binary protocols, that is to say that their payloads are expressed in binary terms. SOAP and XML in general, on the other hand, are expressed in text. The moment in whi ...Show All

  • Visual C# Enum at Runtime

    I have an enum as constructor in one class library. I would like to give the user facility to add enum members at runtime. How can I add enum members at runtime. Please reply as soon as possible. Thanks in advance I saw the below code somewhere: Can anything be done with this code AppDomain domain = Thread .GetDomain(); AssemblyName name = new AssemblyName (); name.Name = " Enum Assembly"; AssemblyBuilder asmBuilder = domain.DefineDynamicAssembly( name, AssemblyBuilderAccess .Run); ModuleBuilder modBuilder = asmBuilder.DefineDynamicModule(" Enum Module"); Enum Builder enum Builder = modBuilder.Defi ...Show All

  • Visual Studio Team System URL Encode option for QueryParameter does not work

    In a webtest's QueryString Parameter, there is an option to specify whether you want to URL encode the value or not. However, this option seems to be ignored by the webtest engine. Let's say that I want to send a > symbol as it is - not as %3E but as >. (yes, I know RFC 1738, but this is a TEST for my app). So I specify > as value in the UI and say "False" for URL Encoding. However, when the webtest engine sends the request, it ignores that user's specification and still sends the encoded version. In IE, it works - I can specify this in the browser's address and IE will actually send out that character. Is th ...Show All

  • SQL Server Oddball SQL calculation query - any Gurus up to this??

    OK, so I have a situation where the Client gets money from activites based on mileage. The further from 'home', the greater the mileage rate is. The distance per stopover is measured from wither home, or the last stopover, making it a continuous interval. Dependinig on the load size, the rates will increase or decrease as well. Assume the following are skeleton table structures. Table structures assume that appropriate keys are in place as 'Keyfields': Table1Fields: <Table one holds the actual user-entered data per Size> Key Keyfield(s), <keys to Table2's Keyfields> Size Varchar, DistanceFrom Number, (all ...Show All

  • .NET Development delegate

    Hi, Can someone simply explain the usage and benefit of delegate with a simple example please Thanks Delegates have a large variety of useful purposes - mostly analogous to function pointers in C++. MSDN has a brief summary and code snippets for delegates at: http://msdn.microsoft.com/library/default.asp url=/library/en-us/csref/html/vcrefthedelegatetype.asp   Hope that helps, Stephen [Microsoft CLR - Security: Developer] http://blogs.msdn.com/stfisher   ...Show All

  • Visual FoxPro checking RTF control for EMPTY ()

    I have trouble checking programmatically that RTF.textRTF is empty. If it is visually empty to the viewer the function EMPTY (RTF.textRTF) returns .F. If I use an assignment m.memVar = RTF.textRTF I can print it out as a set of strings (about 3) of formatting characters. It is after the control was filled with some text and subsequently that text was deleted (manually) in the control window. How can a test be done to verify that the control is empty Thanks. The presence of additional formatting characters also creates another problem. If I want to encrypt the content of RTF.textRTF those characters get in the encryption and when ...Show All

  • Visual C# How do I embed an SQL Server Express database with a C# application?

    I haven't been able to find any decent tutorials for easily deploying a C# application with a bundled SQL server 2005 express database. Does anyone have any good information regarding this Using SQL express database is really simple, if you are already used SQL Server. There is only difference in connection string where instead of Setting Data Initial Catalog, you should set AttachDbFilename with file path to your database mdf file. Data Source attribute has to be changed and in case of default installation of SQL Express that is .\SQLEXPRESS One thing about connection is important and that is, authent ...Show All

©2008 Software Development Network