CBuilder's Q&A profile
Visual Studio Problem with sandcastle config file
hii there.. i just installed the new version of sandcastle (november) and right now it won't work anymore even when i try it from the command line.. there is an error message when im using the buildassembler program, it said that it can't find the syntaxgenerators.dll and looking at the sandcastle directory there no such file. Can someone give me an example of the config file for the new version.. thanks hi, the syntaxgenerator.dll was renamed to SyntaxComponents.dll. Kind regards, Stephan Smetsers ...Show All
Windows Forms binding problem to classes and stored procedues
hi i have a stored procedure in my db that returns me a sql select command. i use this command to fill a table class as below. now i have a class that i want to map to each field of this datatable. how do i go about or am i going the wrong way i could basically have a list of detailedbills(see detailed bills) on next post now. which i will bind to a manager. but how i map these two Imports System.Data.SqlClient Public Class bills Inherits DataTable Private Sub FillBill() Dim myConnection As New SqlConnection( My .Settings.CostingConnectionString) Dim myCommand As New SqlCommand( "DetailedBill" , myConnection) myCommand.CommandType = CommandType.StoredProcedure myConnection.Op ...Show All
Visual Studio Express Editions which form event to use?
Hi, I want to add a fading effect to the form before exit. What i did is i put a timer onto the form, set it to disable initially, after the user click the exit button on the top right coner of the form, it will be switched on to "enabled", and the effect code will be executed. But i don't know where to put this code (under which form event ), I have tried to put it under "form1_formclosing", but it didn't help. Can any one help thanks Answer provided in this thread . ...Show All
Visual C++ Compiler Error C2838 explain??
somebody please explain -- msdn help - Compiler Error C2838 Error Message 'member' : illegal qualified name in member declaration A class, structure, or union uses a fully qualified name to redeclare a member of another class, structure, or union. The following sample generates C2838: Copy Code // C2838.cpp // compile with: /c class Bellini { public: void Norma(); }; class Bottesini { Bellini::Norma(); // C2838 }; have a look at this code template<class _E> class x_basic_string #ifndef WIN32 : public basic_string<_E> #else // WIN32 : public std::basic_string<_E> #endif // WIN32 { #ifndef WIN32 #define _cdecl typedef const_pointer const_iterator; typedef size_t size_type; #else // WIN32 typedef ...Show All
Visual J# adding a reference to a J++ dll within a J# dll
Hello all, I am attempting to add a reference to a J++ dll file in my own J# dll. (The purpose of this is to help redirect certain calls that would normally go to the J++ dll to a web service.) At any rate, I can add the J++ dll to my project with the "Add Reference" tool and access its exposed methods. So I know that VS 2005 can at least read the dll properly. The problems come when I try to compile the project. J# seems to require strong naming conventions to be registered and J++ does not. Thus when I try to compile Visual Studio complains that the J++ dll doesn't have a strong name... Here is the actual error message: "Error 1 Assembly generation failed -- ...Show All
SQL Server Complex Transformations (SSIS components vs TSQL)
Greetings SSIS friends, I have been attempting to implement one of our numerous ETL processes in SSIS but hit a brick wall when I tried replacing a complex stored procedure with a series of Merge Join components. In the end, I had to settle with using a SQL task which merely calls the stored procedure and this proved to be the better option as the other version where I used SSIS components only took forever to run. How do people cope with complex transformations ! Do you guys opt for pure TSQL to perform complex transformations and use SSIS components for control flow+simple(ish) data flow tasks I am confused. dreameR.78 wrote: Yes it has speeded up considerably although I still think I can shave a ...Show All
Visual Studio Team System Team Suite Software Developers & Database Professional
Our 10 developers are all using Visual Team Suite for Software Developers. We are also using Team Foundation Server for source control. All 10 developers are responsible for maintaining various pieces of our database schema. Once Database Professional is released, will we have to purchase 10 copies of it if we want all 10 developers to use it Thanks Amos. There seems to be a pattern forming here! I understand that MS want to release this as a separate team system edition (which is fine, considering the extra tools it provides), but I don't think it's the same as e.g. Team Architect, as the architect will do their own diagrams etc without any other intervention, but the suggestion that one person will be ...Show All
.NET Development SMTPClient sending anonymous on UseDefaultCredentials
When sending mail via System.Net.Mail smtpClient, I would like to take advantage of using the currently logged in user's credentials to avoid hardcoding login information. I believe this is as simple as mailClient.UseDefaultCredentials = True /* mailClient.Credentials = New System.Net.NetworkCredential("mylogin", "mypassword") */ In my case, sending e-mail is successful when using hard-coded login information as shown above. However, the process times out if I attempt to use the default credentials. Looking on the server side, I see that the client presents itself as anonymous and the server does not respond because it does not accept anonymous requests. I log into a local domain (Windows 2003 Server) wh ...Show All
SQL Server Using stored procedure as OLE DB source with parameters from package variables
Hi Guys, (I have searched this forum extensively, but still can't find the solution to this problem) Here it is: I have step in my ETL process that gets facts from another database. Here is how I set it up: 1) I have to package variables called User::startDate and User::endDate of data type datetime 2) Two separate Execute SQL Tasks populate those variables with appropriate dates (this works fine) 3) Then I have a Data Flow Task with OLE DB source that uses a call to a sproc of the form "exec ETL_GetMyData @startDate = , @endDate = " with parameters mapped accordingly (0 -> User::startDate, 1 -> User::endDate) When I run this I get an error 0xC0207014: "The SQL command requires a parameter nam ...Show All
Windows Live Developer Forums Longitude, latitude problem
I have been using the virtual earth control and have a couple of questions. I would like the map to initially focus over Turkey in Europe. I would then like to place a push pin over the city of Instanbul. My question is how do I find the longitude and latitude of this country and city so I can use the map control Or is there another way of doing it without knowing the longitude and latitude Thanks Danny There is an easier way, the map object got a method called 'Find' map.Find("","Istanbul,1,myCallback); the callbackfunction gets an array of VEFindResults or an array of VESearchResults, which one depends on the search parameters. ...Show All
SQL Server Not quite right...
We keep a database of events that are classified by severity. I've got a good, efficient query that gives me the grand total for these events. And I have a bad slow query that breaks down the information into daily totals. My fast query will count the totals for 3213586 events in 4 seconds. The slow daily query takes about 60 seconds for each day. Please help optimize my slow query! ------ Database schema is: Column Name Data Type Length Allow Nuls 1 msrepl_tran_version uniqueidentifier 16 0 0 [time] GMTtime (int) 4 0 0 msec int 4 1 0 offset GMToffset (smallint) 2 0 0 type nameType (varchar) 15 ...Show All
.NET Development Dynamic query with array parameter with unknown length, using ADO and dataset
Hi, I am trying to build a dynamic select sql query- the user write in a text box a few words. and the query return the row that all the words is appear. my problem is that I don't know how much words the user will write, and I need to refrence the words separately - thats why I am using an array . my problem is that the sqlcommand does not recognize the array. my question is How can I add and array paramater to the query Here is my code: =the mark of an array the editor change it automatic to (i) int i=0; serachwords=textbox1.text char[] delimiterChars= { ' ', ',', '.', ':', '\t' }; string[] Words= searchWords.Split(delimiterChars); // cuting the sentence to words StringBuilder strsql = new ...Show All
.NET Development XML Error associated with mscoree.dll
My solution consists of a dll to interface with ESRI's ArcMap application as well as two executables, an XML document (AddPLSS.xml) and an install package. It compiles and installs without any problems, but when I try to open ArcMap, I get the following error: XML Error: The sytem cannot locate the resource specified. In (failed) mscoree.dll/AddPLSS.xml. The xml file itself seems to be included in the dll and the install package. It ends up in the right place on the client machine. In fact, this application was working well until fairly recently. I did add one of the executables to the solution, but I never changed anything related to the XML file. I cannot find any reference to this specific error anywhere via Google or MSDN. ...Show All
Visual Studio 2008 (Pre-release) Error 403 when browsing to Service.svc file
I am trying to run one of the wcf samples. I am deploying the server to IIS 6 and keep getting Http Error 403 Forbidden when I try to browse to the service.svc file. The directory and files appear to have the right permissions set. I added a Default.aspx page to the same directory and it works fine. I changed to Basic authentication and the Service.svc file returns the 403 error before I am even prompted to login. The Default.aspx page prompts me to login and then displays correctly. I had the sample working fine on my Windows XP workstation it just won't run on Windows Server 2003. Does anyone know what else I can check to get this working Thanks, Matthew Try to open the service in the browser ...Show All
Visual C# How to: Create a Windows Forms Application from the Command Line
Hi, I am new to Visual Studio. I tried a code example of the MSDN site. I have installed the .NET Framework 2.0 SDK and Visual Studio 2005 C# Express Edition and get the following error of the compiler: "...The type or namespace name 'ComponentModel' does not exist..." the same error with Frame and Window and Drawing. The code is as follows also find at the url: http://msdn2.microsoft.com/en-us/library/ms229597.aspx using System; using System.ComponentModel; using System.Drawing; using System.Windows.Forms; namespace FormWithButton { public class Form1 : Form { public Button button1; public Form1() { button1 = new Button(); button1.Size = new Size(40, 40); button1.Location = ...Show All
