LouisVanAlphen's Q&A profile
Visual Studio Team System To test Javascript
Hi, Iam configuring VSS to test our website. Is there any way I can test the Javascript in our website. either thru the test script coding or thru the plug-in. Can any one lemme know about this Thanks You can use a coded webtest or a webtest plugin to add code to your webtest to simulate the javascript actions that your site depends on. You can also use Validation Rules and Extraction Rules to aid in this from either Declarative webtests (via the webtest editor) or code. Within the coded webtests/plugins you have access to each request as well as the responses. If their is a specific problem you're having with javascript in your pages please follow up with the details of your situation and we will be able to provide mor ...Show All
SQL Server Data Conversion Numeric to date
I have some data which I am trying to put into a DM where I can use it as part of a cube (my first!!) I have hit a small problem with dates, I get it from the ERP system as a numeric field, and I need to convert it to a date format. The intension is to use this converted data with Named Calculations to derive Year, month Day ect. However I cannot seem to be able to convert and store (in SQL) this column can anyone advise Thanks Thanks guys, I have done my goal for today and that is import the data into SQL 2005 as a date which i have done thanks to your help. I used a derived Column using the followin expression "200" + SUBSTRING((DT_STR,5,1252)AHDATE,1,1) + "-" + SU ...Show All
Visual Studio 2008 (Pre-release) Disjoint and updatable
Hi team. First of all thanks for an interesting and promising CTP. Trying to do some experiments with the august-CTP I came across the following error message: Problem in Mapping Fragment(s) starting at line(s) (17, 22): Data in C-space will be lost when storing in table FlexFields: The tuples in table FlexFields for the configuration [FlexFields.FIELDID = '100005'] and the tuples in this table for the configuration [FlexFields.FIELDID = '100006'] are disjoint but the corresponding entities in C-side extent(s) (Users) are not necessarily disjoint Sure I can see why this is a problem but could't it be I just wanted to fetch the objects and not store them again Is there any way to do this Jesper ...Show All
.NET Development errors adding a web service with sockets to a C++ project
Hi everyone, I have a web service which communicates via TCP to a C# program. When I invoke it's methods through a browser, they work fine and can communicate perfectly with the C# program. However, when I attempt to add the web service to a C++ MFC DLL I've created, I get multiple warnings, but with only 2 unique: 1) Warning 3 warning SDL4008 : skipping unrecognized extensibility element, with c:\Documents and Settings\*******\My Documents\Visual Studio 2005\Projects\Extend\Extend\CalcSvc\CalcWS.wsdl 84 2) Warning 9 warning SDL4001 : only one SOAP port will be processed. c:\Documents and Settings\cpappas\My Documents\Visual Studio 2005\Projects\Extend\Extend\CalcSvc\CalcWS.wsdl 104 I am assuming it is because the web service opens a s ...Show All
Visual Studio 2008 (Pre-release) Why strongly DataTable can't retrieve data in client in WCF?
Hi, I have a method which will return a strongly DataTable in service, in service side it will retrieve 10 records from DB but there is no any data from service to client. Anyone know the issue and how to resolve it Thanks, Zhihao Is your TestDataSet decorated with the DataContract attribute Similarly, is your TestDataTableDataTable decorated with a DataMember attribute ...Show All
Visual Studio Team System Cannot run Team Edition for Database Professionals if not local admin?
Hi there, It's very annoying at our work, but we are not local admins on our machine while logged into the domain. We do have Administrator rights only when we log in as local Administrator to the machine. So when I install the CTP, I execute the setup under the local Admin account, and it installs fine, and runs fine when logged in locally. But, when logged into the domain, it does not show up as an installed product under Help -> About. I do not have this problem with any other product ie I have the BI studio, team edition developer, team edition tester, etc running fine. Any thoughts on how to get the ctp to install and run properly for me Will this work in the future Because if it doesn't we have to go buy a few licenses of ...Show All
Visual Studio 2008 (Pre-release) Why not using UDP as a first class binding (NetUdpBinding) in WCF?
Why not using UDP as a first class binding ( NetUdpBinding ) in WCF UDP has a better performance compare to TCP and it has been used for DCOM . After all WCF has its own reliability mechanism, so what is the reason for having another level of reliability on the transportation level Regards, Bijan http://www.microsoft.com/technet/archive/winntas/maintain/dcomtowp.mspx mfr=true says this: "DCOM's preferred transport protocol is the connectionless UDP subset of the TCP/IP protocol suite: The connectionless nature of this protocol allows DCOM to perform several optimizations by merging many low-level acknowledge packages with actual data and pinging messages. Even running over connection-or ...Show All
Software Development for Windows Vista Seeking problem with VMR9
Filter graph consists of 2 source filters: 1. Source filter (which is used to playback AVI file) 2. Custom source filter (which implements CSourceSeeking, based on Seeking Ball example) - push model, ARGB32 subtype uncompressed images As a renderer i'm using VMR9 with 2 input pins, each one for one source filter, in windowless mode. The problem is when I seek (using IMediaSeeking interface obtained from FilterGraph), filter graph seeks only the AVI file, but not the my custom source filter. I've tried debugging and none of the seeking methods are called within my custom source filter. Thank you in advance! Thats what it appears to do for me as well... Intrestingly enough the SDK specifies th ...Show All
SQL Server run SSIS package with ODBC connection via SQL agent
It seems there a lot of problems running SSIS packages under the sql agent. I have read the knowledgebase articles regarding permission issues etc but I still can't get my job to run. I can run any package as a job apart from a package that connects to an external database via an odbc connection. Has anyone had any luck with this and can let me in on the secret. I had the same issue: A package using a 32-bit ODBC driver, it ran fine in my laptop but not in my 64-bit server. The work arround was to schedule it through an SQL Agent that used a command line to invoked the 32-bit version of dtsexec. The bottom line: the package runs in a 32-bit mode instead of 64-bit mode Rafael ...Show All
Smart Device Development How to use tmail.exe -attach and -transport option
How can I attach multiple attachments to the SP2005's tmail.exe What should I keep the transport "email" is OK or do I need to give something like POP3 or SMTP The following code is able to launch the tmail and tempFile is attached but how to attach more than one files Using the email as transport option is acceptable _stprintf(commandline, _T("-attach \"%s\" -transport \"email\""), tempFile); if( ! CreateProcess(_T("\\windows\\tmail.exe"), commandline, NULL,NULL, FALSE, CREATE_NEW_CONSOLE, NULL, NULL, NULL, &procInfo) ) return -1; Hi , This forum is primarily monitored by Visual Studio for devices group. Please check this link for m ...Show All
Visual Basic Seek after a record
Hi Now i finish with my form where i can see my records one at the time and edit them. I use a bindingsource like: Me .KursusBindingSource All works fine , but now i want also to seek after a record, is there a way to do this but if i don't seek it shal show me all the reords like i have now If theis where in my webpage i could write Where kursusnavn = "% & variabel &%" But how to do it here regards alvin Me . KursusBindingSource . Position = RecordNumberToMoveTo ...Show All
Visual C# How to access settings created by the SettingsSingleFileGenerator from another assembly?
How can I access settings created by the SettingsSingleFileGenerator from another assembly Is it possible to tell the SettingsSingleFileGenerator to create a public class instead of an internal Or how can I access my settings Greetings Harry Hi Dave, my reseaches resulted in that getting public instead of internal settings from the designer seems only to be possible on writing a custom codegenerator. I solved my problem by referencing (add class as link) the settings class in the other projects. ...Show All
SQL Server Upsizing Access 2000 DB to SQL Server 2005 Express Edition
Hi I have an Access 2000 Database which I am upsizing to SQL Server 2005 Express Edition. The Database has 29 tables and 60 stored queries. Each time I upsize to SQL Server the tables come in fine but non of the queries are imported. All of the queries are very simple Select, Insert, Update and Delete Queries with nothing special in them. I have tried using the upsizing wizard in Access 2003 and also the SQL Server 2005 Migration Assistant for Access. Is there anything special I need to do in the migration assistant to ensure that the queries are imported as well. Cheers Redav If you select the option in the Upsize Wizard to create an Access project (.adp), the wizard will take a crack at migrating queries ...Show All
Visual C++ Reinstalling VC++ 2005 - New machine
Hi, This week, I acquired a new computer. Before I erase former computer, I installed and configured my development environment. No problems except when I tried to install and configure Visual Studio 2005. Everything went OK except the fact that after successfully compiling a sample C++ application, I cannot run it... I even tried to run a few C++ applications (.exe) I made in the past (out of VC++ 2005 environment on former computer), directly from Windows explorer, and I cannot run them either... Seems something is missing... I compared programs installed between my former machine and my new machine and the only difference I could see  ...Show All
Visual C++ sizeof(main)
hi, i searched a lot to find the answer for this question before posting.... i am not getting proper answers. . my questoin is wat is sizeof(main) alot of ppl say dat sizeof doesn't take function name ... .. but a fucntion name is a pointer like .. cout<<func; wiil print the address this means that its a fucntion pointer like object..... so the sizeof a function name shud equal to sizeof a pointer variable..... . . my question is why it does.nt take a fucntion name.... plz reply soon manish............. imanish11111 wrote: thanx sarath , i kno this answer .. i am asking WHY we cant use function name ..... For one, it's one of those things that's just outside the scope of the langua ...Show All
