Software Development Network Logo
  • Windows Forms
  • VS Team System
  • Windows Vista
  • Visual C#
  • SQL Server
  • Windows Live
  • Smart Device
  • Visual FoxPro
  • Visual Basic
  • Visual C++
  • Microsoft ISV
  • Architecture
  • .NET Development
  • VS Express Editions
  • Visual Studio

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

Duie

Member List

MarceloVallim
WildRich
ZZia
popskie
Wajahat Abbas
LouLny
joe123
T Solutions
Galactic Jello
courtz
Lavonda
xiegang112
Chad Scharf
MannaiKarthik
Etheren
HarryG
jeyaseelan
Dox
Spaccabit
Abstract Labs
Only Title

Duie's Q&A profile

  • .NET Development Delayed send with smtpclient in .net 2.0

    Is there any way to force the smtpclient to send mail immediately with the .send method in system.net.mail 2.0 Right now it takes anywhere from 90 secods to two minutes before the mail is actually sent once the .send method executes. I've tried setting the object to nothing immediately after the .send method call, but no luck. The real issue for me is the send delay is also causing the smtpclient  to hold a lock on attached files that are being sent for that same 90 seconds to two minutes. I need to move the file immediately after emailing it, and right I get an exception telling me two processes can't access the file at the same time ...Show All

  • Visual Basic Serial Port Hex CRC Calculation, help please.

    Hi there, My program creates this output: 0xA0+0xAF+0x01+0xAA+0x6F+0x01 which then I need to add the checksum to the end. E.g. "0xC5+0x5F+0x0C+0x00+0x00=0x130 which is therefore CRC=0x30" << from my manual (but doesn't help me). So: A0+AF+01+AA+6F+01 = 2A6 or 618 as Integer. But I need the answer as a Byte. But byte's only go to 255! No where near 618! So help please in converting this 618 into a CRC Byte, please. Thanks in advance. This link has an example code http://www.freevbcode.com/ShowCode.asp ID=655&NoBox=True ...Show All

  • SQL Server inserting data returned from a sproc into a table

    i am writing a sproc that calls another sproc. this 2nd sproc returns 3 or 4 rows. i want to be able to insert these rows into a table. this sproc is inside a cursor, as i have to call it many times. how do i insert the rows that it returns into another table You can use OPENROWSET for this... INSERT INTO YourTableName SELECT a.* FROM OPENROWSET('SQLOLEDB', 'ServerName';'UserName';'Password', 'Northwind..SalesByCategory ''Beverages''') AS a I just used the Northwind DB as example so you can derive your SQL from here to suit your requirement. HTH, ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Device Lost Problem

    I am having a problem with losing the device that I'm not sure about. The window can be minimized, lose focus to another app, and be resized with no problem. The problem occurs if in WinXP the user hits cntl-alt-del and then goes back (either by canceling or by unlocking later). The device can't seem to recover properly from this. Sometimes I can even continue drawing to the device after coming back but resizing it immediately breaks it (when you could resize fine before). Has anyone had this kind of experience and solved it Does somebody have a clear example in C# for how to handle the device lost, resize, and reset events cleanly in MDX ...Show All

  • Visual Studio Team System Can't get the install to go through

    I keep getting this error on install: ERROR 28925: TFSeverStatusValidator: UnexpectedError Any ideas glad you got thru this.  If memory serves, we now pass the port# to the validator code so that it will use ports other than our default. marc ...Show All

  • Visual Studio Express Editions CDate function returns 'IndexOutOfRange' error - also in VB.Net 2005 Beta2

    Hi folks, I have already reported this error in the VS 2005 Beta2 forum, but was told that it was not reproducible (VbCity and VBug, and your UK Launch team were also unable to reproduce the problem). I think I now have a lead on the issue! It also looks similar to a problem reported yesterday on the VB Express forum - 'I keep getting the out of range exception'. I have condensed the problem to two lines of code:       Dim myDate as DateTime       myDate = CDate("01/01/2005") The above error is reported on execution of the second line. This has now occurred on 6 different ...Show All

  • Windows Live Developer Forums Messenger 8 Beta Feedback pages unavailable?

    I'd like to submit some feedback for the Messenger 8 Beta, but whenever I select the option from the help menu, I get directed to a Service Not Available error page (link below). Is there a fixed URL I can't seem to find another route to it on the *.live.com sites. http://support.microsoft.com/default.aspx scid=gp;en-us;fmserror http://feedback.live.com/eform.aspx productkey=wlmessenger however only use it in IE ...Show All

  • Windows Forms NotifyIcon tooltips won't pop?

    Hello! I've got a nifty little chat client that pops a balloon tooltip when a new message is received. The problem is, is that once the user clicks the X in the tooltip, they never pop the subsequent messages. If the user never clicks the X , it does continue to pop the messages. How can I force the tooltip balloons to pop every single time Also, does anyone know how to set the timeout, so the balloon disappears after a given time Thanks! Unfortunately no message is sent when the user selects the x button: http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/functio ...Show All

  • Visual Studio Express Editions Custom controls

    Is it possible to write custom controls in VB Express Edition Also, if it is, how do I add the custom control to the Express Edition IDE Thanks, hi, Blair i'm sure you know what i mean , i don't ask you to stop saying your opinion i just talk about the way you express it ( sux, dog ... etc) i used to feel offended from that and i'm sure many others as well do you remember one of our friends used to refuse this way but when we talked to him without those strong words he was convenced and allready shift , the sad part is when he shifted he started to use those words, believe me if you started to avoid those sharp ...Show All

  • SQL Server Query:how to transfer data from a .net application in wireless mode in a WLAN enviornment.

    Hi All,   Query:       I do have one query if u can just help me out with it .There is a VB.net application which is made for PDA under smart device application (compact framework) till date the application has Database in one central repository on desktop version of the PDA appliocation ....all time we need to run the application we need to Synchronize the data using Active Sync Software of Microsoft  ...now is there any possible method to go WIRELESS i.e we need not always need to use the Active Sync  but the data through any WLAN wireless lan technology may be having&n ...Show All

  • Windows Forms ListBox MultiSelect

    Hello, I have a listbox, from where I have say 3 items selected, how can I find which are selected.... for(int i=0;i<myListBox.Items.Count;++i){     if(myListBox.items[ i ].selected == true){           //code to process for each selected item goes here     } } HTH, ...Show All

  • Visual C# exception handling

    hi friends am new to c# and am developing a small app. my question is how can i create global exception handler which displays/handles  error messages whenever there is one. what am i trying at the moment is am using try..catch whereever i think the could b an error .for example conn.ConnectionString = @"Application name=myapp.net;data source=myserver;database=mydb;user id=" + cUid+ ";pwd=" +cPwd; try { conn.Open(); // opening a sql server connection and there could b  errors    like       wrong pwd or user id } catch ( Exception ex) { MessageBox .Show( "Error ...Show All

  • .NET Development Template Collection.

    Baislcy I'm attempting to create a custom control which shows the following in source view: < cc1 : ExampleBase ID ="ExampleBase1" runat ="server"> < cc1 : ExampleItem runat ="server"> Bla1 </ cc1 : ExampleItem > < cc1 : ExampleItem runat ="server"> Bla2 </ cc1 : ExampleItem > < cc1 : ExampleItem runat ="server"> Bla3 </ cc1 : ExampleItem > </ cc1 : ExampleBase > I have the following code which does just this: namespace Collection { [ToolboxData("<{0}:ExampleBase runat=server><{0}:Exampl ...Show All

  • SQL Server Server Registration

    TITLE: Microsoft SQL Server Management Studio Express ------------------------------ 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: 41 - Cannot open a Shared Memory connection to a remote SQL server) (Microsoft SQL Server, Error: 87) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=87&LinkId=20476 ------------------------------ BUTTONS: OK ------ ...Show All

  • Windows Forms ¿Why task vision does not use Error Providers?

    "An error provider is a better alternative than displaying an error message in a message box, because once a message box is dismissed the error message is no longer visible".  MSDN Documentation. In the tutorials for validating data in .NET, it says that you should use System.Windows.Forms.ErrorProvider to show the fields that have invalid values, but TaskVision uses ...Show All

©2008 Software Development Network