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

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

TheRolle

Member List

A kid
jimmy_t
Michael Morton
rgsjr
Coder11
Brades
SPWilkinson
Corby111
Jon Abbott
CodeButcher
msaradhi
Deepthi Rao
Jason D. Camp
Exploder
XNA-Mordt
KoryS
dmetz
BIG S
iconjunky
Carlos Marín
Only Title

TheRolle's Q&A profile

  • Visual C++ CList and template

    Hi guys, I made a template that will works on a CList type, but it doesn't work. template <class T> class CIntFile { // ... void Write(T list); }; template <class T> void CIntFile<T>::Write(T list) { //// list.GetAt(0); list.Next(); //// } ///////////////////////////// in another file: CList<CIntMyClass> listMyClass; /// fill it listMyClass.Add(NewData); /// CIntFile<CIntMyClass> intFile; intFile.Write(listMyClass); -------------- Why Tnx CList<CIntAirport> mylist; CIntFile<mylist> intFile; CIntAirport airport; // .... mylist.AddTail(airport); Templates must take class names not variables: CIntFile<CList<CIntAirPort ...Show All

  • SQL Server Tag name from an XML

    How can i get the tag name from an XML. Suppose this is my XML, <ROOT><NAME/><ADDRESS/></ROOT>, I need to read the tag name, NAME, ADDRESS. Re Q1: First you need [1] around the path expression because local-name expects a singleton. Second, since you want to extract the name as a value I recommend using the value() method (the query() method returns XML). So the last line in your repro would become: select @name = @x . value ( 'local-name((/ROOT/NAME)[1])' , 'varchar(50)' ) Re Q2: We don't allow parameterization of path expressions. The workaround is to use dynamic SQL. Adrian ...Show All

  • Windows Forms Changing Web service URLs stored in User Settings in Clickonce

    Hi guys, We are deploying our VB.net forms application using clickonce. This application makes calls to Web services and the location of the Web services is stored in a User Setting WS_DEPLOY_URL. Now, since we need to give a demo of this application at different locations, the Web service URL will change based on the server it is deployed on. If we change this manually in the application.exe.config file, then clickonce gives an exception as the hash value differs. We tried presenting the user a dialog which can be used to update the WS_DEPLOY_URL. But this will have to be done at every machine the application is being deployed. Say if there are 100 machines, then all 100 users will have to set the WS_DEPLOY_URL from that di ...Show All

  • Audio and Video Development Subtitle feature in WMA and Windows Media Player

    Hi, I am developing an audio and video on demand portal based on WMA & WMV and need to be able to add subtitles to my content in WMP 9/10. Do you have any tip or sample code to help me in this subject Any help will be really appreciated. Thanks in advance, Gerson Hi Gerson, You might want to try posting your question here: http://www.microsoft.com/windows/windowsmedia/community/newsgroups/WindowsMedia/default.mspx dg=microsoft.public.windowsmedia.sdk&lang=en&cr=US This forum is for Media Foundation, which is the new multimedia platform for Windows Vista. ...Show All

  • .NET Development SelectSingleNode for .NET Compact Framework 1.0

    Hi, I want to use SelectSingleNode from .NET CF 1.0, it is available with .NET CF 2.0. IS there any wayout to use it in.NET CF 1.0 ...Show All

  • Smart Device Development Backup cemail.vol

    Hello everyone! I need to backup/copy my cemail.vol.....how i can do this I trying to copy my cemail.vol...but i give a "IOException". help me please.... mgaur_MSFT wrote: IOException is because of sharing violation. Do the following: Rename cemail.vol to say cemail_bak.vol Restart the phone/ppc, You'll see a new file with name cemail.vol is created Copy the cemail_bak.vol to a new location. Rename the newer cemail.vol to cemail_delete.vol and rename your cemail_bak.vol to cemail.vol. Restart and delete your cemail_delete.vol Manav It does not allow to rename either. Same IOexception error. What do I do ...Show All

  • SQL Server count problem

    Hi. I have a table containing two groups and a detail area. I want to add a counter near the second group area. It should start from 1 and increment by one as second group value changes.(1, 2, 3, ...) I tried to use count, countRows .... but they didn't work. I don't want to learn total count of group value. How can I do this In that case, you will need to look into the custom aggregation approach, similar to the sample in this blog article: http://blogs.msdn.com/bwelcker/archive/2005/05/10/416306.aspx -- Robert ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Spectrum Analyzer for Real time Audio. - Solution

    I have a directX application which reads real time audio from a sound card (mic) and calculates FFT for it. Frequency of sound per .5 second. I need to create a spectrum Analyzer kind of component. Any way I could do this using DirectX (Direct 3D maybe). I am not looking for 3rd party component. --Yatharth There's surprisingly little work done on high-level sound APIs in MDX. You can have a look at one of these .NET DirectShow wrappers: http://directshownet.sourceforge.net/ http://www.kohsuke.org/dotnet/directshowTypelib/ http://www.codeproject.com/cs/media/directshownet.asp And a commercial 3rd party component (100$ shareware license), which probably does what you need in a simple fashion: BASS from un4seen.com. ...Show All

  • Visual Studio Express Editions setup IE vi vb net

    1. I need to setup IE for a lot of users. The best way for me is to write a program that do that. I dont know Where to start 2. I need also to run "clear files" and " clear SSL STATE" for alot of IE users how to write a program to do so Thanks you may want to start here http://www.microsoft.com/technet/desktopdeployment/default.mspx because the topic really is system deployment and administration. ...Show All

  • SQL Server How do you get the last modified date column in SQL Management Studio

    In 2000, the last modified date was show as a column when viewing the various database objects. So, after a long off-line session with a copy of a database, you could sort the query list, by last date modified, and script the recently changed queries to a file. It was very easy to see exactly what was changed recently. How do you do this in 2005 thanks SELECT * FROM sys.all_objects modify_date datetime Date the object was last modified by using an ALTER statement. If the object is a table or a view, modify_date also changes when a clustered index on the table or view is created or modified. ...Show All

  • SQL Server [SSIS] Image's integration in a SQL server 2000 Database

    Hello, I would like integrate images from a folder in my computer into SQL Server 2000. It's bmp, jpg or gif images. But I don't know how integrate them. With script compenent in a dataflow Can you give a example please Regards Hello , I found a solution for a SQL SERVER 2000 Database. I think it's ok for a 2005 version. This is the package. There are two dataflows. It's the dataflow with the script task that is ok (the second dataflow). The first dataflow reads an image with a connection manager but returns sometimes more then 1 line, so it's impossible to integrate in the database. If you find a solution write to me. <Code> < xml version="1.0" ...Show All

  • Visual C# How to offer "Find(Ctrl+F)" function to a richtextbox?

    Hello! In my application, there is a richtextbox, a text file will be imported to it. The richtextbox is read only.... Now I want to add the "Find(Ctrl+F)" function to it as a text file...However, I did not know how to implement that. Any idea Thanks! I guess implement the richtextbox keydown event (or maybe form) and check to see if the keys pressed is Control and F and if so then pop up a search box or something. For the sake of simplicity lets just enable/visible a textbox on the same form private void richTextBox_KeyDown(object sender, KeyEventArgs e) { if (e.Control && e.Keys == Keys.F) { this.theTextBox.Visible = true; } else { this.theTextBox.Visible = false; } } ...Show All

  • Visual Studio Tools for Office Digital signature

    How can I digitally sign a document either a Word or a PDF file using Visual Studio 2005 How do I assure it's integrity Thanks. Have you considered using the Digital Signature feature of Word In order to assure integrity of the document, you can't use VS. You'll need to use Words signing feature. You can find more information on signing documents here: http://office.microsoft.com/en-us/assistance/CH060839901033.aspx Hope that helps. ...Show All

  • Windows Forms DateTimePicker disable dates?

    Just a question, hoping someone can help me here. I'm wanting to.....disable certain dates to be chosen from a DTP control. Is this possible How can I do this Imagine it like some form of booking system, if a room has been booked between x and y dates, you obviously want that date range to be disabled so no one can double book that room. any ideas on what the best way is to do this Thanks! I'm not sure if it's even worth trying to derive something from the date time picker control. I guess it depends on if it's possible to hook in to how it renders dates ( getting it to respond to selecting a date that's not available would be easy ). However, if that's not possible, then you're looking at basically rewrit ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Ok folks...Total Noobie here..What do I do...? I dont Program..?

    Hey all.. I am a total Noob... How and where are thy Tutorials... Maybe I should install first... (Moving to correct forum) You'll probably want to start off learning a bit of C# before you dive into XNA Game Studio Express, you find plenty of stuff to get you going just by searching around. There is a tutorial thread here http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=690814&SiteID=1 that has some stuff to get you started with XNA Game Studio Express. ...Show All

©2008 Software Development Network