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

Software Development Network >> Lion Laon's Q&A profile

Lion Laon

Member List

sgcuda
DennisWang
JPJofre
assassin316
Kurdo
GSM_GCV
stryderblaze
chjmiller
arun_philip
JGauthier
Kevin Wu
iSahil
Mr Big
eastlands
mdthomann
lindaonlytry
lenab
TACIR
Rohit Gupta
The_Jackal
Only Title

Lion Laon's Q&A profile

  • Visual Studio 2008 (Pre-release) Data binding and images

    Hello everybody! I'm using the December CTP, and I'm trying to create an image that's bound to some XML in an XmlDataProvider, thus: < StackPanel Orientation = " Vertical " > < Image Width = " 48 " Height = " 48 " > < Image.Source > < BitmapImage UriSource = " {Binding XPath=Image} " /> </ Image.Source > </ Image > < TextBlock Text = " {Binding XPath=Name} " /> </ StackPanel > I'm setting the data context programmatically to an XmlDataProvider defined in C#, into which I stuff some XML. ...Show All

  • Windows Forms How to implement Datasource property on custom controls?

    Im building a custom control called DataEntryControl and want to be able to setup a DataSource on property window, same way as DataGridView... Here are some parts of my code: Public Class DataEntryControl     Private _DataSource As IListSource     <Category("Data")> _     Public Property DataSource() As IListSource         Get             Return _DataSource         End Get         Set(ByVal value As IListSource)   &nb ...Show All

  • SQL Server Missing Distinct Count option in Measure's Aggregate Function property

    I am trying to get a "distinct count" aggregate function specificed for a measure that is non-numeric. Is this possible When I use the cube editor, the Distinct Count appears in the drop down list only when the measure is numeric or datetime. If the measure is varchar, the Distinct Count option is not there. Any thoughts Scott, Thanks for helping me, i did what you told me and worked fine. ...Show All

  • Visual Studio Custom Wizard: "Invalid at the top of the document" error

    VS2005 Developer - Team Edition Extensibility Question: I'm a newcomer to extensibility. I have attempted to follow the MSDN Library walkthrough for creating a wizard. This project adds a new item to the "Add New Item" list for C# projects. When this Item is clicked, it should run the wizard. Instead I get an error dialog with the message "Invalid at the top of the document". I have downloaded some extensibility samples from MSDN and installed them only to recieve the same result. Can anyone tell me what I'm doing wrong dkbryan dbryan@cps.ca.gov There are a few othe ...Show All

  • Visual Studio Team System Team Build unable to Run Auto Builds now

    For some reason today, when I run a build type (automated build) thru the VSTS Interface. I get the following message back: "Failed to retrieve data from the server. Please verify the network connection and try again." I have no problem building the Solutions manually. Only encounter problems thru the Build Type. I see the following in Event Viewer on the Team Foundation Server log: " 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 ...Show All

  • .NET Development Synchronizing a Queue

    hi, i'm developing a rs-232 to rs-232 bridge, with a tcp/ip or udp connection in the middle, now in my design i generate an object wich is called CommEvent wich has info about a change in the serial port, wether it's new data received or a line change. I'm posting this object from my class that handles serial communication to the class that handles the tcp/ip and udp section of the bridge as an event. now in the class that handles the tcp/ip side, i have a thread wich constantly checks the networkstream as well as the output queue where i store the events posted from my serial communications class. letme post some code this is the ...Show All

  • Windows Forms Manipulting size of Rectangle created through GDI+ on mouse events like MouseDrag.

    Hi, nice day!!    I am creating a visual scripter tool using GDI+ which creates shapes like rectangle and oval and link them using lines which creates a full fleged application behind the scene, but now i am facing a  problem, please help me out... "I want to strech the rectangle using MouseDrag event , but i am not finding any event like MouseDrag in C#, i searched in few search engine also, so i have done same functionality on onMouseUp event, but it is not looking good, can any one tell me how i can get the functionality of streching the shape from botton, as we usually do with the widows of any application by dra ...Show All

  • Smart Device Development Font settings for textbox in VS2005 IDE

    Hi all, I am working in VS2005 in unmanaged c++ and I wanted to change the font of a textbox. I can probably work out how to do it by code but I am lazy and I just want to do it through the IDE. Is this possible I noticed there are font controls on the dialog box but none for the textbox on the dialog box. Even when I change the font on the dialog box the font still doesn't change in the text boxes so I guess that's a no go :( TIA, Unfortunately you cannot change the font size from the IDE for C++ projects. Here's some code you can use: LOGFONT lf; memset(&lf, 0, sizeof (LOGFONT)); int fontSize = 12; // change this to w ...Show All

  • Visual C# C# Access

    Hey all,thank u very much for your all because of reading my question; I have a big problem about saving data which I typed to textboxes to my database... I need your help, are there anyone can tell us "step by step" the db connection, saving,deleting,sorting,searching with c# etc... peaceforce18@hotmail.com waitin for your help... I must learn it... Thank u very much... there are many samples for ASO.NET with c# take a look ath these URLs http://www.c-sharpcorner.com/Database.asp http://msdn.microsoft.com/library/en-us/vbcon/html/vbconFundamentalDataConceptsInVisualStudioNET.asp frame=true ...Show All

  • SQL Server Text field problem

    Hi, in MSDN is written reguarding WRITETEXT : data Is the actual text , ntext or image data to store. data can be a literal or a variable. The maximum length of text that can be inserted interactively with WRITETEXT is approximately 120 KB for text , ntext , and image data. I am tring to insert a text which has around 9000 charcters using WRITETEXT which is less then 10KB , but surprise: after the execution of the sql statement my field remains empty. WHY I've tested this command and found out that it only accepts 900 characters, which is 995 bytes. I execute this SQL statements sequence: USE RWIN ...Show All

  • Visual C# Dynamic menu bar

    Hi. Your help is very much appreciated. I am building Win app in which I'm allowing the users to add entity-types (i.e. entity-type = client or supplier,etc..) at run time .(I dynamically add tables in the db to support this requirement [I add client table, supplier table, etc.). However, I want to menu bar to reflect the existing enitity types. So I want the menu bat to look something like: Clients | Suppliers .... Find Find Add Add Show Show How can it be done It looks easy to add menu items at run time through code , but I didn't find a way to add event handlers functions at run time... Any suggestions Thanks Roy ...Show All

  • Windows Forms Vertical Alignment of column headers

    Is there a way to display the column headers vertical For this you can inherit from DataGridViewColumnHeaderCell and override Paint to draw the text vertically. You can then create a custom column and use the the custom HeaderCell for this column. HTH, -Dinesh Chandnani ...Show All

  • Visual J# 100% CPU usage !!

    hellow to all .. i am runing visual j++ 6.0 on my centrino 1.6 and 512RAM ... and i am amesd that the j++ take 100 CPU usage and i can't even use it the laptop is so slow and i can not function at all !! not just on my laptop , my friends tould me the same !  i am runing windows xp sp2 .. hellppp !!! I've found a fix here: http://forums.asp.net/574242/ShowPost.aspx I had to delete my breakpoints.  I clicked the Debug drop-down menu, then Windows, then Breakpoints.  It took about 45 minutes for the window to open.  Then I deleted all the breakpoints in the list.  It seems to have fixed it. ...Show All

  • SQL Server Skipping blank address lines in a letter

    Hi, I'm writing a letter and have a table containing these fields : HouseNo, Address1,Address2,Address3,Town,Postcode If, for example, address line 2 is blank I want address line 3 to appear in its place and so on so that there are no blank lines in the middle of the address listing. If the house number is not blank I also want to be adding that plus a space to the start of address line 1. Whats the simplest and best way to go about this In Crystal Reports, which is what I'm converting the letters from, I use a function like this Dim address As String address = "" If Not ((IsNull({VW_ALLISSUEDMEMBERS.ADDRESS1})) o ...Show All

  • Visual Studio Team System Install TFS (DE) over TFS (EN)

    Hallo! We installed the english version of tfs workgroup edition and now, the german version is available we thought about installing this version. We allready have multiple team projects within tfs. Our plan was to install the german version right over the english version. Can you guys confirm, that’s it’s possible, or not Thx. Hi We got a similar problem. We got some projects on a RC TFS Server and since there is a german version avaiable we want to "move" to that version. We installed the german version (on a different machine; german win2003) and i tried to res ...Show All

©2008 Software Development Network