Osman Celik's Q&A profile
Visual C++ LNK 2019, inline functions
I made a class in the header file class Foo { public: float area(float x, floaty); }; in the .cpp I tried #include "Foo.h" inline float Foo::area(float x, floaty) { //lot's and lot's and lot's of stuff . . return variable; } and I get... error LNK2019: unresolved external symbol "public: float __thiscall Foo::area(float x, floaty)" If I take away the inline everything works. No, we don't want the code to be in the header. What am I doing wrong ( 2003 .NET) Due to our coding standards no function may be implemented in the header. I've tried adding "inline" to the funciton declaration in the header, to the implementation in the .cpp file, and to both. Hell, I even re ...Show All
Visual Studio Team System TF31001: Team Foundation cannot retrieve a list of the team projects from Team Foundation Server
The detail of the error is: The Team Foundation Server returned the following error: The request failed with HTTP status 502: Proxy Error ( No data record is available) I only get this error when I try to connect from my development machine. If I connect from the server itself, I connect fine. Any ideas Hi, Are you using any Proxies ..ie. Source control proxy ...and wht is the port no r u using is it HTTP port 8080 (default) Check that you can access thrgh HTTPS if it is configured Thanks, Kathir ...Show All
Software Development for Windows Vista Persistence Services and DTC
I'm using a TransactionScope Activity that required me to add a Persistence Service to the runtime ( I understand this) However, when I add the SqlPersistence Service to my runtime, I started getting DTC errors. I'm running a WCF Service hitting the SqlPersistence DB on my local machine accessing data on a separate SQL Server box. Is it a requirement to have DTC enabled on my local machine and the SQL server Is this strictly because I don't have the my local SQL server and the network SQL Server linked Any help would be appreciated. Thanks! The error I'm getting is The partner transaction manager has disabled its support for remote/network transactions. (Exception from HRESULT: 0x8004D025) So my question, just to clarify, fo ...Show All
Windows Forms WebBrowser && HeavyOutput
Hi, i'm currently using WebBrowser control for heavily text output, but problem is, when there many lines, like about 10k or more, it's getting to eat more and more of your ram, so question is, how to do, then there could be maximum lines (999) in webbrowser, so if i try to output one more line, it deletes first line, then adds new line, and so on I am not sure the WebBrowser control is most suitable for that. Have you had a look at the RichTextBox It has more support for working with lines as it has Lines collection for instance. ...Show All
Internet Explorer Development make a link for a banner
hi, i have a banner (swf file) and i want to make it a link. i don't want to write the link in the swf file because, in this way i had to ask my graphic artist to chace it each time.. when i put the <a> tah arround the <object> tag of the banner its didn't work. any idea thanks a lot!! mikalush ...Show All
Windows Forms Typed dataset code change
Hi, I have a typed dataset for which the code is auto-generated fortunately or unfortunately (not sure).... When I explicitly change the generated code, say I change an input parameter type of a method from int to string, the same doesnt get reflected in the .xsd which is the designer. Is it because of the GeneratedCodeAttribute Thanks, Shyam ...Show All
Visual Studio Express Editions Make a simple keylogger....
Hi, i want to make a simple keylogger. Just a console window where i can see all pressed keys. I searched the forums but i only find topics about how to register hotkeys and such :/ (btw: dont think ive got something illegal in mind -_-" its just my mother who uses my computer so often D: ) Hi, You shuld use a winAPI function called "GetKeyboardState". The GetKeyboardState function copies the status of the 256 virtual keys to the specified buffer. You can create a timer and compare every 1/10 of second current state of keyboard with previous state of keyboard. ...Show All
SQL Server db_owner role
I am getting this error message when disabling a job. The user is not a SA. TITLE: Microsoft.SqlServer.Smo ------------------------------ Alter failed for Job 'XYZ'. ------------------------------ ADDITIONAL INFORMATION: An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) ------------------------------ EXECUTE permission denied on object 'sp_help_operator', database 'msdb', owner 'dbo'. (Microsoft SQL Server, Error: 229) The user can diasble the job if i give db_owner permission on msdb. Is there a way i can do this without making the user db_owner Thanks for any help ...Show All
Visual Basic cannot access http://localhost
Dear all, I'm having an error using visual studio 2003 when creating web application. the web server reported the following error when attempting to create or open the web project located at the following url: " Http//localhost/wepapplication1" HTTP/1.1 500 server error I have installed .net 2003 after that IIS on windows XP prof. I found that i cannot access my http://localhost/ , how to solve this issue and how to access local host Thanks and regards, Hi, It is possible that you need to reregister ASP.NET 1.1 in IIS: open command prompt ( cmd ) type c: and press enter type cd \WINDOWS\Microsoft.NET\Framework\v1.1.4322 (the windows folder can be different) a ...Show All
Windows Forms Shortcut checking installation...
I have a slight issue with the deployment of my app. There are two problems that I have come across which involve the same issue. I am using the AppUpdater component and I have built the initial 1.0.0.0 folder into my setup project. I have created a link to AppStart.exe. Everything was running smoothly. Then I came across two issues. Firstly, a client had a application crash due to buggy programming on my part. In order to get out of this, the client had to shutdown the machine. Upon rebooting, the application would no longer launch from the shortcut and required the original msi file. Going to the actual application folder and launching AppStart.exe was fine. Just the shortcuts were not working. Secondly, now the app is being tes ...Show All
Visual Studio Express Editions toolstripmenuitems
I got in trouble with dealing items below items.dropdownitems. How do cess the lower levels or how do I use ctype to go beyond 2nd level Hi, according to your code addMenuToolStripItemEventHandlers takes two parameters, while you call it with only one -- SvenC ...Show All
.NET Development FTP ?
Does C# have FTP Methods that are easy to use I will be starting on a project soon and have the choice of using VB, C#, or Java. I think the FTP issue will be my biggest hurdle and I want to make it as easy as possible from the start. Any hint, ideas, tutorials I could be pointed too would be great. Post any issues I might encounter if you have experience in working with theses methods. Thanks! .NET 2.0 has FTPWebResponse and FTPWebRequest classes: http://msdn2.microsoft.com/en-us/library/system.net.ftpwebresponse.aspx http://msdn2.microsoft.com/en-us/library/system.net.ftpwebrequest.aspx and generally pretty simple to use! The links supplied give you all the information you need to know as well ...Show All
Windows Live Developer Forums Is Virtual Earth Free?
I Would like to use Virtual Earth in my real estate portal. Is it free or I have po pay Hey John, I hear what you are saying, but respectfully, I'm not misinformed. Here's the language from the public Terms of Use, current to August 2006. Note both the 8 tile reference and the tracking reference; in the absence of license keys, IP address would prevail, and speaking of which there is also specific language prohibiting IP spoofing. The commercial flavor of the control is where the monetization follows the letter of this law. I've seen the other discussions on the advertising based model and would prefer that myself as opposed to the transaction model. In discussions I've had with Microsoft, it has been mad ...Show All
Smart Device Development Upload file to Mobile Device
Hello, I have a c# application that runs in windows. It creates a table in a database and fills it in from a text file. Then I would like to upload that database to the Mobile Device which is connected to the computer via usb. I try o do the following but I get an error message stating the path cannot be found. File.Move("C:\\dbTest.sdf", " \\Storage Card\\dbTest.sdf "); Any ideas hadjici2 wrote: Hello, I have a c# application that runs in windows. It creates a table in a database and fills it in from a text file. Then I would like to upload that database to the Mobile Device which is connected to the computer via usb. I try o do the following but I get an error ...Show All
Windows Forms Output
I just got Nullsoft to create my own installer/uninstaller. but I am not sure what files I need from VB 2005 Express to use in it. Can you get the Express to build all your files into a msi or what should I try I have figured out the scripts I need and how to transfer the files. ARrrghhhh VBExpress does not include support for Setup (.MSI) projects, you need Standard or above for that. VBExpress does have ClickOnce support if you like, but it's very different from Windows Installer. ...Show All
