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

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

moondaddy

Member List

Tania51
robinjam
Bruce H
Mongsreturn
DRoden
David J Oldfield
Jon Watte
ziman
danni123
Casper Jensen
sharindenver
Zooma
Mahyar154572
project2n5e0o1
Trev72
Vahid Taslimi
Mark Frank
T2TD
sydes141
Dan Mikkelsen
Only Title

moondaddy's Q&A profile

  • Visual Basic fill book marks in an office word template without using the Visual Studio tools for Microsoft office?

    If it is possible to direct me to an article that discusses how to fill book marks in an office word template without using the Visual Studio tools for Microsoft office And the end result will be shown on screen in a new word office doc file! ...Show All

  • SQL Server RS 2005 and Custom Code

    Hi there I've added quite a bit of custom code to my RS 2003 reports. However, I am having no joy with duplicating the process in 2005. My functions are created (as public functions) and as long as I don't try to reference them in the report everything runs smoothly. However, when I do try to reference a function in an expression using the syntax code.MyFunction (), it does not recognise the function. Many Thanks Hi Teo Thanks for the response. Yes. After much frustration and eventually simply running the "faulty" code I have discovered that RS will simply not pick up Code.<Insert Function Name Here> , and it will show it as being incorrect. Simly ignore and life is a scream ...Show All

  • Visual Studio Team System Can I access console output while a unit test is running?

    The code I'm testing outputs to the console. When my unit tests complete, I can check the details for a test (in VS IDE) and see the console output. Is there any way to get this output while a test is in progress Thanks...Rick Yes, I do have other hooks that I can use for verification, but I'd also like to verify the console output. Is that possible Thanks...Rick ...Show All

  • Visual Studio 2008 (Pre-release) Where do you set SOAP Encodings in WCF web service ...

    In standard ASMX Web Services you could set the SOAP Encodings to doc-literal, doc-literal wrapped, and others. Where do you set this SOAP Encoding in WCF Services I've not been successful in locating this in the documentation. Thanks. Hi Madhu, I checked out the sample. I'm trying to get the encoding to be doc-literal . It seems that setting the following attributes on the service should do the trick: [ ServiceContract (), XmlSerializerFormat (Style = OperationFormatStyle .Document, Use = OperationFormatUse .Literal)] However, the encoding of the message is still set to doc-literal wrapped which is the default. So am I misreading something or is there some other knob I need to tweak ...Show All

  • Visual Studio Express Editions open new form

    i need the open new form code. it looks something like this: "Dim clone new form1" I'm now working on a notepad... and i need to have the save as dialog. the TextBox1.ShowSaveAsDialog() didn't work i get the error: Error 1 'ShowSaveAsDialog' is not a member of 'System.Windows.Forms.TextBox'. ...Show All

  • Visual C++ ToolboxBitmapAttribute not working for custom component

    I have a custom component written in C++/CLI. I added a bitmap to my project as an embedded resource. I added the ToolboxBitmapAttribute just before my custom control definition in my header file, compiled my assembly, but I do not see my custom control's bitmap in the toolbox item for my custom control. Details: Namespace of custom control: MyNamespace. Name of custom control: MyControl Name of bitmap: MyNamespace.MyControl.bmp In my project I 'Add New Item', pick Visual C++ | Resource | Assembly Resource file, name the resource MyAssemblyResource, click Add. The resource is added to my project under the folder called Resource Files. I double-click the resource file, then add a new resource from the existing file 'MyNamespace.MyControl.bm ...Show All

  • Visual Studio 2008 (Pre-release) Readonly dependendy property

    Hello,   I have defined custom readonly dependency property (below). I need to bind to it inside XAML (in my example it is bound to Label.Content), but it does not work... It looks like it never goes thru Get accesor, because in my custom dep. property is still default value...   What is wrong Any suggestions Thank you RostaB     My XAML: <Window x:Class= "Test.WindowTest" xmlns= "http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x= "http://schemas.microsoft.com/winfx/2006/xaml" xmlns:own= "clr-namespace:Test" Title= "Test" Height= "300" Width= "300" > <Window.Resources> <Style TargetType= "Button" > <Setter ...Show All

  • Smart Device Development offline web service programming?

    Hello everyone, I am programming with Window Mobile and I heard that in the .Net SDK supports not only web service SDK at client side, but also offline web service module support That is really cool! Could anyone recommend some samples/tutorials on this topic thanks in advance, George Offline Web Services is some fasion technology provided by Microsoft. Ilya Tumanov wrote: What's "offline web service module" regards, George ...Show All

  • .NET Development Programatically Setting the Priority of the Windows Service to Low.

    Hello, I have written a windows service. But the service priority is normal. I need to set the priority to low or lowest. Does anyone know how to do this programatically using C#. Thanks In Advance With Regards Sunil Dutt Yes, Priority of the Service means the Priority as indicated in the task manager. I tried by assigning the AppParameters in the Regedit to -p 64 but my service is still showing priority as Normal and not as Low. ...Show All

  • .NET Development specifying custom tracelistener needs strong assembly name

    I've build a trace listener that traces out message to a rotating log file. The thing works fine. The deployment packages nicely registers it in the GAC so that I can reuse it wherever I like. What I would like to do is add it to the <system.diagnostics> section of for instance an simple application. The problem I have is that I have to specify a strong assembly name. like: < add name ="testGateway" type ="UnitedMobile.Diagnostics.LoggingTraceListener,UnitedMobile.Diagnostics.LoggingTraceListener, Version=1.0.1.0, Culture=neutral, PublicKeyToken=e861178d28f74af2" initializeData ="c:\log\Refund\{0:yyyyMMddHH}.log;1" /> For for instance the System.Diagnostics it is necesary to only specify the weak name: < ad ...Show All

  • Visual Studio 2008 (Pre-release) Inactivity Default value

    I've been testing for few days with the inactivityTimeout and receiveTimeout. In my WCF app, I use WSHttpBinding and WSDualHttpBinding. No matter what I set the values of inactivityTimeout and receiveTimeout to be, I get the CommunicationObjectFaultedException. My application needs to be kept alive for Infinite but that didn't seem to work so I changed to 20 minutes and still the timeout is set to 10min. What else do I need to change Description: Failed to stop service. System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state. Thanks, Gina. Hi Kim, ...Show All

  • SQL Server Unable to Access HTTP Endpoints from C# application when using Integrated security

    I hope you can help me to solve my issue. I created an endpoint and have an application to consume the methods from endpoint. Every thing work fine when i use the Impersonation with specific user id and password. In other words i am using Authrentication method = windows and Impersonate = true, user id = "[DOMAIN\userid]" password = "password" in web.config. But this is not the way i want to use endpoints in my application. I want to make it work without any user id and password in Impersonate section of web.config. The end points must be accessible to user using their own credentials. By the way i am using Authentication = (Integrated) in Endpoint definition and the same in IIS. In my .net application i am using proxy.Credentiats = Syst ...Show All

  • SQL Server Problems with Roles and sp_helpRoleMember

    I have a database role named gc_stationAdmin. I have a user x who has this role granted him when via Mgmt Studio under Logins. In fact I have 50+ users who have this role. 1) when I execute sp_helpRoleMember I see only 20 users who have this role when I'm expecting to see 50 and user X is not amongst the 20 2) when sp_helpRoleMember is executed AS user X, they only see 1 user with this role (and it's not himself) 3) when I drop user X from Role using sp_dropRoleMember OR using Mgmt Studio under Login Properties, it never drops him according to Mgmt Studio. When I pull up the login properties, that role is still always checked no matter what I do...although he doesn't appear in the sp_helpRoleMember result ever. What is goi ...Show All

  • Visual Studio Express Editions problems with Configuration manager

    Sorry for this newbi question. I'm using vbexpress and trying to connect to a database file call 'medical.mdf'. I continue to get the error message'ConnectionStrings is not a member of medical3.ConfigurationManager'. The project name is 'medical3". Will someone please help me with this Thanks Could you please post the code where you are running in to this. The ConfigurationManager is defined in the System.Configuration namespace, and you need to reference System.Configuration in order to access it from your code. Best regards, Johan Stenberg ...Show All

  • SQL Server Significant bug in SSIS import function

    I have encountered what I consider to be a significant bug when importing Excel spreadsheets using SSIS. If in the first data row a particular column does not contain a value (i.e. it is null) then SSIS assumes that every row has a null value in that column. This disfunctional beahaviour has cost me hours and hours of wasted time loading and debugging data. Hopefully someone from the appropriate area within Microsoft will read this post and get this bug fixed. Gee - I am sorry to have offended you with my post! I am aware that it is a community forum and my hope was to get constructive response from anyone participating in the forum and also hopefully to hear from Microsoft. I believe that they monitor these forums and fro ...Show All

©2008 Software Development Network