Hassan Ayoub's Q&A profile
Visual C# Intellisense filter?
Is there anyway to filter intellisense based on events, properties methods In other words, lets say I know i'm looking for a property in an object, I'd like to view only properties and not everything through intellisense... is this possible The Whole Tomato Visual Assist add in supports this behavior, but to be honest it's designed for c++ so it's occasionally wonky with c#, mostly in asp stuff, but it's still wonky. Maybe one of the c# dedicated addins supports this too Cal- ...Show All
SQL Server Problem with GetUTCDate function in stored procedure
Why does this not work I get the following error when trying to save the stored procedure. "Incorrect syntax near ')'." SQL2005 SP1 developing with VS 2005 SP1 UPDATE mytable SET modifyDate = getutcdate() WHERE rowID = 1 I have also tried several variations all of which don't work. DECLARE @modifyDate datetime Set @modifyDate = getutcdate() SELECT @modifyDate getutcdate() However if I use the getdate() instead any of the above work. Larry UPDATE myTable SET modifyDate = getutcdate() WHERE id = 1 This one looks fine and works on my machine. And this sp works too. CREATE PROCEDURE [dbo].[tDate_sp] AS UPDATE myTable SET modifyDate = getutcdate() WHERE id = 1 ...Show All
Software Development for Windows Vista A Way to mark an activity to not persist?
I have an activity which invokes a web service. The web service has a parameter which isn't serializeable, and is throwing an exception when the SqlPersistance trys to unload the runtime. So my question is, is there some property or setting I can set to make the SqlPersistance ignore certain parts of my workflow, since really they don't need to be persisted anyway Thank you very much for the response. After looking into this problem a little more it actually looks like it's not the Sql Persistance which is causing the error. But rather an error with the way that WWF handles web service calls. Though I'm not entirely certain. The Exception is: CallExternalMethodActivity parameter DocumentRoutingV ...Show All
Visual Studio Does /DEBUG flag in linker affect performance?
Hi My question is if enabling the /DEBUG flag (Conf Properties->Linker->Debugging->Generate Debug Info) has an impact on performance Wouldn't that be the same as runing the project in DEBUG mode I wonder since I want to profile my application and I'm not sure if I should profile the debug och release version. Is there anyway to get debug information from a release version without using the /DEBUG flag What I want is the *.pdb file. Thanks, Martin Malek Yes, I am aware of that. What I wonder is if the executable will be larger/slower than one built without the database Are any extra symbols added to the exe in order for it to be used with the database Thanks, Martin Malek ...Show All
Windows Forms DataGridView Header in VS2005 (c#)
Hi, How do i give my DataGridView an overall Header. Ive found examples with row and column headers but i want to give it an overall header. The previous way to do it was using CaptionText for a Datagrid but i cant find a way with DataGridView. Any help would be much appreciated. Thanks. Read this post ...Show All
Visual C++ How can I use the function PifMgr_SetProperties
How can I use the function PifMgr_SetProperties Can any one give me a example thanks. Duplicate entry. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=728955&SiteID=1 ...Show All
Visual Studio Express Editions Limitation of VC++ Express Edition?
Can VC++ Express Edition be used to write a program that is capable of downloading a webpage and parsing the HTML Thank you. Brendan, thanks for your reply. btw, this forum does not seem to have a PM function. I just visited your student loan site. If you don't mind my asking, how much $$ are you making as a software engineer in South Dakota My e-mail is: woodland30033 at hotmail.com. ...Show All
SQL Server Licensing for SQL Express Edition AND Windows 2003 Server
I have a Sql Server Express Edition instaled in a Windows 2003 Server. I will use SQL Authentication. Need I Cal's for Windows 2003 server to each user that will access the SQL Express If yes, why ...Show All
SQL Server AS2005 OWC11 HTTP - Connection Problem.
I am trying to get an OWC11 pivot table ActiveX component to work over the internet with AS2005. I have read so many articles, and I have moved forward, but there doesn't seem to be any final answer. Here is the set up. 1 Server that is running IIS6, WIN2003, SQL2005/SP1. I set up the connection string as PivotTable1.ConnectionString = Provider=MSOLAP.3;Data Source=http://<ip to server>/olap/msdmpump.dll;Initial Catalog=<olapDatabaseName> PivotTable1.DataMember = "<CUBE NAME>" I set up the HTTP pump described in this article: http://www.microsoft.com/technet/prodtechnol/sql/2005/httpasws.mspx I set up an IUSR role for the cube to be read. I set up SQL and AS for remote access over TCP/IP. I eve ...Show All
Visual Studio Express Editions mspdb80.dll was not found !
When I tried to run cl.exe from the command line, the error message I get is "Application unable to start, mspdb80.dll was not found". Can somebody help me with this Thanks, Deepak shjuspea wrote: I've just encountered the same problem when I tried to run a platform SDK server 2003 SP1 sample using VS2005 in command line these days, fortunately I solve it now. Maybe useless for you: the key is the environment variable "PATH" vs2005 c:\program files\microsoft visual studio 8\ psdk c:\program files\microsoft platform sdk\ First, go to vs2005 install path c:\program files\microsoft visual studio 8\vc, run vcvarsall.bat to set environment variable; then c:\program files\microsof ...Show All
Software Development for Windows Vista COBOL apps will not run on Vista RC1
HELP! I am migrating software to Vista for testing, the backend software is COBOL, but I have yet to succesfully run any COBOL apps. in Vista. Can anyone help Thanks in advance. Nic " "NicholasTinSC"@discussions.microsoft.com " < "= UTF-8 B TmljaG9sYXNUaW5TQw== ="@discussions.microsoft.com > wrote in message news:bfa565e3-944c-496a-9329-b4de076113b2@discussions.microsoft.com ... HELP! I am migrating software to Vista for testing, the backend software is COBOL, but I have yet to succesfully run any COBOL apps. in Vista. Can anyone help Thanks in advance. Nic Consult the vendor of your COBOL compiler, this forums is dedicated to Windows ...Show All
SQL Server Use existing shared datasource from a SSRS2000 report server
Hallo i'm currently working with Visual Studio .NET 2003 and a SSRS 2000. On the report server i have created several shared data sources, which i'd like to reuse "as is" in new reports. Is there any way to "retrieve" a shared data source definition from a report server Or to point to a shared data source directly on the report server thanks Raffaele You can reuse any datasource that you have authorization to view on the report server and permissions to use on the database. I don't usually make shared datasources in the report designer. I deploy them, then I go to the report in report manager and change the datasource on the report to use the shared datasource on the report server. This may or may not ...Show All
Windows Forms Colour selection and Drawstring in VB Express
I am using Drawstring to print some stuff on labels. However, it has just become apparent that will will need to be able to let the user select a colour. No problem, the FontDialog does this, just like it does for font and size. I can assign a variable with the color returned by FontDialog but I can't use this variable in Drawstring. It seems you can only specify a specific system colours. I also can't declare a variable of type brush and assign a colour to that unless it's a specified colour. Could someone tell me please how I can use a colour seleted from FontDialog without 10 screens of Select Case statements Thanks, Rich Thanks Nobubz, If I want to store this in a database, w ...Show All
SQL Server Will FTP and File System Tasks run in Workgroup Edition?
I have a package that does an FTP and some File System Tasks. It runs perfectly fine in BIDS but doesn't want to run via SQL Agent. Is the SQL Server Edition the problem Yeah that's what I did...I have a vbscript that creates a dynamic ftp script (necessary because the files I need contain the date) and then I execute a bat file that executes the ftp with the script. I then use vbscript to do my file archiving and deletions. ...Show All
Windows Forms Calculating text fields
Hello, I am new to C# and trying to perform come calculations. I tried this code, and unfortunately it isn't working. private int calcTotal(string ctrlName) { int Total = 0; foreach (Control ctrl in this.tabCharAbilities.Controls) { if (ctrl.Name.EndsWith(ctrlName) == true) { MessageBox.Show(ctrl.Text); Total = Total + int.Parse(ctrl.Text); } } return Total; } I have a tab control on my form, the form has 24 textboxes on it that the suer can enter a value into (I have got the validation in so that they can only enter a number). These textboxes are organized into rows and columns. At the end of each row is another textbox that is set to read only. W ...Show All
