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

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

DKB

Member List

DarthCoder
Thomas Ardal
zdrae
EliteSniper177
Wil Burton
GRiNSER
Umair-Shahzad
PLife_Jones
Kardi
IgorB
Asday
goPlayer
narcvler
Jean-Pierre Fouche
Wout
b0bd0gz
aspfun
swg
Paarul
ahallett
Only Title

DKB's Q&A profile

  • Visual C# static methods

    I ve a question on static methods.It has been said that static methods can be invoked using the class name directly i.e., without creating objects.how ll be the static methods present in the heap.when ll it be instantiated.How many number of such methods ll be in the heap.wont this cause performance degradation Ah... Now I understand. It is apparently a common means of describing Object-oriented programming, by saying that the data and the methods that act on that data are "store together" in the object. This merely happens logically. They are not phyisically stored together. The methods are in the assembly. The assembly is loaded into memory, and suddenly ALL the methods (static & instance) exist. Attempting to ca ...Show All

  • SQL Server system account for sql2005

    I have a big trouble with update from MS SQL 2000 to SQL 2005. Because my aplication runs as System Service, I use system account for login to SQL server. At the SQL 2000 I created SQL account like "DOMAIN\PC_NAME$" and service started at PC_NAME was able to logon on the SQL2000 server. But on the SQL2005 it DOESN'T work. Does anybody have some idea how to create system account on SQL2005 to log on SQL server from another computer under system service account Thanks for your help. Please post the command that you used to create the account and the actual server error message that you got back - include both the error number and state and the error message. Thanks Laurentiu ...Show All

  • Visual Studio 2008 (Pre-release) Could not find schema information for the element 'system.serviceModel'.

    I have installed winfxsetup.exe. I was tring one of the sample for WCF console application. While creating this application the host application which is a console application and contains a app.config file displays the above error Thanks in Advance Hussain ...Show All

  • SQL Server How to select all columns except one column from a table ?

    Hi I can't figure out how to do this and hope you guys can give me a hint.... I want to select all columns from a table except one column: For example, A table has 20 columns : {1,2,3.....20} To select all of columns in a table, i could use select * from table; However, I want to select only column {1....19} I do not want to type the column names in one by one in the SQL query, is there a way to achieve this in a short form of Select Thanks, One trick I use to get that may columns name in SQL Server 2005 is: 1.From Query tab, go to Design Query in Editor and Select your table of interest from Add Table window, click Add; 2. Check the *(All Columns) checkbox from your table window and click OK and You will ...Show All

  • SQL Server Bug in Task

    Hi all, I have a job that run 3 task. The first one do a backup, the second one copy those backup files from one drive to another drive, the third one supposed to delete the backup from the first drive. What is happening is as soon as the second task start the third task also start for some reason, it does not wait for all the backup files to be moved, so i end up with one backup file being copied on the second drive (locking the backup file) but all the other backup get deleted except for the lock file. Has anyone encounter the same problem is there a way i can set up the third task not to start until the second is completed I found a work around. Apparently when the task copy files from one place to ano ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Need high precission zbuffer, but using non d16 fails in clear.. not in create

    I have a large mesh which i need to show all at once. I can not sort the rendering and play arround with painters algorithm, since it is updated real-time, and i do not have the time to be fancy. Sometimes i need to look at the mesh very close, and still I can see parts of it far far away. For this I need a high precission z-buffer. Sadly D32 is not supported yet, but the odd thing is when i ude D24S8 or D24Single8. The device is created just fine, but when I try to clear the zbuffer, before rendering a new scene, d3d fails with "no zbuffer is associated with device. Clear failed." This seems a bit odd. I ask for a zbufer and device is created fine, but I didnt get one I create as this... presentParams = new ...Show All

  • Visual Basic capture multiple listbox selections

    I have a list box wth 6 items and the user can select as many items as apply. I can capture any 1 of the choices the user makes with the following code which assigns the chosen item to the string variable strSubs strSubs = Me .ListBoxAbuse.SelectedItem.ToString() What I can't seem to do is capture more than 1 item from when the user makes multiple selections from the list box. Can someone please suggest the correct code which will enable me to do so Thank you Howard Create a array list and add the selected items to the array list. dim ar as ArrayList For i = 0 to listBox1.SelectedItems.Count - 1 ar.Add(listBox1.SelectedItems(i).ToString()) Next ...Show All

  • Windows Forms Draw on rich text box

    Hi Every one, I'd like to know that it is possiable to draw on the richtext box control or not and if it's possiable how can I do it thanx Here is the code in C# for an extended RichTextBox,which allows you to draw on a richtextBox.You can convert this code to VB.Net. using System; using System.Drawing; using System.Runtime.InteropServices; using System.Windows.Forms; namespace WindowsApplication1 { /// <summary> /// Summary description for RichTextBoxEx. /// </summary> public class RichTextBoxEx : RichTextBox { private const int WM_PAINT = 0xF; public RichTextBoxEx() { } protected override void WndProc( ref Message ...Show All

  • Internet Explorer Development IE7 Certificate Request/Enrollment

    With IE7, I've noticed the original ActiveX method of generating a client certificate request and installing the signed certificate no longer work (xenroll.dll calling CreatePKCS10() and acceptPKCS7()). How do you do this now with IE7. Vista customers with IE7 don't even have access to xenroll.dll. I have been unable to find much documentation on this change, only that the old way was replaced with "something new", but no details on what the something new is called. Any help would be greatly appreciated! Thanks, Andy Hi, I tried something like and it turns an object to. But i have a permissions problem. When i call the Initialize on object x509PKCS10 i get a "Access Denie ...Show All

  • Visual C++ Syntax for Overriding IListSource -Managed C++

    I am having trouble with the syntax for overriding IList source in managed c++. Especially, how do you override the public ref class StopListSource : Component, IListSource { private: static BindingList<String^>^ blah = gcnew BindingList<String^>(); public: StopListSource() {} StopListSource(IContainer^ container) { container->Add(this); } //***The Following generates: a member using-declaration or access declaration is illegal within a managed type IListSource::ContainsListCollection { get { return false; } } //Not sure about the following, but it doesn't throw any errors //in C# this is: System.Collections.IList IListSource.GetList() , but in C++ this is old syntax ...Show All

  • Smart Device Development Email using SQLCE

    can we send emails using sqlce from a smart device applicaton i heared that we can do in sql server thanks Aditya ...Show All

  • .NET Development regarding columns in dataset

    Hi, I want to know how to retrive each column in a dataset.and how to add new column into a dataset. I f anyone knows about this, please give me a detailed description. Thanks in advance. Hi, DataSet is not containing Columns/rows directly- its collection of Tables you can say and each of tables contains collection of columns and rows. So, To access all columns: "yourDataSetObject.Tables[0].Columns" or "yourDataSetObject.Tables["YourTableName"].Columns" To add new column : yourDataSetObject.Tables[0].Columns.Add method - this add method has 4 overloaded forms so use whatever is usefult to you. For more information about DataSet and DataTable manipulation ...Show All

  • Windows Forms change content/using tabs

    This is an example of what I'm trying to do. So first you have the first (click for image)situation. Then you click "Update" and you get second (click for image) situation. My question is How Thanks Generally speaking, you change the right part according to the left part. To do this, you may use splitcontainer control to split the windows form into two part. And the left part in the image is very similiar to the outlook bar, if you want the same effect, you can have a search and i'm afraid there are lots of demos out theres. As long as you click the button, say 'Update', the right part is updated, changed to a new interface. Just give you a gerneal idea. Hope this helps. ...Show All

  • SQL Server MSDE 2000 Replication to SQL Server 2000

    i went through the documentation but i was not clear on following, here is the scenario :- a Central server is having SQL Server 2000 3 Remote Locations :- Each having 4-5 no of computers, connected on a Lan, and on one of the machines MSDE 2000 will be running. My Questions are :- 1. Can remote locations, update data locally and send changes (say in every one hour) to central server. If yes, then how 2. Same way they can receive updates from Central Server on whatever was updated on Centra Server or on the 3 remote locations. If yes, then How any help will be highly appreciable. Thanks for your answer. Kindly note that if in this same scenario, can we do the same thing, if followin ...Show All

  • Gadgets Vector Graphics in Gadget

    I am making a gadget that will be resizeable from the settings menu (when undocked), and I was wondering if the sidebar had any type of native support for vector graphics so I wouldn't have to make and distribute separate background images to maintain a high quality when it is scaled up.  I'm assuming not since it is rendered by IE, but it doesn't hurt to ask.  Thanks. You need to display something first! Shapetype defines a shape, to display it you need to add: <v:shape style="top:0px; left:0px; width:100px; height:50px;" type="#box" strokecolor="white" fillcolor="black" /> Regard "caching", yes Sidebar (well, IE actually) does cache ...Show All

©2008 Software Development Network