Software Development Network Logo
  • Windows Forms
  • SQL Server
  • Microsoft ISV
  • VS Team System
  • Smart Devicet
  • Visual Basic
  • Visual Studio
  • Visual C#
  • IE Development
  • Visual C++
  • .NET Development
  • Windows Vista
  • Game Technologies
  • Audio and Video
  • Visual FoxPro

Software Development Network >> Mohan1's Q&A profile

Mohan1

Member List

Kamii47
cmwith
Malleswar
Mandira
dzimmy
anubisascends
Whoisit
N3UD
Fahd
FassaBortolo
XenoByteZero
simon_56387
wannabe_2
Joe August
Andrew_Shough
dreadjr
BI Joe
Amitt
Moustafa Arafa
paso
Only Title

Mohan1's Q&A profile

  • .NET Development SmtpClass.Send and SmtpException

    In my application I am using the SmtpClient.Send method to send emails out. At the same time I am also catching any SmtpExceptions thrown. The problem is an SmtpException is raised and the email is being delivered. The SmtpStatusCode when the SmtpException is raised is "General Failure" and according to http://msdn2.microsoft.com/en-us/library/system.net.mail.smtpstatuscode.aspx the description of this SmtpStatusCode is "The transaction could not occur. You receive this error when the specified SMTP host cannot be found." How could the SMTP host not be found when the emails are being delivered Anyone know what is going on here Kind Regards Al ...Show All

  • .NET Development SortedList

    First I made it like this: SortedList^ probcode; probcode= gcnew SortedList; probcode->Add((Object^) 1 ,L "There is a problem" ); probcode->Add((Object^) 2 ,L "Its too hot" ); probcode->Add((Object^) 3 ,L "Its too cold" ); It didn't work (Failed on comparing two items in mscorlib.dll), so I made it like this: SortedList^ probcode; probcode= gcnew SortedList; probcode->Add( "1" ,L "There is a problem" ); probcode->Add( "2" ,L "Its too hot" ); probcode->Add( "3" ,L "Its too cold" ); And it worked. Why   I had to correct a typo "ContainsKey((Object^)2))" but it runs fine, as it should. Is this code failing on your system ...Show All

  • SQL Server Connection to DB from VB.net express

    When trying to connect to a db in VB.net express I get this warning An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) this is my code 'verbing maken mat de db Dim DBconnection As New SqlClient.SqlConnection( "Data Source=.\SQLEXPRESS;AttachDbFilename='C:\Documents and Settings\Pieter Van Driessche\Mijn documenten\Visual Studio 2005\Projects\kasboek\kasboek\db1.mdf';Integrated Security=True;User Instance=True" ) DBconnection.Open() Can somebo ...Show All

  • SQL Server Best practice for data dictionary in SQL Server 2005

    Hi ,all here, Would please anyone here give me any guidance and advices for best practice of data dictionary in SQL Server 2005 I have restored a large insurance claims database with up to more than 300 tables, massively, most of them are empty tables, many of them dont have any keys, contrains, indexes, and more difficult, there is no any data dictionary for the database which gets me stuck in the understanding of the data at the moment. Thus I think data dictionary is very important for a database. Will anyone gives me advices for that Really need help. Thank you very much in advance for any help. With best regards, Yours sincerely, I think the word data dictionary is not quite sure for us, do you mean data dicti ...Show All

  • Smart Device Development Another newbie in .Net/C#

    Hello, I'm totaly newbie in .Net and C# world... I was developing on Symbian platform for ages and I didn't use win32 api or .Net API many years. I know how hard is to get into new area, so I hope you could help me - my experience says that forums are usually best places to talk with developers... To get first impressions and feelings about C# I did a very simple project (it's stupid utility - you can see it on www.bombon.name/ds) and now I'm trying to port it under Compact Framework 2.0.. Until now I'm pleasantly surprised with everything - it's so big difference, when comapring with C/C++ on Symbian... I have some questions(I know I could google them:) 1/ Where are the best forums related to Pocket PC development ...Show All

  • .NET Development The remote server returned an error: (550) File unavailable (e.g., file not found, no access).

    I am trying to upload a file via the ftpwebrequest object. I have downloaded a sample routine showing how to use the ftpwebrequest object that seems to be pretty popular on the web. However, I am not having much luck getting past this error msg. Anyway, I have posted the routine where I am getting the error. The scenario is that I have a console application that passes 6 command line parameters to the app. Currently, all 6 parameters are supplied and working fine. I have highlighted in bold black what the pTargetDestination variable contains. Private Function ExecuteFTPRequest() As Exception Try '1. Create a request: must be in ftp://hostname format, not just ftp.myhost.com Dim pTargetDestination As String = ...Show All

  • Software Development for Windows Vista Filter the sqltrackingquery by ActivityName / ActivityType

    Hi, Is there any way to filter activitytrackingrecords by Activity Name or the type of Activity in sqltrackingquery e.g I want to get the list of activitytrackingrecords of all code actities of workflow Instance 'x' Thanks I am not sure you can write such a SQL Query but you can surely write your own custom tracking profile which can help you have more control f what is being tracked. THere you can specify what exactly you need to track. Take a look here: http://msdn2.microsoft.com/en-us/library/ms742042.aspx http://msdn2.microsoft.com/en-us/library/ms742184.aspx Thanks, Kushal. ...Show All

  • Gadgets HTML Gadget

    Can I make a gadget from HTML ...Show All

  • Visual Studio Microsoft Report Viewer Control Question?

    I want to know if vs studio 2005 sp1 actually fixed Microsoft report viewer control. I was having an error before.I don't get that anymore. I need to figure out what do I need to distribute to the user. This is the error that I got before. I don't get it anymore System.InvalidOperationException: Invoke or BeginInvoke cannot be called on a control until the window handle has been created. at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous) at System.Windows.Forms.Control.BeginInvoke(Delegate method, Object[] args) at Microsoft.Reporting.WinForms.ReportViewer.OnRenderingComplete(ProcessThreadResult result, PostRenderArgs data) at Microsoft.Reporting.WinForms.Proc ...Show All

  • .NET Development Connecting with MS Access.

    it is very easy to work with data for ASP.Net when using SQL server. Probably Ms Access is not ideal for Web environment. Howerver we must know how to make connection & different other operations with data using ms Access. how to display it, how to access different columns & rows & cels. its pretty much the same way as in SQL Server. Connection string is different (check out www.connectionstrings.com for the connection strings available to you for MS Access) and a different namespace of classes. You would use OleDb classes (OleDbCommand, OleDbConnection, OleDbDataReader etc....) to perform your operations on MS Access select/insert/update statements are the same, but if using parameterized statements, wherever gene ...Show All

  • Visual Studio Express Editions Multiple lines in rich text box

    How do I insert multiple lines of text Into a rich text box by using the following command RichTextBox1.Text = "Blah Blah" in what way you can use AppendText() method in the richtextbox to append text and to enter a blank line use Environment.NewLine. Example: Me.RichTextBox.AppendText("hi") Me.RichTextBox.AppendText(Environment.NewLine) Me.RichTextBox.AppendText("There!") something like this ...Show All

  • Visual Studio Team System Where will be the Test Metadata File saved in disk?

    Anybody know that when i create a new test project ,even if the test project contains no tests that a test metadata file will be automatically added to my solution and appear in Solution Item. But can anybody tell me where will be the test metadata file saved in disk ThX a lot~ ...Show All

  • SharePoint Products and Technologies Sharepoint 2007 - Groups and Permissions

    Hi, In my site, I've created two kind of groups to access a Document Workspace.So i've customize my folders and sub-folders but i met a problem : is it possible to give an access for a person who is in both groups If it's not possible, how can i do So only a person from Group A and in the same time from Group B will be able to access the folder C. Can someone help please Thanx SharePoint will give the user the highest level of access they would have based on what groups they are in so to answer your question the only way to do this is to create a Group C for access to folder C. ...Show All

  • Visual Basic Internet

    Hi everyone, I have a HTML page with a script. The page have 2 textboxes, names exp1 and ans1. I want, through VB, to write some text in exp1, then to simulate the type of Enter in it, and finaly, to read the data in ans1 into a variable. Does anyone know how can I do it Thanks, Ofir. I didn't find anything in Google!! And I want to use the script in the file from my application if you didn't understand!! ...Show All

  • SQL Server Using Records as Column Headings

    This may be a stupid question, but I have a table of orders that consists of various data. I want to take by date all orders that have been completed but have not had a previous order in 180 days. I have this part done. What gets returned is Date, Count, Status. What I want to get is the various status's returned as headings. So I get Data, Total Order Count, Completed Count, Abandoned Count, etc. I'm returning this data to Excel for display. My original thought was seperate queries, but some of the data will not have a count so the ordering would be off. Any ideas You can do this easily in Excel using a PIVOT table. Similarly you can do it in SQL using the PIVOT statement however it is not dynamic and ...Show All

©2008 Software Development Network