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

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

wesogs

Member List

SP_UK
Mateusz www.Kierepka.pl
Cooperphile
Cloakas
Ravi G
Darkside
Chad Mumford
RonBonBon
macer
Narendra
BIODIGITZMAN
cvuppala1259
Omarat56
jcmarshal
e-an
Mick Doherty
Pawel from TETA
jebrown
Hiran Das
Horst Klein
Only Title

wesogs's Q&A profile

  • Windows Forms CustomColumn as displayMember inside a user control - Designer error , bug ?

    Hi everybody. i have created a custom control that implements a combobox bounded to Customers Table in my database. I created the control cause i wanted to reuse it in different Windows forms of my application. In the Load event of the control i add a Custom column , which i use as the displayMember for the combobox Bounding. When i run my program the control works perfectly. The problem is that when i try to open in the designer a form that contains this control i get the following error : A column named 'UniqueName' already belongs to this DataTable. at System.ComponentModel.ReflectPropertyDescriptor.SetValue(Obje ...Show All

  • SQL Server Optimal Placement of Data/Log Files

    What is the best way to setup a server for hosting SQL Sever 2005 If I could get input of type of RAID to use and where to place the files that would be very appreciated. Thanks, Todd Sparks Hey Todd. Well, ideally we'd always recommend RAID 10 if possible for both data and log file LUNs for performance and availability reasons. If that's not possible due to cost, I'd recommend a RAID 1 configuration for your log file and a RAID 5 for data files...ideally, if cost is not prohibitive again RAID 1 for data files would probaby be better than 5. For a more in depth look at the internals of SQL Server IO see the following pa ...Show All

  • Software Development for Windows Vista VISTA re-install

    Hi all, I installed Vista on a new PC.  Now I want to re-install Vista and it tells me that the partion I want to use does not have enough space.  But I want to completely re-install.  How do I do this Thanks for your help. Linley For some strange and bizarre reason, unknown to me, Vista requires at least 8GB of a partition to be free to install. As I was doing my install on a test box with a 10GB Drive, I also found this problem. The only option I had was to boot the vista Install from CD, and format the drive. I was then able to install vista. ...Show All

  • Smart Device Development Reading Contacts from phone

    Hi developers , I am trying to read the List of contacts from  a phone Book can some one tell me which API to use to get the name of the conatcts and the mobile number. Regards, Parag Kudtarkar Use POOM: http://msdn.microsoft.com/library/default.asp url=/library/en-us/wceappservices5/html/wce50oriPocketOutlookObjectModelPOOMAPI.asp ...Show All

  • Visual Studio Cannot exclude files from SourceSafe

    I have a web service that needs project references to other projects contained in the same solution. The web service creates a Bin folder and puts the .pdb and .dll files in there. The entire solution is under (integrated) source control. I cannot get Visual Studio to let me exclude this Bin folder or any of the files under it from source control. I do not want to store the compiled binaries in SourceSafe. How can I exclude these files or this Bin folder from SourceSafe Thanks. It's not fixed in the general case. They just fixed one very specific instance of this problem relating to compiled dlls for sou ...Show All

  • .NET Development .Net equivalents to writeprocessmemory and readprocessmemory

    Are there any equivalents to these win32 apis Thanx in advance. Thanks for the help guys ...Show All

  • Windows Forms Socket Question

    Are sockets available as objects that you can drag into a form If they must be created from code, what headers do I need to include (I suppose specifically for winsock). How do I use SSL for my sockets Where would I include the headers The main .cpp file I tried including winsock.h in stdafx.h but every build failed with it not being able to find such a file. I tried including it in my main Project.cpp I don't get the missing file error, but I do get an error telling me: error C2065: 'SOCKET' : undeclared identifier. Start Chunk of Solution Learner Project.cpp: // Learner Project.cpp : main project file. #include "winsock2.h" #include "stda ...Show All

  • SQL Server Ignore Null in a Column that otherwise needs a Unique Value

    In Access, when you specify a unique key for a column, you can also specify IGNORE NULL, in which case there can be more than one record with NULL, but if the field is not NULL, then only one record can exist. How do I do the same thing in SQL Server. I have a table with a column that identifies a Previous Entry. If the column is Null, then there is no previous entry - this may occur often. If the column is not null, then there is a Previous Entry. A Previous Entry can be used only once. Much appreciate any guidance received. Thanks, Flavelle You can use the IGNORE_DUP_KEY option to achieve these results whe ...Show All

  • Windows Forms TreeView custom property problem

    I am creating a databound treeview but i am having trouble with one property. I created a collection to hold  labels. and i added to the designer. I can create the labels, however, i do not know how can i save it; I do not have a problem with the string and int properties, .net saves them in the designer.cs. PS: i am using the 2005 beta. public class MyTreeColumns // this is my class containing the string label public class MyTreeColumnsCollection:CollectionBase // this is my collection of labels with methods for indexing, Add, Indexof, insert, remove, and contains. in the dataTreeView class I added: MyTreeColumnsCollection _o ...Show All

  • Windows Forms Understanding ZOrder

    After searching the KB and this forum, I haven't found a question dealing with this aspect of zorder, so maybe the question needs to be asked. Can someone explain the logic that determines true zorder for controls within a form or parent control   Through experimentation I'm getting intimations of how it works, but I haven't cracked the essence. If the cont ...Show All

  • SQL Server Running a LIKE statement when searching for a date field...

    I am trying to run a like statement that has a datetime column and for some reason it does not return any values. I looked in the SQL help files and in states in there that when trying to select using a datetime that the preferred way of doing it is using a like statment. Does anybody know a better way of doing this Here is my example: (I have dates in this column ie 2006-02-13 11:30:54.220) SELECT * FROM workorderhistory WHERE wheninstalled LIKE '%2006-02%' Where did you find that preferred way to compare dates is LIKE. You might want to use many date functions to compare dates available ...Show All

  • Software Development for Windows Vista Segoe UI

    Please make the lower case i not a circle dotted lower case i...reason is its so hard to read at lower sizes...vertical 2 pixel dot is now a 1 pixel dot for the lower case i ... this also looks ugly on large scale type... if you dont want the dot in the lower case i readable then you might aswell make the upper case I look like lower case l... Well we use "hinting" to bulk up problem areas in various characters at small sizes (no need to redraw outlines) - in fact we're doing some extra work on some of the punctuation where ambiguity can be a real problem under grayscale (not ClearType) - but no plans to do this on the i or j wher ...Show All

  • Visual Studio Team System rule to check is string.empty used instead of ""

    hi, I have written a rule to check is Equals method is used instead of "==". This rule is not working. I have attached the code snippet here. Could you check and tell what is wrong with this code. public override ProblemCollection Check(Member member)   {    Method method = member as Method;    if(method==null)    {     return null;    }    foreach(Instruction instruction in method.Instructions)    {     if(instruction.OpCode==OpCode.Call)     {      &nb ...Show All

  • Visual Studio Tools for Office InfoPathNamespace screwed...

    From the Infopath documentation: ....The InfoPathNamespace attribute (which is implemented by the InfoPathNamespaceAttribute type) is applied to a class to identify the XML DOM selection namespaces used within the class. The namespaces referenced in the InfoPathNamespace are maintained by the InfoPath project system.... However, I managed to get rid of all the information (except the My namespace) And InfoPath doesn't put it back either. Can anyone give me some hints about how to resolve this issue Tnx Rene Rene, From your post, it looks like you are using the Infopath Beta with VSTA. A ...Show All

  • SQL Server AdventureWorksDW database

    I can not find the databases and samples for SSIS that are mentioned in the tutorial on my disks, or DVDs. Please tell me where I may get them from Installing SQL Server copies the Samples off the CD, but doesn't install them. Start > All Programs > Microsoft SQL Server 2005 > Documentation and Tutorials > Samples > Microsoft SQL Server 2005 Samples to install. Greg. ...Show All

©2008 Software Development Network