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

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

RWF

Member List

shmulik_segal
Surfsune
MaggieChan
r3n
jaegd
ErikL2007
Jay_Vora_b4843e
Penny Ong
Amos Soma
Pra_na_b
Andrei Johann
Adam Weigert
Ogulcank
mike_n
crodude
raghu_grdr
REspawn
Lawrence Kok
Rastogi
billg51
Only Title

RWF's Q&A profile

  • Windows Forms "Numeric Up Down" with a transparent back ground

    I am trying to implement a Form that contains a numeric updown control. I desperately want its background color to be transparent. Is it possible If so how. I tried setting the BackColor property to transparent(using the designer in VS 2005), but it did not allow me to do so, saying "Property value is not valid."       Try this: Public Class MyNumericUpDown Inherits NumericUpDown Public Sub New() Me.SetStyle(ControlStyles.SupportsTransparentBackColor, True) Me.BackColor = Color.Transparent End Sub End Class Use this control instead of the standard NumericUpDown. Tony ...Show All

  • Visual Studio Tools for Office outlook add-in deployment on network

    hello everyone, i am trying to install my solution on a network and get the installer right. i followed the walk-through on: http://msdn2.microsoft.com/en-us/library/aa537179(office.11).aspx this brings me to a point were i get a local install working. however, i would like the manifest to point to a network drive so that updates are delivered from a central point. i found two ways to do this: 1. change the manifest manually and add the path to the place where i published the project on the network (amending the codebase) 2. build the setup project, afterwards publish the project. then exclude the myaddin.dll.manifest manually from the output of the setup project, inserting instead the manifest from the published version ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Which one does DX copy: strings or ptrs

    Many-many times DirectX takes pointers to strings, LPCSTRs. When a function call takes such a parameter, does it make a copy of the string itself (meaning that I can clean up the string pointed to by my pointer), or does the funtion only copy the pointer, meaning that I must keep the string alive as long as the COM-interface is not released Sometimes it is no question, for example, I'm sure I can clean up my string right after calling D3DX10CompileShaderFromFile, but what about for example ID3D10Device::CreateInputLayout, which takes an array of D3D10_INPUT_ELEMENT_DESCs, each element containing an LPCSTR. DirectX will sure need the input semantics (the strings) later on, so do I have to keep them Thx, Karoly ...Show All

  • SQL Server T-SQL

    I would much rather use VB 6.0 than VB.net for T-SQL and SQL Server 2000 rather than SQL Server 2005 backend and Crystal Reports 8. Any Comments on this. Why stop there why not go to COBOL, JCL and CICS Seriously does MS still support VB6 what will you do if there is a problem SQL 2005 has so much more to offer than 2000 that I don't see any benefit coding any new stuff in 2000. Why would you still code in VB6 which is not really OOP has bad error handling (much like SQL 2000) You have to upgrade your skills, what if you get laid off in 1 year How will you find a new job with those skills Think about the future. Denis the SQL Menace http://sqlservercode.blogspot.com/ ...Show All

  • SQL Server how do we interact with csv files in SQL

    Thanks It depends on what level of functionality you want. You can use any of the below and look up these in Books Online for more details: 1. BCP to export/import CSV files 2. TSQL BULK INSERT command or OPENROWSET(BULK) (SQL Server 2005) 3. DTS (SQL Server 2000) or SSIS (SQL Server 2005) 4. Managed SqlBulkCopy class in SQL Server 2005 5. ODBC/OLEDB bulk load APIs ...Show All

  • SQL Server problem with foreach loop container and excel files

    well i am trying to follow the example of msdn help on how to loop through excel files and it doesn't work. the variables have the project scope. what can i do Are you getting this error message on "To loop through Excel files by using the Foreach File enumerator" OR "To loop through Excel tables by using the Foreach ADO.NET Schema Rowset enumerator". I worked through the first one (To loop through Excel files by using the Foreach File enumerator) and it worked without any issues. Thanks Sutha ...Show All

  • Visual Studio Will it work if client and server are in different subnet

    I tried to check out, but it said cannot map. Any suggestion or method. Does it need any special setting for the network. Thanks. I am not familiar with Labview but this either sounds like a bug in Visual Studio or an incorrect source control provider/wrapper implementation by the people who worked on Labview. If you believe this is a bug in Visual Studio, please log a product bug at http://connect.microsoft.com/site/sitehome.aspx SiteID=210 Have you tried to contact the people who worked on Labview Thanks, Barry ...Show All

  • .NET Development Unusual WriteXML Behaviour in C#

    Hi Guys I've got an unusual situation here. Am writing the contents of a dataset to XML with a Filestream, which works great. It writes the contents of each of the datatables contained within my dataset nicely. However, after deleting a row from one of my datatables and then writing the XML file, the XML file is written with an extra few lines after closing the root element, as follows: (DataSetConnection is the root element) <DataSetConnection> //entire contents of the Dataset and child datatables are written here successfully... <tblPerUserPass> <UserID>9</UserID> <Password>d/5++rArZQLqhfS1kc7yTQ==</Password> </tblPerUserPass> //the lines above are an example of the data written ...Show All

  • Visual Studio Team System Custom variables in scripts... no UI for managing them?

    Right now I've added a user to Logins.sql and some GRANTs to Permissions.sql. Obviously this user can be/is different based on the deployment target. So, I added a :setvar to my Script.PreDeployment to represent this value. Now, it works great, however it baffles my mind that there is no UI for setting variables. Do I really have to open the raw MSBuild and add/change <SetVariable>s myself when I want to deploy to diff. environments Curious, Drew ...Show All

  • Windows Forms Datagrid

    Is there a way to hide the contines o0f a cell in a datagridview object If so how is it done Cisco ...Show All

  • SQL Server Cannot browse data

    I try "open table -> Return all rows" , There is an error like "Database Server: Microsoft SQL Server Version: 08.00.0760 Runtime Error: [Microsoft][ODBC Driver Manager] Driver does not support this parameter" Which tool are you using There was a problem with the MDAC driver, you should check the msdaox.dll for the version you habe installed: http://support.microsoft.com/kb/277033/en-us HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Software Development for Windows Vista PDH MSDN samples do not work on Vista RC1 (PDH bugs or MSDN bugs?)

    I have been developed a perfomance monitoring solution with Pdh for XP and I have been trying to get it to work on Windows Vista. Essentially the problem involves the logging portion of Pdh in which you create a session, add counters, collect data to the log and then close the log. After that is complete, you open the log for query, add the counters then collect and format the information. When collecting the information I call PdhCollectQueryData which returns a PDH_NO_DATA error. In an effort to debug this problem, I created console applications for all the samples on Writing / Reading Performance Data to / from a Log File. Here are the sources (Copied directly from MSDN): ======================= CollectLog.cpp =============== ...Show All

  • .NET Development Dynamic Definitions

    I have data in 2 data stores, a SQL Server and a Visual FoxPro container and I would like to dynamically get the connection and adapter based on a variable. In other words, the following code: if (dataOrigin == "SQL" ) { string strConnection = proProperties.SQLConnection; SqlConnection hConn = new SqlConnection (strConnection); SqlDataAdapter oAdapter = new SqlDataAdapter (lcSQL, hConn); } else { string strConnection = proProperties.VFPConnection; OleDbConnection hConn = new OleDbConnection (strConnection); OleDbDataAdapter oAdapter = new OleDbDataAdapter (lcSQL, hConn); } try { hConn.Open(); } catch ( Exception ex) { return rtnDS; } The com ...Show All

  • Visual Studio How does assembly ref debugging work?

    I copied a dll I had created to another folder and then attached a reference to it (from a WinApp). If the dll build is Debug I am able to step into it and it even finds the original path of the source code. A Release config, obviously, cannot be stepped into. I opened up the dll in ildasm and I didn't see anything that helps VS2005 track this. How exactly does this happen Thanks for that pointer. I looked at the modules window, and yes, the symbols file was loaded. But it is from obj/Debug folder of the original project that contains the source for this assembly. I copied the dll alone to another folder. How does the debugger manage to figure where the original symbols file was created ...Show All

  • Software Development for Windows Vista Printing to specific output bin

    Is there a way to send the printed output to a specific bin (printers with multiple output bins) Thanks You can specify the output bin as a Feature in your print capabilities document with psk:JobOutputBin with option and scored properties . PrintTicket will have the bin selected as specified by you. Here is the sample for specifying output bin in your print capabilities document: <psf:Feature name="psk:JobOutputBin"> <psf:Property name="psf:SelectionType"> <psf:Value xsi:type="xs:string">psk:PickOne</psf:Value> </psf:Property> <psf:Option constrained="psk:None"> <psf:ScoredProperty name="psk:Bin"> <psf:Value xsi:ty ...Show All

©2008 Software Development Network