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

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

ykgreene

Member List

vansloopernooper
Jebat
martona
Lucas Stark
Loicus
John05
Alvin Kuiper
ichi
WineNCheese
Mohammad hOque
NickNotYet
cfoks
Colin D
GoDaddy
narend
Helen Cool Granny
rachbabe
barkingdog
daniel mark
Martinp23
Only Title

ykgreene's Q&A profile

  • Visual Studio 2008 (Pre-release) Autocomplete in a combobox or a textbox

    Hi all I need your advice on how to make autocompletion on a textbox or combobox in WPF. The combobox has a fine autocomplete functionality, that i could use, but i do not want the combobox to show the combobox button and enable the popup. Can the combobox button be disabled and hidden so that only the textbox and its autocomplete functionality is visible to the user. Alternatively - how can i combine a standard textbox with a selector functionality that will allow me to implement an autocomplete functionality based on on a collection datasource. help will be greatly appeciated BR mr. knowtoolittle Hi, For the TextBox, you could use ComboBox with a custom Template which hides the button and ...Show All

  • Windows Forms Dataview

    A question please. Can a dataview select the columns of a Datatable For rows is: mydataview.RowFilter = "field=" & cboSujet.SelectedValue.ToString but for columns Thanks... Thanks. I want to filter the number of the columns of my dataview. Example I have a Datatable with 4 columns, but I only want 2. I assign my Datatable to my dataview. After that, can I filter the number of the columns of my dataview Thanks...     ...Show All

  • Visual Studio Team System Baseless merge problem

    Hi does baseless merge deletes files in the target branch here's our scenario : A,B to folders (A is an ancestor of B). A containes a CS that's needs to be merged into B. the CS includes some files in "delete" pending change. we tried using : tf merge /recursive /force /baseless /version:c1024~c1024 $A $B but only the files which are not "delete" are being displayed on the conflict dialog box. how am I supposed to deliver those "delete" changes thanks, Guy ...Show All

  • Smart Device Development obfuscate CAB files

    Hello, I would like to obfuscate my assembly before deploying it to my PPC. Using Dotfuscator from the VS i created an obfuscated .exe. my question is how can i incorporate this .exe into the CAB setup wizard or what is the sequence for obfuscating the assembly I figure out that i can put several .exe (obfuscated or not) into one cab file. however when installing, windows mobile will treat the cab file as one programs even thu there's multiple .exe files. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Video/Animation Playback

    Hi, I'm currently writing a library (for XNA/DirectX) for animation/soundless video playback, and I have a few design questions for the pros out there if you don't mind answering them : I'm having my animation class inherit from game component, and update the frame depending on game time in the overriden Update method, and render it in the overidden Draw method, but even when I preload my textures to render, playback is choppy. Not sure exactly why, but I notice this only when I have significant number of frames (I noticed it with 100 frames, but *not* with 10/15). This problem may be linked and solved by the 2nd point, so please read on. When I preload all the textures for the frames in the animation (and the no. of frames ...Show All

  • Visual Studio Express Editions image to a picture box without using the properties window.

    Hi, I would like to place a p icture box on a form and using a text box select from any number of images to show in the p icture box. How can I assign an image to a p icture box without using the properties window. Ken If I follow what you are saying, and you have used the code I provided, then you are loading 9 comboboxes with the same list of image names and nine initial images get loaded So ... Is Bitmap Then ComboBox1.Items.Add( CStr (renu.Key)) End If Becomes: Is Bitmap Then ComboBox1.Items.Add( CStr (renu.Key)) ComboBox2.Items.Add( CStr (renu.Key)) . . End If Only the initial image is loaded at startup time. Try making it a ...Show All

  • Visual C# How to read from a text file?

    I want to read the words from a file and store the words in a 2D array. The first word in store in the first row of the array.the second word in second row..etc.. How can I do that you can try this: string[] theWords = System.IO.File.ReadAllLines( "FileName.txt "); this will read the entire contents of the file into a string[] array and you can access the array afterwards. Is this what you are after ...Show All

  • Software Development for Windows Vista Vista IE7 and MS CertServer

    Hi, has anyone seen this problem before any way to fix it running the Feb CTP I needed to request a client cert from an intra-net / private app. it uses server 2003 and msft cert server to issue client certs. I can open the request page but it just sits there with the "downloading activex control" message and gives me no way to submit the request. looks like the chnages to activex activation + the new IE version + the new xenroll bits have the client page's script broken. I am sure there must be a simple way to fix this .... but searching has not given any other reports of this so far. any fix for this yet same problem running Vista Business MVL release. CerSr ...Show All

  • Visual Studio Team System CTP7 Build and Deploy Bug about Table-Valued Function

    I have tried the CTP7 Build and Deploy function. 1,I use many Table-Valued Function and and I build and deploy them. 2, I build the database for the second time, but I still get the script of these functions in the script file. even though they are exactly the same in the project and the target database 3, I compare the function using the compare schema and mare sure they are the same. 4, For simple Table-Valued Functions it is ok, it seems the build can not will go wrong on complex functions 5, Below is the one of my functions which can't be handle correctly by the build function. CREATE FUNCTION [dbo].[zqf_rest] ( @ManagerRoleID int, @UserRoleID int, @UserID int, @BeginDate datetime, @EndDate datetime ) RETURNS @ ...Show All

  • Visual C# How to Insert Only the newest row added to the dataset

    I have a dataset that contains some 3 rows....when i add a new row and I want to insert that new row it inserts all three rows again so i end up with seven rows the 3 that were there already, a copy of the 3 that was there and then 1 for the new row.....when i just want it to insert the newest row that i added to the dataset...Is there anyway to get this done foreach (System.Data.DataRow currentRow in _dsContacts.Tables[0].Rows) { currentRow["CustomerID"] = this ._CustomerID; currentRow["TypeOfContact"] = this ._ContactType; string sql = System.Configuration.ConfigurationSettings.AppSettings["ConnectionString"]; using (SqlConnection connect = new SqlConnection(sql)) { using (SqlC ...Show All

  • Windows Forms controls library

    hi, ive got a controls library. now if i want to use these controls in any project, i want to drag and drop feature with the controls . how do i i want to be able to have the controls displayed on the toolbar , thesame way it would if the usercontrol was created in the project Hi, I guess you mean "have the controls displayes on the toolbox " If it is, then right click on the toolbox, choose "add items..." and add the .dll file. Then the controls will be displayed on the toolbox. ...Show All

  • .NET Development Com Interop with a .Net Application

    Hello! Is it possible, to have a C++/CLR project compiled as an application, und expose some classes through Com-Interop to Com-Clients I want to run an application, but let some Com/DCom-Clients (alongside with a local user) take control of that application I've tried to make a new Visual C++ CLR Console Application (Visual Studio 2005), define a class and make it com-visible, same procedure, same class as with generating a Class Library, but when I try to register it with regasm, he throws out the following error message: Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.42 Copyright (C) Microsoft Corporation 1998-2004. All rights reserved. RegAsm : error RA0000 : Attempt to load an unverifiable executab ...Show All

  • .NET Development How to deal with multiple tables and dataAdapter

    I am working on an application where there are around 8 related tables. I am using a dataAdapter for filling the dataset with all these tables. I am doing the folowing: SqlCommand cmd1 =new SqlCommand(" Select * from table1"); SqlDataAdapter sda = new sda(cmd1); try { conn.Open(); sda.Fill(ds,"table1"); cmd1. CommandText = "Select * from table2" ; sda.SelectCommand = cmd1; sda.Fill(ds,"table2"); conn.Close(); } In this approach, when I do some update on the table1 then there will be errors because the adapter's select command is pointing to table1. I then need to be cautious to set the adapter's select command before doing any update to a specific table. Is this a good aprr ...Show All

  • Visual C# Change Default Project folder

    Hi All, When i create a Project using VS2005, by default a folder with the namespace gets created. for e.g. When i create a project with name Test.Test1.Test2.csproj and namespaceTest.Test1.Test2 under C:\MyProjects\ A folder with name Test.Test1.Test2 gets created, How can i avoid this i want to create the project as C:\MyProjects\Test\Test.Test1.Test2.csproj Any pointers would be great. Apologies if this is wrong category. Thanks, Swarup Hi, VS 2005 creates a folder with <projectname> and places the <projectname>.csproj in the folder. how can i prevent this ...Show All

  • Visual C# change statusbar icon on database activity

    hello, I searched for a while on the forums, but could not find anything usefull on my question. My application uses business objects, which are showed inside a panel when added to the mainform. Each business object is responsible for loading its own data. And I don't want to put any other code in these business objects. On my mainform I want to put an icon or other small picture in the statusbar that shows when a database update command is called from any child form. I am using SQL Server 2005 Express Edition. Can anyone tell me how I get my statusbar icon changed on database activity. I don't know where to start. thanx, Ton. Create user control inherited from Form type. In this form ...Show All

©2008 Software Development Network