SeniorDevman's Q&A profile
.NET Development .Net and scheduling
We're trying to write an app which monitors certain dates in SQL and based on the values of dates/triggers, automatically constructs and fires off email. Is it possible to load a class into IIS memory and call that logic through either an ASP.Net page or service using a scheduler The main method in the class could call others which in turn would construct and send any emails. We were originally thinking about writing an app that ...Show All
Windows Forms Cntl - A or Cntl-F in a multiline text box
Why can't I use either in a multiline text box. Cntl-A is most important for me, rather than having to click at the top and scroll down the whole text. dennist685 Hi, I just sent you a mail containing the project that I tinkered with. Try tweaking it and to find out what part of your code is missing... BTW, got a problem on sending a rar file to gmail. So I removed the extension. Just rename the file to ...Show All
SQL Server Derived Column from a Condition statement
I've found that there is no such thing as a Case Statement in the Derived Column task in the data flow objects. I've written a ternary statement instead. I can't seem to get it to work exactly how I want it to. For example AccountCategory == "E" 1 : 2 Works fine but the following doesn't AccountCategory == "E" CreditAmount : DebitAmount The CreditAmount and DebitAmount Fields are spelled correctly, the field type ...Show All
Visual C# How to edit web.config file smartly
Hi, We all know we can create web form and coding using designer and IntelliSense. I would like to know if we can do the similar things on web.config file Right now, I am typing everythng in this file. I believe there should be a way I don't know yet. Any advice is welcome. Karl In vs.net 2005 intellisense is available for web.config file.Another better way to edit is using Asp.net configuration tool.you can navigate to this tool fro ...Show All
Windows Forms How to play avi files?
Hi can some one write me a code to play avi vedio file on the form Regards ...Show All
Visual Studio 2008 (Pre-release) Support of brokered authentication to Internet
Hi I have several services running in internet; the applications using the services have to do a lot of calls to these services. I need authenticate or at least identify to the application doing the calls. I had thought to use a Security Token Service (STS) to avoid validate each request. What is the support of WCF to this issue I’m not thinking in WS-Federation because I have a single STS. Thanks in advance Javier ...Show All
.NET Development SOAP serialization cause datetime property wrong?
Hi, Our project is using Remoting, and we need return a MembershipUser from server side, we found the CreationDate property returns a wrong date on client side, it's a UTC date. If we change the fomat to binary, the value is correct. Is there anything wrong with us Thanks. Check http://msdn.microsoft.com/library/default.asp url=/library/en-us/dndotnet/html/datetimecode.asp . ...Show All
Visual C++ #region in Visual C++
Hi, How is declared region block in Visual C++ I.e. : In C#.NET you can write #region RegionName // any code you like #endregion But in C++.NET it is illegal, so what syntax is for region in C++.NET Thank you Hello B.J., In Visual C++ 8 the syntax is: #pragma region RegionName //Code in Region #pragma endregion __________ Gal Beniamini ...Show All
SQL Server Storing images in sql server 2005
Hi There I have not had much luck finding info in BOL. I have a directory with many images, i need to load these images into sql server.We want to staore them in the database instead of the file server. What is the best way to do this TSQL (i am hoping), .NET code or maybe even SSIS I have been reading what i can find in BOL basically all i know so far is that image data type will be no more in the future and i should use a varbinar ...Show All
Visual C++ Wheres my TR1? :)
I'm using the VS 2005 beta release so excuse me if this is scheduled for the full... Am I missing something or is TR1 not part of VC++ 2005 Is is planned to be part of the final release Is it an additional part I can get from MSDN somewhere Hi John, TR1 (Technical Report 1) is not part of VC++ 2005. I just confirmed with the Libraries folks. We are looking for considering it for future releases. Thanks, & ...Show All
Visual Studio Team System New Team Project Creation
I'm new to TFS. I've an Administrator right in TF Server. I've installed Team Foundation Client on my PC. Now I opened VS 2005 and trying to create the new Team Project but it is giving error like this:- I've right to create new project. TF 30177: Team Project Creation Failed Error TF30224: Failed to retrieve projects from the report server. Please check that the Yukon Reporting Web and NT services are running and y ...Show All
Visual J# J# noob :-p, How 2 submit a form
Hi ! I'm new to J# and now i have a question. I've made a form with some textfields en some buttons below it. Now I would like to have that with a click on a butten it submits the information into my database. What is de code behind the button TNX ! Willem Following is the sample; add it to button click event handler by replacing the highlighted with appropriate values private void button1_Click(Object ...Show All
Windows Forms DataFormatString in GridView
I wonder if someone else is suffering the same problem. I found DataFormatString in GridView not work very well when I try to display currency. In VS 2005 Beta version, it works fine, but after I use stardard version, it never display correct. For example: integer 3 always display like 3.0000 but in the beta version, it display like $3.00 which is what I would like. By the way, I assigned datasource, dataadapter and sqlcommand manually, everythi ...Show All
.NET Development Restriction base invalid, error
Anyone know how I can get rid of this error I included the beginning of a schema below that raises the following error in VS.NET 2003. I don't understand where this error is coming from. I tried changing the schema fro xs:string to xs:anyType, but that didn't get rid of the error for me. Neither did changing the xs: prefix to xsd: . Thanks, Paul ---------------------------------------------------------------------- ERROR ...Show All
.NET Development 404 page not found error with http://www.scanspyware.net/spyware.htm#start
i am having problem with "WinHttpRequest" when i use link http://www.scanspyware.net/spyware.htm#start with WinHttpRequest i get 404 page not found error can anyone help me on this ...Show All
