ChandraW's Q&A profile
Windows Forms How to apply an html format text to a label
Hi, I am trying to assign an html format text to a label in a vb from. when i assign the text it displays the html tags in the label. how can i change the label text property to understand html format text. Atheeque You cannot do this directly as the Label control is simply a textual display control, not an HTML renderer. In order to have your HTML be displayed in the desired way you’ve got two options... you can either parse ...Show All
SQL Server adodb.connection --> DBMS Name property equivalent in ADO.NET ...
Hi, One of my team member was porting a Visual Basic function into VB.NET. We were struck up while retrieving the DBMS Name property from the connection object. Actually in VB, the ADODB.connection object's properties will have an item called DBMS Name which will hold the database name like "Oracle" , "Access" , "SQL Server" like that based on the database that I connect. I wonder if there is any equival ...Show All
.NET Development Using RETURN_VALUE from stored procedure via SQLDataSource
I have a FormView that I'm using to insert new records. I'm using SQLDataSource to access an insertEmployee stored procedure. This sproc takes 2 parameters, empName varchar(50), empPhone varchar(25) and returns the the newly created record's primary key using scope_identity(). What I need to do is to capture the return value of this sp and then use it to display data about the newly created record. Records are being created correctly so I kno ...Show All
Visual Studio Express Editions Need some help with class
ok here goes I am trying to use a class to get an int from another class as one of the class is remade due to it being used on a using Multiple Forms. been trying to work this out for a good 3-4 days and looked all around the internet for help but i have given up i just can not work this out my self therefore this post, any help would be great. here is the code: Form1.h MDI main form [CODE]#pragma once #include "Settings.h" #include "plane ...Show All
Visual Studio Tools for Office Conversion problem
I am trying to convert my VSTO 2003 projects to VSTO 2005 and failing one after another. VS says it converted them successfully, but the Solutioin Explorer shows they are unavailable. Attached is the log of one of the conversions. If I remove the unavailable converted proejct and try to add it back, then I get the following error: The operation could not be completed. No such interface supported. Could anyone offer any hint T ...Show All
Visual Studio Team System Error installing TFS final release
This error occurs during health check, "The SQL Server 2005 KB Update is not installed on this computer" We have SQL 2005 Standard installed....is there an update any ideas -Jim On a single server install, report server is configured by SQL, not by TFS install. Before you install TFS, you can try the following to ensure that the report server is installed properly and running. 1) ru ...Show All
SQL Server Service problems after SP1 upgrade
We have an instance of SQL 2005 enterprise that was upgraded to SP1 over the past weekend. This instance has been very stable and the server hardly ever has any issues. After upgrading to SP1 a couple times a day SQL service has been terminating unexpectedly. The following events are being logged - Application Log: Event ID 17311 SQL Server is terminating because of fatal exception c0000005. This error may be caused by an unhandled Win32 ...Show All
Smart Device Development Blocking deployment woes
It appears I have two problems. The first is that VS2005 appears to be trying to deploy my static library projects. Now why would it want to do that Not that it appears to find them: Some further experimentation reveals that the error " The system cannot find the path specified. " occurs for projects set to deploy to the emulator while " The configuration data for this product is corrupt. Contact your support personnel. &q ...Show All
Windows Forms Help! Design Time Databinding With DataSets in VS2005
Hello, I have used VS2005 to create a strongly typed dataset by dragging and dropping onto my Windows Form. I then used TableAdapters & BindingSources in the designer to bind the data to my form. I now want to create an instance of the DataSet programmatically, and be able to bind to that object at design time. For example: class Test { /*MyDataSet is a strongly typed DataSet create ...Show All
SQL Server bcp utility stringing
ok. so, i've gotten the bcp utility to work and now i'd like to string all the prompts together and place them in a job to be scheduled to autorun. i don't have much experience in this arena and appreciate any help or suggestions. I'd love to be able to run (from the command prompt) a file takes care of synchronizing all my tables. I have an additional concern. I'd like to retain the integrity of my primary keys but I n ...Show All
Visual Studio Team System where are the databases after installation of TFS?
I follow the to install the TFS (sigle server) except that i got a latest version than the bate3. when i finished, i expexted to see some databases such as STS_Config_TFS/ STS_Content_TFS, etc in SQL Server 2005. But I found nothing. Would you mind telling me why Is is related to the version of TFS by the way, I tested the WSS and team project creatation, all is done. thanks for your answer! John t ...Show All
Visual Studio Express Editions How do you make an invisible OCX?
Hi, I'm using VB express and I cant seem to find a way of making my usercontrol invisible I can do it with VB6, its easy, But I want to make a control that doesn't have location and other visual properties, I've seen them but I cant make them. Am I missing something PS. Please dont post the obvious set visible to false, thats not what I want, lol, I want the ocx to only expose the methods and properties I set. Thanks. Sounds to me li ...Show All
Visual Studio Express Editions MFC in Visual C++ Beta 2?
Will MFC be packaged in the upcoming Visual C++ 2005 beta 2 Is there any new feature in next version of MFC I think i like vc 6.0 best, ha.. I wish ms will release some new updates for it.. ...Show All
Visual Studio Express Editions still not right
if i declare iosteam like this #include<iosteam.h> i get " libcimtd.lib" is missing else #include<iostream> cout is an undeclared identifier the only thing that adds Libcimtd is UseOldIO.h but _mt isnt defined so it shouldnt be accesed Can anyone help id apperciate it. i had included the platformsdk\crt directory in my includes and it conflicted with the /crt that ca ...Show All
Visual C++ thread exit code
hi, everyone, i have wrote some simple programs in c language, here is my code list: /* code list 1: */ #include <stdio.h> void main() { } the compiler tell me: The thread 0x3B0 has exited with code -858993460 (0xCCCCCCCC) /* code list 2: */ #include <stdio.h> void main() { printf("hello world"); } #include <stdio.h> void main() { printf("hello world"); } the compiler tell me ...Show All
