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

Software Development Network >> Jason Sa's Q&A profile

Jason Sa

Member List

Ola S
Mikeq
Tim12345
Stephanie Barulic
Softpen
Yanick
mikE____
Ahmed Ismaiel
klettke
oliver.lauta
Jabbabroadley
derker
KeFei Wang
Sinisa
Roger C Garrett
Dexter.Net
sam-pan
fatalist
Dehim
prashant52197
Only Title

Jason Sa's Q&A profile

  • .NET Development Creating a custom MembershipProvider

    I am trying to create a custom membership provider. There is terriable docs on this. I just want to use the login controls to validate username and password from my DB. 1. I am looking of a complete, working sample. SQL is fine as a provider. 2. With the one I wrote, once I click on the login button, the VALIDATEUSER() method does NOT get called. I read that it gets called automaticallly once one clicks the login button. 3. If this all did work, do I need to do any other work on other pages to make sure the user is validated. Do I need to check something or does .NET take care of this and send non authenicated users to my login page ...Show All

  • Windows Forms ListViewItem.EnsureVisible() problem with grouped Listview

    I have the following problem: When I call EnsureVisible() on the ListViewItem of my desire, or ListView.TopItem = myItem my Item is not always visible or on top of the ListView. My ListView is one using Groups. Any suggestions Tnx Hi, Based on my testing, I can not reproduce the problem. I added 10 items into the listview, the list view is in group. private void Form1_Load(object sender, EventArgs e) { this.listView1.TopItem = this.listView1.Items[19]; this.listView1.Items[19].EnsureVisible(); } I suggest you test from a new created project. If the problem persists. Can you post the detaile ...Show All

  • Windows Forms hosted DesignSurface - editing Controls (e.g. ComboBox) => Crash

    I am playing with hosting a designer and I am already quite satisfied with my current test of a hosted designer - except that some controls crash it. I am just hosting a DesignSurface, add a ComboBox from my Toolbox, then click on the glyph for the smart tags, then click the check box "usw data bound items" once to activate. After doing that and leaving the smart editing again, so that this popup box is closing, I cannot enter it again - if I do so the application crashes with a NullPointerException:    at System.ComponentModel.Design.DesignerActionPanel.TextLine.OnParentControlFontChanged(Object sender, EventArgs e ...Show All

  • SQL Server URGENT - Run out of HD space whilst rebuilding an index

    I just altered a table on my large SQL server 2000 database and now the database has been offline for ages and the hard drive as run out of space because of the transaction log size. What can I do! Enterprise manager has frozen me out completely and theres nothing else I can delete to free up space whist this completes. I've not received any kind of warning and the HD is still being accessed by SQLserver. Do you think this will eventually complete Should I stop the SQL service. HELP ...Show All

  • Visual Studio Team System Team System Beta 2 Install error

    I get the following error message: ***EndOfSession***[04/18/05,11:58:29] Microsoft SQL Server 2005 Express Edition April CTP: [2] Error code 1603 for this component means "Schwerwiegender Fehler bei der Installation. " [04/18/05,11:58:30] Microsoft SQL Server 2005 Express Edition April CTP: [2] Setup Failed on component Microsoft SQL Server 2005 Express Edition April CTP ***EndOfSession*** I don't have installed any prior beta releases of VS2005 or SQL Server Express 2005. My setup is just XP Pro German, VS2003 and MSDE. Does anyone have any ideas Thank you, Thomas We have had several reports of ...Show All

  • Windows Forms Moving user controls on a panel has strange consequences...

    Hello and thank you in advance to anyone that reads this who may be able to shed some light on the problem. Now onto the problem: I have a panel (let's call it panelA) on my Windows form, and I am programmatically adding my own user controls (let's call the user control class myUC) at run-time to panelA's Controls collection. I am doing this in the event handler for a button's Click event. Let's call the button btnAdd. So each time btnAdd is clicked, I do the following in its event handler: 1) add a new myUC() to panelA's Controls collection 2) call a helper method to set the Locations of all the myUC's on panelA (the only controls on ...Show All

  • Windows Forms How to catch multi-threading exceptions?

    Hi, Is there anyway of catching exception raised by multithreading problem, or atleast knowing which statement or function was executed just before the error  occured The error occurs only once in a while and I just cant figure out which function fails. I am using a control in my application and the error stack shows the internal functions of that control& ...Show All

  • Windows Forms Automatic Cells in Datagrid

    Hi! I'm using a datagrid to save same information about materials and its quantity, price, etc and i need to know how to create an automatic cell that calculates quantity * prince right after the user have filled quantity and price field in the datagrid. I need that this 'automatic' cells belongs to the datagrid and also its value be saved into my db. Any idea Thanks well.. i've already solved it.. Your solution is right but I used another one I modified the Cellvalidated event and I used the following code: Try Me .DesFactuDataGridView.Item(7, e.RowIndex).Value = ( Me .DesFactuDataGridView. ...Show All

  • Visual C# SQL Server on C# question

    Hi, I want to be able to run, pause or stop a SQL Service (as in SQL Server Service Manager) from within a C# application. How can I do this The server I'm using is called DEANHPLAPTOP. I'm sure this can be done through the command line somehow in DOS but how can I do it in an application The end result I want is to have it so that the first form in the app (login form) starts the service if it's not already running and then stops it when the application is closed. Just a thought... Thanks for your help. ...Show All

  • Visual C++ how can I have more than 15 multimedia timer

    Recently I am writing a program that using more than 15 times,but when i test it,i found only 15 times works.How can I have more than 15 multimedia times.PS I use the API function timeSetEvent! Hello! Did you manage to find a workaround for this problem. I suffer from the same problem also. Please let me know: tamir@ipoint-media.com or tamirberler@hotmail.com , thanks, Tamir. ...Show All

  • SQL Server dbo - Database ownership

    I have created tables within SQL Server database. My tables I have created do not have the dbo ownership( )...how does one transfer a table to dbo advTHANKSance It actually depends on which version of SQL Server you are using. With the use of SQL Server 2000 you can use the sp_changeobjectowner procedure. In SQL Server 2005, you may have a look on " ALTER SCHEMA schema_name TRANSFER object_name " as well as in the BOL under the sp_changeobjectowner in the BOL 2005, there is some information about the changes of the features which are in common related on the introduction of schemas in SQL Server 2005. HTH, Jens Suessmeyer. - ...Show All

  • Windows Forms Listbox Ownerdraw-Problem

    Hi, for my project I had to make an owner-draw listbox control, which is able to display multilined items. For a certain time everything works fine, but after scrolling up and down it draws some items at the wrong position. The items are drawn with the in MeasureItem calculated height, but with some items windows doesn't care about that size and puts&n ...Show All

  • Windows Forms what did I do wrong while passing dateTimePicker value to bindingSource filter?

    I have this line of code, to pass a selected date from a dateTimePicker to the bindingSource (for a listbox): this.BindingSourceDV.Filter = "ServiceDueDate = " + "'" + dateTimePickerDV.Value.ToShortDateString() + "'"; when i run the app, it didn't throw error, but didn't work, the listbox didnt show anything at all. Then I added a textbox, did it this way: textBox1.Text = dateTimePickerDV.Value.ToShortDateString(); this.BindingSourceDV.Filter = "ServiceDueDate = " + "'" + textBox1.Text + "'"; It worked!!!!!!!!!! If the value of dateTimePickerDV.Value.ToShortDate ...Show All

  • Visual Studio Team System How to build project's default platform?

    Hi there How can I build the default platform of a project without enumerating all possible platforms in the <ConfigurationToBuild>-List An empty <PlatformToBuild></PlatformToBuild> aborts the build process. On the other hand a list with all possible plattforms will emerge MSB4126 warnings and what's worse, will break the build process in certain circumstances*. Thanks Volker * for details see my post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=433646&SiteID=1 There is not currently a way to build the default platform / configuration for particular projects. In loo ...Show All

  • Visual C# tlbimp.exe problems

    Hello I'm working with Visual Studio Net 2.0. I have a C# with ASP-NET and a MFC-Com interface. Now, i have a problem with my assembly file. Microsoft has a workaround in http://support.microsoft.com/kb/814721/en-us . If i use this workaround, he can't compile my webside net 2.0 anymore, because he doesn't know the namespace. If i use Visual Studio Net 2005 to load the dll, he can compile the project, but i get the 'System.Reflection.TargetParameterCountException' Error. My command is: tlbimp.exe tournet.exe /asmversion:1.00 /transform:dispret /out:Interop.tournetexe.dll. Do anybody know the standard parameter for the tlbimp.exe. t ...Show All

©2008 Software Development Network