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

Software Development Network >> Sebastien LEIX's Q&A profile

Sebastien LEIX

Member List

ravindra_pn
Sam_2
SingWei
SLang
QWERTYtech
David N.4117
John_Wesley
d72e4d
Bluehunter
Crukis
bevis61
HedleySohn
tornin2
VHBIL
birch9397
Abdul Sami
bennett1016
R. John
Parvaneh
dambo
Only Title

Sebastien LEIX's Q&A profile

  • Visual Studio Express Editions Right margin indicator in editor?

    Is there a way to enable some kind of right margin indicator in the editor I would use this as a visual guide to keep my lines of code under a certain length so they don't wrap when I email, print, whatever. Thanks. joeljkp wrote: Is there a way to enable some kind of right margin indicator in the editor I would use this as a visual guide to keep my lines of code under a certain length so they don't wrap when I email, print, whatever. I haven't found anything. Here's how I help myself work around it: First, depending on your preference, in the Tools | Options | Text Editor | All Languages | General property sheet, you can turn word-wrap on or off. If it is on, you can request ...Show All

  • Visual Basic Multi Column Combobox

    how can i Add Multi Columns in a combobox Id,Name,Address simple, You can not - and i agree that's silly however, you can inherit from combobox and do some ownerdrawing on the listpart of the control here is the code http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=140260&SiteID=1 Remco ...Show All

  • .NET Development Example Code

    This has probably been asked lots of times. But. Is there any equivalent to C's strtok in c#.net. Or has anybody written the equivalent. Thanks David >> string[] equationTokens = equation.Split(new char[1]{' '}); String.Split is defined as public string [] Split ( params char [] separator) so you really only need string[] equationTokens = equation.Split(' '); and the compiler will create the array for you automatically. ...Show All

  • Visual Studio 2008 (Pre-release) Help with styles

    I seem to be missing something fundamental with styles. In the code below, see the Hyperlink cell template for the PublishDate column. When I apply the LinkDefault style, it works great for the first row, but after that all the other cells are blank for PublishDate. It does show an active scroll bar there in the cell , so something is happening, but it does not seem to be showing any data in any of the rows in the GridView except the first row. ------------------ <Window xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation' xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml' Width="664.8" xmlns:l="clr-namespace:SDKSample" x:Class="SDKSample.Window1"> <Window.Res ...Show All

  • Software Development for Windows Vista Creating an activity's property fiels based on DB table fiels??

    Hi, I want to create a database that holds the roles and users (employee). I'm about re-hosting the designer to develop general purposes modeling environment so that the business user can model their own process. my question is can I add a field to each activity's properties so that it will look up the roles table and get a drop down list with values from that table to let the user select an appropriate role for the selected activity from that table Thanks Let me re-phrase your question: you want to have a property "Role" on your custom activity and have a dropdown list in the property browser so that user can select a role; the value for the dropdown list comes from a databas ...Show All

  • SQL Server Cannot connect to 2000 analysis services from SSMS for 2005

    I am not able to connect to SQL Server 2000 analysis services from the SSMS for SQL Server 2005. I have both domain admin and sql server 2000 admin permissions for the sql server 2000 box in question. The error message I get is as follows: A connection cannot be made. Ensure the server is running. Microsoft.AnalysisServices.AdomdClient No connection could be made because the target machine actively refused it ( system) This is a Standard Edition install of both SQL Server 2005 and of SQL Server 2000 on separate servers. I can connect to database engine just fine. Any ideas about what permissions I need that I've screwed up on setting Thanks S Wells Hi Swells and others, Did you ever resolve ...Show All

  • Software Development for Windows Vista Monolithic Driver:: Problem with ConvertDevmodeToPrintTicket

    In a dummy application code, after PT ConvertDevmodeToPrintTicket() call , the PT pointer is not coming back. The pointer does not contain valid data. I am observing the following behavior: The IXMLDomDocument2 pointer that comes to the ConvertDevmodeToPrintTicket () function in the UI dll is a single pointer while in GetPrintCapabilities () call the IXMLDomDocument2 pointer for print capabilities was a double pointer. This pointer already has some memory and a valid Print Ticket in it. I am adding features to that existing print ticket pointer. I am not allocating the pointer in our driver dll as it is already allocated. After adding our features in the driver dll I have saved the print t ...Show All

  • Visual C# how to reorder listView basied on BackColor?

    is it possible to reorder the listView items based on the BackColor of each row I want to keep all red rows on top regardless of its values. it might be a sily solution but you can try this. make the first colument of your list view a sorting column that is add only numbers in it. for example when you make the background color of a row to red make the first column property say '0'. so when you are done all coulumns having as background color of red shoud have the value 0 on their first columns. after that just sort the list view using this code ListView1.Sorting = SortOrder.Ascending; ListView1.Sort(); here the sample i tried using System; using System.Drawing; using System.Collections; usi ...Show All

  • Windows Forms Input Dialogue

    VB6 used to have something like a message box that a user could input 1 line of something (there was 1 textbox) and it would return the value of that textbox to you... like a message box. This stopped the programmer from making his own input form. Is there still such a thing in 2005 If not I'll make one, but I'd rather know so I don't wonder for the rest of my months/years/life... yea :D Thanks. Yes, InputBox is still here ... Andrej ...Show All

  • Community Chat so the Zune's a flop

    or so says every review I have read. anyone have any sources saying otherwise installation HORROR stories. questionable collection of "features." incompatibility with WMP and pretty much any non-Zune marketplace source for music. handicapped wifi. I was on the verge of pre-ordering a Zune, but Microsoft has jaded me over the years, so I held off. I think I'm pretty happy with that decision. Zune owner here... Let's see, yes, it's not compatible with WMP even though WMP11 and the Zune software appear to be the same program(or dang close) just re-skinned with different features. WMP won't even acknowledge it as a device. There are those that seem to be having installation issues, but it al ...Show All

  • SQL Server Variable subreport

    Hello. I need to use subreport, that can be changed. I mean, that I have some report parameter, that can be set from drop-down menu, and according this parameter the subreport should be read (e.g. if I select in menu 'A', I want subreport A.rdl; if I select 'B', I want subreport B.rdl; ...) Thanks. ...Show All

  • Visual Basic Checked List Box in VB DOT .NET - Checked items gets unchecked when used inside Tab Control and while tabbing

    Hi If you are using a Checked List Box Control into a Tab Control on VB .Net application, then when you switch between tabs, the checked items gets disappeared. This bug is already listed in the Microsoft article. I figured out a way on how to avoid this error. Just by adding the checked list box in a user control and then using the user control in your tab control will not erase the checked items list. Please try. Thanks, CM Hi, i was looking for something about databinding checked listbox & discovered this thread I m using VS2003, VB.net My question is, as we proide datasource property in the binding object for chkListBox, then assigns DisplayMember, ValueMember to bind the ChkList & it automatically pops ...Show All

  • Visual Studio Express Editions Textbox

    Hi, I made a program with a button and a textbox. (for example) the default textbox text = ("1 and 2") i want to : when the button is pressed if the textbox text has the word "and" doesn't metter if it is "1 and 2" or (e.g.)"a and b", just need to have the word "and". If it has messagebox.show(something) how do i do it Thanks take a look at the "Contains" method in .NET 2.0. This kind of gets the job done....Example: if Me.textbox1.Text.Contains("and") then    MessageBox.Show(Me.textbox1.Text) end if   the problem will be that what happens if the word "and" is actually part of a word Such as "c and y"   ...Show All

  • Audio and Video Development Can't set Focus

    Hello Guys, I am new to iHD and just started to write some iHD code. Now I arrived at the first problem: <div id="main"> <div id="some_other_div_already_with_buttons" style:display="auto"> <!-- here are already some buttons --> </div> <div id="surrounding_div" style:display="none"> <button id="button" /> </div> </div> Now I want to set the button to visible and set the focus on it: document.getElementById("surrounding_div").style.display="auto"; document.getElementById("button").state.focused="true"; document.getElementById("button").state.unsetProperty(" ...Show All

  • Visual Basic Icons in custom-made dialog boxes

    I have just created a custom-made dialog box using the Add Windows Form command under the Project menu of Visual Studio 2005. Now I've run into a bit of a problem: Remember those icons (information, question, warning, error) in those dialog boxes you're always seeing I want to know how I can implement those in my custom-made dialog box I would appreciate a response as soon as possible. Thank you. I would have to take screenshots of the dialog boxes themselves, copy and paste the associated icons, and then save the icons into picture files. How, then, would I implement the ImageList control to display the correct icon in the correct condition (i.e., error, warning, etc.) ...Show All

©2008 Software Development Network