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

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

raja760

Member List

Learning VB
Davids Learning
Tabas
James2007
ChasAA
yousaid
rwerner
yuhatn
HariAdu
Nagu
RizwanSharp
Steve Strong
D13G0
m#
No-spam Sam
sanjeevm
DrScheme
Tryst
Annihil8
Gigi69
Only Title

raja760's Q&A profile

  • Windows Forms determine combobox item is selected

    if i populate combobox with sqldataadapter and sqldatatable then how can i determine weather combobox has selected item or empty Check this: if (myCombo.SelectedItem == null ) {     //item not selected, do something, set error in error provider for combo, set the focus to the como or something else like message box. }   ...Show All

  • SQL Server How can i use the table control or Matrix control to display Hierarchical data

    I'm using SRS(2000) I have use the table conrol to display a 2 level Hierarchical but can't get it to work with 3rd,4thlevel... About the matrix control. Can someone help me on this. Thanks alot in advance ...Show All

  • SQL Server Custom Semi-Transparent bar charts?

    I know that SSRS 2005 has a built-in semi-transparent color chart palette, but I'd like to define my own custom color semi-transparent palette. Brian Welker's blog ( https://blogs.msdn.com/bwelcker/archive/2005/05/20/420349.aspx) has a terrific post on how to create your own custom color palette, but it generates solid colors. How can it be tweaked to create semi-transparent colors Is there another function that needs to be created to define the transparency of the color palette Thanks in advance, Pete Transparency is more than possible with ANY system palette or custom palette. The trick (work-around whatever) lies in modifying the 'alpha' component of the colour for each series in the chart AFT ...Show All

  • Windows Forms c# EVENTS

    Can someone giv me example of 1. Declear a event in a class A 2. Raise Event in Class A 3. Handle the event in Class B in c# Thank you Maybe this help public class a { public delegate void MyPropertyChangedEventHandler( object sender, EventArgs e); public event MyPropertyChangedEventHandler MyPropertyChangedHandler; private int myVar; public int MyProperty { get { return myVar; } set { myVar = value; MyProperyChanged( new EventArgs()); } } void MyProperyChanged(EventArgs e) { if (MyPropertyChangedHandler != null ) { MyPropertyChangedHandler( this , e); } } } public class b { a clsA = new a(); public b() { cl ...Show All

  • Visual Studio 2008 (Pre-release) Does kerning really work ?

    I've read on the web that WPF comes with great typographic support, including kerning. But anything I've tried, I couldn't manage to make it work. I've used several fonts (although I know for sure that the font I want to use has kerning pairs). I've tried putting explicit Typography.Kerning="True" on almost all my XAML elements. After spending a lot of time, I went to Expression (both GD and ID) to make some additionnal experiments, but none of those programs could produce kerning. While something like Adobe Photoshop can. No success. Is this a bug, a limitation, or am I just doing something wrong Any help is welcome. As a follow-up, I finally manage to get the text rendering I wanted. How By ...Show All

  • SQL Server Need help installing SQL Server 2005 Express Edition Toolkit SP1

    hi, I have SQL Server Express edition installed on my PC , but now I need to use SQL Server reporting service, there is SP1 for express edition contains reporting service with express edition. Here.. http://msdn.microsoft.com/vstudio/express/sql/download/ Do I need to download 213 MB SQL Server 2005 Express Edition Toolkit SP1 or there is any other method to use reporting services Thanks hi, actually, the toolkit includes "The SQL Server Express Toolkit contains SQL Server 2005 Management Studio Express, a graphical management tool, and Business Intelligence Development Studio, a creation and editing environment for reports using SQL Server Reporting Services." and not the "core" en ...Show All

  • Visual Basic UserControl with Backspace and Delete

    Hi, I do an UserControl, inheriting of System.Windows.Forms.TextBox, like a MaskEditBox. The purpose is create options of format while the user inputs the data. I do an Enum with the type of format (eg. Date, Zip). In KeyPress event of control I test the type of format and apply this format to which while the user inputs the data, this control format according with the type of format. What happen is that case the user wants delete the data using Backspace or Delete, he dont accept, because the manner in which I testing he dont accept this behavior. What I do to resolv this question Or other (better than) manner to do this. I do in this manner: Public Enum TypeFormat Nothing Date Zip End Enum Private ...Show All

  • Visual C++ C++ design capabilities

    I want to create software that allows the end-user to create multiple copies of their own buttons on a scanned map which buttons can be rotated 360 degrees and linked to a database. I thus need libraries of code for rotate and also zoom functionality that I can incorporate. Can I get this done with C++ or any of the other Visual Studio programs If not, what software do you recommend Use .NET. C++ is too low level for your requirements. If you aren't motivated in learning C++ and are instead more interested in putting together an app quickly, then I would recommend creating a C# based WinForm app and looking around on the net for image manipulation libraries. ...Show All

  • SQL Server OO Database Design performance question

    I am hoping someone has had a similar table design scenario and has a slick solution that i am not thinking of. Basically I have the following tables (kind of OO based design in this case). Create Table Entity (EntityID int, EntityTypeID) Create Table Company (EntityID, CompanyName) Create Table Contact (EntityID, FirstName, LastName) Create Table Group (EntityID, GroupName) Basically an Entity can be a Company, a Contact or a Group based on the EntityTypeID The trick becomes when I get an EntityID is how to get the name of the Entity in an efficient manner. You can make a view that does a Union to all three tables like such... select CompanyName as Name from Company union all Select FirstName + LastName ...Show All

  • Visual Studio Tools for Office F5 -> "File already exists"

    Hi, I'm new with VSTO development and been experiencing this really annoying issue. Everytime I hit F5, it launches the Excel document associated with the project. However once Excel launched, it often (not all the time but quite often) gives me the "File already exists" error message. I then must open the Excel file manually from File -> Open. Everything works then. Strange that it doesn't do this all the time, just occasionally. Any ideas Cheers, Victor Hmm didn't have time to try. But I found a 'workaround'. If I leave my original Excel file open, everytime I hit F5 from the Visual Studio it'll re-open the file but this time telling me the file is opened by another user (me) and if I want to open it as &q ...Show All

  • Smart Device Development How to use SimWriteMessage ?

    My SMS message application need to write a sms message to sim card, it call SimWriteMessage function, It return 0x80070057(E_INVALIDARG), I change the input parameter's value and retry it, BUT it always return 0x80070057(E_INVALIDARG). does anybody know how to use it the follow is my source codes, it run in the windows mobile pocket PC phone emulator or a windows mobile pocket PC handset. // source codes: { HRESULT hr; DWORD dwMsgIndex; DWORD dwTmp; SIMMESSAGE SmsMsg; memset( &SmsMsg, 0, sizeof(SmsMsg) ); SmsMsg.cbSize = sizeof( SmsMsg ); SmsMsg.dwParams = SIM_PARAM_MSG_ALL; wcscpy( (SmsMsg.lpszAddress), TEXT("+8613812345678") ); SmsMsg.dwAddressType = SIM_ADDRTYPE_INTERNATIONAL; SmsMsg.dwNumPlan = SIM_NUMPL ...Show All

  • Visual Studio Tools for Office VSTO Outlook Add-In not loading outside of VS2005

    I created a Add-In project using the Add-In for Outlook 2003 project template. I started with some simple code to test functionality and then continued to create the add-in I wanted. During development I always tested using the debug in VS2005. I never had a problem with it appearing this way. However, now that I am trying to deploy the Add-In, I am unable to get the Setup project to work. Even on my own machine, once the setup project is installed, the add-in does not load. I created a simple MessageBox.Show("hello") add-in to see if I had introduced the issue. However, this add-in behaved the same. I could always run it in VS2005; however, when installed from the setup project, the add-in would never load. Another str ...Show All

  • SQL Server Query much slower on 2005 compared to 2000

    We have a database developed using SQL Server 2000. We are in the process of testing it on SQL Server 2005. So far i've not done much testing but it has become apparant quickly that quite a lot of queries are performing much slower in SQL Server 2005. I am currently trying to figure out why a particular query is not performing well. One SQL Server 2000 it runs in around 6 seconds. On SQL Server 2005 it takes around 50 seconds. The query is this... SELECT StartBase, StartPoint, PickupPoint, PickupInstructions, SingleJourney, Destination FROM vwJobs WHERE StartDateTime BETWEEN '2006-09-01' AND '2006-09-23' vwJobs is a view in our database. The view includes many UDF's and also has a UNION which combines two seperate table structures ...Show All

  • Visual Basic Lines in the body of an email

    I am trying to do what I thought would be simple (especialloy since it worked like a charm in VB 6 with the mapi control: The program populates a multi-line text box with information based on user selections The user hits a button and it pulls up his email client with the subject and body filled in so that he can select a recepient and send off the information. The problem. The text always comes out as a single line run together How can I get line breaks back into the body The code that doesn't work is: Dim sendthis As String = "" sendthis = sendthis & "mailto:" sendthis = sendthis & "&subject=New Loss for client " & frmMain.Clt & " Number: " & ...Show All

  • Software Development for Windows Vista GoTo Activity

    Hi Is there a custom activity which implements the functionality of GO TO thanks Bobs Speech Server 2007 (recently delayed) has a GoToActivity. not sure if it's directly usable, because it uses a custom sequential workflow Thanks, casey ...Show All

©2008 Software Development Network