Mithat Mese's Q&A profile
Visual C++ error LNK2019 help!
I'm getting this error everytime I try to compile the program: Linking... Creating library ../Program/StepMania-debug.lib and object ../Program/StepMania-debug.exp RageSound.obj : error LNK2019: unresolved external symbol "public: class RageSound * __thiscall RageSoundManager::PlaySound(class RageSound &,struct RageSoundParams const *)" ( PlaySound@RageSoundManager@@QAEPAVRageSound@@AAV2@PBURageSoundParams@@@Z) referenced in function "public: class RageSound * __thiscall RageSound::Play(struct RageSoundParams const *)" ( Play@RageSound@@QAEPAV1@PBURageSoundParams@@@Z) RageSoundManager.obj : error LNK2019: unresolved external symbol "class RageSound * __cdecl PlayCopyOfSound(class RageSound &,struct RageSou ...Show All
.NET Development Cannot get an instance of remoting object
Hi everyone I have a problem getting an object instance from the remoting server (which in this case is the same machine as the client, so I can lookup the object using localhost) Basically I created a Windows Service and at the OnStart() method there I use .NET remoting to expose the EmailManager class on port 2808 protected override void OnStart( string [] args) { TcpServerChannel channel = new TcpServerChannel(2808); ChannelServices.RegisterChannel(channel); RemotingConfiguration.RegisterWellKnownServiceType( typeof (Microsoft.Crm.Application.Pages.Grids.Cmds.EmailManager), "BulkEmailAttachmentServiceSocket", WellKnownObjectMode.SingleCall); } And on the other side (in this case a w ...Show All
Visual Studio "find" on table adapter
how do I find and focus on specific record on a form using the table adapter. There must be a specific code of locate a specific value, in a specific column, and point to it... You can use .Select() method of DataTable to find any value. Please check the following sample: DataRow [] foundRows; foundRows = DataTable.Select( "Column = '" + 'Value' + '" ); if (foundRows.Length == 0) { //no records found } else { YourVariable = foundRows[0][1].ToString(); } Hope this helps. Regards, Asif ...Show All
Software Development for Windows Vista managed card backed by a locked self-issued card
What would happen if I used a managed card backed by a self-issued card, where the self-issued card was locked Would CardSpace prompt me to enter the locked card's PIN Also, what is the use case for managed cards backed by self-issued cards What sort of Identifying Party would issue such a card It seems self-defeating to issue a managed card that requires authentication, and to back it up with another card that requires no authentication at all. yes, you will get prompted for the pin on the self-issued card. A managed card that is backed by a non-pin protected self-issued card still provides a prett strong authentication credential, barring of course somebody with physical access to your machine. I ...Show All
Windows Forms problem in axwebbrowser.navigate()
Hi , I am using VS .NET 2003 on XP SP2 when I am using the axwebbrowser.navigate() in my code, its actually locking the file which I supply to it as URL. I am pasting the code below: ################################################################################### public string Xml { set { StreamWriter writer; object missing = System.Reflection.Missing.Value; missing = null; _fileName="C:\\XMLFiles\\"+Guid.NewGuid() + ".xml"; using (writer = new StreamWriter(_fileName, false)) { writer.Write(value); } _ctrlWeb.Navigate( _fileName, ref missing, ref missing, ref missing, ref missing ); if (_previousFileName.Length > 0) { File.Delete(_ ...Show All
Visual Studio Project Templates Not Appearing in New Project Window?
I just installed VS2005 Pro yesterday, and it seems to me, that there just aren't many project templates appearing when a new project is being created. For instance, I don't see anything for an ASP.Net project at all, where VS 2003 Pro lists an ASP.Net Web App, as well as an ASP.Net Web Service, and others. I found a post for a similar problem with VB Express, and looked in the following path: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates\VisualBasic, and found a number of templates in .zip files, however all these templates are the ones which are appearing. I have VS 2003 Pro and VS 2005 Pro running concurrently. Shouldn't there be more templates appearing Any replies would be appreciated. Th ...Show All
Visual Studio Express Editions wide characters in program
#include "stdafx.h" #include <iostream> #include <string> int main() { std::cout << "Please enter your first name: "; std::string name; std::cin >> name; std::cout << "Hello, " << name << "!" << std::endl; return 0; } wchar_t where do i put this in for wide characters like japanese thanx orcmid wrote: 1. First Steps The first thing to do is experiment with getting your console application to display Japanese characters on the console. Are you able to do that Make sure of the following things: Use wcin and wcout for all console input-output. Do not use cout or cin at any time. ...Show All
Visual Studio 2008 (Pre-release) Serializing a collection
Hi, I want to return a collection of objects and other collections via a tcp service. It is failing as I guess the collection is not serialized. How can I serialize it Thanks Stephanie You need to put a SerializableAttribute on the classes in your list (collection). If that isn't enough, you need to implement the ISerializable interface (in your classes) and serialize the classes in your collection on your own. ...Show All
Visual Studio Problem to run application
Hi friends I have just installed VS.NEt 2005 in Xp service 2. when i create new website,i got following error and i cant run application. Exception of type 'System.Configuration.ConfigurationErrorException' was thrown plz help me thanks in advance khan ...Show All
SQL Server How to get the full-text catalog name of mssql 2005 database through query?
Hello All, Could any one please let me know how can I get the name of full-text catalog of a MS-SQL database through query My Intention to write an SQL-query is to do the following: 1. check if a databse has full-text catalog enabled. 2. If so then get the name of the full-text catalog. 3. Add "MOVE sysft_<full-text catalog name> TO <desired loc>. Thanks and Regards, Anbu If a database has fulltext catalog enabled, then select name,path from database-name.sys.fulltext_catalogs should return the name of the fulltext catalog and the physical location of the catalog. If the database is not enabled with any fulltext catalog then the above query will not return any rows. ...Show All
SharePoint Products and Technologies Report Library: how to automatically/programatically populate custom columns?
Hi, We've got a reporting engine on a remote machine that produces ~1k pdfs/day. Each of these has certain characteristics that we'd like to stuff into custom columns in the Report Libary to facilitate easier user browsing. ie. These are mutual fund reports, so things like fund-code, manager, $, etc. Is there a way to externally push a pdf to the repository and populate the columns with the bits we want I'm thinking of a bat script from the remote machine to copy the file and set the attributes... how would you go about this (we're Sharepoint newbies...) Of course the other route is a BDC and a grid with the info and a link to the pdf, but we're not sure that's the best first step. thanks You're o ...Show All
.NET Development Raise event when “Html <DIV>” Change data, Ajax purpose
Ajax, When server send data to client html div, I want to raise a event or function automatically trigger once data arrive to “Div”. Something like “on change”. “OnAfterupdate” event only for datasrc it seems. Some one please help me to give a tip. Raise event when “DIV” Change data Or how to trigger a function automatically when the data arrives to “DIV” <script language="JavaScript1.2"> hex=255 // Initial color value. var inName=""; function fadetext(itemName){ if(itemName)inName=itemName; if(hex>0) { //If color is not black yet hex-=11; // increase color darkness document.getEle ...Show All
Microsoft ISV Community Center Forums Unable to start debugging In VS2005
I have a sample which I was able to run in VS2003 but running the same sample in VS2005 giving me debugg error. Unable to start debugging. Iam getting the error message as given below. 1. The application you are trying to debug uses a version of the Microsoft .NET Framework that is not supposed by the debugger. 2. The debugger has made an incorrect assumption about the Microsoft .NET Framework version your application is going to use. 3. The Microsoft .NET Framework version specified by you for debugging is incorrect. For solving this issue I did In the Registry Editor , open the HKEY_LOCAL_MACHINE folder. Navigate to: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\AD7Metrics\ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. HOWTO: The fastest way to update shader parameters?
Good day all, I'm new to HLSL/XNA and C#, and here's a rather silly question for y'all. Taking "Effect.fx" that came with the XNA documentation, I see the following "global" declarations: uniform extern float4x4 WorldViewProj : WORLDVIEWPROJECTION; uniform extern texture UserTexture; ... and say if I were to add one CurrentTime variable for animation, it'll look something like this: uniform extern float4x4 WorldViewProj : WORLDVIEWPROJECTION; uniform extern texture UserTexture; uniform extern float CurrentTime; From within my game code I do this to update game time for animation: protected override void Draw(GameTime gameTime) { float fCurrTime = ((float)gameTime.ElapsedTime.Millisecond); ...Show All
Visual C# Whether to use a hashtable, datareader, array, dataset, or Datatable to manipulate data??
I am wondering what type of control I should use for iterating through the set of records returned by callin this method below, so that I can then do some stuff with each record like string manipulation, or taking the data for insertion into another table, etc.. Here's the function that returns the data as an ArrayList. Note: You'll see plain S and B since for this post, I wanted to keep our site name confidential for thread purposes. public static B.Products.Product[] GetAllProductsByS(int sID) { ...Show All
