Jeffrey Palermo's Q&A profile
Visual C# newbie question : I have to use a C library in a C # project...
hi I have to use a library written in C language but I can not use the old "# include file.h". What is the simpliest way to use this library Do I have to make a C++ class with my C library in it, and add it to a new C++ project in my solution or do I have to make a dll Or ... C # is great but I do not find it very easy to use with classical code like C... Thanks for helping me !! iznogood w ...Show All
Visual Studio Team System Solution problems with RC and Beta 3
Maybe it's just me, but can you no longer add a solution to source code control when creating the solution (or project) Did something break with the beta 3 The option should still be available. Did you install the Team Foundation Client as well as Visual Studio 2005 RC1 If so, are you connected to a Team Foundation Server when you start the New Project wizard Cheers, Adam ...Show All
.NET Development connecting using localhost
hi all, i'm using VS2003 .NET with SQL2000. after changing my computer's name (i think that was the "trigger"), i get the infamouse "SQL server does not exist or access denide" message if using "localhost" as my datasource in my connection string. i have no problem if i use the server name "hard coded" (datasource = myserver). any ideas how to make "localhost" work again thanks. ...Show All
Visual Studio Team System False Positive: ValidateArgumentsOfPublicMethods
Resolution : "Validate parameter 'left' passed to externally visible method SecurityGroup.op_Equality(SecurityGroup, SecurityGroup):Boolean." Public Shared Operator =(ByVal ...Show All
Visual Studio Express Editions Rich text in DataGridView
The new DataGridView control is terrific but it won't display rich text. I was hoping someone could point me in the direction of how to modify it to do so. Thanks, GS I am also interested how you can save rich text to a database from a richtextbox. I used to be able to do this in VB6. MHC ...Show All
Visual Studio Restricting users from labeling
Is there a way to restrict users from creating/changing/removing labels Only give Read/Checkin,checkout rights to respective user. Dont give add, delete right. Further give only R/C rights on the root<project> where you dont want to apply labels. ...Show All
Visual C++ MSBuild in x64 environment with vcproj
Hello, With a quick search in the MSDN, I did not find the issue I am having. If this is already discussed, I apologize. I just got the latest VS2005, and tried to build 64 bit. It fails to build with MSbuild from command line. I have played just short time, and started with very basic. Still I am not successful. I am using VS2005 version is 8.0.50727.42 Here is the very basic scenario. I have created a new blank project "hello", my default ...Show All
SQL Server Connecting to an SQL Express Server via IP
Hi Everyone, I am trying to connect to an SQL Express database via IP. The problem I am having is with the connection string itself. Currently I am using the below: mysqlconn.ConnectionString = "Data Source=255.255.255.255,1433;Network Library=DBMSSOCN;Initial Catalog=images.mdf" The problem is the program just freezes up. I double checked the port number and IP address and I know those are correct. I'm using Windows Authentication s ...Show All
SQL Server Introduce Domain functionality to UDDT
As so rightly stated in http://www.microsoft.com/technet/prodtechnol/sql/70/books/inside6.mspx "Currently, UDDTs don't support the notion of subtyping or inheritance, nor do they allow a DEFAULT value or CHECK constraint to be declared as part of the UDDT itself. These powerful object-oriented concepts will likely make their way into future versions of SQL Server. These limitations not withstanding, UDDT functionality is a dynamic and o ...Show All
Visual C++ Unmannaged Dll
Hello everybody, i`m new with vc++ ,i wrote an unmannaged class and still cant use it ,because when i added it to my project this error generate: error C2871: 'some-namespace' : a namespace with this name does not exist and when i use its class compiler dont know that, how can i do it because i`m new with vc++ answer me completly thanks a lot Show some code. From what you say, it looks like you haven't declared a ...Show All
Smart Device Development WebReference Change Static to Dynamic Setting not working
I have a Web Reference in my code in which I want to change the URL Behavior from static to dynmaic. When I do so nothing happens. I look in the app.config file hoping to see the url reference and nothing has changed. I also have checked the reference.vb file and it still is hard coded and not referencing the app.config file. Anyone know what is going on Exactly my point. I go from ...Show All
Visual C# Getting a COM dll's version from it's COM registry entries
We currently have some code that goes like this: object savePath = null ; // get smartconnect type from prog id of COM component SmartConnect.dll Type smartConnectType = Type . GetTypeFromProgID ( "SmartConnect.CSmartConnect" ); // create instance of smartconnect Object smartConnectObject = Activator . CreateInstance ( smartConnectType ); // get the save path savePath = smartConne ...Show All
SQL Server SQL2005 backup Issue
After moving the SPS 2003 portal from one disk to another, I am having a problem in backing up the portal from the spsbackup tool as well as through the SQL Server 2005 database backup option . Following is the error am getting:- ============================================================================================================================= Backup failed for Server 'sql server name' . (Microsoft.SqlServer.Smo) - ...Show All
.NET Development SOAP/HTTP(S) Options Needed
I need my C# .NET 2.0 app to send and receive SOAP over HTTP and HTTPS, with and without keep-alive and gzip. This application is a tester that needs to stress-test the communications, and so I need to be able to do socket-level stuff like 1) not listen at times, 2) control the IP address I send from when running on a machine with multiple IPs, and 3) drop a connection after receiving a SOAP request without sending any response. For ...Show All
Visual Basic I am having a problem with a code and could use help.
I am having some trouble with this code. I would like to covert the for...next statement to a do...loop statement and can't seem to figure it out correctly. Any suggestions 'declare constant and variables Const TERM As Integer = 5 Dim principal, payment As Double Dim rate As Double = 0.04 'as accumulator Try 'assign input to a variable principal = Double .Parse( Me .uiPrincipalTextBox.Text) 'c ...Show All
