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

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

nicbkw

Member List

Guilherme Labigalini
Sung M Kim
Brad Stein
Carlos Magalhaes
Rahul Bindlish
johoja
Jens Lauterbach
David Frankenbach
Liza
saustin99
GabeFUller
Grant McElroy
LuisFer
t_m_ram
gc1848
Panagiotis
GiveMeABreakMs
AdkMan
Jef Bernhardt
Anko Groenewegen
Only Title

nicbkw's Q&A profile

  • Software Development for Windows Vista Vista Beta 2 - Missing theme parts?

    Hi, I'm currently developing under Vista and maintaining apps written for Windows XP which use custom drawn theme elements quite extensively and have noticed that various parts of the default Vista theme are not defined - for example: "startpanel" no longer has "SPP_USERPANE" defined for DrawThemeBackground() Obviously, I realise that Vista doesn't make use of the top/bottom elements of the startpanel like WindowsXP does but am wondering if I am to expect themes to be 'partially' defined like this in the final version Ok, I can check the OS i'm running on and whether the result of DrawThemeBackground() is S_OK ( ...Show All

  • Visual Basic context menus

    Is there a way to change the default background color of a context menu Thanks, Fred ContextMenuStrip1.BackColor = Color.Red ' Use a predefined color ContextMenuStrip1.BackColor = Color.FromArgb(20, 255, 0, 0) ' Use a custom color. Note that the first number is alpha and should be 255 if you are not sure what to do with it. ContextMenuStrip1.RenderMode = ToolStripRenderMode.System ' Use this if you want it to look like a normal menu without the "office stuff" Hope this helps ...Show All

  • SQL Server Problem creating SQL Server Mobile Subscription

      Hi there When I try and create a subscription in SQL Server Mobile to a published SQL Server 2005 database, I get the following problem error during the data synchronization process: Failure to connect to SQL Server with provided connection information. SQL Server does not exist, access is denied because the IIS user is not a valid user on the SQL Server, or the password is incorrect. HRESULT 0x80004005 (29061)   Any help would be gratefully appreciated.   Regards   JB Mahesh Thanks for the reply. I have to confess I am not too clear on what you mean ...Show All

  • Visual Basic DataSet wizard and Connection String

    I used the Dataset wizard of VB NET 2005 to map an Access database. All works fine but with the database selected at design time. How can I modify the Connection string at runtime I need to plug different instances (in different files) of the same database at runtime. It is possible to change all TableAdapters at once if you are using the settings file to store your connection string. There is a Smart Client Data blog post at  https://blogs.msdn.com/smartclientdata/archive/2005/07/25/443034.aspx  that should get you started and includes a code sample. Jay Hickerson Visual Basic Team ...Show All

  • Visual C# How to create a new mail message window?

    Hello, I am using VS 2003. What I am trying to do I hope is just a simple task, but I cannot seem to find anything on the Internet about it. I have a simple form that has a label and a text box. The label says "Email: " and its a link label actually, so what I want to do is, when the user clicks on it, it opens up a "New Mail Message" window. I want it to work whether they use Outlook, Outlook Express, Thunderbird..etc... just whatever their default mail client is. Does anyone know how to just pop open this window Thanks, ~zero System.Diagnostics. Process .Start( "mailto:anyone@test.com" ); ...Show All

  • Windows Forms How to add currency format and formula to a textbox

    Hi all, This is my first ever post on this forum so please forgive me if I have posted in the wrong section. I am desperately seeking a solution to my problem which I cannot the answer to in over 10 Visual Basic books!! Basically, I have designed a Form in Visual Basic 2005 which is connected to an SQL Server database. One of the fields in the dataset which I have "dragged" over to the Form is called "Price Including Tax". Unfortunately the field "Price Including Tax" is not being displayed correctly. Visual Basic is displaying it as a decimal number with 4 decimal places. I would like to format the textbox so that it shows only 2 decimal p ...Show All

  • Smart Device Development Cannot Connect dialog balloon

    I have an app that uses HttpWebRequest etc to gather information, however on a failure I was hoping to do something similar to Pocket IE. In other words pop-up the Cannot Connect dialog balloon. Any one know whether this is possible Thanks HttpWebRequest will throw an exception on error. In most case it will be either WebException (includes HTTP return code) or a SocketException. You can see a ratherr reasonable example of exception handling in the sample code for the method HttpWebRequest.GetResponse in MSDN documentation ...Show All

  • Visual Studio Express Editions Need help in setting-up DataGridViewComboBoxColumn (was: combobox)

    Hi, My requirement is to set combobox column for deptno column of the table dept. When insert button is clicked,i write the following code DataGridViewComboBoxColumn cell = new DataGridViewComboBoxColumn(); cell.DataPropertyName = "DEPTNO"; cell.HeaderText = "dno"; cell.Items.Add(10); cell.Items.Add(20); cell.DataSource = ds.Tables["dept"]; cell.ValueMember = "DEPTNO"; cell.DisplayMember = "deptno"; dataGridView1.Columns.Add(cell); dt=new DataTable(); dt = (DataTable)dataGridView1.DataSource; DataRow dr = dt.NewRow(); dt.Rows.Add(); dataGridView1.DataSource = dt; My problem is that combobox column is displayed as a separate column.But it va ...Show All

  • Windows Forms Capture Icons

    Hello all i want to know how to capture the icon of a file or folder , or at least create shortcut icon for it , and then use it in my application thx all:) Many thx, it works and i did most of the work using it and this article was very helpful ...Show All

  • SQL Server SQL2005 SP1 may fail on Integration Services

    I ran across this issue the other day and thought it might be helpful to others who have or will experience the issue. When you install Microsoft SQL Server 2005 Service Pack 1 (SP1) on a computer that is already running SQL Server Integration Services (SSIS), the SSIS service will not start, and the following error message is logged in the system event log: The service did not respond to the start or control request in a timely fashion http://support.microsoft.com/ kbid=918644 Build 2153 Post SP1 Hotfixes need to be installed. http://support.microsoft.com/kb/918222/ h ...Show All

  • Visual Studio Accessing the XSD Designer....

    How do I a reference to the IDesignerHost for the xsd designer Jack Stephenson Hi Jack, See if this does the trick with XSD designers: HOWTO: Getting IDesignerHost and IHTMLDocument of WebForms from a Visual Studio .NET add-in http://www.mztools.com/articles/2005/MZ004.htm ...Show All

  • Visual Basic Shared Directory Exception

    When my application trys to access a shared directory on the intranet it throws the error:  An unhandled exception has occured in your application....Object reference not set to an instance of an object.  Here is the code that I'm using: Dim DataDir As String = txtLocation.Text         ' Add the ending character if it does not exist         If Not DataDir.EndsWith("/") And Not DataDir.EndsWith("\") Then             If DataDir.IndexOf("/"c) <> -1 Then DataDir &= "/" &n ...Show All

  • SQL Server multiple columns in "in" search

    Is it possible to put a set of columns into a select statement using "in" For example: select count(*) from table1 where (col1, col2, col3, col4) in (select a.col1, a.col2, a.col3, a.col4 from table1 a where........) This is possible in this form for Oracle and DB2 but I cannot get it to work in Sql Server. Any ideas No. SQL Server doesn't support row value constructors yet. You can use a correlated sub-query instead like: select count(*) from table1 as b where exists (select * from table1 a where a.col1 = b.col1 and a.col2 = b.col2 and a.col3 = b.col3 and a.col4 = ...Show All

  • Visual Studio Express Editions Using Classes and Structs

    I am confused on using Classes and Structs. Can anyone shed light on what MS has changed about them example this code generates a ton of weird errors #include <windows.h> class CIGECORE { public :     LPSTR sAppTitle;     int iPosX;     int iPosY;     int iWidth;     int iHeight; };   That would be Gdi32.lib.  FWIW, I just googled GetStockObject, the first link is MSDN, and the MSDN page at the bottom tells you what to link to ( if you ever have these sort of troubles again ).  I tried a couple from ...Show All

  • Visual Studio Team System Exclusively in these products?

    Hi, Can anyone tell me if the Team System Editions of Visual Studio will include the functionality to reverse-engineer databases I use Visio for Enterprise Architects (VEA) because I often need the database reverse-engineering functionality. This VEA plug-in is not part of the standard Visio included with Office, and it is one of the reasons I currently have MSDN Universal. This page: http://msdn.microsoft.com/howtobuy/vs2005/subscriptions/  indicates that "Productivity Apps (including Office, Project, Visio )" are included in MSDN profesional and higher, including the various team system editions, but it does not give deta ...Show All

©2008 Software Development Network