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

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

cverdon

Member List

Chibi-Acer
Adam Shipp
davidy13
Simone1
My-Spot
Anarchy
James Brock
namo21
foomunchoo
mynockx
SirMarty
Sicundercover
Kamen
Chandresh.theengineer
Bernd Wechner
JazW
HillBillyB
Johnny606
mcaine
MarcGBeauchamp
Only Title

cverdon's Q&A profile

  • .NET Development How to verify if an email was sent or not ? Net framework 1.1

    Hello , how can I Know if an email was sent or if there is an error in the smtp server with the Net Framework 1.1 Namespace System.Web I am Using the System.Web.Mail.SmtpMail.Send(MaiMessage) method but it does not return anything telling me if the message was sent or Not . Also a note : I am using this namespace from a windows application . Thanks in advance for your replies I didn't pay attention it was for 1.1, sorry. We don't own System.Web.Mail, we own System.Net.Mail namespace which was added for v2.0. - and System.Web.Mail was obsoleted. The behavior I described is for the SmtpClient for System.Net.Mail namespace. Is there a particular reason you want to use 1.1 We strongly recommend ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XBOX deploy - content issue

    Hi I've written my first simple XNA Xbox project, simply draws a triangle and applies an effect. When I deploy to the XBOX and debug, I get file not found on my effect file. The file is stored in a folder called Content then FX, file called myfirsttest.fx I load it using this command and get file not found myFirstFX= content.Load< Effect >( @"content\FX\myfirsttest" ); I've tried every combination I can think of, still says file not found everytime. Actual error :- Additional information: Error loading "content\FX\myfirsttest". File not found. Help!!! Under your content check the properties and see if it's set to "do not copy" -- change thi ...Show All

  • .NET Development Serialisation fails when using generic collections. Feedback 119402.

    There appears to be a bug in VS2005 which prevents generic collections from being serialised properly. Specifically, whenever any trivial change is made to the source code, causing the version revision to be changed, a mismatch occurs between the program and the serialised data causing a FileLoadException to be thrown. This only occurs if a) the serialisable object contains a generic (template) collection of non-simple types, b) the assembly has a strong name, and c) the assembly version revision number is defaulted. I have a simple test program which demonstrates this. The workaround seems to be to not put generic collections in serialisable classes. This, however, poses a major irritation for us as we are about to go to market with a pro ...Show All

  • .NET Development How can I detect when PictureBox is showing ErrorImage?

    A simple problem but I can't see an obvious answer. I want to detect when a user's image hasn't loaded for any reason. The obvious way seems to check if the image is ErrorImage but I can't work out how. Any assistance gratefully received. Unfortunately it appears that the LoadCompleted event is created whether the image is loaded successfully or not. Thank you for your suggestion though. ...Show All

  • Windows Forms How to deal with Apostrophe in access + C#

    hellow, Following is my code : BINDING DATA TO DROPDOWNLIST private void Page_Load( object sender, System.EventArgs e) { if (!Page.IsPostBack) { ddlcategoryname.Items.Add("<--Select Product Category-->"); conn.Open(); string query="select * from tblproducts"; OleDbDataAdapter da= new OleDbDataAdapter(query,conn); DataSet ds= new DataSet(); DataRow dr; DataTable dt= new DataTable(); da.Fill(ds); dt=ds.Tables[0]; for ( int i=0;i<=dt.Rows.Count-1;i++) { dr=dt.Rows ; ddlcategoryname.Items.Add(Convert.ToString(dr["productname"])); } conn.Close(); } } AND IN THE DROPDOWNLIST'S SELECTED INDEX CHANGE EVENT ...Show All

  • SQL Server ACCESS SQL SERVER TO USE NORTHWIND DB (continuation)

    I went to Start>programs>sqlserver2005>configuration tools>surface area configuration. Next, I selected local and remote connections. Further, under this selection there is: Using TCP/IP only (SELECTED) Using named pipes only; and Using both TCP/IP and named pipes. Again, I received a message saying SQL server does not allow remote connection. Any suggestions Thanks!! I would make sure that you have followed all of the instructions in the following kb http://support.microsoft.com/default.aspx scid=kb;EN-US;914277 ...Show All

  • Visual C++ Using VC++ 8.0

    Hello, I have a project that was created/build using VC++ 6.0, the project uses a third party library iconnect.lib. I am trying to compile the project using VC++ 8.0 but I get a lot of linker errors - some of those errors are below. Note: the project compiles without errors or warnings when using VC++ 6.0. Can someone tell me what I need to do to get my project to compile/link successfully with VC++ 8.0 Thanks in advance! -Agustin ERRORS: Error 82 error LNK2001: unresolved external symbol __RTC_CheckEsp iconnect.lib Error 83 error LNK2019: unresolved external symbol __RTC_CheckEsp referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > ...Show All

  • Software Development for Windows Vista IActivityEventListener custom activity

    I have created a custom activity implementing IActivityEventListener interface. Then a EventArgs derived class which delivers the queue message. Then, from host application I send a queue item to the workflow calling the workflowinstance's EnqueueItem method : how can I intercept the message in the OnEvent method instead of Execute method I have also tried to create the custom activity as IEventActivity to be hosted inside an EventDrivent one, but the effect is still the same: only Execute method is called when message is received. Thank you very much in advance. I have followed your example, but the workflow designer doesn't permit me to drag and drop this activity like a normal code acti ...Show All

  • Visual C++ problem in language

    i worte this command: private void timer1_Tick( object sender, EventArgs e) { string dataPath = @"C:\Documents and Settings\e\Desktop\Rap\Chamillionaire - Riding Dirty(1).mp3" ; windowsMediaPlayer.URL = dataPath; windowsMediaPlayer.launchURL(dataPath); } in the last line i dont sure. somebody can explain me how i start the mediaPlayer with C# The C# forum is here http://forums.microsoft.com/MSDN/default.aspx ForumGroupID=9&SiteID=1 ...Show All

  • .NET Development Energy Act 2005 and Daylight Saving Time

    Good evening, I'm not sure if this is the appropriate forum for this question, but I do know that date conversion is a function handled by the .NET BCL and my software is written in .NET. My software has the requirement to convert date/times from UTC to local and vice versa for an arbitrary date/time. Due to the changes made to Daylight Saving Time by the Energy Act of 2005, all of the logic provided by Windows and .NET will no longer serve this purpose. The problem appears to be that Windows effectively only tracks one pair of starting and ending dates for Daylight Saving Time. Systems which have been updated to reflect the new changes will incorrectly convert DateTimes from previous years. Systems which have not been updated will i ...Show All

  • Visual Basic Me.MouseButtons = mousebuttons.left Error( Read Only), But Is it????

      Is there anyway to get around the example I used On the heading Me.MouseButtons = mousebuttons.left  means, Left Click Nick Cammarata 14 yr. Old Programmer System.Windows.Forms.Cursor will give you control over the mouse. Use Cursor.Position to move it around (in screencoordinates, so use the Control.PointToClient() to translate that into coordinates on your control, and Control.PointToScreen() if you need to convert to Screencoordinates. ...Show All

  • Visual Studio Team System Changing dropdown list values

    Hi   I am having a bit problem with the ‘Priority’ dropdown list. Actually I want to edit the list into more meaningful priorities such as Stopper, Error, Shortfall, and Wish.   Could some one please explain me the whole process in steps of changing the values in the dropdown list for the followings   - Status dropdown list - Reason dropdown list - Triage dropdown list - Priority dropdown list   I would be very grateful.   Thanks in advance Hi I have come across the following steps, could you please have a look and let me know whether I can carryout this task by following these steps Also ...Show All

  • Visual Studio CodeModel function information

    Is there a way to get the code within a function using the codemodel public void GetFunctionCode(){ String getThisStatement = "some statement"; String andThisStatementToo = "another statement"; String usingTheCodeModel = "third statement"; } Hi, What Craig meant is that the code model does not support code inside methods, neither read nor write. You have to do it parsing the code or adding new lines on your own. ...Show All

  • Visual C++ The problem from non-unicode to unicode.

    i have a non-unicode code as follows: HANDLE hThread = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)WorkFunction, NULL, 0, NULL); BOOL WorkFunction() { BOOL b = HttpSendRequest(g_hRequest, NULL, 0, NULL, 0); if (!b) { return 1; } return 0; } after I transfer it into unicode code, it has the following error: : error C2440: 'type cast' : cannot convert from '' to 'unsigned long (__stdcall *)(void *)' Please tell me how to change it and make it right. I appreciate your help. static DWORD __stdcall SendRequestThreadProc(LPVOID parameter) { const HINTERNET requestHandle = (HINTERNET)parameter; if (requestHandle != NULL) { return ...Show All

  • Visual Studio Team System Code Analysis Error on MeasureString (CA0001)

    I get the following Code Analysis Error on this piece of code: Error 22 CA0001 : Rule=Microsoft.Globalization#CA1303, Target=DXGameEngine2.GivesCAError.MeasureText(System.String):System.Int32 : Object reference not set to an instance of an object. DXGameEngine2 public int MeasureText( string textToMeasure) { Microsoft.DirectX.Direct3D. Font font = new Microsoft.DirectX.Direct3D. Font ( DXGame .DXDevice.Device, new System.Drawing. Font ( "Arial" , 10.0f, System.Drawing. FontStyle .Regular)); return font.MeasureString( null , textToMeasure, Microsoft.DirectX.Direct3D. DrawTextFormat .None, System.Drawing. Color .Black).Width; } Can anyone tell me what I'm doing wrong Thanks... ...Show All

©2008 Software Development Network