dariodario's Q&A profile
Windows Forms How do I get these buttons to work?
I have made a simple form and have two buttons at the bottom. One of them I would like to be a reset button, the other I would like to set up to be a submit button to either send me the info in an email or to save the into to a file that I can access. You'll find lots of examples when you search the VB General forum for SmtpClient. ...Show All
Visual Studio EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo'.
Debugging asp.net application gives a strange error Hello - When i try to debug asp.net application (Framework 2.0) a strange error is logged in the eventviewer. EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo'. And I ensured that the Enable Sql Debugging flag is unchecked in the project properties Can anyone please help how to get rid of this error. Thanks- Shyam Moved to the Visual Studio Debugger forum. Take a look at the following article to see if this helps: Troubleshooting tips for T-SQL Debugger in Visual Studio .NET ID: 817178 http://support.microsoft.com/kb/817178/en-us This ...Show All
Visual Studio 2008 (Pre-release) 3D video, more control using mediaelement
hi guys, i wrorte an app a while ago based on directshow.net form the opensource guys in c#.net, i had set it up to play for example only the left audio channel of a video, sometimes only the right, also, i have videos with like 3 AC3 audio tracks and i enumrated all of the pin types and make a menu based on the amount of tracks. WPF is great, i've been loving the CTP's and i've made some really cool stuff, but when can i get directshow functionality will mediaelement be like directshow on relase or not i wont want to hwnd a video onto winfx app because i would like to use all the really cool effects it offers, i figured i would end up waiting it out will christmas relase or something. Iknow its not mature platform yet, but s ...Show All
SQL Server SSIS - AcquireConnection method call to the connection manager failed
Hi all, I am facing a problem with the connection method, it says, "[Store [10069]] Error: The AcquireConnection method call to the connection manager "Data Source Destination" failed with error code 0xC001A004. " (Store - Look up component.) This problem occurs only when i am using Transaction option, all the component(Look up,Destination etc) says the same error message in the Pre-Execute phase. But i can open the component and can able to see the data in preview. And also this is not occuring in our testing environment. We have copied the same pakages in our production, the package failed stating the above. I can not simulate the same problem in my testing server. Has anyone faced this kind of probl ...Show All
Visual Studio Team System TFS / Sharepoint discussion forums - can we update them?
Hi folks, with a stock standard Out-Of-The-Box TFS project, the discussion forums (part of the sharepoint 'project portal') is slightly dull. On codeplex is the following:- http://www.codeplex.com/Wiki/View.aspx ProjectName=SPFORUMS could this sharepoint webpart be added to each tfs project at the admin's leisure is it applicable -PK- Thanks heaps for the reply Dennis. what do u mean "there will be no interaction with TFS" Currently, the discussion forum that is part of the MSF Agile sharepoint site is independent from the TFS stuff ... proof of this is that there is no 'discussion forum' in the Team Foundation Explorer. So therefore, adding a new discussion webpart (as u have suggested) is fine. ...Show All
SQL Server Slow Query Analyzer
Hi Folks when running query analyzer against two different server. the first server only need 1-2 secs to return the query result, while the other return 7-8 secs for the query result. plz advice what could cause this slow performance Thx in adv. ...Show All
Visual Basic How to detect Caps Lock or Num Lock or Scroll Lock state please?
Hi, I was creating my answer in this thread.>> http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1134317&SiteID=1 ...then i thought. 1) Is it possible to detect whether any Caps | Num | Scroll Lock is active at all please I don't want to set a value based on whether or not the Caps Lock key was pressed. I'd like to read from the system the bit value that illuminates the LED's on most keyboards instead, possible, anyone, please 2) Anyone know too if there is an online list of the Microsoft KB articles by KB article number or a way to bring up a list such as typing KB****** in a search engine So as to browse the KB articles numerically Regards, S_DS &nb ...Show All
Internet Explorer Development A message for Pawel from TETA
I am developing a VB6 application having a Web Browser control named web1. A simple statement such as web1.navigate http://www.hotmail.com returns Runtime Error -2 (fffffffe). I have IE7 installed on the computer. Application developed on a computer having IE6 installed does not give any such error even when its run in debug mode on computer with IE7. In both cases, OS is WinXP Pro. I have already rectified the problem of ieframe.dll/1 and referenced it to shdocvw.dll Please help. Regards, Vibhu Bansal. Yes, it's related with debug/exe mode but my app not always work in exe mode: - On my home PC win2003EN+IE7+debug mode => error after 3rd execution of navigate2 method - On my h ...Show All
.NET Development HTTP POST using tcpclient
Hello, can anybody show me how to request an HTTP POST using tcpclient I need to use only tcpclient ... thanks for any help There are a lot of examples availble on the internet to do with. I would recomend you giving it a try to search it using google. Best Regards, Rizwan aka RizwanSharp ...Show All
.NET Development Is .net framework 2 GOD?!
I want to know why framework 2.0 is chosen for the base of framework 3.0 when it has too many problems such as globalization structure, windows forms bugs and asp .net 2 architecture. For example: 1. I want to use persian culture that its default calendar is not set to persian calendar, and it can't be set manually as described in the msdn (http://msdn2.microsoft.com/en-us/library/system.globalization.persiancalendar.aspx#) so windows and web controls such as calendars and datetimepicker can't use this calendar 2. Cultureinfo doesn't support text-direction needed for writing my own calendar controls which uses my own cultureinfo!! As you see I was obliged to write them myself when they are all available in Framework. 3. When ...Show All
.NET Development Web service how to monitor http request?
Hi everyone, I have a web service running in my host (accepts SOAP requests).... I just want to monitor/read (store the HTTP url) the urls comes from my clients. How to do this in my server side not from the client side. Please help me. thanks Hi, You have to add some custom code to read the server variables in your web service class, or just add that code in a soap extension. You can get the server variables from the HttpContext, HttpContext .Current.Request.ServerVariables["remote_http"] Regards, Pablo. ...Show All
.NET Development System.Web.Mail works fine but System.Net.Mail won't send email
Hi, I am updating an existing VB.NET 1.1 app to 2.0. The existing app uses the System.Web.Mail namespace to send emails and it works fine, but when I try to update to use the System.Net.Mail namespace it stops working. Has anybody any ideas why The following is the existing code that works: Dim msg As New System.Web.Mail.MailMessage msg.From = "me@work.com" msg.To = "me@hotmail.com" msg.Subject = "Subject" msg.Body = "Body" System.Web.Mail.SmtpMail.SmtpServer.Insert(0, " <<SMTPServerName>> " ) System.Web.Mail.SmtpMail.Send(msg) I've changed the code to the following: Dim client As New System.Net.Mail.SmtpClient( " <&l ...Show All
SQL Server SQL 2005 - Consuming web services in a Stored Proc
Assume I've created a web service named 'SaveActivityData' for some SQL 2005 database on some remote server. Also assume that the stored proc takes two parameters; the first is an integer value and the second an XML value. 1) Is it possible for a stored procedure on a completely different SQL 2005 server to consume this web service 2) If the above is possible, could someone show me an example of the T-SQL syntax required to consume this web service, passing the two required parameters In your example, you can make up whatever URL you like for the remote web service location. Thanks very much - Amos. Jimmy I am trying to do exactly this and I grabbed your sample with great anticipation. Three d ...Show All
Visual C# hack an open source project ?
As a java developer, I want to learn C#. Based on my experience, the best way for me to learn a language is hack a open source project. When I did in Java/J2EE, I have hacked the liferay, an open source enterprise portal. After that, I feel I have grown up a lot, ant, hibernate, spring, JAAS,.. Now, I want to reproduce my way to C#. So, I am looking for a project. 1. open source (portal project will be best for me) 2. use latest REAL tech in the market ( for example, Spring to java market). 3. large and enterprise, product in market will be the best (like Liferay). 4. just C# and asp.net, no VB.net, VC.net... 5. most important, REAL, REAL, REAL. Thanks. Try: www.sourceforge. ...Show All
Visual Basic Tool Tip in vb.net - Handle is not initialized
I am developing a windows application using VS-2005, vb.net, net framework 1.1 and SQL. Following is the code for utilizing tool tips in the form: Private Sub frmEMS_Incident_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Dim tTip As New ToolTip ' Set up the delays for the ToolTip tTip.AutoPopDelay = 1000 tTip.InitialDelay = 1000 tTip.ReshowDelay = 500 ' Force the ToolTip text to be displayed whether or not the form is active tTip.ShowAlways = True ' Setup the ToolTip text for selected fields and buttons on the form tTip.SetToolTip( Me .cmd902Update, "Auto-fill of da ...Show All
