Nishad.A.R's Q&A profile
Smart Device Development Threading issue?
Hello! I've got two threads, one which recieves data from a socket, and one which is a windows form. This two threads are both in different classes and I now wonder which would be the best way to update a progressbar in the windows form from the recieving class Noted should also be that the form and the reciever both is initzalized from another class which listens to the socket and sends it to the reciever when an connection is incoming. This &q ...Show All
Smart Device Development CF2 question regarding getting a message count
The WM5 phone I recently purchased (PPC6700) has no setting to automatically Send and Receive when an email message is put in the Outbox. You have to manually press the Send and Receive menu. And so I am writing an VB.Net app to cause the Send and Receive to happen automatically. I have the part done that causes the Send and Receive to occur, but I need to make that happen only when an email is placed in the Outbox, as opposed to ev ...Show All
Visual Studio Flatten down the dipslay of a report
hello report gurus! :) I'm new to crystal reports so maybe my question is a little "unexperienced" (or stupid ;). Is it possible to completely flatten down the view of a report So to don't display any sidebar / statusbar / buttons / etc. and just display the report itself Some of the things can be hidden very easy by setting the approbriate properties to "false"... but the Tabs on top of the reportViewer are not to be hidden ...Show All
Smart Device Development Mouse Events for a ListBox
Hello, I'm working on a PocketPC application in VB.Net on Compact Framework 1.0. I have a ListBox with a few items. How do I handle its MouseEvents (MouseUp , MouseDown etc.) Some action need be taken only on MouseUp action on any item of the ListBox. Thanks, Listbox does not fire these events. You will need to build a custom control. Take a look at ListboxEx class in OpenNETCF SDF to see the implementat ...Show All
SQL Server Managing concurrency in Stored Proc with Timestamp
Hello all, I am trying to find the right way to get the correct error reported in a Stored Proc where the table contains a timestamp column. I gather the TSEqual is not the way to go (I'm using SQL Express, which uses Server 2005 syntax and TSEqual is deprecated). Within an update procedure, given an ID, a TimeStamp, and a new value, I would like to specifically know if the update fails because the record was not found or because the times ...Show All
Visual Studio Team System How to config TFS for notifying by email to outlook (Exchange Server) via SMTP server
hi all! Before I used to familiar to track system,you know that we can config to any bug within track system be notify to the oultook. now i also want to do so with TFS, I had tryed config with sharepoint service, but i still have not get any email for notifying from others yet. please help me if you can solve it. thanks. when your installing TFS server it ask for email address from which mails are send to team. In order to get ...Show All
Visual Studio Express Editions urgent !!!!listbox inserting problem
hi everyone, I have a problem with manually inserting element into my listbox. There is the code I'm using: ListBox2.Items.Insert(0, ListBox1.SelectedItem) or Dim myItem = New ListItem myItem.value = "wisconsin" myItem.text = "Wisconsin" ListBox1.Items.Add(myItem) I've also tried using the add method but either way I do it it still insert the element twice in the listbox. Now I dont know if there is something I ...Show All
Smart Device Development Unable to start debugging in Beta1 & Smartphone 2003
Hi, I'm a newbie to developing with smartphone I have created a simple application in Beta1 just the default smart device. It compiles fine but when I try to run it in debug on soluton platform Smartphone 2003 Emulator the emulator starts up but then I get the following message: Unable to start debugging Unable to start program'%CSIDL_PROGRAM_FILES%\Hello World\Hello World.exe'. Any ideas. Also I can't work out where to configure the network ca ...Show All
Visual Basic Disabling PInvokeStackImbalance in Visual Basic Express 2005
I have a problem on how to prevent the PInvokeStackImbalance message. How can I disable this Do you have Option Explicit turned on Check your project properties. Pkey looks very dubious in it's datatyping because it isn't declared. It can be a challenged to pass and array to a DLL expecially one where the compiler has picked a dataype for you. Secondly I believe the enun str ...Show All
SQL Server How to convert DT_DBTIMESTAMP to Int
I have an int column in table and need to convert DT_DBTIMESTAMP column to int in Conditional_Split transformation editor. SPOL_ProcessDate > CAST ( CONVERT ( varchar , DATEADD ( day , 5 , GETDATE ()), 112 ) AS int ); Does any know how to convert this is Conditional_Split transformation Thanks in advance. How about: SPOL_ProcessDate > (YEAR(GETDATE()) * 10000) + (MONTH(GETDA ...Show All
SQL Server Query Results Truncated in SSMS
I'm running a query in SSMS that returns a large result set. The query runs fine without error. However, in the results pane the query results are truncated. I've tried adjusting every option I can find. I think I'm running into a limit on the number of characters displayed in a column in the results pane. I've already bumped up the amount to the max (8192) setting i ...Show All
SQL Server Is the MSSQL2000 report server only support for .NET framework 1.1?
Good day. Please can somebody help me about my problem regarding the report service of the MSSQL2000. is the REPORT SERVER of the MSSQL2000 report service only support for the .net framework 1.1 i have try that if the report server is .NET 1.1 ts is ok but i change it to frame work 2.0 there is a error prompt in the page. the error. Security Exception Description: The application attempted to perform an operation not allowed by ...Show All
Smart Device Development CArchive
Is that true that CArchive is not support under MFC 8 It's supported. After Beta2, we decided to take it back per customer requests and also because that the size of the MFC dlls was no longer the biggest concern on devices. ...Show All
Visual Studio Express Editions How to read and write a text file without screwing up the encoding
I am writing a program that reads in a text file, makes some modifications, and then writes the modified version to a new text file. The problem is that any non-english characters in the text file get turned to gibberish. I know this has to do with the encoding of the text files, but I can't figure out what I am supposed to do to keep this from happening. What class do you use to save your upda ...Show All
.NET Development How do I send mail using C#?
Does anyone have a code snippet that shows how to send mail from c# Here is the code snippet I found... System.Net.Mail.MailMessage message = new System.Net.Mail.MailMessage(); message.To.Add(" luckyperson@online.microsoft.com "); message.Subject = "This is the Subject line"; message.From = new System.Net.Mail.MailAddress(" From@online.microsoft.com "); message.Body = "This is the message body"; System.Net.Mail.SmtpClient smtp = new Syste ...Show All
