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

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

thelonesoldier

Member List

JavaBoy
Attila Fogel
elixic
Cyclonique
satya999
ChangNoi
Bjoern.Greiff
project2n5e0o1
JackStri
RussC_UK
Nishith Shah
Hanumanth Reddy
Barak Ori
BilalShouman
Fayez Mutairi
steveareno
barkingdog
Cogz
tango209
Malleswar
Only Title

thelonesoldier's Q&A profile

  • Visual C++ cant check to see if a string contains certain data

    erm got a slight problem with my program and i cant see the problem...any help please here is my code: private : Void NextQuestion( Void ){ // Seed random number generator with date and time DateTime moment = DateTime::Now; Random^ randNumGen = gcnew Random( moment.Millisecond ); // Create variable for random number Int32 intQuestNo = 0; // Get a number between 0 and the number of words in the array intQuestNo = randNumGen->Next( strQuestionsarray->Length ); // Use random number to select a question strQuestion = strQuestionsarray->GetValue(intQuestNo)->ToString(); // Check to see if question has already been added to the string. If not, add the number to the string so it cannot be ...Show All

  • SQL Server Slicers and SCD dimensions

    Dear all I'm migrating our old "snapshot" reporting system to a time-variant historical system. I understand the logic behind SCD's and the various discussions regarding their best implementation, but there's one thing I'm very confused about. Say, we have a team member who moves between teams. The SCD (type-2) will pick up his movements, and so for each movement he makes, he'll generate another row. This is a business requirement as any revenue he generates is counted towards his team. I'm fine with all this until I start thinking about the users using slicers to browse the data *(we use Proclarity and Reporting Services) or indeed users browsing the dimensions. Now, relationally, using something like ...Show All

  • Visual C++ BUG: when throwing exception a copy occured.

    class Ex { public:  Ex()  {   destroyed = false;   cout<<__FUNCTION__<<endl;  }     //Ex(const Ex& v)  //{  // destroyed = false;  // cout<<"copy:"<<__FUNCTION__<<endl;  //}  ~Ex()  {   destroyed = true;   cout<<__FUNCTION__<<endl;  }    bool destroyed;  void M()const  {   cout<<__FUNCTION__ <<": "<<(destroyed "destroyed": "not-destroyed")<<endl;  } }; void M1() {  throw Ex();  } void M2() {  try  {   M1();  }  catch (const Ex& ex)  {   cout<<"Catch-beg ...Show All

  • .NET Development DataAdapters - Please help Im confused

    Hi Ill try to make this as simple as possible but bear with me please. Its probably very easy when you know how!! Brief overview, I only wish to populate my appointment datatable with the apontments where activity.assignedto = a drop down selection. Tables Activity Appointments ------------------------------------------- Id (PK) -----1--| Id (PK Auto increment) AssignedTo |--m----- ActivityId StartTime Etc When you drop a table onto a dataset designer it creates a new table with a tableadapter that selects * from the table. You can add new queries to the tableadapter and it will automatically create the delete/insert/upda ...Show All

  • .NET Development Usage of FxCop 1.35 for ASP.NET 2.0 Web site

    Hi all, Can any body help me out in doing Code-design/review through FxCop 1.35 for a ASP.NET 2.0 website as i am not able to do them for my BAL(business access layer) classes and DAL classes coz. it does not create a .NET dll so that i can add them . Regards, sreedhar Thanks Rodrigo, Let me check my installation in detail Its VS2005 Professional Edition. Let me check something has to be enabled or not.. Regards ...Show All

  • Visual Studio Express Editions Problem of setting the position of textbox, button, etc

    Im not sure why i cant drag the textbox or button around the form to the position i like it to be. It seems to be able to stay at a fixed initial position only. I uninstalled the software and reinstall but the problem still persists. I wonder if anyone here ever face this problem, as this is very inconvenient. Is it only this project or on projects If you create a new windows project does this work. Was this project upgraded from a earlier version of VB or created from scratch in VB Express ...Show All

  • Visual Studio Pin recursively

    Can I pin files in a project recursively Will these command line pin all files in sub-directories as well ss Pin $/EXCEL/PIVOTTBL/*.* -Vlbeta4 ss Unpin $/CEDAR/SPECS/*.* Also, how is it done from the GUI ...Show All

  • Visual Studio Team System TFS Graphical Interfaces for non-programmers?

    Hi, Where can I find a list of available graphical interfaces (besides Team Explorer) for TFS for non-programmers For example, are there interfaces available for: Microsoft Office Graphical editing tools (e.g. Adobe Photoshop) Looks like TortoiseVSTS (plugin for Windows Explorer) is not yet available Thanks, Tony I should mention Teamprise Explorer is a stand-alone graphical client ( http://www.teamprise.com ). It works on Windows, Mac, Linux Solaris etc. I am one of the developers on the TortoiseVSTS project and development on it has been postponed for a while due to some issue I found during POC work. I hope to be able to re-visit it again some time, but it is a significantly tricky ...Show All

  • .NET Development Error 25007.Error occurred while initializing fusion. Setup could not

    Hi, I am trying to install .net framework 2.0 on Windows XP OS. I get the following error " Error 25007 . Error occurred while initializing fusion . Setup could not load fusion with LoadLibraryShim().   how do i solve this     YES ! This works also for me. I was also trying to install VS2005 SP1 on my machine and than I wasl unable to install FW 2.0 or VS2005 - always getting error 25007 wheni installing FW 2.0. Delete the \WINDOWS\WinSxS\Policies that is all !!! So many thanks to Filipe Janela... Vojta ...Show All

  • SQL Server NEWBIE.. SQL EXPRESS Attach during VB.NET Windows Application Install - Oneclick

    Here's what I'm going for: I have an 05 VB.NET windows application that will be used as a smart client for our folks in the field. The windows application includes 05 SQL Server Express. I have included in the Data Sources of my project and attached file going through the wizard Microsoft SQL Server Database File (SqlClient) ='s (myfile.mdf) and then selected all tables, views, stored procedures, and functions... the corresponding myfileDataSet.xsd with the myfile.mdf are now located in the root of the project. I now recompile the project without error and go to the properties section Publish tab... select the Application Files button and myfile.mdf Publish Status is set to Include and the Download Group set to Requried. With this in p ...Show All

  • Visual Basic VB 2005 Express Publishing, minimum source files required?

    Can anyone tell me what are the neccesary source files for building/publishing my application I need to archive the files and only want to save the minimum required files. Does a certain directory structure have to be maintained If so, what folders. In general the files necessary to building your app are all of those that your project file references and that show up in the Solution Explorer pane of the IDE when the Show All Files option is not enabled. The bin and obj folders however can be nuked however at times you may want to save what is in your bin\release folder for later use of knowing exactly what build has been deployed. Your project may be different however as it may reference non-standard or ...Show All

  • Visual Studio Team System TFS Warehouse Processing Error

    First up, I have deviated slightly from the stock TFS install because we prefer to use Kerberos rather than NTLM for authentication. To that end, all TFS services and app pools are running under a domain account and SPN's for the HTTP service (both NETBIOS and FQDN) have been registered under that account. C:\>setspn -L DOMAIN\TFSSERVICE Registered ServicePrincipalNames for CN=tfsservice,OU=Service,OU=Generic Accounts,OU=User Environment,DC=domain,DC=company,DC=com: HTTP/SERVER1 HTTP/server1.domain.company.com All was working well, until recently when the warehouse process packed up. Processing was generating this error in the Windows Application Log: Event Type: Error Event Source: TFS Warehouse Event Category: ...Show All

  • Visual C++ If i need to import one or three dialog from ,the step for me to import?

    I want to upgrade a big vc6 project including dll to vc2005,If I begin a empty project and gradually add all class into the new project, the problem is that there are a lot of dialog needed to import, can you tell me how to import dialog from another project, can i just replace the .rc file If i need to import one or three dialog from ,the step for me to import Thanks. Yeah, just copy the .rc file. Better yet, just open the VS6 project in VS2005. It will automatically convert the project...You might have a few syntax problems but they are usually easily solved... ...Show All

  • Audio and Video Development How to create button in Script

    Hi there, I created a basic markup file with a simple div element like this: <div id="container" /> How can I create a new button, change lets say id and style:x and add it to the container from script Cheers, Gunnar Hi all, the example above works fine if you only want to update the DOM once. But i am changing the DOM of the initial xmu-file in two steps, which removes the first changes. 1 step: I am adding new elements to the DOM and do a document.load() at the end. 2 step: I am adding even more elements and do a document.load() at the end. Surprisingly, all elements i've created in step 1) are missing aftere the second document.load(). What is going on here I would have expected ...Show All

  • Windows Forms Add a TextBox Control to DataGridView

    I have added a TextBox Control called tb to a DataGridView Control called dgv as follows: dgv->Controls->Add(tb); I add data to tb: tb->Text = "This is some data"; This works fine except for one strange issue. When I click into the TextBox to edit data, the arrow, Home, and End keys get handled by the DataGridView control - they change the cell selection and have no effect on the caret's position. However, once I enter a character into the TextBox from the keyboard, these keys are handled by the TextBox control and will move the caret accordingly. How can I get the TextBox control to handle these keys (position the caret) without having to first enter a value from the keyboard Seems like some DataGridV ...Show All

©2008 Software Development Network