Software Development Network Logo
  • .NET Development
  • Visual Studio
  • Smart Device
  • Microsoft ISV
  • Visual Basic
  • Visual J#
  • VS Team System
  • Visual C#
  • Windows Forms
  • Architecture
  • Visual C++
  • Game Technologies
  • Visual FoxPro
  • Windows Live
  • Windows Vista

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

blancblanc

Member List

ghamm
Sharma
xelax
Charlie_MS
wagnerjp
Kazius
RonQ
Rakheesh
tomdz
Elona Tuomi MSFT
acribb
Allen Clark - MSFT
Derrick Powell
AleMin
mikestc
Adam Magee
samiha
Chipala
nobodeuno
space77443
Only Title

blancblanc's Q&A profile

  • Visual Basic need help

    friendz,                 i have this .net Code Imports System Imports System.Management Imports System.Windows.Forms Namespace WMISample     Public Class MyWMIQuery         Public Overloads Shared Function Main() As Integer             Try                 Dim searcher As New ManagementObjectSearcher( _         &nb ...Show All

  • SQL Server DateDiff function

    I can't get that function working in my SQL report. Can someone provide a sample code, please Thanks In the cell expression type: =DateDiff("d", "8/26/2005", "12/31/2005") You can also put a function in the report code (Layout View | Properties | Code tab).  And reference the code in the cell as: = Code.CustomDateDiff("d", Now(), "12/31/2005") Where CustomDateDiff is : Function CustomDateDiff(Interval, Date1, Date2)    CustomDateDiff = DateDiff(Interval, Date1, Date2) & " Days left in the year." End Function ...Show All

  • Smart Device Development Programming today screen

    Hi! Could you help me with a little code about programming today screen in VB.NET Thank you! http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnppcgen/html/todayscrn.asp   Should get you started though it is not 100% Managed code. Thanks Amit ...Show All

  • Visual Studio Express Editions Resource file

    Hi all, i have a question regarding resource file. What i want is to keep my connection string at .resources file. There will be multiple connection string. An example application of this is like any mySQL front end where we can change the connection string (server name / IP address, database name, etc) and also we can make a new connection with a different name but the previous connection string still exist. Does anyone know how to do this using .NET i had read about resource file and also i had able to make one but i can't acces it until i embed it with external command (csc /t:exe /resource:..............) from the command prompt. A ...Show All

  • Visual C# How to create a windows services using C#?

    Hi, I'm trying to develop a windows services in Visual Studio 2005. When I chose File | New | Project, if the Visual C# is chosed as Project types, there is no Windows Service templates there. The template only appears when you use VC++. Is there anybody that can tell me why and how Thanks. Regards, Chris If you can't find the template, you can still create a Windows Service by deriving from System.ServiceProcess.ServiceBase. It is located in System.ServiceProcess.dll. ...Show All

  • SQL Server Attempted to read or write protected memory

    One of the packages we've created a while ago is now, suddenly, giving us a strange error: There was an error displaying the layout. Additional Information:  Attempted to read or write protected memory.  This is often an indication that other memory is corrupt. (msddsp) When I click on the help icon, I get: Event ID: DDSErrorDeserializeDiagram Source: Microsoft.DataTransformationServices.Design.SR I should note that I am using custom components, none of which have been changed since the last time this package worked. When I click ok, all my components have the information icon.  No names are displayed (although all are a ...Show All

  • Windows Forms Drawstring alingment problem

    I must print a text on a picturebox(GraphicObject) but align it to the 0,0 point GraphicObject.DrawString("ABCD", myFont, myBrush, 0.0F, 0.0F) This string make an output that have a gap from the beginning of the picturebox and the beginning of the text, this gap depends on the font type and font size, does anyone know how to retrieve this gap to make&n ...Show All

  • SQL Server How do you connect to SQL 2005 Express database on Network Share

    Hello, Ho do I allow multiple users to share a database Background I have developed a Windows App in VS.NET 2005 which connects to a SQL 2005 Express database. Now I want to install the app and database on the network and I am getting an error "File 'file_name' is on a network device not supported for database files" What is the best way to get this working Thanks in advance, Phil I guess you are refering to the Atta’dbfilename syntax: http://msdn.microsoft.com/library/en-us/dnsse/html/sseoverview.asp "SQL Server supports using multiple data and log files for a database ...Show All

  • Visual Studio Team System Implementing ExecuteDefaultAction

    I have inferred from the VSIP SDK documentation that if I wish to link work items to entities in my own application and have my own application be the "viewer" for these entities, my application needs to implement ExecuteDefaultAction. I am assuming that I would have to make Team Explorer "aware" of my implementation of ExecuteDefaultAction, in order that when a user clicks on the link in the work item, my application can be invoked. Unfortunately, I can find no clue in the documentation (or even in the API) about how to do that. Help is very much appreciated. Regards, Daniel ...Show All

  • Visual Studio vsip projects and splash screen bitmaps

    I've got a C++ package created with the VSIP for 2003. I want to add my package bitmap to the splash screen. Similar posts say I should implement the IVsInstalledProduct and the VSIP samples do this using a class called CVxModule. How do I implement this in my project I tried to copy/paste all references of CVxModule from the samples dllentry.cpp, stdafx.h, vsmodule.h, vsmodule.cpp but it was becoming a mess and wouldn't compile!! Is there an easier way How do I do it Another problem I spotted is that the _Module object in the samples is of type CComModule but in the VSIP code it is CVsComModule. Therefore I can't include the hi ...Show All

  • .NET Development unable to connect to SQL server

    hi everybody! I am just a beginner in asp.net. i am trying to connect to the sql server and getting an error: Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection. the code line for connection is : cn.ConnectionString = "Data Source=DENVER; Initial catalog=pubs; user id=sa ; Pwd=" right click on the server name - properties gives a message saying  only sysadmin can access this feature.  do i need to change something in code  please help.  I cannot login in QA using my own account. I don't know the password for sa account. mixed authentication is surely ...Show All

  • SQL Server How to install SQL Server Express Management Studio in different folder.

    SSMSE installs itself in Program Files. The installation program does not allow selecting a different folder. This is a problem for me, I would like to install on a different drive. Has anyone successfully moved SSMSE to a different folder, and how -apdil Under UI, when you are in the window with "Registration Information", uncheck the box with "Hide advanced configuration options". Then you can customize the path to install Client Components by following UI. ...Show All

  • Windows Forms Design Time Events

    How do I go about creating a control whereby I can drop it on a form and then find what other controls are on the form (at design time). I am trying to create a control which sits in the ComponentTray and when the user clicks it, it relects through the container form and shows all the controls on that form. Does that make sense Regards Si Hi, I am not really sure what you are trying to do. Where are you going to display the list of controls That being said you can walk to controls collection in the RootComponent which you can get from the DesignerHost. IDesignerHost host = GetService(type ...Show All

  • Visual C# How to change the color of a substring?

    for example: string newStr = "The color is red"; label1.Text = newStr; output: The color is red Hi icemart525 you want this to work in Web Application or Desktop Application Rags ...Show All

  • Visual C++ STL.NET

    Does anyone know what is the status of STL.NET Apparently it did not ship with VS2005 or did I miss something I need STL's multimap container. Anyone know of an equivilant animal Thanks Bollwerk wrote: Does anyone know what is the status of STL.NET Apparently it did not ship with VS2005 or did I miss something I need STL's multimap container. Anyone know of an equivilant animal Thanks STL.NET or STL/CLR is not part of VC++ 2005 final release, and as far as I know, work has been temporarily stalled on it - priority was given to other work (I believe to stuff like the service pac ...Show All

©2008 Software Development Network