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

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

Duncan_311

Member List

djchapin
pomp
Hamed_1983
bslim
lwsimpson
Tejas_Kishanwala
RADIOGENERIS
skalapeno
Steve Whitley
K Sumeet
ONeill
Bit Bucket
Daftspaniel
Pramod Gurunath - MSFT
Phil Gould
Selectis
bvanderw
Aaron Leiby
JeffreyCollins
s12
Only Title

Duncan_311's Q&A profile

  • Visual Studio Visual Studio 2005 default install

    Is there a way to install Visual Studio 2005, in Windows XP Pro w/SP2, so that when a user logs in, they don't have to choose the default environment settings I would like to get this setup on our lab machines, where the general environment settings are already set as the default. As of right now, it takes some time for the computer to configure each time they log on since we don't have roaming profiles, and profiles aren't kept on the machines. I tried to copy the ntuser.dat and ntuser.dat.log files over from a profile that had the software configured into the default user profile, but that didn't seem to work quite right. Any suggestions would be appreciated. Thanks. Hey there, Actually, there is. Y ...Show All

  • .NET Development To regex - or not to regex?

    Hi, I have yet another regex query - this time regarding the retieval of a URL from HTML. I have a string called HTML, with a number of links on it. The format for these links is something like: <a href="/index/welcome.php action=one&amp;section=27">one</a> Now, I only want the link which is called one (in the link text - so between the > and the </a>), and from that link I want everything between the " marks. Can anyone help me do this Thanks well, regex is used for pattern searching as you may know and is the proper way of doing things on the long run but it expensive (can you blame it ) - with special meanings/pattern keywords etc... it is good but h ...Show All

  • Visual Studio Team System Require Work Item Link

    Is is possible to specify that a Task work item cannot be created unless it is linked to another work item We would like to ensure that all tasks are part of a Risk, Requirement, ... ...Show All

  • SQL Server Updating a View

    Can someone direct me to information (DML on a view) I created a view and wanted to know if it is possible to run an update, delete, etc... on the view.... thanks, Jonathan Yes, this is possible, but you have some restrictions on the view if you use several commands. Then you will have to use instead of triggers to make the DML operations work. Updatable Views You can modify the data of an underlying base table through a view, as long as the following conditions are true: Any modifications, including UPDATE, INSERT, and DELETE statements, must reference columns from only one base table. (more in ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/tsqlref9/html/aecc2f73-2ab5-4db9-b1e6-2f9e3c601fb9.htm ) HTH, Jens K. Suessmeyer. --- ...Show All

  • SQL Server Configuration file for Connection Info (how do i set password)

    Hi All, I'm new to SSIS. I'm trying to build a simple package, run it on dev and migrate it to our stg and tst environments. It works on my dev environment great! It simply loads data from a flat file into a table. The trouble i'm having is exporting the connection string info to an xml file and runnign it on other environments. I am not storing the package on the db. I am saving to a file and running through SQL Server BI Development Studio. I go to "Configuration File" and export InitialCatalog, ServerName, User, Password to the file. I can manually change the xml to the new environment but don't know how to set the password. It's not in the xml and i am constantly getting "Login failed for 'sa'" errors. Anyone know h ...Show All

  • Visual Studio 2008 (Pre-release) Schema aware XLinq

    I managed to get some time to read the Linq project overview and play around a bit more. I had some thoughts on how Xml Schema and Xlinq could work well together based on one or two examples i found in the document. I've no idea whether this could happen, but in the word of deferred query evaluation anything is possible :) Consider this example within the document : IEnumerable<Person> persons = from e in x.Descendants("Person") select new Person { Name = e.Value, Age = (int )e.Attribute("Age") 21 }; It would be nicer for me to have previously done this: < xml version="1.0" encoding="utf-8" > <xs:schema id="XMLSchema1" elementFormDefault="qua ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. what is best way to render scene with great number of textures?

    xna help: To use the Texture3D.GetData or Texture3D.SetData methods, Texture3D.ResourceManagementMode must be ResourceManagementMode.Manual and Texture3D.ResourceUsage must be ResourceUsage.Dynamic . the problem is that texture3d constructor dont have resoursemanagement parameter (while texture2d has)! is this a bug I figured you might have some problems with 3D textures - I know I did the first time I tried using them.  Here's a bit of code I ended up using to get Texture3D creation to work:     // Set up the texture    3DTexture = new Texture3D(device, sizex, sizey, sizez, 1, ResourceUsage.AutoGenerateMipMap, SurfaceFormat.Color);    3DTexture.SetData (0, 0, 0, si ...Show All

  • Windows Forms CheckedListBox appears to ignore Sorted property

    Per MSDN Library advice I sorted the items the way I wanted in a CheckedListBox before adding them (not a data bound control). CheckedListBox resorted them in alphabetical order. Sorted property is turned off in designer, truned off again before items are added (using BeginUpdate before items are added). Code is C# under Framework 2.0. Thanks ...Show All

  • .NET Development Create a Shell Extension Handler thumbnail extractor with .net?

    Hi, My application creates nice graphics see http:// www.mavericksplan.com/mavericks  and it saves a custom document type. I'd like to show the contet of the document in Explorer when the user switch to Thumbnail view. To implement this feature I understand I need to create a Shell Extension Handler Thumbnail Extractor that extract the image from my file type to feed Explorer thumbnail vew, which is not easy at all for me. I look on the web and I found 1 C++ example and none in C#. Does anybody have a sample code to create a Shell Extension Handler thumbnail extractor with .net in C# Thank you Andrea Unfortunately unmanaged C++ is really the only way to go here. Writing in-proce ...Show All

  • .NET Development Auto Translate

    Hi, I am trying to set a property for the connection string: Auto Translate. As I am using SQLconnection object rather than OLE or ODBC, is there any way for me to turn off the Auto Translate option Otherwise, I would get all the crazy characters for my Big5 Chinese words from Database. This problem was solved by setting that auto translation off for ODBC when i was still using asp when we first developed the application. Due to the performance issue, we switched to SQLconnection rather than ODBC.. is there any way to come around for this problem Given condition: SQL Server 2000 and database structures cannot be changed. I am very new to .net and your help will be very appreicated! Thanx!! ...Show All

  • Windows Forms Connection string problem

    every time i deploy my application on the client's system i hv to change the connection string accordingly, i am talking about my data application using sql server and vb.net, i m looking farward to find any way by which i would not hv to change the connection string every time. my application should find it self on the client's system. is there any way Thread moved to the appropriate forum. The client may change the name of the server and the location of the file. One way I would suggest is to make some settings dialog where they choose the name of the server (SQL Server) and the file to the database, then save your connectionstring in your settings file. From this, you can load it/modify it whenever ...Show All

  • SQL Server Need desperate help on a storedProc

    Hi, I'm a PHP Programmer but I need help making a storedProc. basically, if I have orders and want to output the intials of the order taker I need help on that storedProc. So I got the IDClientID select idRessCreatedBy from TBL_quotation where idClient = IDclient now i got the IDresscreatedby and I need to do a substring(firstname,1,1) + substring(lastname,1,1) from tbl_ress where IDresscreatedby = IDresscreatedby Can anyone help me with this storedProc I would very much apreciate it Creek: I am guessing at a good bit of this, but maybe you have in mind something like this set nocount on -- --------------------------------------------------------------------- --  I am assuming that ...Show All

  • .NET Development build query based on user input criteria (search function)

    I have a search form which contains a set of search criteria and a datagridview. the datagridview is populated by entering none or some of or all of these critera and click on "search" button. the search criteria are: name, dob, gender, date_time_registered, active , etc. I am able to build a simple query for each possibility, e.g. only search for one field, or search for all fields, or search for any 2 or these fields. This is rather inefficient. Is there a way to build one query to accommodate all possibilities I tried to do something like this: SELECT * FROM patient WHERE name = AND dob = AND date_time_registered = AND active = assume user only specified two criteria: name and active, I did this in my code ...Show All

  • Visual Studio Express Editions Invalid Column Name

    Hello, I am using Visual C# 2005 Express Edition and I am trying to connect to an SQL database. I have created the database with the following columns: id, first, last, phone, date I have created a binding source with a Data Grid View and I am trying to load the data. However, I am getting an "Invalid Column Name" error for NO apparent reason. Here is what my code looks like: SqlConnection con = new SqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=|DataDirectory|\\dsAllMembers.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"); con.Open(); if (con.State == ConnectionState.Open) { System.Console.WriteLine("So far, so good."); SqlCommand command = new SqlCommand("SELECT id, first, last, phone, date FROM tblMemb ...Show All

  • .NET Development Encoding bug?

    I use unicode encoding to convert an array to a string then at a later date back to an array again. Usually works but with some inputs, the output array is different to the input array. This problem only happens in Vis Studio 2005, in 2003 it works perfectly. The VB code below replicates the problem Dim myarray(23) As Byte myarray(0) = 48 myarray(1) = 48 myarray(2) = 48 myarray(3) = 48 myarray(4) = 48 myarray(5) = 48 myarray(6) = 49 myarray(7) = 50 myarray(8) = 156 myarray(9) = 46 myarray(10) = 100 myarray(11) = 164 myarray(12) = 24 myarray(13) = 223 myarray(14) = 18 myarray(15) = 31 myarray(16) = 127 myarray(17) = 155 myarray(18) = 248 myarray(19) = 198 myarray(20) = ...Show All

©2008 Software Development Network