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

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

odv

Member List

Hersheys98
.NET Developer
dasp
Northwester
Anand Raman - MSFT
svxtc
Kendal Walton
ddoolit
Kevgor
billb59
Ariel Valentin
Bendas
Mongsreturn
V.E
NuclearChicken
hiphop_fc
qrli
NipplesAndLicks
dan english
Shocky
Only Title

odv's Q&A profile

  • Visual Studio Retreiving project for an unbound recipe

    I have a recipe that I am developing, and need to determine the project that my recipe was executed against. Say I have three projects and I right click on the second project, and execute my recipe. How do I get a referance to the second project I've also posted this over on the guidance automation site forums: http://www.guidanceautomation.net/cs/forums/512/ShowPost.aspx Any help would be appreciated. Wayne I would use a value provider that retrieves the currently selected project for this, implementing its OnBeginRecipe override like this: public override bool OnBeginRecipe(object currentValue, out object newValue) { newValue = DteHelper.GetSelectedProject(VisualStudio); return curren ...Show All

  • .NET Development Write.XML from a DataSet

    Hello XML Gurus, I have what I hope is a relatively simple question; but since it's my first time with it, I'm hoping for a little guidance. I have a DataSet (DataSet1) and I want to write one its tables ("Users") to an XML file (Users.xml). I think I understand how to write the whole dataset (and schema) to the xml file, but how do you do one table Also, when you call write.xml(filename), does it automatically overwrite the contents of the xml file or do I have to do something else in order for that to happen Lastly, when (and how) do you call the TableAdapter.Fill method to fill the new dataset with data Any help would be greatly appreciated! Thanks in advance for any help, Tony http://msdn2.microsoft.c ...Show All

  • Visual Studio Team System Who am I?

    No this is not an existential question. The Team Fonudation Server seems not to know and I can't work it out myself! Let's put it plain and simple. I am a user called "Bernd Wechner". Everything I did until recently on the TFS was clearly by Bernd Wechner. Reently (I can't tell when exactly because my activity has been low and sproadic, we're just kick starting the system) everything I do is attributed to a user called TFSSETUP. That is the history of work items I change, the "All My Work Items" query and any files I edit int he Document library (and the version history of them) show "TFSSETUP" as the user behind the action. Bernd Wechner is no more. None of my team memebrs has this problem. None of u ...Show All

  • SQL Server Week Commencing drop down

    Hello I hope someone can help me. I have created a report which draws back a 1 week schedule, at the moment the users need to use start (a date which is a Monday) and end dates ( date which is a Sunday) to get a weeks' schedule. How do I get one dropdown box which automatically has only Monday dates for Week commencing in it Thanks. ...Show All

  • Visual Basic ImageLooper Control

    I am working on a VB tutorial, and at the same time trying to create my first control called ImageLooper. This is pretty straightforward, a control box with a picturebox1 inside, a left arrow button and a right arrow button (button1 and button1 respectively). The idea is, with each click in either direction, the next or previous in line image will display, depending on which arrow is clicked. Each button works individually ok, but when I switch from the left arrow button to the right or visa versa, instead of going to the next image down or up, on the first click, it takes one step in the opposite direction, displays that (wrong) image, then, with subsequent clicks, starts moving through the images correctly. The language is below: ...Show All

  • Windows Forms Gradient backgrounds.

    How would I go about creating a gradient background in a component such as a label, text box, or panel I have never really fiddled with the System::Drawing namespace, which I know is what I would have to use. Anyone know how to do this at paint event use LinearGradientBrush to fill the background LinearGradientBrush lgb = new LinearGradientBrush(rect, gradientFirstColor,gradientSeconedColor,lgm)) For more info look at Simple Label Gradient Using The LinearGradientBrush Working with Brushes in GDI+ LinearGradientBrush Class ...Show All

  • SQL Server Getting A Listing Of Databases From Server

    Is there a way I can query the database server (SQL 2000) to get a list of all the available databases As a threshold problem I am not clear how I would connect to the server. I am using VB.Net and presently connect to one database at a time. The connection string is in an XML file, such as: < xml version="1.0" encoding="utf-8" > <Connection>workstation id=ASUS;packet size=4096;user id=sa;data source="5.15.183.222\KWMSDE2"; persist security info=True;initial catalog=tsLocal;password=pass </Connection> Is there some special way that you connect to the server without specifying the database Is there a certain query I must use once I am connected Can the information be returned ...Show All

  • Visual Studio 2008 (Pre-release) MSMQ? How many clients queues can connect to one server queue at one exact moment

    Whats the limitation. Client wants to know this to know how many MSMQ servers they need in a farm for any given scenario. John, Can you please clarify how queue-to-queue message transmission work in MSMQ 3.0 When a message is put to a local queue is it pushed to the remote queue Or is the remote queue notified and then the remote agent pulls the message out of the local queue Thanks in Advance, Traze ...Show All

  • Windows Forms List ClickOnce installed applications

    Hi. I have a problem where I would like to write an application which will list the locally installed ClickOnce applications. It in itself would be deployed using ClickOnce and would probably have a listbox with each of the application names. Longer term, it might get sophisticated, but for the moment I just want to list the applications installed locally with ClickOnce. Can I do it and how would I go about it thanks Is there any way to do it in code My question was originally based on a question in an MCPD exam. I can't remember the 4 options, but it implied that it was possible to search for click once installed applications through code.. I think 2 of the options were to do ...Show All

  • Smart Device Development Need help in SMS sending using VB.NET

    today download a project SendSMS using VB.NET from msdn home, namely Sending SMSs from your Microsoft .NET Compact Framework-based Applications but when i run it, there's an exception saying that "MissingMethodException" after pressing button send and please anyone know what happen how can i fix it thanks a lot hi~Ilya i havn't got a ppc phone here, i can't test it on a real phone, and i have to test it on my pc, what's more, i should finish until this evening and i don't know whether it will be ok in a phone, have you ever met this problem and fix it in a real phone thx ...Show All

  • Visual Studio Team System Why should we chose TFS over Subversion?

    Hi, Within our department we currently discuss two options for replacing VSS: Subversion and TFS. Well, I know that TFS does much more, that it links changes with Work Items, does reports etc, etc. But right now we are primarily concerned about version control capabilities. I know that TFS does shelving, but a similar thing can be also accomplished with SVN: http://svnbook.red-bean.com/nightly/en/svn.branchmerge.tags.html Are there any other advantages Any clear reasons why NOT to go with SVN My managers are just primarily afraid of the MS slow development lifecycle. Let's face it. It is the first version and most likely it will take *years* before we see SP1, as it was the case with VS.Net, VS 2003 or VSS. And most l ...Show All

  • Visual C++ Problem Loading NtFsControlFile function from Win32 Project

    Hi, I'm having trouble with the following piece of code: if( !(NtFsControlFile = (NtFsControlFileFunction) GetProcAddress( GetModuleHandle((LPCTSTR)"ntdll.dll"), "NtFsControlFile" )) ) { printf("Could not find NtFsControlFile entry point in NTDLL.DLL\n"); // exit(1); } This works flawlessly in a Win32 Console Application type of project, but when I use it in a Win32 DLL type project it just tells me that it couldn't find the entry point (condition evaluates to TRUE in the if statement above). What should I do I've searched the forum for answers to this, but haven't found anything. Could you please help with this Thanks I would suspect that you're compiling with _UNICODE defined in the DLL an ...Show All

  • SQL Server Open report in new window: window.open method gives error

    Hi, I am using SSRS Microsoft SQL Server Reporting Services Designers Version 9.00.1399.00. I want to open linked report in new window. I tried whats mentioned in http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=240172&SiteID=1 but i get an error on Window.Open method. How do I solve the problem Thanks to display a linked report in a new window, right-click on the text box containing the link text and go to 'properties', then the navigation tab. In the 'jump to URL' field enter the full path to linked report on the report server as follows: http://<servername>/ReportServer/Pages/ReportViewer.aspx %2f<parent folder>%2f<name of linked report>&rs: ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Can you edit a Model's vertices at runtime?

    Is it possible to edit the vertices contained in ModelMesh Like could I get the vertices, alter their position and set the data back in the collection I ask this because for the terrain object in my game, I want it to be deformable. I've been playing with the content pipeline and my custom importer / processor / writer writes the height data as a byte array. When the object is read back, an index buffer and vertex buffer are generated in the terrain class. The vertex buffer is specified with ResourceUsage.Dynamic which to my knowledge is the only way to make the buffer read / write enabled. I'm considering altering my custom content pipeline objects to create ModelContent objects instead of my current approach, but I will abandon that id ...Show All

  • SQL Server Import Data from Oracle9i DB

    I hope this is the correct forum to be posting this in but, we have a database setup on a linux box that we are trying to get rid of and replace w/ sql server 2005 once we have the data off that machine. The problem that we are running into when we try and import data from that machine is, we get the following message during the DTS import / export wizard: 'Error Source: Microsoft OLE DB Provider for ODBC Drivers' 'Error Description: [Oracle][ODBC][Ora]ORA-00942: table or view does not exist' 'Context: Error calling OpenRowset on the provider' Hopefully this is just a silly mistake on my end but I have been searching around and have not been finding anything too helpful. does anyone have any advice thank you very much in advance ...Show All

©2008 Software Development Network