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

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

boulderbum

Member List

Jaime Stuardo
Will Merydith
AlfonsAberg
Wayne Sepega
jpmk12
fddsfsdf
UniqueDisplayName-Adam
preed_lahey
tattoo
Sinclair Schuller
Sunil_Kumar_63c25f
RAS.Goss
John1010
Ejele012
Ofer Elboher
Suncho
Sébastien Nunes
Mark Hogan
bagjuice
Jebasingh
Only Title

boulderbum's Q&A profile

  • .NET Development programatically accessing the Mail

    hi, my task is programatically accessing the mail server whether it is hotmail/gmail/yahoo etc using vs2005 C#.Means fetching the my inbox contents into my machine.Can you please suggest me some good references.Its very urgent and i am new to these technologies.Please give me suggestions. Thanking you inadvance A.suneel. This is a duplicate thread to: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=843224&SiteID=1 . Please try to keep one thread per topic ...Show All

  • Windows Forms Can't override ProgressBar OnPaint

    I'm trying to create a custom control extending the ProgressBar. I want to draw the Value property on the surface of the control but overriding OnPaint does not work. In fact I discovered that OnPaint isn't even called during execution. Is it because ProgressBar is one of that classes which does not use OnPaint How can I get what I want without inheriting from Control or UserControl Thank you. At code project I found exactly what I was looking for. Do you know other sites with free reusable controls like codeproject I already searched but found a lot of sites with useless or shareware stuff. ...Show All

  • Visual Basic Editing connection string at run time

    I have got two connection strings in my application which I am creating in VB.NET 2005, one whose database is installed with my application so i can keep the connection string and other which is already there with the user. I want the connection string of the other database which i am taking from the customer to be installed in the registry which is fine, the string value is stored in the registry from the customer input. Now how do i get that string as the current connection string as systems.settings.connectionstring is read only Is there any ways this can be done because I am working on this project and it needs to be done somehow Easy. You have to add your own user setting. I called mine NewConnection. Check out the followin ...Show All

  • Windows Forms Databinding and textboxes

    I'm working with a dataset that is filled from a database (OleDb, access). I have a number of textboxes with databinding to data in the dataset. For example: txtForBinding.DataBindings.Add(new Binding("Text", Table.Rows.Find(Id)["Column"], "")); The problem is that when i edit the contents of the textbox, it does not affect the dataset. Is there any method i have to call to store the data into the dataset regards, Kristian That didn't work. If i supply the dataset to Adapter.Update i get an InvalidOperationException with mesage: "Update unable to find TableMapping['Table'] or DataTable 'Table'." If i suppy one of the datatables to Update it simply doesn't do anythin ...Show All

  • Windows Forms Control.FindForm() returning null

    Does anyone know the situtions where Control.FindForm() would return null In particular, I'm looking for the form containing a button. This button is in a groupbox on a control derived from UserControl. There are several nested user controls, and there is class derived from Form containing them. I wrote this little ditty to try and work around the problem, it makes much progress, but does not accomplish the goal: /// <summary> /// recursively search for the parent form of a control /// </summary> /// <param name="c">control whose form you desire </param> protected static Form FindForm(Control c) { if (c.FindForm() != null) return c.FindForm(); else ...Show All

  • SQL Server Dbmail sending mails but recognised as spam by outlook07 and spamassasin.

    Just started playing with the server 05 demo I am trying out the dbmail tool/ sp. Problem is that mails are being recognised as spam! Emails are being sent as text. Both Outlook 07 and spamassasin recognise the mail as spam :S.... I sent same info via outlok and all is ok. Difference is the header. Has anybody come across this Know of a solution Thanks DBMail does not require Outlook or any of the client pieces that SQL Mail required. What SMTP server are you using Where are you sending the mail Paul A. Mestemaker II Program Manager Microsoft SQL Server Manageability http://blogs.msdn.com/sqlrem/ ...Show All

  • Visual C++ LNK2019 accessing get/set method of an interface __declspec property

    Hi, I'm getting into this error porting some code from MVC6 to MVC2005. It worked fine in the old compiler, not in the new one. ddDlg.obj : error LNK2019: unresolved external symbol "public: virtual int __thiscall Ipippo::get_m_nKind(void)const " ( get_m_nKind@Ipippo@@UBEHXZ) referenced in function "protected: void __thiscall CDdDlg::OnButton1(void)" ( OnButton1@CDdDlg@@IAEXXZ) Here's the code: interface Ipippo { CString sName ; __declspec ( property ( get = get_m_nKind, put = put_m_nKind ) ) int m_nKind ; virtual int get_m_nKind() const = 0 ; virtual void put_m_nKind( const int & new_m_nKind ) = 0 ; virtual ~Ipippo() = 0 ; protected : Ipippo() ; Ipippo( const Ipippo& ) ; // copy cons ...Show All

  • Visual C# Computer stats (WEB)

    Does anyone have a free webproject that shows computer stats Like Bandwidth Up and Down in use, ram use, processor use....Uptime...These things... Thanks !!!!! some of these can be done using the performance counter. Take a look at this thread here, for information on how to get the RAM use/CPU Usage: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=773531&SiteID=1 in terms of the networking stuff, not entirely sure. One other reference/resource which I believe will help you is this: http://msdn2.microsoft.com/en-us/library/system.diagnostics.performancecounter.aspx It's the performance counter class. System uptime can be looked at from the Environment.TickCount, but also using WMI Classes, for chec ...Show All

  • SQL Server Programatically adding a Timeout value for BulkInsertTask?

    I've searched around for a while and can't seem to find out how/where I set the timeout on a bulk insert task programmatically. Here is a snippet of code that works as long as the input file is pretty small....when I attempted to pump 1.3 million rows through the default timeout value was not big enough and a timeout exception occurred. Package loadPackage = new Package (); Stopwatch timer = new Stopwatch (); timer.Start(); ConnectionManager conMgr = loadPackage.Connections.Add( "FLATFILE" ); conMgr.ConnectionString = @"C:\BWR.txt" ; conMgr.Name = "FileInput" ; conMgr = loadPackage.Connections.Add( "ADO.NET:ODBC" ); ...Show All

  • Windows Forms base.clone

    public override object Clone() { StatusColumn col = base.Clone() as StatusColumn; return col; } somebody please tell me what is the equivalent of the above code i got in c. my program is crashing with this code.: and i think it is wrong. Public Overrides Function clone() As Object Return Me .clone End Function it does.. Public Class NoEnterColumnCombo Inherits DataGridViewColumn ... Public Overrides Function clone() As Object Return MyBase .Clone End Function ... end class ...Show All

  • SQL Server SQL Server Express Edition silently at command prompt

    I want to install the SQL Server Express Edition silently at command prompt (but want the dialog boxes, I mean with /qb option), locally, with no network options. I want to install it with following options i) In the Feature Selection, I need a) Data file (Database Services) b) Shared tools (Database Services) c) Connectivity Components (Client Components) d) Management Studio Express (Client Components) ii) Instance name as “Default Instance” iii) Service Account as “Use Built-in service account a Local System” iv) Authentication Mode as “Mix mode” with sa password as ‘sysadm’ v) Collate Settings as “Latin1_General_CS_AI How c ...Show All

  • Visual Studio Team System WorkItemTracking error : The INSERT statement conflicted with the CHECK constraint

    Hi I have a problem that I can't find a solution to, I've tried searching the forum and the only thread I could find was regarding beta2 and the anwser was to upgrade. What could generete this problem and is there a fix for it Error: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 2006-10-04 20:12:51 Machine: VS00 Application Domain: /LM/W3SVC/3/Root/WorkItemTracking-5-128044663618957318 Assembly: Microsoft.TeamFoundation.WorkItemTracking.Server.DataServices, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0 ...Show All

  • Visual C# .NET Obfuscator, fails to locate System.Collections.Generic.IEnumerable

    Has anyone used the Community version of .NET Obfuscator which comes with VS. If so have you seen any problems locating code in the System.dll. I've tried to Obfuscate one of my assemblies (it has no depenancies other than .NET and Windows) and it fails to build Couldn't load external type because its assembly can't be found: MyNameSpace.KeyValueCollection`2+<System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>>.GetEnumerator>d__3,MyNameSpace.Base, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null It then searches for the d__3 in the VS path and the .NET path, unscuccessfully. It looks to me as if it's failing to locate System.Collections.Generic.IEnumerable which is ...Show All

  • Visual C++ Replacement of CComModule in VS2005

    Hi, I'm porting one of the dll from vc6 to vc8. In doing so I have created a complete framework to create a dll and subseqently add atl objects. By default the framewaork adds the follwoing code in the main app file class MyClassModule : public CAtlDllModuleT< MyClassModule> { public : DECLARE_LIBID(LIBID_MyClassLib) DECLARE_REGISTRY_APPID_RESOURCEID(IDR_MYCLASS, "{7C00C752-3DA7-4CB9-B721-7F39F9FEDD2E}" ) }; In previos versions of ATL CComModule _Module was used which has been replaced by CAtlBaseModule. Problem: There was an extern declaration as extern CComModule _Module in stdafx.h and definition in main app file as CComModule _Module . How do I replicate the above behaviour in t ...Show All

  • SQL Server Reducing failover time

    Hi All, Is it possible to reduce the automatic failover time on MS SQL 2005 It seems to take around a minute on my servers. Thanks for your help. Regards, Failover time can depend on a lot of things. Refer to http://www.microsoft.com/technet/prodtechnol/sql/2005/technologies/dbm_best_pract.mspx for a discussion on what happens during the automatic failover. What type of failure are you talking about here What is load on the database Take a look at the redo_queue on the mirror at the time of failure. More details needed to answer your question. ...Show All

©2008 Software Development Network