metalozavr's Q&A profile
Visual C++ linker error with glut
Hi mate, I use c++ visual studio 2005 excpress,have a problem with linker,glut.lib and glu.lib...i copy glu32.lib and glut32.lib opengl32.lib in visualstudio2005/lib/ dir and the .h file in visualstudio2005/include/Gl/....now in visual studio in property page menu linker->input->"Additional Dependencies" item add :"opengl32.lib" "glu32.lib" "glut32.lib".....compile and: primitiv.obj : error LNK2019: unresolved external symbol _glutSwapBuffers referenced in function _display primitiv.obj : error LNK2019: unresolved external symbol _glFlush referenced in function _display primitiv.obj : error LNK2019: unresolved external symbol _g ...Show All
Visual Basic API GetUserObjectInformation
All, I am currently developing a program that will enable users to create and switch desktops as they so please. However, I am having a bit of trouble with the GetUserObjectInformation API. I either get a value of 0 being returned or so many errors I am about to go nuts. Does anyone know the correct way of calling this in VB.Net 2005. I have tried many different variations but none seem to work. I do know that I need to call it once to get the lpnLengthNeeded which will then ReDim pvInfo(lpnLengthNeeded - 1) so that it will be able to hold all of the data. Now nLength I am not sure exactly what needs to go their as I am so lost right now ...Show All
.NET Development Authentication options
I'm working on a project that will use a web service over the internet. We'll control the endpoints. I don't know that it will be important to identify the actual user when authenticating. What I will need to do, is to determine that the message has not been tampered with. We may be able to use VS 2005. I'm looking for suggestions to impliment a solution that allow me to determine if the message has been tampered with. ...Show All
Windows Forms CommonAppDataFolder in Deployment project
I am building an application that needs to change a certain file in its own directory (under Program Files). This is no problem when the user is an administrator but when he/she has limited rights, that won't work. So I thought of a solution where the file which should be changed is stored in Application Data directory and create some shortcuts to it in the application folder of the setup project. So far so good. Problem 1: When I have these files stored in the Application Data folder of the user itself, the setup will install them there and that's it. When another user wants to use the program, at first run, these files aren't copied to the ...Show All
Smart Device Development Date Time changing based on timezones??
I have a application which passes dates/times back and forth via web services. The server is EST. The pda is CST -1 hour. The PDA downloads the data from the web service and insterts it in SQL CE. When the user views the info it is 1 hour off. If the user adjusts the timezone on the pda to EST it works fine. Any help on how to tell the app to ignore timezones Thanks, Aaron The proper way to solve this is to transmit all date/time values as UTC time, not local time. So, on the server, invoke DateTime.ToUniversalTime before sending the date/time value to ...Show All
Visual C++ _vcclrit.h is deprecated. What's the replacement?
I have an managed DLL that compiles fine in VS2003 but fails on Whidbey Feb CTP. I couldn't find any document about replacement for _vcclrit.h according to http://support.microsoft.com/ id=814472 Any advice C:\Program Files\Microsoft Visual Studio 8\VC\include\_vcclrit.h(23) : warning CRT1001: _vcclrit.h is deprecated C:\Program Files\Microsoft Visual Studio 8\VC\include\_vcclrit.h(94) : warning C4996: '__lock_handle' was declared deprecated C:\Program Files\Microsoft Visual Studio 8\VC\include\_vcclrit.h(133) : warning C4996: '__terminated' was declared deprecated C:\Program Files\Microsoft Visual Studio 8\VC\include\_vcclrit.h(137) : warn ...Show All
Visual Studio Team System Another 32000 error
I'm getting this error when installing the foundation server piece Error 32000. The Commandline “c:\program files\microsoft visual studio 2005 Enterprise Server\BISIISDIR\sdk\bin\Bisregedit.exe” http://TEAMSRV01:8080/SCC/public/application/ServiceDefinition.aspx ” TEAMSRV01 BisDB’ returned non-zero value: 1. I get a choice to retry to cancel. If I click retry a few times nothing really happens, I get the same error and the installation stops at about 95%. I found out that I run the same command line from the command window, I get a 401 error stating that I don't have access to execute the web service which did not make sense because ...Show All
Windows Forms Can suddenly not close forms...
This is a pretty bad situation :-) I am putting togehter parts of an editor that is transposed from .NET 1.1, and when putting the parts together I get a very bad sitaution. I can not close forms. The indication is this: In the Closing event handler that I add ON the form, the closing bool indiacator used to abort the close is already set. The form contains one MDI form and on this MDI form there are two user controls. On the two panels where are data bound elements. On the MDI form there is one databound element. Now, sadly my editing possibilitiy are pretty limited. It looks to me like something is subscribing to some closing event somewhe ...Show All
Visual Studio Team System Visual Studio 2005 Team Suite Release on MSDN Subscriber Downloads (Universal)
Hello everybody, Today Visual Studio 2005 Professional was released on MSDN Subscriber Downloads. We were unable to find the Team Suite Release. Any help Best regards Ralf Rottmann If you are an MSDN Universal subscriber, you should see a Visual Studio Team Edition download. That's the one you need. You also need to install the Team Foundation Client Beta 3 that has been out for a while. However, I would lay off doing that for a while until we know the status of the "Team Foundation Beta 3 Refresh" that was supposed to be coming out at the same time as VS2005 RTM. Also see this thread for further discussi ...Show All
Visual Studio 2008 (Pre-release) extensibility
Eric Meijer and myself both worked on Xen/C-Omega, and both worked on the design of LINQ. The languages are similar in that they share some of the people and ideas. ...Show All
SQL Server Migrating from Acess 2003 to Sql server - Function Val()
Hi folks I do a lot of work with address data. I have been using Acess 2003 as my database but now need to upgrade to SQL Server. My queries have been making extensive use of the Val function to order my queries on address columns. A typical address column might be: 12 The Avenue ....... by using Order By Val(AddressCol) I can sort these rows in ascending house number. I can't find anything in SQL Server that will acomplish this. Does anybody have any ideas. Thanks Paul why do you need to reference the val() function is there something in your column that you want to exclude Doe ...Show All
Visual Studio Express Editions Synchronising DataTables, DataGridView so that Relationship constraints are met.
Despite my best efforts I still haven't been able to get a full understanding of when and how changes to a DGV are reflected in its associated table. I have two tables declared as follows: private Plutus_DAL. PortfolioCRUD PortDAL; private investmentDataSet . InvestmentTypeDataTable itdt = new investmentDataSet . InvestmentTypeDataTable (); private investmentDataSet . InvestmentInputTypeDataTable iitdt = new investmentDataSet . InvestmentInputTypeDataTable (); The dataset to which the tables belong is defined in a data access layer (Plutus_DAL.PortfolioCRUD) A relationship and contraints are defined in the data ...Show All
.NET Development Side by side execution +COM components
Hi, I have created one com component using .Net framework 1.1 which i am calling in VB application. It is working fine. Now I installed framework 2.0. When I am trying to call this COM component using .Net application it is working fine. But when I am trying to call this COM comp. using my VB application it is now working. It is throwing exception. Root of problem which i think is when I am calling this COM comp. using VB, Framwork 2.0 is getting loaded. I tried option like adding configuration file in application. But nothing is working out. Can anybody help me out how can i load my COM comp. in framework 1.1.. Thanks in advance, Harry ...Show All
SQL Server How to sync database latest data with Analysis service
Hi, I am creating sql server reports using analysis service(using cubes and dimensions). After creation of cubes and dimensions for existing data I deployed it. Then I created reports on this data. Reports are generated properly for existing data. But the report is not showing newly inserted data to database (latest data inserted after deploying analysis service). Did I miss anything Or any new configuration required Newly added data is reflected in report when each time I process the cube and dimension and redeploying it. which is a manual process. How to auto sync newly added data into database with cubes Any he ...Show All
Windows Forms use generic collection as datasource?
I have a generic dictionary of my custom class and want to use it as a listbox datasource. Is this possible Actually, I don't really have to use it as a datasource if this is not possible. My custom class is an item in a listbox and combobox. If I change the description property in my class, how do I get the listbox and combobox to update (the tostring method returns the description) The only way I know to make this work is to add a FindByKey to BindingList<T>. I don't know how to do this with Dictionary<> given you'd need to add list change notification to Dictionary<&g ...Show All
